Jump to content
  • Advertisement

Archived

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

biotech

i was wondering

This topic is 5450 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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!