Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] PhotoStudio horking alpha channel for flame and for smoke in Save to .png #2446

Open
jimmiedave opened this issue Jan 26, 2024 · 1 comment
Labels

Comments

@jimmiedave
Copy link
Contributor

jimmiedave commented Jan 26, 2024

Describe the bug

OpenRocket is not providing a clear alpha channel for flame or smoke it exports in an image with a transparent background. This means the flame or smoke is exported as part of the image, but not generally visible in the matted image when composited.

To Reproduce

  1. Bring a rocket into OR's Photo Studio
  2. Place on a color background, make background 0% opacity
  3. Turn on Flame and Sparks. Adjust to taste.
  4. Save file
  5. Import into an image editing or compositing program
  6. Place on a black background
  7. Note that the sparks appear, but not the flame
    ...

Screenshots / .ork file

In this demo image, I've drawn a stripe of white across the alpha channel in the exhaust area to show that the flame is indeed in the image, but the alpha channel hasn't been composited with the alpha for the sparks in a way that lets the flame be seen.

AlphaDemo

Same OR file and setup, sparks turned off, composited on black

AlphaDemo2

Prior setup but on OpenRocket black sky (image saved from within openrocket, not composited)
OR Flame

OR-exported alpha channel from a photo-editing program
image

Smoke is similarly affected:

SmokeTest2

OpenRocket version

23.09

What platform are you running on?

macOS

Additional context

Mac OS Sonoma, 2019 MacBook Pro Intel, 16GB RAM, plenty of free disk.

@jimmiedave jimmiedave added the bug label Jan 26, 2024
@jimmiedave jimmiedave changed the title [Bug] PhotoStudio not including alpha channel for flame in export [Bug] PhotoStudio horking alpha channel for flame and for smoke in export Jan 26, 2024
@jimmiedave
Copy link
Contributor Author

First wondering about this: Could the OR image be premultiplied, but not tagged in such a way that compositors recognize that, and they matte it twice, shrinking the flame?

Don't really think that's it looking at the exported alpha channel and its direct correspondence to the puny flame.

@jimmiedave jimmiedave changed the title [Bug] PhotoStudio horking alpha channel for flame and for smoke in export [Bug] PhotoStudio horking alpha channel for flame and for smoke in Save to .png Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant