• 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
How to read the z-buffer in a layer-backed openGL view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to read the z-buffer in a layer-backed openGL view?


  • Subject: How to read the z-buffer in a layer-backed openGL view?
  • From: Mathieu Coursolle <email@hidden>
  • Date: Wed, 13 Aug 2008 11:16:10 -0400

Hi Cocoa developers,

I've been playing with this example for a while now:
http://developer.apple.com/samplecode/LayerBackedOpenGLView/listing2.html

and I was wondering if someone knew the answer to that question:

Is is possible to read the z-buffer (using glReadPixels) in a mouseDown procedure?

It seems to work fine if done in the drawing procedure, but not outside.

Thanks!

Mathieu

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: DICOM images in Cocoa
  • Next by Date: Re: Opening an external file in a external application
  • Previous by thread: Re: Detect when another application goes into full screen mode or when dock becomes hidden
  • Next by thread: Why won't Gmail cooperate with authentication delegate methods? (Gmail RSS feeds do.)
  • Index(es):
    • Date
    • Thread