[osg-users] Augmented reality with OSG

2011-11-30 Thread Juan Fernando Herrera J.
Hi. I'm trying to port an OpenGL augmented reality program based on the ArUco library (http://www.uco.es/investiga/grupos/ava/node/26) to OSG (I'm not trying OSGArToolkit yet). The original OpenGL program shows a perfect overlap between the AR marker and the geometric model. The OSG version

[osg-users] Setting modelview matrix with viewer.getCamera()-setViewMatrix(modelViewMatrix) not working

2011-11-28 Thread Juan Fernando Herrera J.
Hi, I want to set the modelview matrix with viewer.getCamera()-setViewMatrix(modelViewMatrix) like in the following code: int main(int argc, char **argv) { osgViewer::Viewer viewer; osg::Node* rootNode = createRootNode(); viewer.setSceneData(rootNode); return viewer.run(); }