Skip to content

Releases: bimmerlabs/saturn-demos

VDP1 - Balls (drawing stress test)

31 Dec 18:23
e656f29

Choose a tag to compare

A drawing stress test for VDP1.

image

Tests line, polyline, and filled polygon draws. Also tests sprite draws from 2x1 to 64x64. Tests fillrate and CPU loaded performance.

The three draw modes are SRL Polygon, SGL direct (sprites), and SRL default (sprites).

To test fill rate, press start to pause the physics. Increase the number of sprites/polygons until it flickers, then back off (this isn't perfect as there is still a lot of SGL overhead).

To test a more real world scenario with CPU load, unpause the demo. The physics are very basic, but it's enough that the amount of possible draw commands is reduced by around half (if 60fps is your target at least).

Controls:

  • Up/Down: Increase/Decrease the number of balls
  • Left/Right: Decrease/Increase the size of the balls
  • A: change drawing mode
  • C: set scale to 50% (sprites only)
  • X: set polygon mode to filled/unfilled
  • Start: pause/unpause physics

VDP2 Mosaic / Blur

02 Jan 20:46
59c9d85

Choose a tag to compare

Demo of VDP2 mosaic effect

image

D-pad - change mosaic x/y
A/X - increase/decrease VDP2 mosaic
B/Y - increase/decrease VDP2 blur
C/Z - min/max mosaic/blur
L/R triggers - change background image
Start - reset VDP2

Set the X axis to max and increase the blur, and on some backgrounds it kind of looks like moving waves.

VDP2 real-time normal mapping

17 Sep 18:58
2846ed4

Choose a tag to compare

A small demo of using normal mapping with multiple colors on a VDP2 plane.

image

Watch on YouTube

Controls:

Up/Down: move light Y axis
Left/Right: move light X axis
A/X - adjust hue of tile2
B/Y - adjust saturation of tile2
C - turn off sky
Z - turn on debug text
Start - start light animation

Normal Mapping

31 Aug 18:13
5c27dfc

Choose a tag to compare

Demo to do normal mapping using palette manipulation.

image

https://youtu.be/LulO7bvGopQ?si=CN0kfyuEXXur0LYc

Controls:

up/down / left/right - move light
A/X - increase/decrease Hue
B/Y - decrease/increase Saturation
C/X - decrease/increase Darkness
L - decrease light intensity
R - increase light intensity
Start - reset to to original values (by Index or Group)

HSL Color calc

25 Aug 00:45
dc115ed

Choose a tag to compare

Demo to adjust palette data of any image using TGA graphics & 8 bit palettes.

Adjust by Hue, Saturation, and Luminance. Adjust the entire image, by groups of palette indexes, or by individual palettes.

image
image
image
image

Controls:

up/down - increase/decrease Saturation
left/right - decrease/increase Luminance
A/X - increase/decrease Hue
B/Y - decrease/increase Saturation
C/X - decrease/increase Luminance
L - cycle between Index mode and Group mode
R - cycle between palette Index or palette Group
Start - reset to to original values (by Index or Group)