From 22aeda4a0497a584ee1a74c7782944025ca32bf6 Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Fri, 20 Jan 2012 12:47:11 +0100 Subject: [PATCH] cleanup water shader properties, interpolate sea-surface wind --- Effects/flutter.eff | 8 +++++--- Effects/water.eff | 12 ++++++------ Environment/environment.xml | 6 ++++++ Environment/interpolator.xml | 28 ++++++++++++++-------------- 4 files changed, 31 insertions(+), 23 deletions(-) diff --git a/Effects/flutter.eff b/Effects/flutter.eff index d4ca7b0cb..238f1b41f 100644 --- a/Effects/flutter.eff +++ b/Effects/flutter.eff @@ -9,10 +9,12 @@ smooth + + /environment/Vinson/rel-wind-speed-kts- -> /environment/config/boundary/entry[0]/wind-speed-kt + --> 0.0 0.08 @@ -161,13 +163,13 @@ material/color-mode-uniform - + Offset float diff --git a/Effects/water.eff b/Effects/water.eff index 607027dd2..096033faf 100644 --- a/Effects/water.eff +++ b/Effects/water.eff @@ -86,9 +86,9 @@ /environment/sea/surface/wind-from-north-fps - + /environment/wave/freq @@ -398,13 +398,13 @@ windN - + WaveFreq float @@ -765,13 +765,13 @@ windN - + WaveFreq float diff --git a/Environment/environment.xml b/Environment/environment.xml index 4d1466ba4..14e07ba52 100644 --- a/Environment/environment.xml +++ b/Environment/environment.xml @@ -328,4 +328,10 @@ + + + 60.0 + + + diff --git a/Environment/interpolator.xml b/Environment/interpolator.xml index 0bb425908..af1503b70 100644 --- a/Environment/interpolator.xml +++ b/Environment/interpolator.xml @@ -205,33 +205,33 @@ EnvironmentInterpolator:wave:wind-from-east-fps /environment/config/boundary/entry[0]/wind-from-east-fps /environment/sea/surface/wind-from-east-fps - gain - 1 + exponential + /environment/sea/config/wind-filter-time EnvironmentInterpolator:wave:wind-from-north-fps /environment/config/boundary/entry[0]/wind-from-north-fps /environment/sea/surface/wind-from-north-fps - gain - 1 + exponential + /environment/sea/config/wind-filter-time - + - + EnvironmentInterpolator:wave:enabled @@ -273,7 +273,7 @@ 1.0 0.02 - /environment/sea/surface/wind-speed-kt + /environment/config/boundary/entry[0]/wind-speed-kt @@ -293,7 +293,7 @@ 35.0 0.2 - /environment/sea/surface/wind-speed-kt + /environment/config/boundary/entry[0]/wind-speed-kt @@ -311,7 +311,7 @@ 20.0 0.4 - /environment/sea/surface/wind-speed-kt + /environment/config/boundary/entry[0]/wind-speed-kt @@ -329,7 +329,7 @@ 0.01 0.0008 - /environment/sea/surface/wind-speed-kt + /environment/config/boundary/entry[0]/wind-speed-kt @@ -349,7 +349,7 @@ 0.0004 0.00001 - /environment/sea/surface/wind-speed-kt + /environment/config/boundary/entry[0]/wind-speed-kt @@ -369,7 +369,7 @@ 1.0 0.02 - /environment/sea/surface/wind-speed-kt + /environment/config/boundary/entry[0]/wind-speed-kt