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 … with parameters
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…
to write VOP network out to disk
2924 3 1- suz
- Member
- 5 posts
- Joined: Oct. 2008
- Offline
- suz
- Member
- 5 posts
- Joined: Oct. 2008
- Offline
- suz
- Member
- 5 posts
- Joined: Oct. 2008
- Offline
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
':shock:'
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… j':wink:'
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 u'r new material and “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
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
':shock:'
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… j':wink:'
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 u'r new material and “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
- chopstix
- Member
- 27 posts
- Joined: Feb. 2009
- Offline
-
- Quick Links