|
![](/i/fill.gif) |
"Ryan Constantine" <rcc### [at] ucdavis edu> wrote in message
news:3A64CAC3.894329D5@ucdavis.edu...
> i don't recall anyone trying that before. clever. will it work on
> objects with irregular shapes?
Not really, but then if it's csg you could just apply the gradient to each
object I guess.
> is there a way to orient the gradient so it is always away from the camera
> without rotating the actual object?
That's what I did, just declare camera_position and object_position vectors,
and it faces the gradient towards the camera.
> that way you could use this in animations where the objects stay still
> and the camera moves around. you could even animate the balls, floating
> above the typical black and white checkered plane with a camera rotating
> around them and oscillating up and down so the background color of the
> balls changes from white to black and back again.
Huh?
Post a reply to this message
|
![](/i/fill.gif) |