Blend Textures with vertex colors (Material Node Editor)

Forums: Blend Textures with vertex colors (Material Node Editor)
Houdini Integrated Plugin

Moderator: juanjgon

Blend Textures with vertex colors (Material Node Editor)

Postby Chimera » Wed Apr 29, 2020 1:03 pm

Chimera Wed Apr 29, 2020 1:03 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
Chimera
Licensed Customer
Licensed Customer
 
Posts: 17
Joined: Fri Sep 08, 2017 1:09 pm

Re: Blend Textures with vertex colors (Material Node Editor)

Postby juanjgon » Sun May 03, 2020 5:18 pm

juanjgon Sun May 03, 2020 5:18 pm
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
Computer Graphics Software Developer
Octane plugin development and support: LightWave and Houdini
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8175
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: Blend Textures with vertex colors (Material Node Editor)

Postby Chimera » Mon May 04, 2020 10:52 am

Chimera Mon May 04, 2020 10:52 am
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
Screenshot_2.png
additional blended Vertexcolor + a maskmap channel
TextureBlendTest.zip
TestScene
(1.87 MiB) Downloaded 57 times
Chimera
Licensed Customer
Licensed Customer
 
Posts: 17
Joined: Fri Sep 08, 2017 1:09 pm

Re: Blend Textures with vertex colors (Material Node Editor)

Postby Chimera » Thu May 07, 2020 10:13 am

Chimera Thu May 07, 2020 10:13 am
@juanjgon do you thing I could get some help on this one?
Chimera
Licensed Customer
Licensed Customer
 
Posts: 17
Joined: Fri Sep 08, 2017 1:09 pm

Re: Blend Textures with vertex colors (Material Node Editor)

Postby juanjgon » Thu May 07, 2020 6:27 pm

juanjgon Thu May 07, 2020 6:27 pm
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
Computer Graphics Software Developer
Octane plugin development and support: LightWave and Houdini
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8175
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: Blend Textures with vertex colors (Material Node Editor)

Postby juanjgon » Wed May 13, 2020 10:20 am

juanjgon Wed May 13, 2020 10:20 am
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 52 times
Computer Graphics Software Developer
Octane plugin development and support: LightWave and Houdini
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8175
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Return to Houdini


Who is online

Users browsing this forum: No registered users and 6 guests

Sun Apr 18, 2021 5:45 am [ UTC ]