Hello Ruigang,
Check the osgdistortion example.
IIRC, the example uses a RTT-Camera and displays a subdivided (and
properly distorted) mesh and maps the RTT-result on it.
For the off-axis projection I think you can either set up the
projection matrices on your own, or use the viewers
setUpViewForPanoramicSphericalDisplay() convenience methods.
cheers
Sebastian
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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org