Blend Textures with vertex colors (Material Node Editor)

Houdini Integrated Plugin

Moderator: juanjgon

Post Reply
Chimera
Licensed Customer
Posts: 17
Joined: Fri Sep 08, 2017 1:09 pm

Can somebody pls. help me setting up this network?
I would like to blend Textures or materials with the help of vertex colors. I am using also an additional texture map mask to multiply blend the Vertex colors. This is the Node plan, but as it is now it doesn`t working. I`m also using the OSL Nodes from Rohan Shashikant Dalvi to blend between the imputs and to get access to the RGB chanels.

https://www.youtube.com/watch?v=Si1HNb-ltrw&t=635s

Any help would be highly appreciated.
Attachments
nodes.png
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Hi,

I'm not sure if the vertex attributes are available from OSL. Can you please send me a scene as simple as possible including one of these OSL nodes to try to reproduce this problem here?

Thanks,
-Juanjo
Chimera
Licensed Customer
Posts: 17
Joined: Fri Sep 08, 2017 1:09 pm

Thx for the replay. Here is a small scene with the blend material. I figured it out how to blend and paint with the vertex colors between the tree textures and it works very well.
The only thing I couldn`t get to work is to use the additional blended Vertexcolor + a maskmap channel and use it as mask instead of using only a vertex Channel.

The Houdini Mix node seems not be able to read the osl blend node.
Attachments
additional blended Vertexcolor + a maskmap channel
additional blended Vertexcolor + a maskmap channel
TextureBlendTest.zip
TestScene
(1.87 MiB) Downloaded 150 times
Chimera
Licensed Customer
Posts: 17
Joined: Fri Sep 08, 2017 1:09 pm

@juanjgon do you thing I could get some help on this one?
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

I'll take a look at it ASAP, but to be honest, this sounds to me like a limitation on the Octane core side. I hope to know more soon.

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

Sorry, I'm not sure to understand the workflow of your shader, but I've been doing some tests here using a simple scene and OSL shader and the vertex attribute node seems to work fine with OSL, as you can see in the attached scene and image.

Hope it helps,
-Juanjo
Attachments
000172.jpg
vertexAttrOSL.zip
(42.69 KiB) Downloaded 156 times
Post Reply

Return to “Houdini”