Created
December 18, 2020 06:27
-
-
Save arpit15/849ca47523f16a17761129a4266efded to your computer and use it in GitHub Desktop.
get depth image
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="multichannel"> | |
<integrator type="path"/> | |
<integrator type="field"> | |
<string name="field" value="distance"/> | |
</integrator> | |
</integrator> | |
<default name="sampleCount" value="4"/> | |
<sensor type="perspective"> | |
<string name="fovAxis" value="smaller"/> | |
<float name="nearClip" value="0.1"/> | |
<float name="farClip" value="100"/> | |
<float name="focusDistance" value="1000"/> | |
<transform name="toWorld"> | |
<lookAt origin="0, 4, 0.0" target="0, 0,0.0" up="1, 0, 0"/> | |
</transform> | |
<float name="fov" value="39.3077"/> | |
<sampler type="ldsampler"> | |
<integer name="sampleCount" value="$sampleCount"/> | |
</sampler> | |
<film type="hdrfilm"> | |
<integer name="width" value="1024"/> | |
<integer name="height" value="768"/> | |
<rfilter type="gaussian"/> | |
<string name="pixelFormat" value="rgb, luminance"/> | |
<string name="channelNames" value="color, distance"/> | |
</film> | |
</sensor> | |
<default name="codefile" value="images/white_512.png"/> | |
<emitter type="perspectiveprojector" id="light 0"> | |
<string name="fovAxis" value="smaller"/> | |
<float name="nearClip" value="0.1"/> | |
<float name="farClip" value="100"/> | |
<float name="focusDistance" value="10000"/> | |
<transform name="toWorld"> | |
<lookAt origin="0, 4, 0.1" target="0,0,0.1" up="1, 0, 0"/> | |
</transform> | |
<float name="fov" value="39.3077"/> | |
<string name="filename" value="$codefile"/> | |
<float name="scale" value="10"/> | |
</emitter> | |
<shape type="obj"> | |
<string name="filename" value="meshes/vgroove.obj"/> | |
<bsdf type="diffuse"> | |
<spectrum name="reflectance" value="1, 0.5, 0"/> | |
</bsdf> | |
</shape> | |
</scene> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment