On Wed, Mar 11, 2009 at 7:53 PM, Glenn Waldron gwald...@gmail.com wrote:
Try this:
osg::Matrix cell2map = env-getInputSRS()-getInverseReferenceFrame();
osg::Vec3d feature_center = point * cell2map;
feature_center.normalize();
osg::Vec3d cell_center = osg::Vec3d(0,0,1) *
Hi Dirk,
Maybe you have the same problem than I had :
http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/38200/focus=38214
(sorry no solution...)
Vincent.
2009/3/11 Dirk Uys dirkc...@gmail.com
Hi
I'm new to OSG, but not so new to scene graphs in general.
I'm trying to make
Try this:
osg::Matrix cell2map = env-getInputSRS()-getInverseReferenceFrame();
osg::Vec3d feature_center = point * cell2map;
feature_center.normalize();
osg::Vec3d cell_center = osg::Vec3d(0,0,1) * cell2map;
cell_center.normalize();
osg::Quat q;
q.makeRotate(
3 matches
Mail list logo