Also check out osgShadow::ConvexPolyhedron if you want to extract the
corner verts or make geometry from it.
Glenn Waldron
On Wed, Nov 2, 2016 at 9:47 AM, Jeff Biggs wrote:
>
> try this...
>
> osg::Polytope GetViewPolytope(
> const osg::Matrix ,
> const
try this...
osg::Polytope GetViewPolytope(
const osg::Matrix ,
const osg::Matrix ,
const osg::Matrix )
{
osg::Polytope clipspace;
clipspace.setToUnitFrustum(true, true);
// composite matrix
osg::Matrixd mvp = m * v * p;
// transform from clip space to local
Thanks Robert
On Wed, Nov 2, 2016 at 9:43 AM, Robert Osfield
wrote:
> On 1 November 2016 at 21:45, Trajce Nikolov NICK
> wrote:
> > Hi Community,
> >
> > anyone knowing how to achieve this and with will to share?
> >
> > Thanks a bunch
On 1 November 2016 at 21:45, Trajce Nikolov NICK
wrote:
> Hi Community,
>
> anyone knowing how to achieve this and with will to share?
>
> Thanks a bunch as always !!
Have a look at the API's...
First one to look at is osg::Polytope, create one of these with a
Hi Community,
anyone knowing how to achieve this and with will to share?
Thanks a bunch as always !!
Cheers,
Nick
--
trajce nikolov nick
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi again,
After thinking about it here is what I think the answer is.
Let's say our polytope intersects two circles (or rectangles) A and B, each at
two points
A1, A2 and
B1, B2
The center point of A1 and A2 is computed, denote by centerA12
The center point of B1 and B2 is computed, denote by
Hi,
I am trying to understand what are
(1) distance of the localIntersectionPoint, (2) the reference plane in a
polytope intersector, and (3) last plane of the polytope, which are used to
sort the intersections of a Polytope intersector.
I know that a volume is created with half-planes in a
Hi,
I just started to use the polytope and polytopeintersect and have some results
I did not expect.
In the code there are 3 cases that creates an osg::Box which is the cube I want
to intersect with the plane. The 3 cases have each a different solution, where
I expect them all to have the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
From: Paul Martz [EMAIL PROTECTED]
Subject: Re: Mouse Picking (again...)
Newsgroups: gmane.comp.graphics.openscenegraph.user
Date: 2007-12-13 20:44:13 GMT (5 days, 19 hours and 28 minutes ago)
Here I am, then, asking anyone that can answer
9 matches
Mail list logo