• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
OpenGL ES color picking on the iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: IB question
  • Next by Date: detailed release notes
  • Previous by thread: Re: IB question
  • Next by thread: detailed release notes
  • Index(es):
    • Date
    • Thread