Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Pixeling > dithering question
2023-03-01 11:11
NoiseEHC

Registered: Feb 2005
Posts: 51
dithering question

Hi!

I have been just looking at recently released MULTI graphics, and what I noticed is that the majority of images use horizontal line dithering. For example:
Always Look at the Bright Side of Life

While in the past most images used checkerboard dithering, for example Hein's graphics in Dutch Breeze. But current example:
Birdman

(Note both images contain both type of dithering, just one is much more dominant.)

And very few use diffuse (random) dithering for some reason.

So what is the reason of this difference? Is it only the preference of the artist, or is there an advantage of horizontal line dithering on a TV? I do not have a real C64 anymore, so I cannot check it unfortunately.

Another question: why are there so few diffuse dithering out there? Is this because this is much harder to do, or is there some visible disadvantage?

Thanks
2023-03-01 13:12
chatGPZ

Registered: Dec 2001
Posts: 11088
With alternating lines that have the same luma you can produce perfectly mixed colors on PAL (Emulators with CRT emulation should reproduce this correctly these days)
2023-03-01 13:59
Krill

Registered: Apr 2002
Posts: 2804
Something something optional client-side PAL filter on CSDb screenshots... =)
2023-03-01 14:16
NoiseEHC

Registered: Feb 2005
Posts: 51
Yeah, but with the above Always Look at the Bright Side of Life image, looking at it via VICE with PAL emulation, there is no color mixing.

Which is expected, as for example it uses black/blue, light-green/cyan. Hmm, maybe that picture was not the best example, I will look at some others...
2023-03-01 14:29
chatGPZ

Registered: Dec 2001
Posts: 11088
Mermaid has a couple that exploit it wonderfully <3
2023-03-01 16:08
ChristopherJam

Registered: Aug 2004
Posts: 1359
One thing worth mentioning is that checkerboard dithering in hires is a definite no-no*. It's very close to the colour carrier in both NTSC and PAL (a touch higher than NTSC, a touch lower than PAL). Either way, if you view it using a composite video or RF cable you get spurious colour banding.

Sadly it's not an effect you can safely take advantage of, as the phase is random with every power cycle.


* it's fine in multicolour
2023-03-02 06:13
NoiseEHC

Registered: Feb 2005
Posts: 51
Quote: Mermaid has a couple that exploit it wonderfully <3

Yeah, for example this:
No Returns No Refunds All Sales Final

It uses color mixing extensively. However there is very interesting that both the left of the backpack and both the top of the legs use the same dark blue / brown dithering, but the backpack looks greyish in PAL emulation while the legs look purplish. No matter if I resize the window.
https://i.ibb.co/vx3zBL3/pal-emu-differences.png

Is it the same how it looks on a real TV? Why?
2023-03-02 07:15
Oswald

Registered: Apr 2002
Posts: 5007
this works because PAL TVs display an average of neighbouring "rasterlines" hue. its a long story, I believe this is done to address a shortcoming of NTSC that came before.

I think main thing not using floyd steinberg style dithering that its simply fugly with brick sized multicolor pixels, it only starts looking good around 320x20 and higher. also FS to work you need larger areas, while in pixeling you want to go from color A to color B usually in short distance. This alternating line dither style is quite recent.

the color mixing the guys are talking above only works for 7 specific color pairs, the colors of the c64 palette which have the same brightness, results are usually strange colors, not usable across wide ranges.
2023-03-02 07:32
ChristopherJam

Registered: Aug 2004
Posts: 1359
Quoting NoiseEHC
very interesting that both the left of the backpack and both the top of the legs use the same dark blue / brown dithering, but the backpack looks greyish in PAL emulation while the legs look purplish. ... Why?


The hues for the odd line palette is slightly different to those for the even line palette - if you scroll the picture down a line (eg by writing 3c to $0904 in the viewer), those colours swap.
2023-03-02 12:51
NoiseEHC

Registered: Feb 2005
Posts: 51
There is this page which talks about the chroma/luma signals lagging a little:
https://jamontoads.net/p/lumachroma.html

Is this the thing which causes color bleeding? If so then would not it make sense to use it for color transitions? Because it should naturally create a transitional hires pixel between two multi block pixels. Or is it already widely used in pixel graphics? If so why there is not a vertical alternating lines fill prevalent?

And it would be good to get some info from a graphician why prefer horizontal lines over checkerboard patterns in multi mode. Can any of you ping an artist, please?

The reason I ask these questions because I am working on an editor which is a plugin for GIMP. The plan is to draw pictures using my pen tablet, which are converted into 16 color dithered images in real-time. Controlling colors/sprites will be done using some extra layers in the source image. Obviously it will work only if the dithering is good in the first place.
2023-03-02 13:55
Oswald

Registered: Apr 2002
Posts: 5007
thats a cool page, VICE should emulate that, totally looks like I remember the screens from back of the days.

Dont think it can be used in graphics much its a subtle subpixel effect.
 
... 21 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 | 3 | 4 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Zoid
zabutom
psych
t0m3000/ibex-crew
Brittle/Dentifrice^(?)
Fulgore/Excess
CreaMD/React
Knight Rider/TREX
zscs
Matt
Andy/AEG
maestro
Guests online: 303
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 MWS  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.058 sec.