Page 1 of 1

Instance map texture

Posted: Fri Sep 05, 2014 11:53 am
by scratch33
Hi,

Is this possible to drive the instance color with a map?
In lw render you can use instance info node with map to determine the color of every single instance.
Can this be done with octane plugin?

Thank you.
Francesco

Re: Instance map texture

Posted: Fri Sep 05, 2014 10:17 pm
by juanjgon
You could try to use the Octane projection node in world space to apply the texture to the instances material.

-Juanjo

Re: Instance map texture

Posted: Fri Sep 05, 2014 11:16 pm
by scratch33
Hi Junajo,

Thank you.

I have tried this solution. In some case this can do the job.
But this is not the best way. Because every instance must have a single color. The color of the referal pixel in the texture map.
With map projection, you have only the top color with the right color.

Francesco

Re: Instance map texture

Posted: Fri Sep 05, 2014 11:19 pm
by scratch33

Re: Instance map texture

Posted: Sat Sep 06, 2014 9:56 am
by juanjgon
scratch33 wrote:This is what I'm trying to do:

https://www.facebook.com/photo.php?f...type=1&theater
Sorry, the link doesn't work for me.

-Juanjo

Re: Instance map texture

Posted: Sat Sep 06, 2014 11:19 pm
by Draydin_r
The closest thing I can see that would allow you to control the exact colors for every instance would be to use the gradient node along with the random color node to produce a less patterned look to the color of the flowers. That said since the link isn't working I'm not sure this is what you want.

Re: Instance map texture

Posted: Sun Sep 07, 2014 10:56 am
by alexos
Ideally, the instance should "inspect" the texture map and grab the RGB value of the nearest pixel at the corresponding XZ coordinates: in the case of, for example, a carpet, this would give every single fiber a solid colour rather than a cubic projected texture map as it is now.

Yeah, it sounds impossible. But then, I'm not a nodal wizard like some of you guys, so who knows? :)

ADP.

Re: Instance map texture

Posted: Mon Sep 08, 2014 9:01 am
by scratch33
Hi Juanjo,

Here i sthe link, hope it works now. You can dowload the Steven Scoot files scene here:

https://www.facebook.com/photo.php?fbid ... =1&theater

Thanks,
Francesco

Re: Instance map texture

Posted: Mon Sep 08, 2014 3:23 pm
by alexos
Hmm... You can actually plug the HPB Matrix and Add Scaled nodes into the Octane Projection node, but without the raytrace node the results seem quite unpredictable. It feels like it should be doable somewhat, but I'm missing something...

ADP.