View Issue Details

IDProjectCategoryView StatusLast Update
0003272DarkRadiantSaving and loadingpublic19.07.2014 07:11
Reportergrayman Assigned Toorbweaver  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.8.0 
Summary0003272: Brush faces can shift over time
DescriptionAngled brush faces (planes) can shift after going through repeated read/writes of the same map.

The problem is that the BrushDef3 format defines a plane using its normal and the distance from the plane to either the map origin (in the case of worldspawn brushes) or the func_static origin (for func_statics). Accuracy is lost as DR writes and reads BrushDef3 definitions for angled planes.

The downside to this is that mappers have to go back repeatedly and correct the errors that DR is introducing into these brushes. And this is a waste of time.
TagsNo tags attached.

Activities

Obsttorte

Obsttorte

16.12.2012 16:10

developer   ~0004965

a possible solution would be to let DR use an extra file in which it stores on which minimum grid size an object was changed on, and use this information to "back round" the results

detailed explanation:

http://forums.thedarkmod.com/topic/14375-dr-and-its-shifting-planes/page__view__findpost__p__301829
grayman

grayman

16.12.2012 16:20

viewer   ~0004966

The "minimum grid size" may or may not ease the pain.

If I use the clipper tool to slice an angled brush in half, it's possible that some of the resulting points may not lie on even the smallest 0.125 grid. I can't snap those points to the grid w/o deforming the brushes they're part of.

No solution should deform brushes. In fact, that's the problem we're trying to solve.
grayman

grayman

17.12.2012 23:37

viewer   ~0004968

I submitted brushShift1.map and brushShift2.map to maps/test/dr.

Rev 13280.

See the SVN note attached to that submission for an explanation of what's in these files.
grayman

grayman

18.12.2012 20:07

viewer   ~0004970

I stated above that I thought the root cause was in the way planes were represented in the *.map file.

This might not be the case. It's possible that there's an underlying issue with data shifting, and angled planes are most easily affected because of the way they're represented.
orbweaver

orbweaver

02.02.2013 09:28

developer   ~0005044

Resolved in commit 7b7fb6ce1acf5ad2848b11472c9e37b983ceb029

Issue History

Date Modified Username Field Change
15.12.2012 15:18 grayman New Issue
16.12.2012 16:10 Obsttorte Note Added: 0004965
16.12.2012 16:20 grayman Note Added: 0004966
17.12.2012 23:37 grayman Note Added: 0004968
18.12.2012 20:07 grayman Note Added: 0004970
02.02.2013 09:26 orbweaver Assigned To => orbweaver
02.02.2013 09:26 orbweaver Status new => assigned
02.02.2013 09:28 orbweaver Note Added: 0005044
02.02.2013 09:28 orbweaver Status assigned => resolved
02.02.2013 09:28 orbweaver Resolution open => fixed
19.07.2014 07:11 greebo Status resolved => closed