The rgb4k_map.ppm and alpha4k_map.ppm

Forums: The rgb4k_map.ppm and alpha4k_map.ppm
Houdini Integrated Plugin

Moderator: juanjgon

Re: The rgb4k_map.ppm and alpha4k_map.ppm

Postby juanjgon » Wed May 25, 2022 7:52 am

juanjgon Wed May 25, 2022 7:52 am
chocbot wrote:Hi Juanjo,

is there also a workaround available for using point attributes from the packed geo itself? For example I have a color attribute on a tree's leaves and that tree is instanced then. With that texture workaround it's only possible to get the color attribute per instance but not per point attribute of that instance, right?

Cheers

Are you talking about nested instancing? Can you please share an example scene (as simple as possible) with this workflow?

Thanks,
-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: The rgb4k_map.ppm and alpha4k_map.ppm

Postby chocbot » Wed May 25, 2022 9:04 am

chocbot Wed May 25, 2022 9:04 am
Hey,

thanks for your response! No, I'm not talking about nested instancing (though.. is this a planned feature? :)

Here's my demo scene:
https://1drv.ms/u/s!AiO-yRNxbYloggPeZ28J4ano0D-M?e=cxfrSt

The most basic thing would be: I have a tree with a Cd-attribute
treeInstance.PNG

and then I instance it.
treesInstanced.PNG

Can I get that color attribute to render?


My case would be then to have a random color per instance, which is working right now through that instanceTexture-workaround but also to use the instance's point colors. If I do the same without packing, I can for example call the point color Cd2 and the one per copy Cd and use both in my shader. This is what I would want but with packing.

Cheers
chocbot
Licensed Customer
Licensed Customer
 
Posts: 55
Joined: Sun Apr 17, 2016 3:03 pm

Re: The rgb4k_map.ppm and alpha4k_map.ppm

Postby juanjgon » Wed May 25, 2022 9:24 pm

juanjgon Wed May 25, 2022 9:24 pm
Hmm, nope, I think that something like that is not possible right now. We only support one "Cd" attribute in the instances. The plugin supports nested instancing, you can instance an instancer, but I'm not sure if this is going to help with the double Cd attribute.

Thanks,
-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: The rgb4k_map.ppm and alpha4k_map.ppm

Postby chocbot » Mon May 30, 2022 7:25 am

chocbot Mon May 30, 2022 7:25 am
Alright, thanks for the info!
chocbot
Licensed Customer
Licensed Customer
 
Posts: 55
Joined: Sun Apr 17, 2016 3:03 pm
Previous

Return to Houdini


Who is online

Users browsing this forum: No registered users and 6 guests

Thu Mar 28, 2024 10:20 pm [ UTC ]