Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari demoscene BBS
 
Re: Multi Palette File format
Posted by: Cyg Oct,12.2012-13:12 

I just watch the screen which pretends to display 2 million colors in the "True is a lie" demo.

They are using 2 switching screens and a pixel dithering.
The estimated 2M colors is made of 127 level of colors :
- 16 levels from the STE palette
- x2 by switching to screen (27971 colors)
- x4 by using different dithering horizontal vectors

Their dithering matrix is 4 pixel large, it works fine on large horizontal color transition, but I am not sure it would do the trick on a real picture because it would make changes too far from the original pixel.

After testing various way of doing a dithering, I believe that a good dithering is a pre-dithering on the original picture, not on the final result, except when you have large and smooth color transition, then a floyd steinberg dithering is appreciable.

Moreover, using pre-dither pictures can improve the stability of the 2 swaping pictures technique for a 29791 color feeling :
In the 1st picture, put the floor integer value of the (32 theoric level)/2 on the (x+y) odd pixels, and the ceil integer value on the (x+y) even pixels
2nd picture, the opposite

The best "mathematical" result for swapping 2 pictures is obtained by using a 2nd picture which includes the opposite of the gaps of 1st optimized picture result but it makes a noisy 2nd pictures more difficult to optimize and less stable if you look closer to your screen. To illustrate, you can make a new grey by switching between black and white but the more stable result is by mixing a strong grey and a light grey.

Cyg







[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
Multi Palette File format zerkman Oct,09.2012-00:58
  Re: Multi Palette File format Jace Oct,09.2012-06:15
  Re: Multi Palette File format ggn Oct,09.2012-19:54
  Re: Multi Palette File format evil Oct,10.2012-16:55
    Re: Multi Palette File format zerkman Oct,10.2012-21:53
      Re: Multi Palette File format baah Oct,10.2012-23:07
        Re: Multi Palette File format Jace Oct,11.2012-08:58
        Re: Multi Palette File format nativ Oct,11.2012-20:33
          Re: Multi Palette File format Cyg Oct,12.2012-13:12
            Re: Multi Palette File format nativ Oct,12.2012-15:08
            Re: Multi Palette File format zerkman Oct,13.2012-09:00
      Re: Multi Palette File format evil Oct,11.2012-15:29
        Re: Multi Palette File format zerkman Oct,11.2012-16:57
          Re: Multi Palette File format evil Oct,11.2012-18:41
            Re: Multi Palette File format s_t_s Oct,14.2012-15:58
  Re: Multi Palette File format Petari Dec,07.2012-15:40


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson