-
-
Save dmikis/3c66718d27fa672219d618a96c95f7ff to your computer and use it in GitHub Desktop.
Scenes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<scene version="0.5.0"> | |
<integrator type="direct"/> | |
<sensor type="perspective"> | |
<float name="fov" value="75"/> | |
<string name="fovAxis" value="y"/> | |
<transform name="toWorld"> | |
<scale x="-1"/> | |
<translate z="-0.5"/> | |
<lookAt origin="0 0 0" target="0 0 1" up="0 1 0"/> | |
</transform> | |
<sampler type="ldsampler"> | |
<integer name="sampleCount" value="16"/> | |
</sampler> | |
<film type="ldrfilm"> | |
<integer name="width" value="768"/> | |
<integer name="height" value="576"/> | |
</film> | |
</sensor> | |
<shape type="cube"> | |
<boolean name="flipNormals" value="true"/> | |
<transform name="toWorld"> | |
<scale x="2" y="2" z="2.5"/> | |
<translate z="1.5"/> | |
</transform> | |
<bsdf type="diffuse"> | |
<spectrum name="reflectance" value="0.1"/> | |
</bsdf> | |
</shape> | |
<shape type="sphere"> | |
<transform name="toWorld"> | |
<scale value="0.5"/> | |
<translate x="1.5" y="-1.5" z="3.5"/> | |
</transform> | |
<bsdf type="diffuse"> | |
<spectrum name="reflectance" value="0.1"/> | |
</bsdf> | |
</shape> | |
<shape type="sphere"> | |
<transform name="toWorld"> | |
<scale value="0.5"/> | |
<translate x="1" y="1.5" z="3"/> | |
</transform> | |
<bsdf type="diffuse"> | |
<spectrum name="reflectance" value="0.1"/> | |
</bsdf> | |
</shape> | |
<shape type="sphere"> | |
<transform name="toWorld"> | |
<scale value="0.75"/> | |
<translate x="-1" y="0" z="2"/> | |
</transform> | |
<bsdf type="diffuse"> | |
<spectrum name="reflectance" value="0.1"/> | |
</bsdf> | |
</shape> | |
<shape type="sphere"> | |
<transform name="toWorld"> | |
<scale value="0.5"/> | |
<translate x="0" y="0" z="3.5"/> | |
</transform> | |
<bsdf type="diffuse"> | |
<spectrum name="reflectance" value="0.1"/> | |
</bsdf> | |
</shape> | |
<shape type="sphere"> | |
<transform name="toWorld"> | |
<scale value="0.5"/> | |
<translate x="1.5" y="0" z="3"/> | |
</transform> | |
<bsdf type="diffuse"> | |
<spectrum name="reflectance" value="0.1"/> | |
</bsdf> | |
</shape> | |
<emitter type="point"> | |
<spectrum name="intensity" value="5"/> | |
<point name="position" x="0" y="0" z="1.5"/> | |
</emitter> | |
</scene> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LookAt 0 0 0 0 0 1 0 1 0 | |
Camera "perspective" "float fov" [75] | |
Integrator "directlighting" | |
Film "image" "integer xresolution" [768] "integer yresolution" [576] "string filename" ["scene.png"] | |
Sampler "random" "integer pixelsamples" [16] | |
WorldBegin | |
AttributeBegin | |
Translate 0 0 2 | |
LightSource "point" "spectrum I" [5 5] | |
AttributeEnd | |
AttributeBegin | |
Translate 1.5 -1.5 4 | |
Material "matte" "spectrum Kd" [0.1 0.1] | |
Shape "sphere" "float radius" [0.5] | |
AttributeEnd | |
AttributeBegin | |
Translate 1 1.5 3.5 | |
Material "matte" "spectrum Kd" [0.1 0.1] | |
Shape "sphere" "float radius" [0.5] | |
AttributeEnd | |
AttributeBegin | |
Translate -1 0 2.5 | |
Material "matte" "spectrum Kd" [0.1 0.1] | |
Shape "sphere" "float radius" [0.75] | |
AttributeEnd | |
AttributeBegin | |
Translate 0 0 4 | |
Material "matte" "spectrum Kd" [0.1 0.1] | |
Shape "sphere" "float radius" [0.5] | |
AttributeEnd | |
AttributeBegin | |
Material "matte" "spectrum Kd" [0.1 0.1] | |
Shape "trianglemesh" | |
"integer indices" [0 1 2 0 2 3] | |
"point P" [ | |
-100 -2 -100 -100 -2 100 100 -2 100 100 -2 -100 | |
] | |
AttributeEnd | |
AttributeBegin | |
Translate 1.5 0 3 | |
Material "matte" "spectrum Kd" [0.1 0.1] | |
Shape "sphere" "float radius" [0.5] | |
AttributeEnd | |
AttributeBegin | |
Material "matte" "spectrum Kd" [0.1 0.1] | |
Shape "trianglemesh" | |
"integer indices" [0 1 2 0 2 3] | |
"point P" [ | |
-100 2 -100 -100 2 100 100 2 100 100 2 -100 | |
] | |
AttributeEnd | |
AttributeBegin | |
Material "matte" "spectrum Kd" [0.1 0.1] | |
Shape "trianglemesh" | |
"integer indices" [0 1 2 0 2 3] | |
"point P" [ | |
-100 -100 4.5 -100 100 4.5 100 100 4.5 100 -100 4.5 | |
] | |
AttributeEnd | |
AttributeBegin | |
Material "matte" "spectrum Kd" [0.1 0.1] | |
Shape "trianglemesh" | |
"integer indices" [0 1 2 0 2 3] | |
"point P" [ | |
-100 -100 -0.5 -100 100 -0.5 100 100 -1 100 -100 -0.5 | |
] | |
AttributeEnd | |
AttributeBegin | |
Material "matte" "spectrum Kd" [0.1 0.1] | |
Shape "trianglemesh" | |
"integer indices" [0 1 2 0 2 3] | |
"point P" [ | |
2 -100 -100 2 -100 100 2 100 100 2 100 -100 | |
] | |
AttributeEnd | |
AttributeBegin | |
Material "matte" "spectrum Kd" [0.1 0.1] | |
Shape "trianglemesh" | |
"integer indices" [0 1 2 0 2 3] | |
"point P" [ | |
-2 -100 -100 -2 -100 100 -2 100 100 -2 100 -100 | |
] | |
AttributeEnd | |
WorldEnd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment