Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Custom shader node has a hammer on its icon

Custom shader node has a hammer on its icon

2003-11-27       - By deane@(protected)

 Back
Reply:     1     2  

On Tue, Nov 25, 2003 at 01:02:49PM -0800, Mike Mcaulay wrote:
> Hello list.  I'm creating a custom shader node.  Although it seems to be
> working correctly (I can connect it to a shading group and it will affect
> the appearance of a mesh in the expected manner) it shows up in the
> Multilister as a checkerboard with a claw hammer superimposed over it.  I
> assume this means its malformed in some way, but I can't find anything in
> the docs to help me determine what the problem is.
>  
> Does anyone know what the hammer means?  Can anyone suggest where in the
> docs I might look to find the answer to similar questions in the future?

The hammer means that your node has been classified as a 'utility' node,
which is the default.  The classification only determines how and where it
gets displayed in the MultiLister and HyperShader: it has no other effect
on the node.

To change the classification, specify it as a string in the final parameter
of the MFnPlugin::registerNode() call.  Eg:

  MString   classification = "shader/surface";

  pluginFn.registerNode(
     "myShader",
     myShader::id,
     myShader::creator,
     myShader::initialize,
     MPxNode::kDependNode,
     &classification
  );

If you don't want your shader to show up in the Multilister or HyperShader
at all, then use an empty classification string ("").

For the current list of valid classification strings, complain to Alias.
The documentation for MFnPlugin::registerNode() says to see the docs for
the 'getClassification' and 'listNodeTypes' MEL commands, but neither of
those describes them, either.  I've been complaining about this for about 3
years now, but still no change.

===========================================================================
 - deane                          Gooroos Software: Plugging you into Maya

                         Visit http://www.gooroos.com for more information

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
List-help: <mailto:listar@(protected)?Subject=help>
List-archive: <http://www.highend3d.com/maya/devarchive/>