Thanks for help!

But the problem already exists. Actually the main-problem seems to be, that 
either the view-matrix or the world-(model-)matrix is not passed to the shader 
correctly. 
I have a scenegraph consisting of two rendertotexture-prerender-cams (one to 
compute a velocity map and one to actually render the scene to a texture) and 
of one nested-cam (scenecam, which adds the prerendered texture to a geometry 
and displays it). All cams are added to a group-node and latter is used as 
scenedata of a osgViewer::Viewer. 
Because of the fact, that I think, that something is wrong with the viewmatrix 
I want to make sure, that it's right to use the viewercam (viewer.getCamera()) 
or could there be a problem with the nested-cam???


thanks,

regards
Felix

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=49237#49237





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to