• 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
CARenderer difficulties with rendering 3D transformed layers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CARenderer difficulties with rendering 3D transformed layers


  • Subject: CARenderer difficulties with rendering 3D transformed layers
  • From: Colin Cornaby <email@hidden>
  • Date: Thu, 7 Feb 2008 22:33:31 -0800

I apologize in advance, this deals with CoreAnimation, but likely veers into OpenGL territory. Given that this list is where most people familiar with CoreAnimation post, I thought this was the best place for my question...

I'm rendering a layer tree with CARenderer. So far, so good, I can render a series of layers with orthogonal transforms, and spit out a bitmap. My test case looks like this:

http://homepage.mac.com/gomac/testCorrect.png

Now, I've started to render my layers with a sublayerTransform type of CATransform3DIdentity. All I have to do is set up a CATransform3DIdentity, set a layers sublayerTransform property to it, and my output looks like this:

http://homepage.mac.com/gomac/test.png

Everything else is the same as the first test case, only the sublayerTransform has changed.

I'm pretty sure I'm just doing something stupid like not setting up an OpenGL flag or not enabling some sort of OpenGL depth feature, but my OpenGL is pretty rusty and I'm not sure what exactly I'm missing. If someone could give me a pointer as to what I'm probably doing wrong based on the output, that would be great.

Thanks,
Colin
_______________________________________________

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


  • Follow-Ups:
    • Re: CARenderer difficulties with rendering 3D transformed layers
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: Use of Mac OS X 10.5 / Leopards Garbage Collection Considered Harmful
  • Next by Date: How to detect focus on an NSTextField
  • Previous by thread: Re: CoreData Predicate Question - Retriving child objects
  • Next by thread: Re: CARenderer difficulties with rendering 3D transformed layers
  • Index(es):
    • Date
    • Thread