Widescreen image demo. 320x192 image with 256 colour palette chosen from 512 colours.
SNA file: https://github.com/Threetwosevensixseve ... ybreak.sna
Source: https://github.com/Threetwosevensixseve ... creenImage
The image is a rendering of Daybreak by Maxfield Parrish (1922): https://en.wikipedia.org/wiki/Daybreak_(painting).
I tweaked the levels to lighten the sky, which helps avoid artifacts caused by RGB333 not having very many light shades of colour. I also added extra noise and dithering to the floor and pillars, which helps it look more natural.
The center 256x192 is layer 2, and the left and right strips are made up of 24 sprites on each side.
I originally coded it so layer 2 and sprites had separate palettes, which would have allowed for more than 256 colours on screen at one time, and perhaps finer gradations in both sets of colours. Sadly, I couldn't get this working satisfactorily without leaving a visible pantyline, mainly cos I'm relying on photoshop to quantize the colours.
When I get time I'll play with a custom octree weighted quantization routine, which would make better use of the avaiable colours. In this version there are 256 distinct 24 bit colours, but some of these quantize down to the same 9 bit colours.
Show us your work, thrill and amaze us
Moderator: Programming Moderators
1 post • Page 1 of 1