OpenGL ES color picking on the iPhone
OpenGL ES color picking on the iPhone
- Subject: OpenGL ES color picking on the iPhone
- From: FDW Development <email@hidden>
- Date: Mon, 06 Sep 2010 21:24:20 +0100
I'm looking into 3D on the iPhone, I have managed to get a 3D cube on
the device but would like to add interactivity such as touching one
face fires a specific event and an other face a different event. I'd
rather steer clear of ray picking as this adds extra complexity that I
do not want in my app.
I've read up on quite a few color picking tutorials, but there doesn't
seem to be any iPhone specific tutorials or sample code anywhere on the
web.
My main problem is drawing unique colored objects to the back buffer
and textured objects to the front buffer, never showing the unique
colored objects to the user but detecting the color of the pixel
touched from the back buffer.
So my question is can anyone point me in the direction of an
Objective-C tutorial or post some sample code?
Any help or advice would be much appreciated.
Please excuse me if this is the wrong place to post
Many thanks
SJM
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden