Transfer color in instance

Forums: Transfer color in instance
Houdini Integrated Plugin

Moderator: juanjgon

Transfer color in instance

Postby davidyannick_1 » Thu Jul 16, 2020 10:50 am

davidyannick_1 Thu Jul 16, 2020 10:50 am
Here is my setup in video : https://www.dropbox.com/t/w87iR6c3X6t48wrz

And when I make a render here is the result (Screenshot)

When I work in redshift I use copy to point (instance) but as I can't use SOP Level Packed Primitive, how can I affect colors to my box in instance node ?
Thanks for your help

My hiplc file : https://www.dropbox.com/t/1lDSHVtl3xqXnzrg
Attachments
Annotation 2020-07-16 124754.png
davidyannick_1
Licensed Customer
Licensed Customer
 
Posts: 164
Joined: Tue Apr 28, 2020 7:20 am
Location: France

Re: Transfer color in instance

Postby juanjgon » Thu Jul 16, 2020 6:12 pm

juanjgon Thu Jul 16, 2020 6:12 pm
Hi,

The instances don't support custom attributes yet, but the plugin encodes the Cd attribute inside the instances IDs, information that can be later used by the instance color texture node to get the color attribute. To do that you need to use the tex/rgb4k_map.ppm texture file that you have inside the main plugin folder, as you can see in the attached image.

Thanks,
-Juanjo
Attachments
2020_07_16-20_09_47.jpg
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: Transfer color in instance

Postby davidyannick_1 » Thu Jul 16, 2020 6:25 pm

davidyannick_1 Thu Jul 16, 2020 6:25 pm
juanjgon wrote:Hi,

The instances don't support custom attributes yet, but the plugin encodes the Cd attribute inside the instances IDs, information that can be later used by the instance color texture node to get the color attribute. To do that you need to use the tex/rgb4k_map.ppm texture file that you have inside the main plugin folder, as you can see in the attached image.

Thanks,
-Juanjo


Thanks again for your precious help Juanjo :)
davidyannick_1
Licensed Customer
Licensed Customer
 
Posts: 164
Joined: Tue Apr 28, 2020 7:20 am
Location: France

Return to Houdini


Who is online

Users browsing this forum: No registered users and 8 guests

Fri Apr 19, 2024 1:06 am [ UTC ]