Re: Open GL to Quicktime?
Re: Open GL to Quicktime?
- Subject: Re: Open GL to Quicktime?
- From: Scott Thompson <email@hidden>
- Date: Fri, 13 May 2005 14:29:57 -0500
On May 13, 2005, at 11:02 AM, Bob Estes wrote:
I sent this to the mac-opengl list also. Apologies for the double-
posting, but I thought this broader list might have more Quicktime
experience.
I'm wondering if there is a reasonably easy way (i.e., that doesn't
require learning and integrating a bunch of Carbon routines into my
Cocoa code) to programmatically make a Quicktime movie from my
existing code for an animation that displays in an NSOpenGLView. If
there is, I haven't been able to find it, but it seems there should
be. Any pointers would be greatly appreciated.
You shouldn't have to include a bunch of Carbon routines, but you may
have to include a bunch of QuickTime routines. In Tiger and later,
you can limit your attention, by in large, to Quartz and QuickTime.
The trickiest part is that you need to get your OpenGL content into a
bitmap that you can work with. That probably involves either
rendering into an offscreen context of some sort (p-buffer?) or
retrieving your graphics from the OpenGL context somehow (readPixels?)
You might also ask on the QuickTime developers lists.
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden