Difference between revisions of "Distance"

From DoomRL Wiki

Jump to: navigation, search
(Created page with "{{Technical}} {| style="rules: cols; border: 2px solid darkred; border-spacing: 0; float: right; font-size: 100%; margin: 0.25em 0.5em; text-align: right" |style="background: da...")
 
 
(5 intermediate revisions by one user not shown)
Line 5: Line 5:
 
|-
 
|-
 
|<pre>
 
|<pre>
         999        
+
         9        
      9988899      
+
      98889      
     99887778899    
+
    988777889   
   9887766677889 
+
     88776667788 
   987766555667789 
+
   8776655566778 
   987655444556789 
+
   8765544455678 
  98765443334456789
+
   876544333445678
  98765432223456789
+
   876543222345678
9876543211123456789
+
  87654321112345678
987654321@123456789
+
  87654321@12345678
9876543211123456789
+
  87654321112345678
  98765432223456789
+
   876543222345678
98765443334456789
+
   876544333445678
   987655444556789 
+
  8765544455678  
   987766555667789  
+
   8776655566778 
   9887766677889 
+
     88776667788 
     99887778899    
+
    988777889    
      9988899      
+
      98889      
        999        
+
        9        
 
</pre>
 
</pre>
 
|}
 
|}
 +
 +
=== 0.9.9.5 and Below ===
 +
 +
Sight is measured the same, but with a +1 radius.
 +
 +
=== 0.9.9.6 ===
 +
 +
Sight radius has been dropped by -1 in order to balance the glow/rendered light of the graphical tiles.
 +
 
Distance in Doom RL is measured according to the so-called Angband metric. In short, distance is the long axis plus half the short axis. The result is always rounded down.
 
Distance in Doom RL is measured according to the so-called Angband metric. In short, distance is the long axis plus half the short axis. The result is always rounded down.
  
The Angband metric is intended to approximate the usual Euclidean metric. If we round the Euclidean metric to the nearest integer, then the comparison is as follows. Up to a radius of 3, the metrics coincide exactly. Up to a radius of 12, the difference is within 1. In general (ignoring rounding), the Angband metric is always greater than the Euclidean metric, but not more than 12% greater.
+
The Angband metric is intended to approximate the usual Euclidean metric. If we round the Euclidean metric to the nearest integer, then the comparison is as follows. Up to a radius of 3, the metrics coincide exactly. Up to a radius of 11, the difference is within 1. In general (ignoring rounding), the Angband metric is always greater than the Euclidean metric, but not more than 12% greater.

Latest revision as of 17:12, 20 July 2012

Technical
This article discusses technical aspects of DoomRL and will be of limited interest to most players.
Distances
        9        
       98889      
     988777889    
    88776667788   
   8776655566778  
   8765544455678  
  876544333445678 
  876543222345678 
 87654321112345678
 87654321@12345678
 87654321112345678
  876543222345678 
  876544333445678 
   8765544455678  
   8776655566778  
    88776667788   
     988777889    
       98889      
         9        

0.9.9.5 and Below

Sight is measured the same, but with a +1 radius.

0.9.9.6

Sight radius has been dropped by -1 in order to balance the glow/rendered light of the graphical tiles.

Distance in Doom RL is measured according to the so-called Angband metric. In short, distance is the long axis plus half the short axis. The result is always rounded down.

The Angband metric is intended to approximate the usual Euclidean metric. If we round the Euclidean metric to the nearest integer, then the comparison is as follows. Up to a radius of 3, the metrics coincide exactly. Up to a radius of 11, the difference is within 1. In general (ignoring rounding), the Angband metric is always greater than the Euclidean metric, but not more than 12% greater.

Personal tools