(1) Is there a way for me to create the animations with CoreAnimation Layers (CALayer and sublayers) and simply tell some object to write to file? If so, how?
Yes, check out CARenderer. This will require some knowledge of OpenGL to do it completely correctly. See rendering to a framebuffer:
http://developer.apple.com/documentation/graphicsimaging/Conceptual/OpenGL-MacProgGuide/opengl_offscreen/opengl_offscreen.html#//apple_ref/doc/uid/TP40001987-CH403-SW7

After creating and rendering to the framebuffer using CARenderer, you can pull out the contents of the frame buffer and create a CGImage from that. Make sure you get your alpha [pre]multiplication correct.

Kevin


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to