Capabilities of various VDPs at parallax effects

For anything related to VDP (plane, color, sprite, tiles)

Moderators: BigEvilCorporation, Mask of Destiny

iNCEPTIONAL
Interested
Posts: 49
Joined: Thu Feb 17, 2022 1:14 am

Re: Capabilities of various VDPs at parallax effects

Post by iNCEPTIONAL »

Chilly Willy wrote: Mon Dec 26, 2022 2:52 pm The PCE has a high resolution mode that allows blending colors to move beyond its palette. The Genesis can also do this... on composite output on a TV that filters composite input. Blending colors really eats into detail, though, which is why having the high resolution mode on the PCE makes blending easier than on the Genesis. A number of Genesis games use blending for more color - you can see the dithering of the pixels meant to blend together in emulators or on good TVs, especially if you're not using composite video.
I just noticed you mentioned both the PCE and Genesis can do some kind of colour blending to move beyond their palettes, and in PCE's case by using the higher resolution (512x224), but what about the SNES which also has the likes of its 512x224 pseudo high-res and 512x224 high-res modes and even the 512x448i mode?

https://youtu.be/AnEuk8Vj3w0?si=w88CJ-WsDHu7fGVT&t=123

Would the same thing work there in some way to allow it to display even more colours on-screen than normal as you mentioned for the two other consoles?
Last edited by iNCEPTIONAL on Sat Aug 26, 2023 12:18 pm, edited 1 time in total.
Chilly Willy
Very interested
Posts: 2985
Joined: Fri Aug 17, 2007 9:33 pm

Re: Capabilities of various VDPs at parallax effects

Post by Chilly Willy »

Yes, the same thing would apply to the 512 wide mode of the SNES. But with 256 colors from a palette of 32768, it's not nearly as needed as the 16 colors of the MD and PCE.
iNCEPTIONAL
Interested
Posts: 49
Joined: Thu Feb 17, 2022 1:14 am

Re: Capabilities of various VDPs at parallax effects

Post by iNCEPTIONAL »

Good to know. Thanks. :)
Last edited by iNCEPTIONAL on Sun Sep 08, 2024 5:17 pm, edited 4 times in total.
turboxray
Interested
Posts: 12
Joined: Wed Nov 02, 2022 2:02 am

Re: Capabilities of various VDPs at parallax effects

Post by turboxray »

The SNES using of 512 pixel mode doesn't blend well though. The composite artifacts, at least in NTSC.. leaves a lot of garbage artifacts (you can see it when SNES games using interleaved pixels for pseudo transparency via 512px mode over composite - it looks horrible). PCE doesn't have this issue; PCE doesn't have the composite artifacts and doesn't rely on it to make color blending (it's not generic composite encoder - it's done on a digital level inside the chip to maximize detail output - and then combined from three analog component signals externally into a CVBS circuit).

So the effect is literally just a low-pass filter effect against that res, rather than chroma-luma interference. Of course, over composite the Chroma (color) signal is also filtered down to even less res compared to the Luma channel, but doesn't have that much of an effect to be honest (my "simulation" mode in the app doesn't account for this and looks extremely close to the actual output).

In order to achieve the same affect on SNES, you'd have to make your own external low-pass filter to apply to svideo or RGB output for the 512px res. And given there isn't enough vram for high color and high res (512x224), you'd need to use the 4bpp mode on the SNES for 512px res.. and it limits you to 8 subpalettes. From a lot of my tests trying to make snes 512px images using 8 subpalettes... most of them exhibit a lot of attribute artifacts. Even the much larger 32k main palette doesn't help here (originally I thought it would). To the point where it's just better to use 256px res and 8bpp modes. PCE just about gets away with it due to 16 subpalettes for BG (and separate 16 for sprites).. even at that, 16 is touch on some images which need manual correction afterwards.

These are raw captures of PCE hires mode over its composite video:
Image
Image
Image
Image
Image
Notice the absence of NTSC color artifacts. I've also view these images over TurboGrafx PAL, which has the same low-pass look. It's not completely filtered out though, as some high res detail does pull though. From my measurements, details in the high bandwidth range come through (i.e. up to 370px range can be seen).

You can see the rest here: https://twitter.com/turboxray/status/16 ... 4478017536
Note: These are old conversions. These didn't take into account the special VCE internal palette (which isn't actually RGB, but 9bit RGB is an index into a 15bit YUV table).. my conversion app has since been updated to better color match on the new palette, giving improved results both in detail and gradients.
iNCEPTIONAL
Interested
Posts: 49
Joined: Thu Feb 17, 2022 1:14 am

