Hi, I wanna describe a weird glitch I get when the showview command draws to TILE_TILT buffer rather than the screen itself.
Calling showview at EVENT_DISPLAYROOMS is a useful trick; it allows me to enhance 3D look in my mod by showing many scenes onto each other (instead of single one) and rotate them later like a regular frame (if player's rotscrnang value is non-zero). But even though showview renders them in a correct aspect ratio, the aspect of the rotated frame appears wrong; it's stretched vertically and its center is displaced. Secondly, showview's behavior is resolution-dependent, whilst the TILE_TILT has a constant resolution of 640x480. As a result, there may be bands of HoM or the frame may overlap itself. I gave a look to the source code and realized that the glitch can't fixed by a CON hack; the showview command has to be adapted to the tilted screen. Is there a chance to have this in upcoming EDuke32 versions?
P. S. In Polymost mode it works better, but my mod is incompatible with it (see http://lzg.duke4.net/lngaror8a.png for example).
Page 1 of 1
EVENT_DISPLAYROOMS and showview command "Screen rotation issues (software mode)"
#1 Posted 24 September 2010 - 08:16 PM
Share this topic:
Page 1 of 1