]> git.mxchange.org Git - flightgear.git/commit
Harald JOHNSEN:
authorehofman <ehofman>
Sun, 15 May 2005 09:26:17 +0000 (09:26 +0000)
committerehofman <ehofman>
Sun, 15 May 2005 09:26:17 +0000 (09:26 +0000)
commitd2271c3bf45ef2f7401cce047a506b9faa01d528
treee8f5196773feafc9f97919e898dd317d4737fef0
parent11a1ca06510d3b79a5b195feffca1f7cd0fdcd50
Harald JOHNSEN:

This is another update for the cloud code, a lot of lines but this time I have started to add the doxygen doc.

Misc
====

- corrected a bug when RTT is not available, the current rendering context was
  altered
- if RTT is not available then 3d clouds are not drawn at all
- impostors lighting is now recomputed when the sun changes position
- distant objects are no more seen in front of clouds
- blending of distant clouds is a bit better now
- litle optimization of code (uses a less cpu time)
- use layer wind speed and direction (no more hardcoded wind)
- fov is no more hardcoded

Changes
=======

- clouds (cu only) are dissipating/reforming (experimental)
- compute a turbulence factor that depends on surrounding clouds and type of
  clouds (experimental)
- clouds shapes are defined in cloudlayers.xml
- type of clouds present in a layer is also defined in cloudlayers.xml
- cloud layers are generated from metar and other misc. data (in progress)
- added a rain effect around the viewer (enabled in the rendering dialog and
  when the metar property says so)
- added a lightning effect (enabled in the rendering dialog) : cb clouds spawn
  new lightnings
- added a dialog to select from different weather source : metar/property,
  a 'fair weather' environment and a 'thunderstorm' environment.
src/Environment/Makefile.am
src/Environment/environment.cxx
src/Environment/environment_ctrl.cxx
src/Environment/environment_mgr.cxx
src/Environment/environment_mgr.hxx
src/Environment/fgclouds.cxx [new file with mode: 0644]
src/Environment/fgclouds.hxx [new file with mode: 0644]
src/Main/renderer.cxx