Page 2 of 2

Re: The rgb4k_map.ppm and alpha4k_map.ppm

Posted: Wed May 25, 2022 7:52 am
by juanjgon
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

Re: The rgb4k_map.ppm and alpha4k_map.ppm

Posted: Wed May 25, 2022 9:04 am
by chocbot
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

Re: The rgb4k_map.ppm and alpha4k_map.ppm

Posted: Wed May 25, 2022 9:24 pm
by juanjgon
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

Re: The rgb4k_map.ppm and alpha4k_map.ppm

Posted: Mon May 30, 2022 7:25 am
by chocbot
Alright, thanks for the info!

Re: The rgb4k_map.ppm and alpha4k_map.ppm

Posted: Fri Apr 19, 2024 10:03 am
by yazi10412727
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

Re: The rgb4k_map.ppm and alpha4k_map.ppm

Posted: Tue Apr 23, 2024 7:42 am
by ricky_otoy
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

Re: The rgb4k_map.ppm and alpha4k_map.ppm

Posted: Fri Feb 28, 2025 4:18 pm
by adrianr
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.

Re: The rgb4k_map.ppm and alpha4k_map.ppm

Posted: Mon May 19, 2025 10:38 am
by pilocistudio
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?

Re: The rgb4k_map.ppm and alpha4k_map.ppm

Posted: Tue Jul 15, 2025 2:25 am
by dom_otoy
pilocistudio wrote: Mon May 19, 2025 10:38 am
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?
Sorry for the delayed response.
Basically at the moment only the instance ids from point numbers supports custom attributes.
Hoping to change that in the future but that's how it is for the time being