On Tue, 2011-07-05 at 10:38 -0600, Paul Martz wrote:
> On 7/5/2011 10:10 AM, Glenn Waldron wrote:
> > I usually pull them from the CullVisitor/CullStack during the cull
> > traversal.
>
> Right -- During cull you can access these from the CullVisitor:
> osg::RefMatrix* view = cv->getModelVie
On 7/5/2011 10:10 AM, Glenn Waldron wrote:
I usually pull them from the CullVisitor/CullStack during the cull traversal.
Right -- During cull you can access these from the CullVisitor:
osg::RefMatrix* view = cv->getModelViewMatrix();
const osg::Camera* cam = cv->getCurrentCamera();
I usually pull them from the CullVisitor/CullStack during the cull
traversal.
Glenn Waldron / Pelican Mapping / @glennwaldron
On Tue, Jul 5, 2011 at 12:01 PM, Jeremy Moles wrote:
> Hey guys, I have a really quick question. I'm trying to debug a piece of
> code and what I need is access to the c
Hey guys, I have a really quick question. I'm trying to debug a piece of
code and what I need is access to the current MV/Proj matrices as
affected by the Viewer's active camera.
I see that they can both be queried from an osg::State object, though
I've never had to interface directly with this.
4 matches
Mail list logo