Jump to content

Switch At Render Time

Recommended Posts


Is it possible to setup a switch sop which will switch during render time.

For example, I am generating copies of boxes over a grid, at render time the boxes should be replaced by Teapots, so that my viewport is not heavy and I only see the teapots at rendertime, or I am generating grass, In my viewport I wnat to see only 2000 strands, but at rendertime I want 20000.

What kind of a script would i have to write for that.

with regards

Rohan Dalvi

Link to comment
Share on other sites

There are a couple things you could do for this.

You could put your display flag (blue) on your boxes and put the render flag (purple) on the teapots. Or if you wanted to go the swtich root, you could do a pre-render script using the "opparm" hscript command. In your mantra ROP there is a tab called Scripts. In the pre-render script you could type something like - opparm /obj/geo1/switch1 (1). This would change the switch1 SOP value to 1

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...