Jump to content
  • Advertisement
Sign in to follow this  

GLUT Edge Definition and Object Selection

This topic is 3602 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

Okay, the first question: I'm working on a project where I draw a prism using GLUT. It's just a starter. The problem is the each side is the same color(by design) and it's hard to see where one side ends and another begins. Any ideas on how to make these edges more distinctive. I've tried to use lighting but it doesn't seem to work or help. Okay, the second question: I've read several ways of object selection. Allot are very complicated and I think i may want to try an easy way. If I understand it correctly, one draws everything in a buffer and then checks the point where the person clicks on the window. The buffer is never put on the screen. You can read more about this at http://glprogramming.com/red/chapter14.html#name6 under the "Object Selection Using the Back Buffer" headline. Does anyone have any very very simple examples of this. [Edited by - TruckMack33 on December 8, 2008 4:10:44 PM]

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • 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!