texture layering node or at least an Add node?

Forums: texture layering node or at least an Add node?
Sub forum for feature requests etc

Moderator: juanjgon

texture layering node or at least an Add node?

Postby WhyGee » Sun May 01, 2016 8:13 am

WhyGee Sun May 01, 2016 8:13 am
Hi,
Sorry if this topic came up in the past.
Is there any chance of implementing some kind of layering node or at the very least an add node?
Thanks alot. Would save alot of time back and forth from photoshop or cop network.

Yaniv
WhyGee
Licensed Customer
Licensed Customer
 
Posts: 189
Joined: Sun Jun 22, 2014 9:10 am

Re: texture layering node or at least an Add node?

Postby juanjgon » Sun May 01, 2016 9:23 am

juanjgon Sun May 01, 2016 9:23 am
To mix texture nodes? Currently you only have the texture mix nodes (mix, cosine mix and multiply texture nodes). I hope that this kind of tools will be easy to add once we can write shader nodes using the upcoming OSL feature.

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

Re: texture layering node or at least an Add node?

Postby WhyGee » Mon May 02, 2016 8:00 am

WhyGee Mon May 02, 2016 8:00 am
When will OSL be implemented?
WhyGee
Licensed Customer
Licensed Customer
 
Posts: 189
Joined: Sun Jun 22, 2014 9:10 am

Re: texture layering node or at least an Add node?

Postby juanjgon » Mon May 02, 2016 9:54 am

juanjgon Mon May 02, 2016 9:54 am
Along this year 3.x dev cycle, AFAIK.

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

Re: texture layering node or at least an Add node?

Postby WhyGee » Fri Jun 10, 2016 4:56 pm

WhyGee Fri Jun 10, 2016 4:56 pm
Hi
Returning to this post, I'm just wondering if there is any chance of implementing an Add node to the shading network until OSL becomes available. I have a workaround for using vertex colors by mapping colors to 2 uv sets and then using gradients to rebuild the color in the shader. But I can't think of a way to add the separate channels with the available tools.

Thanks
Yaniv
WhyGee
Licensed Customer
Licensed Customer
 
Posts: 189
Joined: Sun Jun 22, 2014 9:10 am

Re: texture layering node or at least an Add node?

Postby juanjgon » Fri Jun 10, 2016 4:59 pm

juanjgon Fri Jun 10, 2016 4:59 pm
Hmm, I think that I don't understand your workflow, but anyway if you need a new node not available yet in Octane, the answer is the same: we can't add new nodes to Octane until we have the OSL support in place.

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

Re: texture layering node or at least an Add node?

Postby WhyGee » Fri Jun 10, 2016 5:19 pm

WhyGee Fri Jun 10, 2016 5:19 pm
Not sure if that would a possible use for it but would the scripted node allow a temporary implementation of Adding 2 colors together? If so, can u expose this node in Houdini?

My workflow is (at SOP level) taking vertex color and writing it out as uvs. for example red -> uv[0], green -> uv[1] and blue -> uv2[0]. Then inside the octane shader I could use the projectionUVW to get these values and map gradients for each color channel and this is where the add node would come in.
Attached is a sample render of multiplying 3 gradients together which is obviously incorrect but I think shows promise that it could potentially work.
I'm also trying to think of an HSV approach but I can't find a way to connect a gradient (vector output) to a float input of say, a color correction node.

If you have any ideas to make this happen it would greatly help me with a current project.

Thank you
Attachments
vertex_color.JPG
WhyGee
Licensed Customer
Licensed Customer
 
Posts: 189
Joined: Sun Jun 22, 2014 9:10 am

Re: texture layering node or at least an Add node?

Postby WhyGee » Fri Jun 10, 2016 5:28 pm

WhyGee Fri Jun 10, 2016 5:28 pm
here's a proof of concept in Mantra. just need the ability to add :)
Attachments
vertex_color_mantra.JPG
WhyGee
Licensed Customer
Licensed Customer
 
Posts: 189
Joined: Sun Jun 22, 2014 9:10 am

Re: texture layering node or at least an Add node?

Postby juanjgon » Mon Jun 13, 2016 10:05 am

juanjgon Mon Jun 13, 2016 10:05 am
Yes, I understand. Have you tried the texture mix node, perhaps could work.

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

Re: texture layering node or at least an Add node?

Postby WhyGee » Tue Jun 14, 2016 7:50 am

WhyGee Tue Jun 14, 2016 7:50 am
Yes this could be a workaround. Wouldn't there need to be for example a multiply by 2 afterwards to compensate for the weighting of one mix node set to 0.5 bias?
WhyGee
Licensed Customer
Licensed Customer
 
Posts: 189
Joined: Sun Jun 22, 2014 9:10 am
Next

Return to User Requests


Who is online

Users browsing this forum: No registered users and 2 guests

Tue Apr 23, 2024 4:44 pm [ UTC ]