_suz_ Posted February 2, 2009 Share Posted February 2, 2009 (edited) hi all! i'm having problems with ginormous .ifd's due to them each contain the unchanging VOP shader network... is it possible to write the VOP network out to file and have the ifd's reference that instead of embedding the VOP network? kinda like the delayed read ... having a material in the SHOP network, you can R-click > compile to DA alas you have to include that otl in the hip again and thus into the ifd ... thank-you for your comments... ...waiting for renders... Edited February 3, 2009 by _suz_ Quote Link to comment Share on other sites More sharing options...
_suz_ Posted March 3, 2009 Author Share Posted March 3, 2009 (edited) the above problem is illustrated in the attached .hip. is u assign a material as is to your geometry - your IFDs, for each frame, will write the *whole entire unchanging* SHOP into each IFD. in the attached .hip this is an odd 2500 lines per IFD solution...thank-u sidefx support: jump into the material, Rclick on surface and displacement VOPs, independently, and choose "compile VEX code to SHOP Type" and call it what u like, but so u'll remeber what u called it... your SHOP Types now appear in the TAB menu, put them both down, select them and <SHIFT>+C to put them into a material, remember-remember to add a *properties* OP in your material that has the displacement bound parameter and to Rclick on the new material and select "Promote Material Parameters" now assign the new material to your geometry...tada! now u'r ifd will only contain a reference to the compiled vex on disk (and your changed parameters) the IFD is now 70 lines lines WAAHOO :thumbsup: write_SHOP_to__disk.hip my_basic_surface.otl my_simple_displace.otl Edited March 3, 2009 by _suz_ 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.