Pre render scrips

   2999   2   1
User Avatar
Member
43 posts
Joined: April 2008
Offline
hi
i did a scene in houdini were i have the low poly and the hi poly geometry linked to the same switch node.
and i want it the switch node to switch to the second geometry(the hi-poly one) only at render time…
does any one know how i can doit?????
i saw the “opparm” exprection but i dono if it is the exprection and were i can use it …..
cheers
User Avatar
Member
1529 posts
Joined: July 2005
Offline
There is no need for a switch.

Simply set the render flag (purple circle) to your hi-res geo, and leave the display flag (blue circle) on your lo-res geo.

G
User Avatar
Member
1631 posts
Joined: July 2005
Offline
Like keyframe said, you shouldn't need a switch. However, if you do need it, you can do the following:
opparm /obj/objName/switchSop input 1
Alternatively, you can also use Takes without the need for scripting.

Cheers!
steven
  • Quick Links