Hi everyone,

      I need to detect when two shapes intersect and I need to know the
point (or set of points) where it happens. I'm using shape drawables and
I've been told that OSG doesn't have any support in that case. I was
suggested, then, to fit a polytope around my shapedrawables and compute the
intersections with that. Well, as you all know I'm new at computer graphics,
so, I'm going to ask simple questions to help me understand all this a
little bit better.
      As I've read in the doxygen documentation, a polytope is a volume
determined by a set of planes. My first question would be about how to
attach this polytope to my shapedrawable, being rotate and translated when
necessary.
      I've searched for an intersection method between polytopes within the
class but couldn't find any. Have I overlooked it?

      I'd be grateful if anyone could answer my questions, and if you have
any better solution to that (like stop using shapedrawables!), please tell
me.

                                           Thanks,

                                                Renan M Z Mendes
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to