Custom node in "create render node"

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  01 January 2011
Custom node in "create render node"

I'm about to create a node for doing some math.
I want my node to be available for people in the "create render node" that you can find in the hypergraph, how do I do this?

I'm sure this is a question being asked pretty often but my attempt to find an answer via search didn't result in much..
  01 January 2011
Thanks, found it in the examples:
these are inside the MStatus initializePlugin( MObject obj ) function

//string with the name of the group you wish
//your node to be part of.
const MString UserClassify("utility/general");

//bold parts are added from mayaPluginWizardCode
status = plugin.registerNode( "NameOfNode", NodeClass::id, NodeClass::creator,
                                         NodeClass::initialize,MPxNode::kDependNode, &UserClassify );
  01 January 2011
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 08:25 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.