Fyre Posted February 25, 2016 Share Posted February 25, 2016 Hey guys, I'm using the instance node and am trying to get point attributes such as Cd and Alpha to affect instances on a per instance basis. i.e. opacity over time. Does anyone have any ideas? Cheers Quote Link to comment Share on other sites More sharing options...
Kino Posted February 26, 2016 Share Posted February 26, 2016 Check out this thread http://forums.odforce.net/topic/9044-stamping-with-instance/. As mentioned here with the instance node you have 2 choices, either have different all the variations you need on the disk or use " Delayed Loading".You can vary your copies via the s@instancepath attribute in the instance node as mentioned here http://forums.odforce.net/topic/23294-houdini-16-wishlist/page-12#entry143811but if none of these methods work in your scenario I think you're left with copy/stamping and using the point attribs for each stamp, Iike the example I attached ( 1- I put the box behind the spheres so you can see the transparency . 2- most of the new shaders work with the float variable "opac_int" as their opacity attribute) copyStampVaryAlpha.hipnc Quote Link to comment Share on other sites More sharing options...
fathom Posted February 26, 2016 Share Posted February 26, 2016 material overrides might be what you're looking for. you can use a material sop to assign different shader values to different instances (or you can create your own override attribute using the material sop as a guideline). Quote Link to comment Share on other sites More sharing options...
Kino Posted February 26, 2016 Share Posted February 26, 2016 (edited) material overrides might be what you're looking for. you can use a material sop to assign different shader values to different instances (or you can create your own override attribute using the material sop as a guideline). Absolutely correct, if it's only material parameters (or any other object level parameter for that matter) such as Cd and Alpha that you want to vary then s@material_override is your best and fastest bet, sorry I overlooked this. Edited February 26, 2016 by Kino 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.