Hi

For glFrustum-like projection : osg::Camera::setProjectionMatrixAsFrustum(...), 
or you can create matrix with osg::Matrix::frustum(...) and use this

Cheers

02.08.2012, 00:52, "Ruigang Yang" <ruigangy...@hotmail.com>:
> Hi,
>
> I am in the process of converting an OpenGL-based multi-channel program to 
> OSG. It is designed for a multi-projector environment. Could someone provide 
> some hints as how to implement a 2D warping of the rendered image? It has to 
> be efficient since it needs to be done for every frame. Is the function 
> "setPostDrawCallback" a good place to start?
>
> In addition, is there any glFrustrum-equivalent function call to allow 
> off-axis projection?
>
> Any help is grreatly appreciated. I am new to OSG.
>
> Cheers,
> Mark
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=49141#49141
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to