Re: Capabilities of various VDPs at parallax effects

Post by iNCEPTIONAL »

Until someone tries to truly push the SNES to output something beyond the 8bpp 256-colour 256x224-resolution images that are possible as standard in Modes 3 and 4 on the system, the following representative examples of stock-SNES-spec accurate images as they would be viewed in pixel perfect mode on a typical modern monitor are about as good as we're going to see (created using Rilden's Tiled palette Quantization tool):
8bpp 256-colour 2x scale.png
8bpp 256-colour 2x scale.png (225.28 KiB) Viewed 31248 times
Here's an example of a screenshot from an actual SNES game with a lovely 8bpp title screen image (taken in Mesen-S):
Aero2 2x Scale.png
Aero2 2x Scale.png (56.37 KiB) Viewed 31039 times
We clearly haven't seen anywhere near the best the SNES is capable of outputting with these high quality images though, especially given we still don't have any great examples of 8bpp 256-colour plus colour math and HDMA images, or 2048 direct colour plus 128-CGRAM-colour images, or 512x224 or possibly 512x448 resolution images with any kind of blending and the like, or even anything that actually tries to go beyond the standard built-in options for static images, and definitely not anything that shows how the stock SNES can also display all of these standard image options during actual gameplay too if so desired.

Not that most people wouldn't be totally happy with and indeed probably blown away by the quality of even the standard Mode 3/4 256x224 8bpp 256-colour representative images above, but maybe one day we will get to see what SNES is truly capable of in this area, with actual real limit-pushing viewable and even playable examples in some cases that everyone can appreciate, which I think will be very cool.

For now though, here are some additional representative mockups I made of what the stock SNES is basically be capable of with Mode 4's 8bpp images plus gameplay, give or take a couple of minor tweaks here and there, some of which I've already altered in my latest local versions to be even more accurate, but basically this:

https://www.youtube.com/watch?v=tqCj2Sa6l5Y

https://www.youtube.com/watch?v=_KKWVDbFUQ8

https://www.youtube.com/watch?v=1sDXq-tByfc

And here's a link that explains how I would maybe go about doing some of the stuff in my examples above for anyone who's curious:

https://inceptionalnews.wordpress.com/2 ... d-be-done/

Edit: Interestingly, here are a couple of example images that would be 512x224 and 4bpp with 16x8 tile size on SNES as best as I can represent them, which have been colour converted using Rilden's tiled palette quantization tool:
512x224 4bpp DitherDiag4and2.png
512x224 4bpp DitherDiag4and2.png (143.71 KiB) Viewed 30447 times
These images don't use any HDMA, colour math, pixel blending, composite signal manipulation, or anything like that either. It's also just the pure pixels as they again would be viewed on a typical modern monitor rather than how they might look when seen on a CRT that softens and blends the pixels more, where they would look even nicer. Rilden's tool isn't even properly setup for this also, as there's no true way to convert an image at 512x224 resolution that has pixels half as wide as they are high without making all the pixels the same aspect ratio again. So I literally had to use it with a vertically squashed 512x224 image, convert everything, and then change the size in Photoshop to 512x448 using nearest neighbour scaling to represent the pixels that are half as wide as they are high in 512x224 mode on SNES, which clearly isn't optimal.

So, yeah, I'd definitely like to see more of what can be done in this space.
iNCEPTIONAL
Interested
Posts: 49
Joined: Thu Feb 17, 2022 1:14 am

Re: Capabilities of various VDPs at parallax effects

Post by iNCEPTIONAL »

I thought I’d share the latest test version of my SNES Mode 0 shmup level, as it ties back to the original discussion on the various levels of parallax possible on each of these classic fourth-generation consoles:

Mode 0 shmup test level (read the description)

How many layers of parallax can you spot—both the actual overlapping kind and the faux effect created with row/line scrolling?

Note: This version doesn’t run directly on SNES and doesn't yet include all the wavy effects for the city reflection, girder reflections, and skyscraper reflections that will be added in the final version. For an idea of how these might look, check out this demo of the same level in an early build by Maxwel Olinda, which runs on real SNES hardware:

Mawel Olinda's early working SNES version of level

Edit: I might as well add this while I’m here, as I think it looks pretty stunning—essentially like early Saturn or PS1 textured polygons in my opinion, and it’s another version of parallax (or is it more perspective?) achieved using Mode 7 on the SNES:

https://x.com/CommodoreKulor/status/1890908926939381790
Post Reply