Peter Claes

pclaes

About Me

専門知識
CG Supervisor
INDUSTRY
Gamedev

Connect

LOCATION
United States
ウェブサイト

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Initialize Simulation OPs on COP rop? 2021年10月13日20:57

One more possible avenue.
Looks like the shell rop has it on the scripts tab, so perhaps I could prepend an empty shell rop to my fetch rops (fetching the cop rops).

Initialize Simulation OPs on COP rop? 2021年10月13日20:52

Found a bit more info here:
https://www.sidefx.com/docs/hdk/_h_d_k__s_o_h_o.html [www.sidefx.com]

int soho_initsim
If this parameter exists and evaluates to a non-zero value, the output driver will initialize all simulation OPs before invoking the soho_program.

This traverses all nodes in the scene and invokes specific methods on certain node types.

So the name of the property might be 'soho_initsim'.
I wonder if I can add that to a fetch rop as well.

Initialize Simulation OPs on COP rop? 2021年10月13日20:44

Hi,

Is there a way to add/enable 'Initialize Simulation OPs' on a cop rop?

I am running a 2d simulation and want to write the result of that simulation to disk, but directly as a png.

On a geometry rop there is a 'Initialize Simulation OPs' checkbox that is useful to make sure the simulation is reset before writing out any geo. I would like to do the same thing, but for writing out my image from cops.

I'm not sure if I can add this as a render_property (perhaps 'initsim' ? -- but this is not showing up as an actual render property, that is just the name of the parameter on the geometry rop).

Alternatively, in my rop network I could trigger a pre-render script python call to perhaps do the same.
Anyone know a python command that might trigger this?

Thanks,
Peter