Hi,

How can I control which geometry in the scene to render for each eye,
given that I want to disable some geometry for left eye and some other
for the right eye?

We want to use some image based rendering (IBR) in an OpenSG app. A
texture is created for each eye each frame. Each texture should then be
mapped on the inside of a deform sphere. The sphere has the same shape
for each eye and can thus be a shared Geometry core under different
MaterialGroups. Am I right so far? Now, I need to disable the left
sphere when rendering the right eye and vice versa. My thought was to
put the two MaterialGroups under a switch node and then control the
choice of the switch node depending on which eye is about to be drawn.
But how do I find out which eye is about to be drawn? And, is there a
better way to do this?

Hope someone can help :-)

/Rasmus

-- 
Rasmus Agerholm

Research Assistant
VR Media Lab            (+45) 9635 8792
Niels Jernes Vej 14
DK-9220 Aalborg

Phone: (+45) 9635 8784
Fax:   (+45) 9815 2444

http://www.vrmedialab.dk/~rasta




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to