Page 1 of 2

Black Object after Texture input ?

Posted: Sun Nov 16, 2014 2:18 am
by TheChristopher
I added a texture to my object but it's rendering black ? I have an octaneImageTexture plugged into the diffuse slot of a octaneGlossyMaterial node ?

Re: Black Object after Texture input ?

Posted: Tue Nov 18, 2014 1:38 am
by abreukers
hi there, you'd still need to add a projection for it. Have you tried this? You still have to map the image onto the material via a texture projection node...

Re: Black Object after Texture input ?

Posted: Tue Nov 18, 2014 2:26 am
by TheChristopher
The documentation for the Maya plugin didn't explain the need for the UVprojection node although I did wonder about this node, I assumed since the object has a UV map that I simply plugin the OctaneImageTexture into the diffuse slot of the OctaneGlossyMaterial and my texture it shown.

OctaneUVProjection > OctaneImageTexture > OctaneGlossymaterial ?
If the above is correct, it is not working ?

My first round of question who would have have thought I needed to apply an environment to render my image, other engines it simple renders with default shading. I know Octane is a pure GPU renderer and this is my first time using a GPU render, It's not as if I enjoy asking questions on how to use Octane but it seems to be you begin with blindfolds. I want to being using it for production as soon as possible.

Re: Black Object after Texture input ?

Posted: Tue Nov 18, 2014 3:53 am
by abreukers
ah ok, no worries, not judging you or anything. just thought you'd been following the threads beforehand as the maya documentation still needs an update.

for your query, its something like this:
texture_projection_node_maya.jpg
concepts are based on the standalone:
texture_projection_node_standalone.jpg

Re: Black Object after Texture input ?

Posted: Tue Nov 18, 2014 5:28 am
by TheChristopher
abreukers wrote:ah ok, no worries, not judging you or anything. just thought you'd been following the threads beforehand as the maya documentation still needs an update.

for your query, its something like this:
texture_projection_node_maya.jpg
concepts are based on the standalone:
texture_projection_node_standalone.jpg
I attached an Octane UV projection to the projection slot of the OctaneImageTexture node which is what I did before you told me that is how it works. Unfortunately my object continues to render black, arghh !

Re: Black Object after Texture input ?

Posted: Wed Nov 19, 2014 3:31 am
by abreukers
hi, the image texture should work even with just maya default mesh uv (so even if you did not set projection, just thought this may have been unset). when you apply the texture, what does the script editor say?

Re: Black Object after Texture input ?

Posted: Wed Nov 19, 2014 4:38 am
by TheChristopher
Can I contact you directly, waiting nearly 24 hrs between responses is wearing my patience thin to the point I'm about to abandon Octane render altogether, if the correspondence between us is more frequent I may not abandon Octane render abruptly.

The mesh has UV's, there are no errors in the script editor !

Re: Black Object after Texture input ?

Posted: Wed Nov 19, 2014 3:14 pm
by TheChristopher
I was informed that Octane should work as I've done nothing wrong, must be a flaw with Octane.

Re: Black Object after Texture input ?

Posted: Wed Nov 19, 2014 5:18 pm
by TheChristopher
abreukers wrote:hi, the image texture should work even with just maya default mesh uv (so even if you did not set projection, just thought this may have been unset). when you apply the texture, what does the script editor say?
connectAttr octaneUVProjection9.outTex octaneGlossyMaterial6.Diffuse; window -e -vis false createRenderNodeWindow;
// Error: line 0: The source attribute 'octaneUVProjection9.outTex' cannot be found. //
There is an error, when I select a UVProjection node from within the Octane Material.

Re: Black Object after Texture input ?

Posted: Thu Nov 20, 2014 2:05 am
by abreukers
TheChristopher wrote: connectAttr octaneUVProjection9.outTex octaneGlossyMaterial6.Diffuse; window -e -vis false createRenderNodeWindow;
// Error: line 0: The source attribute 'octaneUVProjection9.outTex' cannot be found. //

There is an error, when I select a UVProjection node from within the Octane Material.
This error means the projection node has been connected to the diffuse attribute of the glossy material.

To correct this, the projection node should be connected to the projection attribute of the image texture instead.
so here's how it should be:
projection_outProj-to-imgtexture_Projection.jpg
OctaneProjection_outproj -> OctaneImageTexture_Projection
imgtexture_outTex-to-glossymat_diffuse.jpg
OctaneImageTexture_outTex -> OctaneGlossyMaterial_Diffuse

these concepts are based on the standalone. It will be easier to check with the standalone first as you'll be able to visualize all the pins (node attributes) and what types of nodes can be used for them...