Jefferson,
Look at CustomPolytope code in osgSim::OverlayNode or
osgShadow::ConvexPolyhedron. These two clases could be used to compute Polytope
intersections. Rest of your goals should be straightforward.
I had no experience with PolytopeIntersector. Maybe this can suit your needs as
well.
Cheers,
Wojtek
----- Original Message -----
From: Jefferson Pinheiro
To: OpenSceneGraph Users
Sent: Thursday, December 04, 2008 7:42 PM
Subject: Re: [osg-users] Request: bool Polytope.contains(another_polytope)
I understand.
About my other question then, there is currently no workaround to test
collision between two polytopes? I tried
polytope.contains(polytope2.getReferenceVertexList()) but it doesn't seems to
work either (always returning false). Any other ideas?
On Thu, Dec 4, 2008 at 7:05 AM, Robert Osfield <[EMAIL PROTECTED]> wrote:
Hi Jefferson,
Like Gordon says, if you need the function then the thing to do is
implement it and submit it. I'm not hear to take end users feature
requests and then go a implement them for free. I have bucket load of
work to do, working well over my forty hour week every week, with many
of these hours doing project maintenance and support work without
financial return, the simply is no scope for doing extra stuff just
out of kind heartedness - I do strangely enough have a life outside
the OSG.
Robert.
On Wed, Dec 3, 2008 at 8:10 PM, Jefferson Pinheiro
<[EMAIL PROTECTED]> wrote:
> Hello Robert,
>
> Can you please implement a function, in class Polytope, that checks if the
> current polytope intersects another polytope? Or is there another way to
do
> that, and I'm not seeing?
>
> Thanks,
> --
> Jefferson Pinheiro
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
Jefferson Pinheiro
(51) 9192 3535
------------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org