POV-Ray : Newsgroups : povray.newusers : Photons, media, and caustics : Re: Photons, media, and caustics Server Time
29 Jul 2024 18:17:10 EDT (-0400)
  Re: Photons, media, and caustics  
From: Mienai
Date: 3 Jun 2005 19:15:00
Message: <web.42a0e40243860d5eac4848f20@news.povray.org>
"Lonnie" <lon### [at] yahoocom> wrote:
> I don't seem to be able to render photon caustics in a media container at
> all.  With both turned on the caustics diappear, the media disappears in
> the shadow of my transparent object, and shadows go completely black.  With
> only media turned on media works just fine with proper shading in the
> shadows.  With only photons turned on the caustics work fine.  I all cases
> in internal diffusion works.  I have spent hours with the documentation to
> no avail.  What am I missing? Here are the settings I last tried:
>
> global_settings {
>   assumed_gamma 1.0
>   max_trace_level 15
>    photons {
>      count 20000
>      jitter .4
>      media 300
>      max_trace_level 35
>    }
> }
>
> In my object's interior:
>
>   interior{
>     ior 2.2
>     dispersion 1.9
>     dispersion_samples 120
>   }
>
> My objects' photon block:
>
>   photons{
>     target
>     reflection on
>     refraction on
>   }
>
> My media container:
>
> cylinder{
>   <0,-.01,0>,<0,14,0>,8
>   texture{
>     pigment{ color rgbt <1,1,1,1>}
>   }
>   interior{
>     media{
>       scattering { 1, rgb 0.03}
>       intervals 1
>       samples 30,100
>       method 3
>     }
>   }
>   hollow
> }

I think you need a photons {pass_through} on your media container.


Post a reply to this message

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