Home Creators Posts Import Register Favorites Logout

Content

This release is a very significant milestone, because it's the first version of Retroquad where I can consistently reach between 50 and 60 frames per second in vanilla Quake's maps in full HD resolution. User-made maps that were too heavy for the dynamic resolution to render at 100% won't see increased framerates, but their dynamic resolution will increase.

You'll notice that the executable file in this version is significantly bigger than before, because of the dozens and dozens of special case rasterization paths that were implemented in d_scan.c and d_turb.c.

The special case optimizations to eliminate perspective correction in horizontal surfaces turned out to be even better than I expected, and this release truly proves that perspective correction is the main performance drain in the BSP rasterizer. I still have a vague idea on how to significantly optimize perspective correction in the general cases, and will eventually give it another try.

By the way, high framerates makes Retroquad's anisotropic texturemapping looks really noisy in motion. I'll eventually implement a better anisotropic texturemapping algorithm, which will certainly take another ton of work to be implemented because all rasterization paths will have to be updated again.

As you can see in this screenshot, disabling MD5 models can give some performance boost too. This is specially recommended in maps with many enemies. Mesh model (both MDL and MD5) rendering is one of the main causes of slowdown now, and needs to be mostly rewritten.

The public releases done so far were mainly focused on showing that Retroquad is visually impressive, but for the next public release I mainly want to show that Retroquad can also give a good user experience, and the framerate optimizations are part of this goal.

There's a bunch of known bugs that were found in the previous versions and still needs to be fixed. These should be prioritized now.

Files

Comments

somatzu

Great work, mankrip! I could already see lots of stability improvements in 0.19.0 so this is great news!