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

Incorrect colors of bricks when ldr contains combination of linux version, custom color and color with alpha #86

Open
keeema opened this issue Aug 30, 2024 · 1 comment

Comments

@keeema
Copy link

keeema commented Aug 30, 2024

Describe the bug
On linux version the colors of bricks are (not always) incorrectly rendered.

To Reproduce
Steps to reproduce the behavior:

  1. Have linux version of ldview (4.4,4.5/Qt, OSMesa)
  2. Render following ldr (contains custom color and brick with color with alpha):
0 !COLOUR HIGHLIGHT CODE 999001 VALUE #00FFFF EDGE #000000
1 24 220 -24 120 1 0 0 0 1 0 0 0 1 3006.dat

1 24 240 -24 80 1 0 0 0 1 0 0 0 1 3007.dat

1 24 300 -24 160 1 0 0 0 1 0 0 0 1 2456.dat

1 24 300 -24 200 1 0 0 0 1 0 0 0 1 2456.dat

1 24 130 -24 160 1 0 0 0 1 0 0 0 1 3002.dat

1 24 120 -24 200 1 0 0 0 1 0 0 0 1 3003.dat

1 24 240 -24 40 1 0 0 0 1 0 0 0 1 3003.dat

1 24 340 -24 100 1 0 0 0 1 0 0 0 1 3003.dat

1 24 210 -24 150 1 0 0 0 1 0 0 0 1 3622.dat

1 24 200 -24 50 1 0 0 0 1 0 0 0 1 3004.dat

1 24 340 -24 130 1 0 0 0 1 0 0 0 1 3004.dat

1 24 370 -24 170 0 0 -1 0 1 0 1 0 0 3622.dat

1 24 150 -24 90 1 0 0 0 1 0 0 0 1 3005.dat

1 24 150 -24 190 1 0 0 0 1 0 0 0 1 3005.dat

1 151 150 -24 210 1 0 0 0 1 0 0 0 1 3005.dat

1 81 170 -24 150 1 0 0 0 1 0 0 0 1 3005.dat

1 24 270 -24 50 1 0 0 0 1 0 0 0 1 3005.dat

1 151 370 -24 210 1 0 0 0 1 0 0 0 1 3005.dat

1 10047 260 -48 120 1 0 0 0 1 0 0 0 1 3007.dat

1 10047 300 -48 160 1 0 0 0 1 0 0 0 1 3001.dat

1 10047 230 -48 80 1 0 0 0 1 0 0 0 1 3002.dat

1 24 120 -48 100 1 0 0 0 1 0 0 0 1 2456.dat

1 24 220 -48 40 1 0 0 0 1 0 0 0 1 2456.dat

1 999001 100 -48 140 1 0 0 0 1 0 0 0 1 3001.dat

1 999001 100 -48 180 1 0 0 0 1 0 0 0 1 3001.dat

1 999001 280 -48 200 1 0 0 0 1 0 0 0 1 3001.dat

1 999001 300 -48 80 1 0 0 0 1 0 0 0 1 3001.dat

1 999001 90 -48 220 1 0 0 0 1 0 0 0 1 3002.dat

1 999001 130 -48 60 1 0 0 0 1 0 0 0 1 3002.dat

1 999001 360 -48 140 1 0 0 0 1 0 0 0 1 3003.dat

1 999001 360 -48 200 1 0 0 0 1 0 0 0 1 3003.dat

used params:

-AutoQuit -LineSmoothing=0 -UseQualityStuds=0 -Seams=0 -ShowHighlightLines=1 -SaveAlpha=1 -SaveWidth=1024 -SaveHeight=768 -AutoCrop=1 -TextureStuds=0
  1. See result

Expected behavior
8 bricks with HIGHLIGHTED (cyan) color
The same as on Windows or Mac

Screenshots
Current:
image
Expected:
image

Platform (please complete the following information):

  • OS: Debian, Ubuntu
  • Version 4.5,4.4/Qt,OSMesa
  • CPU Architecture: amd64
@pbartfai
Copy link
Collaborator

pbartfai commented Aug 30, 2024

There is a know Mesa bug. See #65

Please check the issue with latest binaries from OpenBuildServices. OSMesa has a workaround in latest binaries.

Do you use hardware acceleration Nvidia/AMD card?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants