FlightGear Newsletter February 2015: Difference between revisions

Jump to navigation Jump to search
ALS grass formating
(ALS grass formating)
Line 6: Line 6:
{{Newsletter-cover-header|Development news}}<br/>
{{Newsletter-cover-header|Development news}}<br/>
[[#FlightGear 3.4 Released|FlightGear 3.4 Released]]<br/>
[[#FlightGear 3.4 Released|FlightGear 3.4 Released]]<br/>
[[#ALS Volumetric Grass|ALS Volumetric Grass]]<br/>
[[#PagedLOD for AI models|PagedLOD for AI models]]<br/>
[[#PagedLOD for AI models|PagedLOD for AI models]]<br/>
| valign="top" width="33%" |
{{Newsletter-cover-header|In the hanger}}<br/>
{{Newsletter-cover-header|In the hanger}}<br/>
[[#BAe Sea Harrier FA2|BAe Sea Harrier FA2]]<br/>
[[#BAe Sea Harrier FA2|BAe Sea Harrier FA2]]<br/>
[[#Citation II|Citation II]]
[[#Citation II|Citation II]]<br/>
| valign="top" width="33%" |
{{Newsletter-cover-header|Community News}}<br/>
{{Newsletter-cover-header|Community News}}<br/>
[[#FlightGear on YouTube|FlightGear on YouTube]]<br/>
[[#FlightGear on YouTube|FlightGear on YouTube]]<br/>
Line 27: Line 28:
A list of major changes can be found at: [[Changelog 3.4]]. FlightGear 3.4 is available for a variety of operating systems from http://www.flightgear.org/download/
A list of major changes can be found at: [[Changelog 3.4]]. FlightGear 3.4 is available for a variety of operating systems from http://www.flightgear.org/download/


=== Atmospheric Light Scattering ===
=== ALS Volumetric Grass ===
==== Volumetric Grass ====
Thanks to changes in the way random vegetation is managed when not visible, FlightGear can now render volumetric grass on the terrain (for instance the airport keep) using the random vegetation system without blowing memory consumption. A grass texture matching color with the ALS airport keep effect is already available, but not activated by default since it doesn't look so good with other rendering frameworks.
 
Thanks to changes in the way random vegetation is managed when not visible, FG can now render volumetric grass on the terrain (for instance the airport keep) using the random vegetation system without blowing memory consumption. A grass texture matching color with the ALS airport keep effect is already available, but not activated by default since it doesn't look so good with other rendering frameworks.
 
[[File:Volgrass01.jpg|400px|Volumetric grass, summer]]
[[File:Volgrass02.jpg|400px|Volumetric grass, fall]]


To explore this yourself, add the following lines to the Grass/Airport/AirportKeep/Greenspace landclass in Materials/regions/global-summer.xml:
[[File:Volgrass01.jpg|400px|Volumetric grass in summer]]
[[File:Volgrass02.jpg|400px|Volumetric grass in fall]]


  <wood-coverage>10.0</wood-coverage>
To explore this yourself, add the following lines to the <code>''Grass/Airport/AirportKeep/Greenspace''</code> landclass in <code>''Materials/regions/global-summer.xml''</code>:
  <tree-texture>Trees/grass_blades.png</tree-texture>
<syntaxhighlight lang="xml">
  <tree-varieties>1</tree-varieties>
<wood-coverage>10.0</wood-coverage>
  <tree-range-m>200.0</tree-range-m>
<tree-texture>Trees/grass_blades.png</tree-texture>
  <tree-height-m>0.3</tree-height-m>
<tree-varieties>1</tree-varieties>
  <tree-width-m>1.0</tree-width-m>  
<tree-range-m>200.0</tree-range-m>
<tree-height-m>0.3</tree-height-m>
<tree-width-m>1.0</tree-width-m>
</syntaxhighlight>


Just as trees do, grass changes with the season and gets little nests of frost when below the snowline.
Just as trees do, grass changes with the season and gets little nests of frost when below the snowline.

Navigation menu