Parcourir la source

Add lte-orb scene

Matt Pharr il y a 7 ans
Parent
commit
765e3a0179

+ 12 - 1
README.md.html

@@ -232,6 +232,14 @@ though only 24 million triangles need to be stored in memory. `view-0.pbrt`
 is the cover image of the third edition of the _Physically Based Rendering_
 book.
 
+![Rough glass around gold](images/lte-orb/lte-orb-roughglass.png height="200px")
+
+![Silver around diffuse](images/lte-orb/lte-orb-silver.png height="200px")
+
+[lte-orb](lte-orb): Spherical orb with an inset spherical object. The
+geometric structure of the shapes involved provides a useful tool for
+visualizing the appearance of various materials.
+
 ![](images/pbrt-book/book.png height="200px")
 
 [pbrt-book](pbrt-book): A realistic model of the second edition of the _Physically
@@ -565,7 +573,10 @@ pull request. There are a few options.
 * landscape: Many thanks to Jan-Walter Schliep, Burak Kahraman, and Timm
   Dapper from [Laubwerk](http://www.laubwerk.com) for this amazing scene.
 
-* pbrt-book: Thanks to Karl Li (yiningkarlli@) for this fun model.
+* lte-orb: Thanks to Yasutoshi Mori (@MirageYM) for this model; CC-BY
+  license.
+
+* pbrt-book: Thanks to Karl Li (@yiningkarlli) for this fun model.
 
 * sanmiguel: Thanks to Guillermo M. Leal Llaguno for this excellent scene.
 

BIN
images/lte-orb/lte-orb-roughglass.exr


BIN
images/lte-orb/lte-orb-roughglass.png


BIN
images/lte-orb/lte-orb-silver.exr


BIN
images/lte-orb/lte-orb-silver.png


+ 26 - 0
lte-orb/README.md

@@ -0,0 +1,26 @@
+# Light Transport Equation Orb
+
+![Orb](https://github.com/lighttransport/lighttransportequation-orb/blob/master/lighttransport-orb.jpg?raw=true)
+
+Good model for your material design & research.
+
+## Files
+
+Model data is provided as Blender file(Blender 2.73+).
+
+* TestObj.blend : Original orb model with subdivision surface.
+* TestObjPoly.blend : Polygon tessellated version.
+
+## License
+
+<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
+
+## Copyright
+
+Light Transport Equation Orb is modeled by https://github.com/MirageYM
+
+
+## Utilities.
+
+Do you want to use this Orb model in your renderer?
+Export the model as wavefront .obj in Blender, then tinyobjloader would be your friend https://github.com/syoyo/tinyobjloader

BIN
lte-orb/TestObj.blend


BIN
lte-orb/TestObjPoly.blend


BIN
lte-orb/bsdfs/roughglass_alpha_0.2.bsdf


Fichier diff supprimé car celui-ci est trop grand
+ 112565 - 0
lte-orb/geometry.pbrt


+ 42 - 0
lte-orb/lte-orb-roughglass.pbrt

@@ -0,0 +1,42 @@
+Film "image" 
+        "integer xresolution" [ 800 ] 
+        "integer yresolution" [ 800 ] 
+        "string filename" [ "lte-orb-roughglass.exr" ] 
+
+Scale -1 1 1
+LookAt -0.300000012 0.5 -0.5
+        0 0.075 0
+        0 1 0
+Camera "perspective" 
+        "float fov" [ 37 ] 
+
+Sampler "sobol" "integer pixelsamples" 8192
+Integrator "path" "integer maxdepth" 10
+
+WorldBegin
+
+ReverseOrientation
+
+AttributeBegin
+AreaLightSource "diffuse" "color L" [9.5 9.5 9.5]
+ReverseOrientation
+Shape "trianglemesh"
+  "point P" [ -1 3.204596996 -0.9997209907 1 3.204596996 -0.9997209907 1 3.251826048 0.9997209907 -1 3.251826048 0.9997209907  ]
+  "integer indices" [ 0 1 2 0 2 3  ]
+AttributeEnd
+
+# Material in the inner part of the sphere
+MakeNamedMaterial "InnerMat" 
+        "spectrum eta" "spds/Au.eta.spd"
+        "spectrum k" "spds/Au.k.spd"
+        "float roughness" [0.01]
+        "string type" ["metal"]
+
+# Matierial on the outer part of the sphere
+MakeNamedMaterial "OuterMat" 
+         "string type" "fourier"
+         "string bsdffile" "bsdfs/roughglass_alpha_0.2.bsdf"
+
+Include "geometry.pbrt"
+
+WorldEnd

+ 43 - 0
lte-orb/lte-orb-silver.pbrt

@@ -0,0 +1,43 @@
+Film "image" 
+        "integer xresolution" [ 800 ] 
+        "integer yresolution" [ 800 ] 
+        "string filename" [ "lte-orb-silver.exr" ] 
+
+Scale -1 1 1
+LookAt -0.300000012 0.5 -0.5
+        0 0.075 0
+        0 1 0
+Camera "perspective" 
+        "float fov" [ 37 ] 
+
+Sampler "sobol" "integer pixelsamples" 4096
+Integrator "path" "integer maxdepth" 8
+
+WorldBegin
+
+ReverseOrientation
+
+AttributeBegin
+AreaLightSource "diffuse" "color L" [9.5 9.5 9.5]
+ReverseOrientation
+Shape "trianglemesh"
+  "point P" [ -1 3.204596996 -0.9997209907 1 3.204596996 -0.9997209907 1 3.251826048 0.9997209907 -1 3.251826048 0.9997209907  ]
+  "integer indices" [ 0 1 2 0 2 3  ]
+AttributeEnd
+
+# Material in the inner part of the sphere
+MakeNamedMaterial "InnerMat" 
+        "rgb Kd" [ .4 .4 .7 ]
+        "float sigma" [20]
+        "string type" ["matte"]
+
+# Matierial on the outer part of the sphere
+MakeNamedMaterial "OuterMat" 
+        "string type" [ "metal" ]
+        "spectrum eta" "spds/Ag.eta.spd"
+        "spectrum k" "spds/Ag.k.spd"
+        "float roughness" .0025
+
+Include "geometry.pbrt"
+
+WorldEnd

+ 56 - 0
lte-orb/spds/Ag.eta.spd

@@ -0,0 +1,56 @@
+298.757050 1.519000
+302.400421 1.496000
+306.133759 1.432500
+309.960449 1.323000
+313.884003 1.142062
+317.908142 0.932000
+322.036835 0.719062
+326.274139 0.526000
+330.624481 0.388125
+335.092377 0.294000
+339.682678 0.253313
+344.400482 0.238000
+349.251221 0.221438
+354.240509 0.209000
+359.374420 0.194813
+364.659332 0.186000
+370.102020 0.192063
+375.709625 0.200000
+381.489777 0.198063
+387.450562 0.192000
+393.600555 0.182000
+399.948975 0.173000
+406.505493 0.172625
+413.280579 0.173000
+420.285339 0.166688
+427.531647 0.160000
+435.032196 0.158500
+442.800629 0.157000
+450.851562 0.151063
+459.200653 0.144000
+467.864838 0.137313
+476.862213 0.132000
+486.212463 0.130250
+495.936707 0.130000
+506.057861 0.129938
+516.600769 0.130000
+527.592224 0.130063
+539.061646 0.129000
+551.040771 0.124375
+563.564453 0.120000
+576.670593 0.119313
+590.400818 0.121000
+604.800842 0.125500
+619.920898 0.131000
+635.816284 0.136125
+652.548279 0.140000
+670.184753 0.140063
+688.800964 0.140000
+708.481018 0.144313
+729.318665 0.148000
+751.419250 0.145875
+774.901123 0.143000
+799.897949 0.142563
+826.561157 0.145000
+855.063293 0.151938
+885.601257 0.163000

+ 56 - 0
lte-orb/spds/Ag.k.spd

@@ -0,0 +1,56 @@
+298.757050 1.080000
+302.400421 0.882000
+306.133759 0.761063
+309.960449 0.647000
+313.884003 0.550875
+317.908142 0.504000
+322.036835 0.554375
+326.274139 0.663000
+330.624481 0.818563
+335.092377 0.986000
+339.682678 1.120687
+344.400482 1.240000
+349.251221 1.345250
+354.240509 1.440000
+359.374420 1.533750
+364.659332 1.610000
+370.102020 1.641875
+375.709625 1.670000
+381.489777 1.735000
+387.450562 1.810000
+393.600555 1.878750
+399.948975 1.950000
+406.505493 2.029375
+413.280579 2.110000
+420.285339 2.186250
+427.531647 2.260000
+435.032196 2.329375
+442.800629 2.400000
+450.851562 2.478750
+459.200653 2.560000
+467.864838 2.640000
+476.862213 2.720000
+486.212463 2.798125
+495.936707 2.880000
+506.057861 2.973750
+516.600769 3.070000
+527.592224 3.159375
+539.061646 3.250000
+551.040771 3.348125
+563.564453 3.450000
+576.670593 3.553750
+590.400818 3.660000
+604.800842 3.766250
+619.920898 3.880000
+635.816284 4.010625
+652.548279 4.150000
+670.184753 4.293125
+688.800964 4.440000
+708.481018 4.586250
+729.318665 4.740000
+751.419250 4.908125
+774.901123 5.090000
+799.897949 5.288750
+826.561157 5.500000
+855.063293 5.720624
+885.601257 5.950000

+ 56 - 0
lte-orb/spds/Au.eta.spd

@@ -0,0 +1,56 @@
+298.757050 1.795000
+302.400421 1.812000
+306.133759 1.822625
+309.960449 1.830000
+313.884003 1.837125
+317.908142 1.840000
+322.036835 1.834250
+326.274139 1.824000
+330.624481 1.812000
+335.092377 1.798000
+339.682678 1.782000
+344.400482 1.766000
+349.251221 1.752500
+354.240509 1.740000
+359.374420 1.727625
+364.659332 1.716000
+370.102020 1.705875
+375.709625 1.696000
+381.489777 1.684750
+387.450562 1.674000
+393.600555 1.666000
+399.948975 1.658000
+406.505493 1.647250
+413.280579 1.636000
+420.285339 1.628000
+427.531647 1.616000
+435.032196 1.596250
+442.800629 1.562000
+450.851562 1.502125
+459.200653 1.426000
+467.864838 1.345875
+476.862213 1.242000
+486.212463 1.086750
+495.936707 0.916000
+506.057861 0.754500
+516.600769 0.608000
+527.592224 0.491750
+539.061646 0.402000
+551.040771 0.345500
+563.564453 0.306000
+576.670593 0.267625
+590.400818 0.236000
+604.800842 0.212375
+619.920898 0.194000
+635.816284 0.177750
+652.548279 0.166000
+670.184753 0.161000
+688.800964 0.160000
+708.481018 0.160875
+729.318665 0.164000
+751.419250 0.169500
+774.901123 0.176000
+799.897949 0.181375
+826.561157 0.188000
+855.063293 0.198125
+885.601257 0.210000

+ 56 - 0
lte-orb/spds/Au.k.spd

@@ -0,0 +1,56 @@
+298.757050 1.920375
+302.400421 1.920000
+306.133759 1.918875
+309.960449 1.916000
+313.884003 1.911375
+317.908142 1.904000
+322.036835 1.891375
+326.274139 1.878000
+330.624481 1.868250
+335.092377 1.860000
+339.682678 1.851750
+344.400482 1.846000
+349.251221 1.845250
+354.240509 1.848000
+359.374420 1.852375
+364.659332 1.862000
+370.102020 1.883000
+375.709625 1.906000
+381.489777 1.922500
+387.450562 1.936000
+393.600555 1.947750
+399.948975 1.956000
+406.505493 1.959375
+413.280579 1.958000
+420.285339 1.951375
+427.531647 1.940000
+435.032196 1.924500
+442.800629 1.904000
+450.851562 1.875875
+459.200653 1.846000
+467.864838 1.814625
+476.862213 1.796000
+486.212463 1.797375
+495.936707 1.840000
+506.057861 1.956500
+516.600769 2.120000
+527.592224 2.326250
+539.061646 2.540000
+551.040771 2.730625
+563.564453 2.880000
+576.670593 2.940625
+590.400818 2.970000
+604.800842 3.015000
+619.920898 3.060000
+635.816284 3.070000
+652.548279 3.150000
+670.184753 3.445812
+688.800964 3.800000
+708.481018 4.087687
+729.318665 4.357000
+751.419250 4.610188
+774.901123 4.860000
+799.897949 5.125813
+826.561157 5.390000
+855.063293 5.631250
+885.601257 5.880000

BIN
lte-orb/textures/Checker.png