Hello , can you tell me , how to use the two file "rgb4k_map.ppm"and"alpha4k_map.ppm", i render the particle which has Cd attribute ,but i can`t get the correctly result.
thanks
The rgb4k_map.ppm and alpha4k_map.ppm
Moderator: juanjgon
Hi,
Attached you have a couple of test scenes including particles and instances colored from the Cd attribute using these .ppm textures. Octane doesn't support custom attributes in the instances or particles yet, so the Octane plugin is using a trick to support at least a Cd type texture packing the attribute inside the UV map, information that is decoded texturing the particles or instances with the .ppm files.
Hope it helps,
-Juanjo
Attached you have a couple of test scenes including particles and instances colored from the Cd attribute using these .ppm textures. Octane doesn't support custom attributes in the instances or particles yet, so the Octane plugin is using a trick to support at least a Cd type texture packing the attribute inside the UV map, information that is decoded texturing the particles or instances with the .ppm files.
Hope it helps,
-Juanjo
The scenes ...
Thanks,
-Juanjo
Thanks,
-Juanjo
- Attachments
-
- Desktop.zip
- (76.04 KiB) Downloaded 535 times
Hi, I've been trying to get this this to work with no luck. I can read the Cd attribute when I render as particles but not with instanced geometry. I tried your files @juanjgon but your instance example doesn't work either, it just renders the instances black. Any suggestions on how I can get this to work would be appreciated.
The instances still need this workaround to render the Cd attribute. The scenes should work, but please, check the texture path set in the texture node, probably your .ppm textures aren't located in this same path.
Thanks,
-Juanjo
Thanks,
-Juanjo
Hi Juanjo, the .ppm texture is the right path, it works fine when I render as particles. But when I try to use instances (via an instance attribute) it doesn't work. Has anything changed with the build that would effect the instancing workflow!?
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
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