Page 1 of 1

simple material mix question

Posted: Thu Jan 20, 2011 10:19 am
by naik3d
Hey guys

actually this one should be very easy but i can't get it to work.

Imagine you got a lng cylinder with a texture on it ( from the bottom to the top)
Now i add another diffuse material ( bright red ) and also
a gradient texture and a mix material in order to combine them all together.

So i want the ( black / white gradient) to controll where on the cylinder
the color should come through and where the texture should be
visible, actually very simple but it doesn't work.

The Mix Material always mixes the whole object, but what i want
is to see ONLY the texture at the bottom to the mid point of the cylinder
and then with a smooth transition to the top only the texutre.

Can anyone give an advice?

Image

Re: simple material mix question

Posted: Thu Jan 20, 2011 11:24 am
by matej
The nodes seems ok, so its your uv map (scale?) that is wrong / not exact as you want the mapping to happen.

Re: simple material mix question

Posted: Thu Jan 20, 2011 11:39 am
by naik3d
hey mate,

That's unlikely because the texture which lies on tha cylinder fits perfect
( Some kind of a logo)

But maybe i can check it again.

Re: simple material mix question

Posted: Thu Jan 20, 2011 1:59 pm
by naik3d
hey guys

i just can't get it to work properly...
Can someone give me a hint?

Maybe just a test scene with a cylinder and two diffuse materials ( just the color )
and the mix material with a gradien texture ( inside octane --> B/W)

cheers

kian

Re: simple material mix question

Posted: Sat Jan 22, 2011 8:38 am
by naik3d
really no one???

Re: simple material mix question

Posted: Sat Jan 22, 2011 9:28 am
by matej
What kind of node is that "gradient texture"? Is this the new version? If it's a procedural, check it's scale (default procedurals scale is very small).

Re: simple material mix question

Posted: Sun Jan 23, 2011 10:48 am
by naik3d
There is no parameters called scale in the gradient texture.
I think this gradient texture is not what it is meant to be.

So ridiculous, that such a simple task gets so complicated!

p.s it seems to work somehow with the sine wave and saw wave texture.

Can it be that the gradient texture needs a real texture ( jpg etc ) as an input to work?

Re: simple material mix question

Posted: Sun Jan 23, 2011 10:58 am
by matej
Just use a float image with gradient made in Photoshop...

Re: simple material mix question

Posted: Sun Jan 23, 2011 6:12 pm
by dave62
maybe just a simple thing: maybe its just the wrong size or aspect ratio of the image.
there is just one uv-mapping for the object, so the texture which controls your mixed material amount in this case your gradient tex (image) must have at least the same aspect ratio as the one which is mapped in 3dmax onto your cylinder.


edit: oh, now i read it above, you got it already solved. thought you already used an image for your gradient..