Python: ROP Context to render multiple cam

   1765   2   0
User Avatar
Member
28 posts
Joined: 4月 2017
Offline
Hi everyone,

Is there any way to write python code inside ROP context?

I want to write a script that will detect the number of camera in my scene and automatically loop over one redshift output to render every camera. My goal was to create a python node with all the code that will execute, but there is no python node, which is weird.

Thanks
User Avatar
Member
8043 posts
Joined: 9月 2011
Offline
There's no python ROP, but you can create a new ROP type then create a python script which has its path entered as the value to the ‘soho_program’ parameter of the ROP.

You may also be able to achieve what you are after with Houdini's new TOP networks.
User Avatar
Member
28 posts
Joined: 4月 2017
Offline
Hi @jsmack. Thanks for the answer!

Yes, I think it can be achieve with the TOP networks. I totally forget about using that.

Thanks
  • Quick Links