'ChronoColour' variants and how they work

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andrew Davie


// These diagrams represent the state of a SINGLE PF PIXEL on a scanline over time.
// The groupings of pixels into PF registers is unchanged.

// Rn = the red pixels from source image line 'n'
// Gn = green 〃
// Bn = blue 〃

// Note that 'red', 'green' and 'blue' are just placeholders for whatever colours you use.
// essentially these colours wherever there are "on" pixels will blend over frames AND over
// scanlines. That blending forms a conceptual 'trixel'.

// Thus, there are 8 trixel "colours"
// (   ) (R  ) ( G ) (  B) (RG ) (R B) ( GB) (RGB)
// In practice the blending occurs across trixel lines too, so it's complex.

// iCC also refers to TWO colour blending over scanlines/time
// Given colours C0 and C1
// (  ) (C0 ) (C1 ) (C0 C1)
// In this case we use the same principle over 2 frames and 2 scanlines

// Here are the iCC variants for RGB (3 frame)...

// ================================================================================================

// iCC1 (198 lines of source data)
// Shimmer within a pixel, but subtle (temporal blending)

// scan | frame->
// line | [0    1    2]  [3    4    5]  ...
// -----+-------------------------------
//      |
//   0  | R0   G0   B0   R0   G0   B0
//      |              +--------------+
//   1  | R1   G1   B1 | R1   G1   B1 |  --> an iCC1 'trixel' on scanline 1
//      |              +--------------+
//   2  | R2 etc...
//-----------------------------------------------

// Example trixel shown:
// On frame 3, the colour is RED and we show the red pixels from source line 1
// On frame 4, colour is GREEN and we show green pixels from source line 1
// On frame 5, colour is BLUE and we show the blue pixels from source line 1
// So, across the 3 frames we have shown the RGB pixels on a single scanline for source line 1
// The next frame (6) restarts that sequence, showing the RED pixels again (same as frame 3)

// ================================================================================================

// iCC2 (198/2 = 99 lines of source data)

// A hybrid of iCC1 and iCC3. Two scanlines form a '2-line trixel'
// Each trixel cycles over 3 frames.

// scan | frame->
// line |  [0    1    2]  [3    4    5]  ...
// -----+-------------------------------
//      |
//   0  |  R0   G0   B0   R0   G0   B0
//   1  |  G0   B0   R0   G0   B0   R0
//      |                +------------+
//   2  |  B1   R1   G1  |B1   R1   G1|
//   3  |  R1   G1   B1  |R1   G1   B1|
//      |                +------------+
//   4  |  G2...

//
// we have RGB downwards *spanning* source lines (top left 'trixel')
// we have RGB across frames *confined* to 2-line-trixels (bottom right 'trixel')
// IOW the spatial resolution is 2 scanlines
// and the temporal resolution is 3 frames

// ================================================================================================

// iCC3 (=iCC)  (198/3 = 66 lines of source data)
// e.g., "Boulder Dash 2"

// Roll through triplets of RGB
// Three scanlines and 3 frames together form a single 'trixel' (spatial AND temporal blending)

// scan | frame->
// line | [0    1    2]  [3    4    5]  ...
// -----+-------------------------------
//      |
//   0  | R0   G0   B0   R0   G0   B0    \
//   1  | G0   B0   R0   G0   B0   R0    | -> 'trixel' line 0
//   2  | B0   R0   G0   B0   R0   G0    /
//      |              +--------------+
//   3  | R1   G1   B1 | R1   G1   B1 |  \
//   4  | G1   B1   R1 | G1   B1   R1 |  | -> A single trixel on line 1
//   5  | B1   R1   G1 | B1   R1   G1 |  /    3 line group forms spatial RGB for a trixel
//                     +--------------+
//                       \_________/ 
//                            ^
//                            three frame group forms temporal RGB for a trixel

// ================================================================================================
// original "ChronoColour"  (198/3 = 66 lines of source data)
// e.g., "Boulder Dash"

// Static triplets of RGB over 3 scanlines (spatial blending only)
// No shimmer/flicker, but sparse graphics

// scan | frame->
// line | [0] ... the same every frame!
// -----+----
//      |
//   0  | R0      \
//   1  | G0      | -> trixel line 0
//   2  | B0      /
//      | +----+
//   3  | | R1 |  \
//   4  | | G1 |  | -> trixel line 1
//   5  | | B1 |  /    A single ChronoColour trixel over 3 scanlines
//        +----+

// ================================================================================================