Parcourir la source

Procedural clouds scene

Matt Pharr il y a 3 ans
Parent
commit
23161f534f
4 fichiers modifiés avec 29 ajouts et 0 suppressions
  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