MediaWiki has been updated to version 1.35.1. Please report any problems here.

Changes

Jump to navigation Jump to search
465 bytes added ,  07:40, 4 February 2018
Line 489: Line 489:  
(i.e. setting a parameter to 100 means that the texture sheet is supposed to represent a 100 m x 100 m patch of runway). This is different from the way the default renderer treats dirt runways by stretching the assigned texture over the whole runway (i.e. texture magnification depends on runway size). The strength of the grain overlay can be controlled by
 
(i.e. setting a parameter to 100 means that the texture sheet is supposed to represent a 100 m x 100 m patch of runway). This is different from the way the default renderer treats dirt runways by stretching the assigned texture over the whole runway (i.e. texture magnification depends on runway size). The strength of the grain overlay can be controlled by
    +
<syntaxhighlight lang="xml">
 
       <grain_strength>0.3</grain_strength>   
 
       <grain_strength>0.3</grain_strength>   
 +
</syntaxhighlight>
    
where a value of zero implies no grain texture and a value of 1 the full grain effect as on the texture.
 
where a value of zero implies no grain texture and a value of 1 the full grain effect as on the texture.
Line 518: Line 520:  
If
 
If
    +
<syntaxhighlight lang="xml">
 
       <bias_center>1</bias_center>
 
       <bias_center>1</bias_center>
 
+
</syntaxhighlight> 
 +
 
 
is set to 1, the noise distribution will tend to favor the base layer in the center of the runway. <b>This requires a specific uv-mapping and will not work for custom-generated runways.</b> The strength of that bias is set by
 
is set to 1, the noise distribution will tend to favor the base layer in the center of the runway. <b>This requires a specific uv-mapping and will not work for custom-generated runways.</b> The strength of that bias is set by
    +
<syntaxhighlight lang="xml">
 
     <bias_center_strength>0.6</bias_center_strength>
 
     <bias_center_strength>0.6</bias_center_strength>
 +
</syntaxhighlight>
    
which is between 0 (no bias) and 1 (don't draw overlay layer in runway center no matter what).
 
which is between 0 (no bias) and 1 (don't draw overlay layer in runway center no matter what).
Line 528: Line 534:  
In addition, the effect uses a normal map (since it is used in a non-standard way, touch at your own risk) - the visual 'bumpiness' of the runway can be adjusted using  
 
In addition, the effect uses a normal map (since it is used in a non-standard way, touch at your own risk) - the visual 'bumpiness' of the runway can be adjusted using  
    +
<syntaxhighlight lang="xml">
 
       <relief_strength>0.35</relief_strength>
 
       <relief_strength>0.35</relief_strength>
 +
</syntaxhighlight>
    
Using different mixtures of textures and parameters, a wide variety of visuals can be achieved, a few examples in the following.
 
Using different mixtures of textures and parameters, a wide variety of visuals can be achieved, a few examples in the following.
Line 534: Line 542:  
A lakebed texture overlaid with sand gives proper visuals for e.g. the Rogers Dry Lake runways at Edwards AFB:
 
A lakebed texture overlaid with sand gives proper visuals for e.g. the Rogers Dry Lake runways at Edwards AFB:
    +
<syntaxhighlight lang="xml">
 
     <texture-set>
 
     <texture-set>
 
       <texture>Runway/lakebed_taxiway.png</texture>
 
       <texture>Runway/lakebed_taxiway.png</texture>
Line 555: Line 564:  
       <grain_strength>0.3</grain_strength>
 
       <grain_strength>0.3</grain_strength>
 
     </parameters>
 
     </parameters>
 +
</syntaxhighlight>
         −
 
+
[[File:Dirt rwy01.jpg|500px|center|Dirt runway example 1]]
|[[File:Dirt rwy01.jpg|500px|Dirt runway example 1]]
      
Using a largely grass-textured surface and allowing some gravel to show in the runway center gives the appearance of a worn grass runway:
 
Using a largely grass-textured surface and allowing some gravel to show in the runway center gives the appearance of a worn grass runway:
   −
 
+
<syntaxhighlight lang="xml">
 
   <texture-set>
 
   <texture-set>
 
       <texture>Runway/dirt_rwy.png</texture>
 
       <texture>Runway/dirt_rwy.png</texture>
Line 585: Line 594:  
       <grain_strength>0.8</grain_strength>
 
       <grain_strength>0.8</grain_strength>
 
     </parameters>
 
     </parameters>
 +
</syntaxhighlight>
   −
|[[File:Dirt rwy02.jpg|500px|Dirt runway example 2]]
+
[[File:Dirt rwy02.jpg|500px|center|Dirt runway example 2]]
    
Using the effect 'as is', i.e. without any additional parameters, reproduces the old appearance of the dirt runway effect in ALS:
 
Using the effect 'as is', i.e. without any additional parameters, reproduces the old appearance of the dirt runway effect in ALS:
   −
|[[File:Dirt rwy03.jpg|500px|Dirt runway example 3]]
+
[[File:Dirt rwy03.jpg|500px|center|Dirt runway example 3]]
    
With the original dirt runway texture mapped to a small size and framed by less structured dirt, also a compelling result can be achieved:
 
With the original dirt runway texture mapped to a small size and framed by less structured dirt, also a compelling result can be achieved:
    +
<syntaxhighlight lang="xml">
 
     <texture-set>
 
     <texture-set>
 
       <texture>Runway/dirt_rwy.png</texture>
 
       <texture>Runway/dirt_rwy.png</texture>
Line 615: Line 626:  
       <grain_strength>0.4</grain_strength>
 
       <grain_strength>0.4</grain_strength>
 
     </parameters>
 
     </parameters>
 +
</syntaxhighlight>
   −
|[[File:Dirt rwy04.jpg|500px|Dirt runway example 4]]
+
[[File:Dirt rwy04.jpg|500px|center|Dirt runway example 4]]
    
Using grass as the overlay material blends the runway outline nicely into the airport keep:
 
Using grass as the overlay material blends the runway outline nicely into the airport keep:
   −
 
+
<syntaxhighlight lang="xml">
 
     <texture-set>
 
     <texture-set>
 
       <texture>Runway/dirt_rwy.png</texture>
 
       <texture>Runway/dirt_rwy.png</texture>
Line 642: Line 654:  
       <grain_strength>0.6</grain_strength>
 
       <grain_strength>0.6</grain_strength>
 
     </parameters>
 
     </parameters>
 +
</syntaxhighlight>
   −
|[[File:Dirt rwy05.jpg|500px|Dirt runway example 5]]
+
[[File:Dirt rwy05.jpg|500px|center|Dirt runway example 5]]
    
Finally an example of diffuse sand patches blended into each other by low frequency noise and a large value of the transition in the filter:
 
Finally an example of diffuse sand patches blended into each other by low frequency noise and a large value of the transition in the filter:
    +
<syntaxhighlight lang="xml">
 
     <texture-set>
 
     <texture-set>
 
       <texture>Runway/dirt_rwy.png</texture>
 
       <texture>Runway/dirt_rwy.png</texture>
Line 668: Line 682:  
       <grain_strength>0.2</grain_strength>
 
       <grain_strength>0.2</grain_strength>
 
     </parameters>
 
     </parameters>
 +
</syntaxhighlight>
   −
|[[File:Dirt rwy06.jpg|500px|Dirt runway example 6]]
+
[[File:Dirt rwy06.jpg|500px|center|Dirt runway example 6]]
    
=== Overlay layers ===
 
=== Overlay layers ===
1,360

edits

Navigation menu