POV-Ray : Newsgroups : povray.binaries.images : Merry Christmas to JRG [4x 21kbu] : Re: Merry Christmas to JRG [4x 21kbu] Server Time
16 Aug 2024 20:31:09 EDT (-0400)
  Re: Merry Christmas to JRG [4x 21kbu]  
From: JRG
Date: 25 Dec 2001 16:58:46
Message: <3c28f696@news.povray.org>
L'Harmonieux Forgeron wrote:
> The container is: a sphere, a box, a rotated box and a cone.
> My solution is a new object(*) which has intersections only
> with rays whose direction is same as the normal of the surface.

You lost me here. By *direction* you don't mean the exact direction of the
normals, do you? You mean something like: if (vdot (ray_vector,normal) > 0)
then intersection occurs? From your examples it looks so. Simplifying, a
nexus would be an object of which you can only see the _interior_.

> Any interest ?

Truly, I don't really know. At a first glance it doesn't look that
intuitive, so I can't judge. Of course it would allow to see through a box,
but... I don't really know. Not always a container has no depth. With CSG
containers with some depth (for example the difference of two boxes) a nexus
would be of no help.
NTL it could be useful in other situations, but I can't think about anyone
at the moment (probably it's just my end, since I'm quite tired).

--
Jonathan.


Post a reply to this message

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