hi :
iam creating a program that have two windows one i make a drive in it and the
other is like a map i want to put indecator in the 2nd window that indicate my
current position in the first one
i used the following code but nothing happend:
// Projection and ModelView matrices
osg::Matrixd proj;
osg::Matrixd mv;
...
proj = cameraL->getProjectionMatrix();
mv = cameraL->getViewMatrix();
// Create parent MatrixTransform to transform the view volume by
// the inverse ModelView matrix.
osg::MatrixTransform* mt = new osg::MatrixTransform;
mt->setMatrix( osg::Matrixd::inverse( mv ) );
mt->addChild( loadedMode35 );
Mainroot->addChild(mt);
...
can some one tell me where iam going wrong ??
tahnks
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org