Original Post
I don''t like the concept of ''picking'' with openGL, i thought up this algorythem just now, can you tell me if thiers any flaws with it?
ok, you cast a ray from your eye/body/whatever you want to check with.
every object has a x,y and z location. if the ray you cast the ray untill it is blocked by a colision box. the ray returns the x,y and z location were it was blocked. you have a index of all the objects in the world and thier x,y,z location, prehaps put it in a tree to speed up the process a bit. can any one figure out anything wrong with this. my whole theroy behind this is that everything has sense organs, which they can probe the world with.