|
![](/i/fill.gif) |
Slime <fak### [at] email address> wrote:
> > is there a way to tell povray to keep an object "always on top" like it is
> > possible in OpenGL?
> Not really, since POV-Ray doesn't work with a depth buffer like OpenGL
> does... if an object is behind another one, it will be shown that way.
In theory it wouldn't be impossible to patch POV-Ray so that it would
support this kind of feature.
When shooting a ray, POV-Ray would first test against this object and
if the ray hits it then it ignores everything else, if it doesn't then
it just raytraces in the regular way.
The opposite would also be possible: If the ray does not hit anything
then (and only then) it is tested against the object. This would make
the object to appear behind everything else (it would thus work like
sky_sphere, but with any object).
Of course lighting and shadowing of these objects would often be
unnatural, but then, the user should know what he is doing anyways...
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |