Hi, On Mon, 2008-12-01 at 16:44 +0100, Christoph Schmidt-Hieber wrote: > Hi, > I'd like to use OpenSG to project a VR environment to a dome using a > spherical mirror, as described by > Paul Bourke on his web site > (http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/domemirror/). > I have downloaded some code from his web site that creates a fisheye > projection using OpenGL, > basically by rendering 4 faces of a cube, distorting the resulting textures > and mapping them to the dome surface.
the general infrastructure should be there, at least for OpenSG2. Though examples might be spread out over several classes (e.g in NodeCores/Groups HDR, Effects/DisplayFilter. A cubemap generation example can be found in DynamicStateGenerators/OSGCubeMapGenerator. Personally I would build it after the HDR stage which renders into a texture with some postprocessing. Could you send me a link to what you downloaded so I can have a look and provide some basic integration work. Do you plan to use a mono or stereo projection ? kind regards, gerrit ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
