Parcourir la source

Adding Disney cloud scene.

Antoine Webanck il y a 3 ans
Parent
commit
f1f4d1129c

+ 16 - 0
README.md

@@ -228,3 +228,19 @@ materials and lighting is much better--improvements to our conversion
 gratefully received!)
 
 [License](http://beeple-crap.com/resources.php).
+
+## Disney Cloud
+
+<img alt="Disney Cloud" src="images/disney-cloud/disney-cloud-hd.png" height="400"/>
+
+[disney-cloud/](https://github.com/mmp/pbrt-v4-scenes/tree/master/disney-cloud/)
+
+The cloud from the dataset provided by Disney ([see here](https://disney-animation.s3.amazonaws.com/uploads/production/data_set_asset/1/asset/Cloud_Readme.pdf)).
+
+The original dataset includes the HD render computed with Disney's Hyperion, and the cloud density field voxelized at different resolutions and stored in OpenVDB volumes.
+It also includes a Mitsuba scene description file and the associated SD render computed with it.
+The original dataset is Copyright 2017 Disney Enterprises, Inc. and is licensed under the [CCA-SA 3.0 Licence](http://creativecommons.org/licenses/by-sa/3.0/).
+The volumetric cloud model used for reference is a photograph by Kevin Udy provided on [the Colorado Clouds Blog](https://coclouds.com/436/cumulus/2012-07-26/) and licensed under the [CCA-SA 3.0 Licence](http://creativecommons.org/licenses/by-sa/3.0/).
+
+Here, we propose the Disney cloud scene, now manually ported to pbrt-v4 and ready to be rendered in SD (333x180 pixels) or HD (1998x1080 pixels).
+The voxelized density field is stored in a NanoVDB volume that was converted from the OpenVDB "quarter" resolution volume due to size limitations.

+ 60 - 0
disney-cloud/disney-cloud.pbrt

@@ -0,0 +1,60 @@
+Integrator "volpath" "integer maxdepth" [1000000]
+
+Sampler "sobol" "integer pixelsamples" [1024]
+
+Film "rgb" 
+  "integer xresolution" [333]
+  "integer yresolution" [180]
+  "string filename" "disney-cloud-sd.exr"
+  #"integer xresolution" [1998]
+  #"integer yresolution" [1080]
+  #"string filename" "disney-cloud-hd.exr"
+
+#Reverse X axis.
+Scale -1 1 1
+LookAt
+  #Eye
+  648.064 -82.473 -63.856
+  #Target
+  6.021 100.043 -43.679
+  #Up vector
+  0.273 0.962 -0.009
+#Converting fov according to the height/width ratio: 31.07 = 360/(2*PI) * 2*arctan(180/333*tan(54.43 * PI/360)).
+Camera "perspective" "float fov" [31.07]
+
+
+WorldBegin
+
+#Uniform illumination from all directions.
+LightSource "infinite" "rgb L" [0.03 0.07 0.23]
+
+#Approximate the sun.
+LightSource "distant"
+  "point3 to" [-0.5826 -0.7660 -0.2717]
+  "rgb L" [2.6 2.5 2.3]
+
+AttributeBegin
+  Translate 0 -1000 0
+  Scale 2000 2000 2000
+  Rotate -90 1 0 0
+  Material "diffuse" "spectrum reflectance" [200 0.2 900 0.2]
+  Shape "disk"  
+AttributeEnd
+
+TransformBegin
+  MakeNamedMedium "cloud" "string type" "nanovdb" 
+    "string filename" "wdas_cloud_quarter.nvdb"
+    "spectrum sigma_a" [200 0 900 0]
+    "spectrum sigma_s" [200 1 900 1]
+    "float g" [0.877]
+    "float scale" [4]
+  
+  AttributeBegin
+    Translate -9.984 73.008 -42.64
+    Scale 206.544 140.4 254.592
+    Material ""
+    MediumInterface "cloud" ""
+      #Bounding sphere of a unit cube (of diameter equal to the cubic root of 3).
+      Shape "sphere" "float radius" [1.44224957031]
+  AttributeEnd
+TransformEnd

BIN
disney-cloud/wdas_cloud_quarter.nvdb


BIN
images/disney-cloud/disney-cloud-hd.exr


BIN
images/disney-cloud/disney-cloud-hd.png


BIN
images/disney-cloud/disney-cloud-sd.exr


BIN
images/disney-cloud/disney-cloud-sd.png