On 1 July 2014 08:18, LearningOSG LearningOSG <[email protected]> wrote:

> Hello Wu Zhicheng,
>   Try following code will help you
>         osgViewer::Renderer* renderer =
> dynamic_cast<osgViewer::Renderer*>(_p_viewer->getCamera()->getRenderer());
>         assert(renderer);
>         p_sceneView=renderer->getSceneView(0);
>         p_sceneView->getViewMatrix()
>        p_sceneView->getProjectionMatrix()
>
>   cheers
>
> Learned osg six months
>

If you don't actually have the answer could you please wait for others in
the community to attempting to answering the question as your answer is
incorrect and misleading.

Could you also please start using a human name.  It can be a psuedoname if
you wish to remain anonymous, but we are all humans here, it's best to
communicate as humans, we have a well establish policy of using human names
in the community.

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

Reply via email to