Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Checkout SDK Project doesn't support alpha?

Engaged ,
Dec 17, 2021 Dec 17, 2021

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

TOPICS
SDK
165
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Dec 17, 2021 Dec 17, 2021

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 17, 2021 Dec 17, 2021
LATEST

take a look at PF_WorldTransformSuite1. it contains multiple callbacks for compositing where you can specify the composite mode.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines