Closed oferyaron closed 3 weeks ago
Here's a simple scene from our internal tests that consists of a sphere-shaped participating medium on a plane. It does have an environment map for lighting, but that's easy enough to change yourself.
Integrator "volpath"
"integer maxdepth" [ 10 ]
Sampler "paddedsobol"
"integer pixelsamples" [ 16 ]
Film "rgb"
"integer xresolution" [ 512 ]
"integer yresolution" [ 512 ]
Scale -1 1 1
LookAt 0.0715308 -4.17677 5.33558
0.0720194 -3.62456 4.50187
-0.000323605 0.833706 0.552208
Camera "perspective"
"float fov" [ 45 ]
WorldBegin
AttributeBegin
Rotate 90 1 0 0
ConcatTransform [ 0 0 -1 0 1 0 0 0 0 1 0 0 0 0 0 1 ]
LightSource "infinite"
"string filename" [ "../textures/skylight-morn.exr" ]
AttributeEnd
MakeNamedMedium "absmedium"
"rgb sigma_a" [ 4 4 4 ]
"rgb sigma_s" [ 1 1 1 ]
"string type" [ "homogeneous" ]
AttributeBegin
Material ""
MediumInterface "absmedium" ""
Shape "sphere"
"float radius" [ 1 ]
AttributeEnd
AttributeBegin
Material "diffuse"
"rgb reflectance" [ 0.5 0.5 0.5 ]
Translate 0 0 -1
Scale 100 100 100
Shape "trianglemesh"
"point3 P" [ -1 -1 0 1 -1 0 1 1 0 -1 1 0 ]
"integer indices" [ 0 2 1 0 3 2 ]
AttributeEnd
Thanks, I will check it.
Ofer
בתאריך יום ד׳, 7 באוג׳ 2024, 01:45, מאת Matt Pharr < @.***>:
Here's a simple scene from our internal tests that consists of a sphere-shaped participating medium on a plane. It does have an environment map for lighting, but that's easy enough to change yourself.
Integrator "volpath" "integer maxdepth" [ 10 ] Sampler "paddedsobol" "integer pixelsamples" [ 16 ] Film "rgb" "integer xresolution" [ 512 ] "integer yresolution" [ 512 ] Scale -1 1 1 LookAt 0.0715308 -4.17677 5.33558 0.0720194 -3.62456 4.50187 -0.000323605 0.833706 0.552208 Camera "perspective" "float fov" [ 45 ]
WorldBegin
AttributeBegin Rotate 90 1 0 0 ConcatTransform [ 0 0 -1 0 1 0 0 0 0 1 0 0 0 0 0 1 ] LightSource "infinite" "string filename" [ "../textures/skylight-morn.exr" ] AttributeEnd MakeNamedMedium "absmedium" "rgb sigma_a" [ 4 4 4 ] "rgb sigma_s" [ 1 1 1 ] "string type" [ "homogeneous" ]
AttributeBegin Material "" MediumInterface "absmedium" "" Shape "sphere" "float radius" [ 1 ] AttributeEnd
AttributeBegin Material "diffuse" "rgb reflectance" [ 0.5 0.5 0.5 ] Translate 0 0 -1 Scale 100 100 100 Shape "trianglemesh" "point3 P" [ -1 -1 0 1 -1 0 1 1 0 -1 1 0 ] "integer indices" [ 0 2 1 0 3 2 ] AttributeEnd
— Reply to this email directly, view it on GitHub https://github.com/mmp/pbrt-v4/issues/433#issuecomment-2272285621, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVPLLF23CSOMPTUDFKNAMIDZQFGZJAVCNFSM6AAAAABL2QUT7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZSGI4DKNRSGE . You are receiving this because you authored the thread.Message ID: @.***>
In order to better understand the volumetric scattering basics, I am looking for a scene that complies with the simplevolpath integrator: a cube of uniform fog, a camera and an area light source which is located not in infinity. Where can I find such scene?