: Monday, August 24, 2009 4:44 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] checking StateAttribute::OVERRIDE
Helbig, Yuen wrote on Monday, August 24, 2009 5:37 PM:
Does anyone know how to check if the StateAttribute::OVERRIDE flag is
set on
a StateSet?
Yuen Helbig
Perhaps something
Does anyone know how to check if the StateAttribute::OVERRIDE flag is
set on a StateSet?
Yuen Helbig
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
] checking StateAttribute::OVERRIDE
Helbig, Yuen wrote on Monday, August 24, 2009 5:37 PM:
Does anyone know how to check if the StateAttribute::OVERRIDE flag is
set on
a StateSet?
Yuen Helbig
Perhaps something like the following:
osg::StateAttribute::Type ssType = osg::StateAttribute
Hello,
I'm trying to convert from model coordinates to screen coordinates with
the following code:
// Compute the model to screen transformation matrix
osgUtil::SceneView* sv = m_sHandler-getSceneView();
osg::Matrix modelView = sv-getViewMatrix();
osg::Matrix projection =
You need to create a derived class from NodeVisitor, and process each
Geode you encounter. Something like:
class GeomInspector : public osg::NodeVisitor
{
...
Constructors, transformMatrix, Array of triangles found, etc...
...
// Member Functions /
// If visiting a geode,
El Miércoles 30 Abril 2008ES 00:58:30 Helbig, Yuen escribió:
Hello,
I'm trying to extract an array of vertices and indices from an
osg::Geometry object for
collision detection purposes, my initial code looks like:
osg::Geometry* tempGeometry =
tempGeode.geode-getDrawable(j
Hello,
I'm trying to extract an array of vertices and indices from an
osg::Geometry object for
collision detection purposes, my initial code looks like:
osg::Geometry* tempGeometry =
tempGeode.geode-getDrawable(j)-asGeometry();
float* tempVertexArrayPtr =
Hello,
I'm using OpenScene Graph version 1.2 (no choice in the matter) and I'm
trying to fit a 3D view to the screen. Anyone have any suggestion on
how to do this?
Yuen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Tomlinson
Email : [EMAIL PROTECTED]
YIM/AIM : gordon3dBrit
MSN IM : [EMAIL PROTECTED]
Website : www.vis-sim.com www.gordontomlinson.com
__
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helbig,
Yuen
Sent: Friday
9 matches
Mail list logo