2025-07-20 08:54 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004031Spring engineGeneralpublic2013-10-07 06:35
ReporterPepeAmpere 
Assigned TojK 
PrioritylowSeverityminorReproducibilityalways
StatusresolvedResolutionno change required 
Product Version94.1.1+git 
Target VersionFixed in Version 
Summary0004031: rocket projectile cannot be seen with high modrules:airMipLevel = 10 or higher
Descriptionwhen i set huge airMipLevel, some projectiles are not shown on full path, they disapper after some time, even those in the middle of LOS range of air scout.
Steps To ReproduceNOTA + last spring
change airMipLevel to 10 or bigger
try to fly next enemy ARM command tower
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0011709

jK (developer)

Do you even know what MipLevel 10 means??

Assume you start with a 16x16 map, then its max resolution coordinates are:
(16 * 512)x(16 * 512) = 8x8 (1024*1024) = 8*8 (k^2) pixels

Each level halfs now the width & height of that rectangle:
MipLevel Width/Height (in k)
0 8
1 4
2 2
3 1
4 0.5
...
9 0.015625
10 0.007812

So what is now the final resolution of the MipLevel?
 -> 0.007812*1024 = 8
resulting in a 8x8 pixels airLosMap for a 16x16 map!
Now you should see why projectiles disappear sometimes
+Notes

-Issue History
Date Modified Username Field Change
2013-10-07 02:35 PepeAmpere New Issue
2013-10-07 06:35 jK Note Added: 0011709
2013-10-07 06:35 jK Status new => resolved
2013-10-07 06:35 jK Resolution open => no change required
2013-10-07 06:35 jK Assigned To => jK
+Issue History