Aspect ratio

From Stunts Wiki
Revision as of 17:57, 16 February 2010 by Duplode (talk | contribs) (New page: On VGA settings, Stunts runs at an internal resolution of 320x200, typical of [http://en.wikipedia.org/wiki/Mode_13h VGA Mode 13h]. 320x200 is a non-standard aspect ratio (horizontal:verti...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

On VGA settings, Stunts runs at an internal resolution of 320x200, typical of VGA Mode 13h. 320x200 is a non-standard aspect ratio (horizontal:vertical ratio 8:5, as opposed to the regular 4:3), and thus images are effectively stretched vertically by a factor of 6:5 in order to fit the 4:3 ratio before being displayed. DOSBox users should be aware that unless the aspect=true setting under the [render] section of dosbox.conf is present the adjustment may not be done, leading to inconsistent length:width ratios for 3D models and vertically shorter dimensions for both 3D objects and bitmaps. Modders should also account for aspect ratio adjustments, since bitmaps and Resource file format#3D shapes should be designed taking in account the stretch - that is, with vertical dimensions reduced by a factor of 5:6 in relation to the desired results. stressed applies the 6:5 correction on its preview window for 3D models, but not for bitmaps.