Advertisement Jump to content

Archived

This topic is now archived and is closed to further replies.

biotech

i was wondering

This topic is 5548 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

...i recently saw a 3d glasses kinda movie,very stupid story and i expected so much from that glasses but i was so disapointed...and i was wondering is there any simple way to achive this with opengl...

Share this post


Link to post
Share on other sites
Advertisement
back, left, right and front buffers. glSelectBuffer(), I believe, is what you''re looking for - not sure, though...





Share this post


Link to post
Share on other sites
Modern 3D glasses are a bit complicated, but the standard red/green glasses are incredibly simple to use, you just need to render your scene to two buffers at slightly different angles(make them about as far apart as the distance between two eyes), one red and one green, and then blend them together. Then the blue lense of the glasses will show only the blue, and the red lense will show only the blue buffer, and each eye will see a different buffer that''s exactly what each eye would see in real life, and it looks 3D.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!