View Issue Details

IDProjectCategoryView StatusLast Update
0000156DarkRadiantMap Editingpublic04.03.2007 16:16
ReporterSneaksieDave Assigned Togreebo  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.9.0 
Fixed in Version0.9.0 
Summary0000156: Problems with scaling calculations on patches
Description[Note this is with the drop from 2/26 - if this has changed in 2/27, I haven't tried that drop (if available) yet!]

Please see: http://208.49.149.118/thedarkmod/maps/faces.zip

(nothing special about it, just that it's pre-made and we're all on the same page)

With the brush and patch next to each other in view,

1. select the brush face. set horizontal texture scaling to 0.5. Press the right arrow button, then the left arrow button, back and forth. Each press undoes the previous action, as expected.

2. try the same with the patch selected. A couple of problems are seen:
 a. the first scale is the opposite direction of that for brush faces - what previously grew it, now shrinks it, and vice versa
 b. each press does _not_ undo the previous action. Soon the texture is stretched completely off the patch and unrecognizable. Is there maybe a math error, or precision causing this?

3. try the same with vertical scaling, and see the same results.

4. Repeat steps 1, 2, and 3, with the scaling set to 2.0 instead of 0.5. For the brush face, it also behaves. For the patch though, it seems the left (horizontal) arrow does a shift instead of a scale, perhaps? The texture changes, but doesn't change scale, regardless of how many times you scaled larger.

By contrast, both of the vertical buttons seem to work (scaling up and down), but in the way that they work for 0.5 values above (quickly losing proportion).
TagsNo tags attached.

Activities

greebo

greebo

03.03.2007 14:42

administrator   ~0000308

Fixed on SVN.
SneaksieDave

SneaksieDave

04.03.2007 16:16

reporter   ~0000325

Very nice fix. The bigger/smaller : smaller/bigger directional difference between patches and brush faces remains, but I'm betting that has to do with the way patch textures are scaled, and is of zero importance IMO.

Issue History

Date Modified Username Field Change
28.02.2007 00:45 SneaksieDave New Issue
28.02.2007 08:59 greebo Assigned To => greebo
28.02.2007 08:59 greebo Status new => acknowledged
03.03.2007 14:42 greebo Status acknowledged => resolved
03.03.2007 14:42 greebo Fixed in Version => latest SVN
03.03.2007 14:42 greebo Resolution open => fixed
03.03.2007 14:42 greebo Note Added: 0000308
04.03.2007 16:16 SneaksieDave Status resolved => closed
04.03.2007 16:16 SneaksieDave Note Added: 0000325