defnull/pixelflut

Pixelwar colors are off for RGBA

LeoDJ opened this issue · 2 comments

LeoDJ commented

I recently started playing with Pixelflut.
On Windows - in my case - python pixelflut is way too slow (900px/s) and pixelnuke won't compile (obviously).
So I chose java Pixelwar, which is way faster and compiled it using maven. But there I have another problem:

  • colors are scrambled. (red renders as blue)
  • if pixels are set with alpha channel, but full opacity, it still renders them as transparent

When no alpha channel is set, it renders colors without a problem.

I didn't start looking into it yet, maybe it's something easy. I just wanted to document that problem first.

grafik
grafik
grafik

Oh, looks like the pixelwar implementation parses colors as ARGB instead of RGBA. Thats a bug ^^

LeoDJ commented

Yeah, I'm currently trying to fix it, seems simple enough