Page 1 of 1

[375] Same UDMF parameters leads to different results

Posted: Wed Jul 01, 2009 21:44
by Geometer
I have noticed that in some cases sectors with the same UDMF parameters represented in different ways in software and hardware modes.

Look at screenshots:

Software mode:
Spoiler:
Hardware mode:
Spoiler:
Floor texture is scaled to a second, and then shifted by 32 px along X and Y axes. But you see that it rendered differently in various modes.

There is the piece of TEXTMAP code, that contains information about this sector:

Code: Select all

sector
{
  heightfloor = 0;
  heightceiling = 128;
  texturefloor = "FLAT22";
  textureceiling = "FLOOR0_1";
  lightlevel = 192;
  xpanningfloor = 32.000;
  xscalefloor = 2.000;
  ypanningfloor = 32.000;
  yscalefloor = 2.000;
}
 
Also I have attached original file, that contains the map.

Re: [375] Same UDMF parameters leads to different results

Posted: Sat Jul 11, 2009 13:04
by Graf Zahl
Fixed. This is the first map I have seen that uses both flat scaling and offsetting so I never noticed I got the order wrong.