Re: OpenGL export is messed up
Re: OpenGL export is messed up
- Subject: Re: OpenGL export is messed up
- From: Jonathan Selander <email@hidden>
- Date: Mon, 2 Feb 2009 16:24:50 +0100
I seem to have tracked the problem a little bit. If I use this line:
_exporter = [[FrameMovieExporter alloc] initWithPath:[savePanel
filename] codec:codec pixelsWide:size.width pixelsHigh:size.height
options:options];
Things are messed up, but if I hardcode th resolution to 640x480, the
image is correct, but it doesn't capture the whole image.
2 feb 2009 kl. 14.32 skrev Jonathan Selander:
Hi, I use code from the QCTV example to export video from my quartz
composition, which works fine on my G5, but when i use it on an
intel macbook, the video export is messed up, as if the image has
been sliced up by a giant tiger paw, smearing all the color out in
one direction.
The strange thing is that the original QCTV example works perfectly
on the intel macbook, while my homecooked app doesn't. I can't find
any difference between the applications on that part, does anybody
here know what can be the cause of this?
These are my opengl attributes:
NSOpenGLPixelFormatAttribute attributes[] =
{NSOpenGLPFAAccelerated, NSOpenGLPFANoRecovery,
NSOpenGLPFADoubleBuffer, NSOpenGLPFADepthSize, 24, 0};
Thanks
_______________________________________________
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
_______________________________________________
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