Checkout SDK Project doesn't support alpha?
Copy link to clipboard
Copied
Like the title says, I have compiled the Checkout project included with the SDK to learn from it and, although it works as it should, it doesn't seem to repect a checked out layer's alpha channel.
For instance, I made a new layer with simply a circle in it, and when I check out that layer, it copies the circle but the pixels that should have zero alpha come through as black. So it does not reveal the current layer outside the circle.
Is there a special method to get the alpha to come through as well?
Thanks,
-Richard
Copy link to clipboard
Copied
EDIT:
Ok, so it actually DOES respect the alpha and it carries it over. What I am atually seeing is that my source layer's alpha is being replaced with the checked-out layer's alpha, as opposed to added to it.
The behaviour I want is to composite the checked-out layer on top of my current one, not replace it with it's alpha. Any suggestions on what I am missing?
Thanks,
-Richard
Copy link to clipboard
Copied
take a look at PF_WorldTransformSuite1. it contains multiple callbacks for compositing where you can specify the composite mode.

