GluUnProject sample iOS project

Discuss programming topics that involve the OpenGL API.
Post Reply
Baker
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

GluUnProject sample iOS project

Post by Baker »

In the summer, I was working on some select an object in 3D code (probably not that much different than DarkPlaces PRYDON_CURSOR) that didn't require the glu libraries but used some of Spike's code in FTE. I had a lot of different things I wanted to do and I end up drifting away from this (I was working on a very fancy menu).

Recently, I had found myself very much in need of this type of thing and was about ready to finish what I had written back in June and quickly realized I had forgotten some of what was obvious at the time and didn't have to time to work through all the details and rework my way through my notes (Frustum stuff, znear, the viewport, the projection matrix).

I did some Google searches and found a simple implementation of select an object in 3D for simple OpenGL:

http://blog.nova-box.com/2010/05/iphone ... ample.html
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
Post Reply