iPhone OpenGL : Using gluUnProject (port) and detecting clicking on an object
问题 please help, this is my 4th question about this, I trying so hard I tried everything! All I want to do is detect clicking on a object(cube) in a 3D World (3D world created). This does it http://blog.nova-box.com/2010/05/iphone-ray-picking-glunproject-sample.html but has a completely different app structure and does a lot with render buffers etc. I am trying to use using gluUnProject (someone has ported it). On touch CGPoint pos = [[touches anyObject] locationInView:self.view]; glGetIntegerv(