View Full Version : Basic Gradient Question

05-02-2003, 07:47 AM
I'm just now reading about gradients, and I'm trying to create a gradient on a box where it's blue on the right and red on the left (wth the blended violet in the middle). I know gradient is mostly used for special effects, but I just want gradient colors on a box.

I tried every mode in the gradient window (incidence, bump, all of them). All I get is a solid color.

How do I apply an actual color gradient left to right on a simple box shape?


05-02-2003, 08:39 AM

just tried to do it.

Simple: Make sure your pivot poit is in one of the corners of your cube.

Goto surface editor and choose texture on color channel.
Change the layertype to gradient.
In the dropdown field from the input parameters there are some options that uses the pivotpiont of your object.
Just choose X distance to pivot point.
Make a new color, and change them the way you like.
now you should check the distance between the 2 x positions.
In my case it was 11 meter.
Fill this value in End
And render
It is important that you know the sizes of your object.

05-02-2003, 09:19 AM
Or you could use weight maps, but Pivot Point works great too!:D

05-03-2003, 06:35 AM
Offcourse weight maps are very good for this job. But just for a simple gradient this is the easiest way for a newbie and people like me (also newbies....:D )

05-03-2003, 02:44 PM
Also, you could do the same, but create a Null, then set it to distance to Object, with object as Null. Put the Null where the blue/red is and go, and this can be animated, etc.

05-03-2003, 04:03 PM
Hey, that worked beautifully! Thanks for the reply.