Hi folks,

I'd like to have some dynamic environment mapping in my application. So I'll take the usual way and render the six faces of the cube, grab their views into a texture and finally use this as the Cube-EnvMap in my shader. As the objects (and thus the "cube-camera") will move around, I thought about building a camera decorator that extends the one defined camera to look into these six directions in analogy to the StereoCameraDecorator etc.

Is there already such functionality around? And if not, what would be the best way to accomplish this, as extending this part of OpenSG seems rather involved...maybe some examples or pitfalls.


Thanks for your suggestions,
Matthias

p.s.: Related to this six-face decorator would be a variation to get a hemicube rendering. There I thought about taking MatrixCameras instead of standard 90-degree perspective ones to limit the frustum of the four horizontal cameras to the upper half...something you'd recommend?


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to