The rgb4k_map.ppm and alpha4k_map.ppm

Houdini Integrated Plugin

Moderator: juanjgon

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

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
chocbot
Licensed Customer
Posts: 73
Joined: Sun Apr 17, 2016 3:03 pm

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-yRNxbYloggPeZ28 ... 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
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

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
chocbot
Licensed Customer
Posts: 73
Joined: Sun Apr 17, 2016 3:03 pm

Alright, thanks for the info!
yazi10412727
Licensed Customer
Posts: 4
Joined: Sat Apr 22, 2017 5:47 am

Hello where to download this ppm file
The ppm file is missing in your package, but only the project. I would appreciate it if you could send me a copy. :D :D :D :D :D
ricky_otoy
OctaneRender Team
Posts: 289
Joined: Mon Jun 19, 2023 6:34 am

yazi10412727 wrote:Hello where to download this ppm file
The ppm file is missing in your package, but only the project. I would appreciate it if you could send me a copy. :D :D :D :D :D
The ppm file is in the "tex" folder of the plugin. In the newer builds you don't need to use it, you can setup the Texture Instance Color nodes and link it to the Object Properties of Custom Attribute.
Assign_Custom_Attributes.jpg
Material_TextureInstanceColor.jpg
adrianr
Licensed Customer
Posts: 50
Joined: Sat Jan 25, 2020 3:31 pm

Is there any chance this works yet? Or on the roadmap to work? I too need to randomise the colour of a nested instance. The tree/petals example from chocbot shows it perfectly.
pilocistudio
Licensed Customer
Posts: 1
Joined: Sun Feb 25, 2018 12:29 pm

ricky_otoy wrote: Tue Apr 23, 2024 7:42 am
yazi10412727 wrote:Hello where to download this ppm file
The ppm file is missing in your package, but only the project. I would appreciate it if you could send me a copy. :D :D :D :D :D
The ppm file is in the "tex" folder of the plugin. In the newer builds you don't need to use it, you can setup the Texture Instance Color nodes and link it to the Object Properties of Custom Attribute.

Assign_Custom_Attributes.jpg
Material_TextureInstanceColor.jpg
Hi, im trying to transfear an alpha+color attribute to material, but i can't make it work. Packed Geo instancing is emabled in the GEO node->Octane->Properties. When i use "Instance id from point number" and add custom point attributes it seems to change something both in Cd data and Alpha, but it looks random. When i use "Instance id from packed RGBA" the colors looks as propper Cd atts, but i have alpha always as white and it seems like custom point attributes do not doing nothing at all. Am i doing something wrong?
Attachments
Material Graph
Material Graph
IPR and properties
IPR and properties
Post Reply

Return to “Houdini”