Browse Source

Procedural clouds scene

Matt Pharr 2 years ago
parent
commit
23161f534f
4 changed files with 29 additions and 0 deletions
  1. 29 0
      clouds/clouds.pbrt
  2. BIN
      clouds/textures/sky.exr
  3. BIN
      images/clouds/clouds.exr
  4. BIN
      images/clouds/clouds.png

+ 29 - 0
clouds/clouds.pbrt

@@ -0,0 +1,29 @@
+
+LookAt .5 .8 -.5       .5 .7 .5       0 1 0
+
+Camera "perspective"
+    "float fov" 35
+
+Film "rgb"
+  "integer xresolution" 1920
+  "integer yresolution" 1080
+  "string sensor" "nikon_d850"
+  "float whitebalance" 5000
+  "string filename" "clouds.exr"
+
+Integrator "volpath" "integer maxdepth" 50
+
+WorldBegin
+
+LightSource "infinite"
+  "string filename" "textures/sky.exr" "float scale" 8
+
+MakeNamedMedium "c" "string type" "cloud"
+   "spectrum sigma_s" [200 10 900 10] "spectrum sigma_a" [200 .01 900 .01]
+   "float density" 2
+
+MediumInterface "c" ""
+Material ""
+Translate .5 .5 .5
+Shape "sphere" "float radius" 1
+

BIN
clouds/textures/sky.exr


BIN
images/clouds/clouds.exr


BIN
images/clouds/clouds.png