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
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();
}
2 matches
Mail list logo