navefx Posted April 23, 2012 Share Posted April 23, 2012 I want to build a custom file format output driver. Like the "ROP Output Diver" node. I tried to include both ROP_Node.h & SOP_Node.h And declare my op as a SOP node.So if I build this node, i can load it in a SOP Network. But the ROP command cannot find it declaration.Just like the ROP_Node.h has not include to my cpp. Anyone know how can I make it work? Or some other way to build a ROP Output Node can be load in a SOP Network? Please help me. Thanks in advanced. Quote Link to comment Share on other sites More sharing options...
kni8_2k Posted October 17, 2012 Share Posted October 17, 2012 I am looking to do the same thing but in python. It looks like python types are not allowed in ROPS. for my purposes I am looking to generate a simple text file which is a material definition. This is read by our game engine. it allows me to generate meshes, textures and Materials all from houdini. I can make the sop version of the exporter but something inside me (ocd) cringes and wants to put all output types in my /out area. Any help would be appreciated. (in the python approach for me) Cheers, A. Quote Link to comment Share on other sites More sharing options...
graham Posted October 17, 2012 Share Posted October 17, 2012 You can basically create a Python ROP by creating a new Output Driver Type operator and then having that type execute a code section of itself as the soho_program. http://www.sidefx.com/docs/hdk12.1/hdk_soho.html Quote Link to comment Share on other sites More sharing options...
Ratman Posted October 19, 2012 Share Posted October 19, 2012 Not sure how to get the same shape node, but I've created a few sops to export files using some of Mark Story's code as an example on where to start. https://github.com/digital-cinema-arts/SOP_RealFlow http://www.digitalcinemaarts.com/software/houdini-maya-pdc/ 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.