View Issue Details

IDProjectCategoryView StatusLast Update
0004854The Dark ModPhysicspublic30.06.2018 09:16
Reporterstgatilov Assigned To 
PrioritylowSeverityminorReproducibilitysometimes
Status newResolutionopen 
Product VersionTDM 2.06 
Summary0004854: dmap: player can go through brush sides (large coordinates)
DescriptionIf the map is located at large coordinates, all sort of precision issues can happen.

This issue in particular is about a bug happening on a testmap test/4853_stuckTest2.map (in assets SVN). It was creates by Jesps:
  http://forums.thedarkmod.com/topic/19510-cauldron-clipping-issues/page-2#entry424145

There are some solid columns created with brushes, and you can go through some of their polygonal sides.
Steps To Reproduce1. Compile: dmap test/4853_stuckTest2.map
2. Start the map: map 4853_stuckTest2.map
3. Hit the leftmost switch on the wall --- you'll get teleported to another simiar room.
4. Go to the other half the room where columns are located. Find the column where arrows point (with text label "Walk through here").
5. Go through the labeled face.
Tagsprecision

Activities

stgatilov

stgatilov

30.06.2018 09:14

administrator   ~0010620

From what I see, the problematic polygon consists of vertices:
  /* 652 */ ( 41994.21484375 50187.23046875 0 )
  /* 651 */ ( 41993.421875 50232.4765625 0 )
  /* 646 */ ( 41994.1875 50187.2734375 128 )
  /* 645 */ ( 41993.41015625 50232.4765625 128 )
And edges:
  /* 969 */ ( 645 646 ) 0 2
  /* 977 */ ( 645 651 ) 0 2
  /* 978 */ ( 651 652 ) 1 1
  /* 979 */ ( 652 646 ) 0 1
And the polygon is:
  4 ( -969 977 978 979 ) ( -0.9998477101 -0.0174524076 0 ) -42863.703125 ( 41993.421875 50187.23046875 0 ) ( 41994.21484375 50232.4765625 128 ) "textures/darkmod/stone/natural/dark_dirty"

The only weird thing here is that numUsers of 978 and 979 edges is wrong: it must be 2 instead of 1. Something goes wrong here.

One the other hand, if I try to remove everything except this room and this column from the map, then the issue goes away.

Issue History

Date Modified Username Field Change
30.06.2018 09:10 stgatilov New Issue
30.06.2018 09:10 stgatilov Tag Attached: precision
30.06.2018 09:14 stgatilov Note Added: 0010620
30.06.2018 09:16 stgatilov Steps to Reproduce Updated View Revisions