Random texture

Houdini Integrated Plugin

Moderator: juanjgon

Post Reply
TheNikand
Licensed Customer
Posts: 32
Joined: Mon Jul 11, 2011 11:09 pm
Contact:

Hi. I have multiple wood panels that need random textures. Is it possible to have multiple textures but with setting controlled in one material?
Thanks

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

Are you working with instances or with a single object? A vertex attribute or the randomColor texture (for instances) node could help to build a material including several textures.

Thanks,
-Juanjo
TheNikand
Licensed Customer
Posts: 32
Joined: Mon Jul 11, 2011 11:09 pm
Contact:

My vertex attribute approach didn't work because * is not accepted for "Vertex Vector Attr" in object octane panel. Manually picking Cd and it works. Maybe something for Otoy to correct?

Out of curiousity I tried to use the octane Procedural_randomColor too as input in gradient node but no luck. I copied some boxes on a grid(packed and intanced) with Cd attibute. Am I missing something?

Sorry for my late reply and thanks for your answer.
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

TheNikand wrote:My vertex attribute approach didn't work because * is not accepted for "Vertex Vector Attr" in object octane panel. Manually picking Cd and it works. Maybe something for Otoy to correct?

Out of curiousity I tried to use the octane Procedural_randomColor too as input in gradient node but no luck. I copied some boxes on a grid(packed and intanced) with Cd attibute. Am I missing something?

Sorry for my late reply and thanks for your answer.
Yes, currently you need to declare each attribute to be used. "*" will not work currently because the idea is to don't extract all the available attributes, sometimes a lot of them, wasting extraction time and GPU memory. Only the attributes used by the shaders should be declared there. It is true that perhaps some kind of smart shaders extraction including the automatic extraction of the used attributes could be possible from the plugin side. I'll think about it.

Can you please share the scene with the problem while using the randomColor texture to take a look at it here?

Thanks,
-Juanjo
Post Reply

Return to “Houdini”