Why is everything flipped in FCP in the Open GL Context
Why is everything flipped in FCP in the Open GL Context
- Subject: Why is everything flipped in FCP in the Open GL Context
- From: Brad Wright <email@hidden>
- Date: Wed, 30 Jul 2008 10:41:46 -0700
Hi Pro Apps Team:
I'm combining a series of core image CIImages together in a CIContext using Open GL. Everything is vertically flipped. This doesn't happen using the same piece of code with my own CIContext in Open GL in a stand alone application. Therefore, it's not the code, but something specific to FCP.
Are you guys doing anything special to the Open GL context that makes it get flipped in FCP. Also, multiple calls to CIContext drawImage seem to not display the alpha channel properly. The Alpha channel in the second call doesn't composite with the first drawImage call. Can I change the Open GL context settings without messing everything up in Final Cut?
[_contextToUse drawImage:videoFrameImage inRect:imageRect fromRect:fromRect];
fromRect = [overlayVideoImage extent]; //fromRect = imageRect;
[_contextToUse drawImage:overlayVideoImage inRect:imageRect fromRect:fromRect];
Brad Wright |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden