tcobbs/ldview

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

Opened this issue · 1 comments

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

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?