Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I am a beginner in OpenGL, and I would like to know how to distinguish specific objects in an OpenGL game. For instance, the game world contains 3 gems of different colors, how can I know which one the user collides with exactly? P.S. At first I thought it could be picking, but no, picking is for mouse pointing

share|improve this question
9  
OpenGL is a rendering technology, collisions are out of the OpenGL area, maybe you should refer to the physics library that you are using or putting down a good naming convention. –  user827992 Sep 1 '12 at 11:54
1  
^ pretty much this. Additionally, OpenGL doesn't keep track of the objects you render - it just takes the triangles you give it, turns it into pixels on a framebuffer, then forgets about it. If you're working in 3d, the only additional thing stored besides the pixel's color is a depth value, which still gives you no information about anything behind the frontmost triangle. –  Robert Rouhani Sep 1 '12 at 20:02
add comment

1 Answer 1

It sounds like you just want a general games development glossary like this one:

http://www.gameprogrammer.com/glossary.html

If you want to know the correct terminology for something, you'll just have to look it up. There's no 'central guide'.

Generally by the point at which you're ready to implement something in your game you'll have done enough research on it to not only know that the relevant term is but give a full etymology lesson on how that term came about :)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.