Sorry, found it, setting the Billboard/Sprite blend mode to "Over" did the 
trick.


On 08.09.2011, at 12:31, Sebastian Mecklenburg wrote:

> Hi,
> 
> Great, thanks a lot! It works fine.
> Unfortunately the background is always black opaque although I do 
> CGContextClearRect() before I draw into the context.
> Does someone know why this happens? I checked Apple's FastImage sample code 
> and there is the same problem.
> 
> Thanks and regards,
> Sebastian Mecklenburg
> 
> 
> On 07.09.2011, at 17:32, vade wrote:
> 
>> That is totally the correct way to do it.
>> 
>> You can either make a class that implements a QCPluginOutputImageProvider 
>> protocol or call the helper function
>> 
>> [context outputImageWithPixelFormat Oh god this is a long method] as seen in 
>> the QCPlugin docs.
>> 
>> 
>> On Sep 7, 2011, at 8:24 AM, Sebastian Mecklenburg wrote:
>> 
>>> Hello,
>>> 
>>> I have a nice shape generator that I want to port to QC. 
>>> Now I render the result into a CGContextRef using commands like     
>>> CGContextBeginPath(), CGContextAddCurveToPoint() etc.
>>> What would be the best way to reuse this in a QC plugin? Mu current plan is 
>>> to set up a CGBitmapContext, render into that and then convert it to a 
>>> QCPlugInOutputImageProvider. Is that reasonable?
>>> There has been some discussion about his topic in the past, but I didn't 
>>> find any good solution.
>>> 
>>> Thanks and regards,
>>> Sebastian Mecklenburg


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

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

Reply via email to