Page 1 of 1

Textures not vertically aligning properly on 3D walls

Posted: Thu May 28, 2009 15:00
by Rex Claussen
Take a look at the two pictures below. They are part of a 4-storey building, with each floor having a different texture (using a 640-tall texture with appropriate spacing for the floor heights). If I create a simple wall, then the texture aligns perfectly in a vertical direction. However, as soon as I create doorways and windows, the vertical alignment gets messed up.

Originally, for the windows I had created 3D walls only where they were absolutely required, i.e., the top part of the window on the upper-most floor and the lower part of the window on the lower-most floor had "regular" heights. Only the lower part of the window on the upper-most floor, down to the upper part of the window on the lower-most floor were 3D sectors. When I first noticed the texture alignment problem I made all sectors 3D sectors, but that didn't help either. If I apply a y-offset so that the entire sidedef texture is drawn starting higher up, it will mess up the upper and lower floors.

The textures on the 3D sectors are being drawn starting from the upper part of each 3D sector, instead of from the top of the sidedef and continuing down in a continuous fashion. I checked the wiki to see if there was some sort of flag for this issue, but I didn't see anything. Anyone else have this problem, and if so what is the solution (short of creating a new texture for each floor where the new texture is a cropped version of the original)?
Spoiler:
Spoiler:
EDIT: The solution is simple, as pointed out by Grover in the ZDooM forums: "You need to manually align your textures in your dummy sectors. Just set the offset on the line that has the 160 special."