|
|
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
|
|