Jon,

Looks like it's still doing additive blending, but the colours aren't correct. My guess is that it's related to premultiplied alpha in some way, as that's given me trouble like this before. I guess the quickest way to check would be to render the composition in a render- in-image, pass it through a CI Filter, then output to a billboard. Then you can see if it's fixed by adding premultiply(pixel) or unpremultiply(pixel) to the CI filter.

Perhaps it's something else, but I think that's worth a go.

Chris Wood


On 1 Mar 2009, at 15:28, Jon Steinmetz wrote:

Hi there, I have a QC composition that I am using for some status UI in my app. When I was using a QCView to display the composition it rendered correctly and matched the viewer in QC.app.

When I switched to using a QCCompositionLayer the particle system starts rendering incorrectly. In particular it looks like the blending modes are messed up. Here is the "correct" appearance:

<good.jpg>


And here is the bad:

<bad.jpg>


As you can see the note images in the particle system are no longer colored but appear to be a washed out yellowish color. The blending mode for the particle system is "add" but changing it does not make the view and the QCCompositionLayer match appearance.

I have tried making the QCCompositionLayer opaque and giving it a solid background color. The composition has an opaque gradient billboard as a background. Nothing has helped so far.

Searching around I have not found anybody else reporting this issue but then there does not appear to be many people talking about QCCompositionLayer in general.

I would be happy to provide my composition but since the issue only manifests itself in a QCCompositionLayer I would have to make an example program to show the issue.

Hopefully someone will have encountered this and found a solution and say you need to set the fliberdyjibbet attribute to "whuzzle" and it will be fixed. :) I apologize if I have missed something obvious or not provided some crucial bit on information. Thanks. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected] )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/psonice%40gmail.com

This email sent to [email protected]

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

This email sent to [email protected]

Reply via email to