rohandalvi Posted January 28, 2008 Share Posted January 28, 2008 hi, 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 Quote Link to comment Share on other sites More sharing options...
SpencerL Posted January 28, 2008 Share Posted January 28, 2008 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 Quote Link to comment Share on other sites More sharing options...
rohandalvi Posted January 28, 2008 Author Share Posted January 28, 2008 thanks a lot man, I just didnt think of the setting the render flags. But, thanks for the scripting option, I will try that out. with regards Rohan Dalvi 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.