POV-Ray : Newsgroups : povray.binaries.images : Spheres (81KBU) : Re: Spheres (81KBU) Server Time
19 Aug 2024 04:22:31 EDT (-0400)
  Re: Spheres (81KBU)  
From: Ben Lauritzen
Date: 16 Jan 2001 17:32:09
Message: <3a64cbe9@news.povray.org>
"Ryan Constantine" <rcc### [at] ucdavisedu> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.