View Issue Details

IDProjectCategoryView StatusLast Update
0005064Spring engineGeneralpublic2016-02-08 18:30
ReporterTurBoss Assigned ToKloot  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version100.0+git 
Summary0005064: [100.0.1-1115] Features only are shown in determinated zoom level
DescriptionFeatures are hidden, they are only visible at some zoom levels

Steps To ReproduceJoin the Jauria Rts Autoshost, select a map with !map , add null AI, and check the features with various zoom levels
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

TurBoss

2016-02-08 16:29

developer   ~0015658

Last edited: 2016-02-08 16:31

Also tested in single player with BA V9.32

Maps Chinollar 0.9, Codar 1.6, Airport

hokomoko

2016-02-08 17:29

developer   ~0015659

Seems like issues with fading distance.
Features in general seem to fade much more abruptly than in 100.0

Kloot

2016-02-08 17:31

developer   ~0015660

turn off feature alpha fading or increase the distance at which fading starts (FeatureFadeDistance in springsettings)

TurBoss

2016-02-08 17:34

developer   ~0015661

FeatureFadeDistance = 100 worked

hokomoko

2016-02-08 17:36

developer   ~0015662

with FeatureFadeDistance set to 3000 and FeatureDrawDistance set to 6000 features are still almost instantly disappearing instead of gradually

Kloot

2016-02-08 17:56

developer   ~0015663

Last edited: 2016-02-08 18:01

it's just a simple linear interpolation, output the alpha as you zoom away from a feature (goes from 1.0 at dist=3000 to 0.0 at dist=6000, with some inaccuracy because squared distances are used)

one minor complication is that the range is also adjusted based on farLength, so make sure icon distance >= FeatureDrawDistance

hokomoko

2016-02-08 18:04

developer   ~0015664

It's a case of bad defaults probably
unitLodDistance is 1000
FeatureFadeDistance is 4500
FeatureDrawDistance is 6000

farLength is unitLodDistanceSq * radius

hokomoko

2016-02-08 18:14

developer   ~0015665

hmm, nope, seems like same defaults are in 100.0

Kloot

2016-02-08 18:20

developer   ~0015666

Last edited: 2016-02-08 18:23

I still don't see the bug though, fading happens precisely over the range it should here (6000-4500=1500 elmos is traversed with a few keypresses)

hokomoko

2016-02-08 18:26

developer   ~0015667

Checking 100.0 I can't see it working any better. So I guess this can be closed.

Kloot

2016-02-08 18:30

developer   ~0015668

ok, false memory maybe ;)

Issue History

Date Modified Username Field Change
2016-02-08 16:25 TurBoss New Issue
2016-02-08 16:29 TurBoss Note Added: 0015658
2016-02-08 16:31 TurBoss Note Edited: 0015658
2016-02-08 16:37 TurBoss File Added: infolog.txt
2016-02-08 17:29 hokomoko Note Added: 0015659
2016-02-08 17:31 Kloot Note Added: 0015660
2016-02-08 17:34 TurBoss Note Added: 0015661
2016-02-08 17:36 hokomoko Note Added: 0015662
2016-02-08 17:56 Kloot Note Added: 0015663
2016-02-08 18:01 Kloot Note Edited: 0015663
2016-02-08 18:04 hokomoko Note Added: 0015664
2016-02-08 18:14 hokomoko Note Added: 0015665
2016-02-08 18:20 Kloot Note Added: 0015666
2016-02-08 18:23 Kloot Note Edited: 0015666
2016-02-08 18:26 hokomoko Note Added: 0015667
2016-02-08 18:30 Kloot Note Added: 0015668
2016-02-08 18:30 Kloot Status new => closed
2016-02-08 18:30 Kloot Assigned To => Kloot
2016-02-08 18:30 Kloot Resolution open => no change required