Posted 01 August 2001 - 09:41 AM
In the movie "Toy Story", there are several scenes where the scene is shown from Buzz Lightyear''s viewpoint. In one, Buzz Lightyear is looking around Andy''s room, and you can see Andy''s room, but you can see a reflection of Buzz''s face in his helmet dome.
How would one create such an effect in OpenGL and what techniques are involved (texture mapping, environmental mapping etc.)? What I need to do is similar. I need to view a scene through a transparent dome and see the world on the other side of the dome, but see a reflection of what is inside the dome on the inside surface of the dome. Also, the contents of the scene inside the dome could will change (such as when Buzz moves his head to look around)...
I am using GeForce3 and would like to take advantage of nVidia extensions if that is advantageous. I have seen several examples on nVidia''s webpage on using environmental mapping (cube, sphere) but these deal with mirror surfaces rather than with transparent materials...
Suggestions are appreciated...pointers to demos even more so.