Page 1 of 1

[REQUEST][VERA] Addition of Mode7 based Graphics

Posted: Sat Nov 04, 2023 5:24 am
by hamtaro126
Since we are heading near a newer version of VERA, and we are currently at VERA 2, near a theoretical new version, I would like an additional tilemap mode,

If those are not aware, people making stuff for 16-bit games in systems such as "that super" console, and also have made homebrew/demos with Mode 7 graphics, it has been a demoscene staple forever, it is also missing in the CX16, I would please like it being implemented by using the next VERA revision, if approved.

It can use any of the tile depth (1/2/4/8-bpp colors), any tilemap size, and yes, you can add attributes.

Things like 2D Tilemap Rotation, 2D Tilemap Warping, 2D Zooming, And so forth, will be at our disposal if this gets done...

Thank you for your time, Crew!!!

Re: [REQUEST][VERA] Addition of Mode7 based Graphics

Posted: Sat Nov 04, 2023 4:47 pm
by DragWx
Good news, the FX update to the VERA contains a feature called the affine helper which indeed allows you to take a tilemap and produce a rotated/skewed/zoomed bitmap from it.

There's also a "Super Mario Kart" demo showing the affine helper being used for this, but I'm not sure if it's available on the forums.

A caveat is, it isn't a display mode; you set up the scaling/rotation/etc and then you have to read each pixel from the VERA and then write it back to VRAM to create the bitmap, but the VERA handles all of the address increments for you so it's just a loop of read/write/read/write, which ends up being pretty quick.