diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..4c7ff40 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5502 +} diff --git a/finalproject/assets/lightbeam10_seed2468_0-08beta_o4_0-5_1500den.png b/finalproject/assets/lightbeam10_seed2468_0-08beta_o4_0-5_1500den.png new file mode 100644 index 0000000..b910f75 Binary files /dev/null and b/finalproject/assets/lightbeam10_seed2468_0-08beta_o4_0-5_1500den.png differ diff --git a/finalproject/index.html b/finalproject/index.html index 07cb1c8..e0308e6 100644 --- a/finalproject/index.html +++ b/finalproject/index.html @@ -29,6 +29,12 @@

Abstract

step. As for heterogenous fog, we implemented a Perlin Noise to vary the densities when traveling through the medium.

+
+
+ +
+
+

Technical Approach

@@ -100,18 +106,24 @@

Distance Attenuation Variation

which in turn produce the follow different size of radiance fall of (haze area) in the fog near the area light.

-
- - 9th power exponential attenuation function -
-
- - 5th power exponential attenuation function, big beta +
+
+ + 9th power exponential attenuation function +
+ +
+ + 5th power exponential attenuation function, big beta +
-
- - 5th power exponential attenuation function, small beta +
+
+ + 5th power exponential attenuation function, small beta +
+

Heterogenous Fog

For Heterogenous fog, the density varies throughout the medium instead of staying constant. To create this density @@ -148,27 +160,36 @@

Perlin Noise Octave

Here is a nice chart from . -
- - octave function +
+
+ + octave function +
+

Different octaves and persistence values render clouds of different fluffiness:

-
- - cloud with 3 octave and 0.7 persistence -
-
- - cloud with 4 octave and 0.5 persistence -
-
- - cloud with 5 octave and 0.7 persistence +
+
+ + cloud with 3 octave and 0.7 persistence +
+
+ + cloud with 4 octave and 0.5 persistence +
+
-
- - cloud with 3 octave and 0.7 persistence +
+
+ + cloud with 5 octave and 0.7 persistence +
+
+ + cloud with 3 octave and 0.7 persistence +
+

Results