Widescreen Image Demo

Show us your work, thrill and amaze us :)

Moderator: Programming Moderators

User avatar
Posts: 565
Joined: Mon Jun 05, 2017 5:30 pm
Location: USA

Widescreen Image Demo

Postby SevenFFF » Sun Jul 01, 2018 2:14 am

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.
Robin Verhagen-Guest
SevenFFF / Threetwosevensixseven / colonel32
NXtel NXTP ESP Update ESP Reset CSpect Plugins

Who is online

Users browsing this forum: No registered users and 2 guests