Duke4.net Forums: EVENT_DISPLAYROOMS and showview command - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

EVENT_DISPLAYROOMS and showview command  "Screen rotation issues (software mode)"

#1

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).
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options