Re: Open GL to Quicktime?
Re: Open GL to Quicktime?
- Subject: Re: Open GL to Quicktime?
- From: Bob Estes <email@hidden>
- Date: Sat, 14 May 2005 15:25:12 -0400
On May 13, 2005, at 3:29 PM, Scott Thompson wrote:
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.
Well, when I see GWorlds and such, I think Mac OS 7. I wish Apple would
bring QuickTime into the Cocoa era.
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?)
I think I've found out how to do that, though I haven't verified it.
Thanks for the reply.
Bob
_______________________________________________
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