Arthur~Chiu Posted February 24, 2014 Share Posted February 24, 2014 i have write a drive to output houdini geometry to file on disc, the operator is rop but i want the opeartor in the sop netwrok ,so as rop out driver.. how to do this, some one can help Quote Link to comment Share on other sites More sharing options...
symek Posted February 24, 2014 Share Posted February 24, 2014 Does it have to be separate SOP? Afaik the way to do this is to write a GEO_IOTranslator allowing Houdini writing your format across the board. Then you can use standard rops/sop/command-line translators etc. Quote Link to comment Share on other sites More sharing options...
graham Posted February 24, 2014 Share Posted February 24, 2014 You can create a SOP output driver basically the same way you do for regular ROPs: write a ROP_Node and then you add it to the SOP operator table as well in newDriverOperator. If you extract $HFS/houdini/public/Alembic/HoudiniAlembic.tgz and look the files for ROP_AlembicOut you will see that they construct a ROP_Node, and in the newDriverOperator function they do the standard adding of the operator to the passed in OP_OperatorTable, as well as adding it to the SOP version. Quote Link to comment Share on other sites More sharing options...
Arthur~Chiu Posted February 25, 2014 Author Share Posted February 25, 2014 thanks,i will research Quote Link to comment Share on other sites More sharing options...
Arthur~Chiu Posted February 25, 2014 Author Share Posted February 25, 2014 and i have another question,i want create a StringAttribMenu , it can list point attribute and i can Choice .so as "attribpromote" or "attribute" sopnode. how to do this in my custom rop node or sop versions Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.