POV-Ray : Newsgroups : povray.newusers : Extinction value of scattering and mirrors : Re: Extinction value of scattering and mirrors Server Time
25 May 2024 18:29:28 EDT (-0400)
  Re: Extinction value of scattering and mirrors  
From: fsv2712
Date: 14 Jul 2016 14:35:00
Message: <web.5787dad6f6f56c36bec14beb0@news.povray.org>
Alain: I have done those changes, but it still doesn't work, and it's a simple
scene (how frustrating):

#version 3.7;

global_settings { ambient_light 0
    photons {count 1000000 media 1000,1 autostop 0}
    //subsurface {samples 10,100}
    //mm_per_unit 1
    assumed_gamma 1.0
}

//Container box
//box {<-11,-11,-31><11,11,31> hollow
box {<-70,-11,-31><11,11,31> hollow
   texture {pigment {color rgb 1}}
   interior { media { scattering {1, color rgb <0.5,0.5,0.5> extinction 0}
samples 100 collect on} }
   photons {pass_through}
   //finish {subsurface { translucency rgb <0.5,0.5,0.5> } }
   //interior {ior 1}
}

//camera
camera {orthographic location <0,0,30.5> up <0,0,1> look_at <0,0,0> angle 50}

//Source
light_source { <0,0,0> rgb <0.5,0.5,0.5> fade_distance 1 fade_power 2}

//Reflector
cylinder {<0,0,-30> <0,0,30> 10 open clipped_by {box {<-31,-31,-40> <0,31,40>
inverse} }
    texture {pigment {color rgb<5,0,0>} finish {emission 0 ambient 0
reflection{rgb<5,0,0>} diffuse 0 } }
    photons {target reflection on refraction off collect on}
}

clipka:

Thanks for the suggestion. I have tested SSLT, but, does it works with photons?
do I need them?. This scene is part of a bigger one with the light (well, more
of them), the reflector, a plano-convex cylindrical lens and a disc target,
where I'd like to measure the brightness. Perhaps I don't need to "see" the
light to obtain the measure I seek, but then, how can I be sure the behavior is
the expected and the measure is correct?.
Regarding attenuation, if, as you say, component (C) is not calculated,


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.