1
0
Fork 0

Harald Johnson:

Changes
=======

- corrected some strange behavior when playing with the render dialog options
- the density slider is now working : if you are fps limited and still want to see clouds in
  the distance you should play with that
- added the choice for texture resolution, its more comprehensible now (before it was
  wrongly allways choosing 64x64 textures)
- changed the initial texture size : you now have 64 texture of 64x64, this uses 1Mo of
  texture memory (before it was 20 texture of  256x256, that took more memory and there was
  not enought impostors)
- sun vector is now right so the lighting is a bit better
- removed useless sort and light computations for impostors, this should save a lot of cpu
- blending of distant cloud is more accurate now
- clouds are now positioned correctly, they don't try to escape you anymore
- no more red/white boxes around cloud
- textures are now filtered (no more big pixels)

known bugs
==========

- distant objects are seen in front of clouds
This commit is contained in:
ehofman 2005-04-26 08:31:25 +00:00
parent 1f35f4c1ab
commit a78dae1fb7

View file

@ -26,7 +26,6 @@
#include <Main/main.hxx>
#include <Main/fg_props.hxx>
#include <Main/renderer.hxx>
#include <Aircraft/aircraft.hxx>
#include "environment.hxx"
@ -34,6 +33,11 @@
#include "environment_mgr.hxx"
class SGSky;
extern SGSky *thesky;
FGEnvironmentMgr::FGEnvironmentMgr ()
: _environment(new FGEnvironment)
{
@ -161,6 +165,9 @@ FGEnvironmentMgr::bind ()
fgTie("/sim/rendering/clouds3d-cache-size", &sgEnviro,
&SGEnviro::get_clouds_CacheSize,
&SGEnviro::set_clouds_CacheSize);
fgTie("/sim/rendering/clouds3d-cache-resolution", &sgEnviro,
&SGEnviro::get_CacheResolution,
&SGEnviro::set_CacheResolution);
fgTie("/sim/rendering/precipitation-enable", &sgEnviro,
&SGEnviro::get_precipitation_enable_state,
&SGEnviro::set_precipitation_enable_state);