Parcourir la source

Add bunny-cloud

Matt Pharr il y a 3 ans
Parent
commit
888fbabdd4

+ 11 - 0
README.md

@@ -23,6 +23,17 @@ model](http://www.emirage.org/2013/04/24/free-download-archviz-project-pabellon-
 and made it available via a
 [CC-BY](https://creativecommons.org/licenses/by/2.0/) license.
 
+## Bunny Cloud
+
+<img alt="Bunny cloud" src="images/bunny-cloud/bunny-cloud.png" height="400"/>
+
+[bunny-cloud/](https://github.com/mmp/pbrt-v4-scenes/tree/master/bunny-cloud/)
+
+The classic Stanford bunny model, remade using volumetric media to give it
+a cloud-like appearance.  The bunny is stored in a NanoVDB volume that was
+converted from an OpenVDB volume from the [OpenVDB
+repository](https://www.openvdb.org/download/).
+
 ## Crown
 
 <img alt="Crown" src="images/crown/crown.png" height="400"/>

+ 45 - 0
bunny-cloud/bunny-cloud.pbrt

@@ -0,0 +1,45 @@
+Sampler "halton"
+LookAt 00 120 50       7 0 17   0 0 1
+
+Camera "perspective"
+    "float fov" 25
+
+Film "rgb"
+  "integer xresolution" 1920
+  "integer yresolution" 1080
+  "string sensor" "nikon_d850"
+  "float whitebalance" 5000
+  "float iso" 90
+  "string filename" "bunny-cloud.exr"
+
+Integrator "volpath" "integer maxdepth" 50
+
+WorldBegin
+
+AttributeBegin
+Rotate 10 1 0 0
+LightSource "infinite"
+  "string filename" "textures/sky.exr" "float scale" 4
+AttributeEnd
+
+TransformBegin
+Rotate 180 0 0 1
+Rotate 90 1 0 0
+MakeNamedMedium "foo" "string type" "nanovdb"
+   "string filename" "bunny_cloud.nvdb"
+   "spectrum sigma_s" [200 10 900 10] "spectrum sigma_a" [200 .5 900 .5]
+TransformEnd
+
+AttributeBegin
+MediumInterface "foo" ""
+Material ""
+Shape "sphere" "float radius" 45
+AttributeEnd
+
+AttributeBegin
+Translate 0 -50 0
+
+Material "coateddiffuse" "rgb reflectance" [ .4 .45 .35 ] "float roughness" 0
+
+Shape "disk" "float radius" 1000
+AttributeEnd

BIN
bunny-cloud/bunny_cloud.nvdb


BIN
bunny-cloud/textures/sky.exr


BIN
images/bunny-cloud/bunny-cloud.exr


BIN
images/bunny-cloud/bunny-cloud.png