I already saw this bug but I could fix it before by changing the point`s position a bit. But now this doesn`t work.
Everything is ok before I add some one line. Then few other lines start not to render from some angles.
before:
adding a line:
bug:
I have 5948 linedefs on the map in total now.
Why does the issue appear and how it can be fixed?
It's hard to tell just from screenshots, but it looks like the sidedefs on the line might be referencing the wrong sectors. Does the sector index field for them have the same number as the sector that they face? (i.e. the sector that the line is in.) I don't mean the sector tag (2 in this case), I mean the actual sector number.
OK, certainly deleting that line prevents the graphical glitches in front of the player start.
I'm not 100% sure that this is the cause but you have quite a lot of vertices that are "not aligned to the grid". i.e. their coordinates are not whole numbers. While vertex coordinates with values less than 1 are technically legal, they are known to sometimes cause rendering problems. Certainly, a quick and dirty "fix" of allowing UDB to auto-align all such vertices in your map to the grid (thereby causing other problems such as more than one vertex having the same coordinates, and - of course - messing up some of the fine details of the map) does stop the graphical glitches.
Generally, I try to avoid creating vertices with fractional coordinates and only use them when absolutely necessary. So, I'm not saying that definitely is the problem here, but getting rid of such vertices does seem to stop the glitch happening.
Things to keep in mind:
1. when creating a map there is a size limit of ca 32000x32000
2. the map should be centered around the middle index
3. extremely large/small sectors cause problems
4. supporting control sectors should be close to the map
and this one is a personal thing
5. providing a map without appropriate resources is an immediate turn-off
Bilbö Bägginson wrote:
Don`t quite understand why it was necessary to send whole archive just to demonstrate these glitches but ok, I'll keep it in mind.
Because some glitches could be caused by incorrectly created or defined resources. You never know.