POV-Ray : Newsgroups : povray.general : scattering media : scattering media Server Time
4 Aug 2024 10:16:07 EDT (-0400)
  scattering media  
From: Lenx
Date: 3 Jun 2003 16:47:24
Message: <3edd095c$1@news.povray.org>
hi, i try to make a plastic that has scattering when a lightsource is put
into it (for example in a plastic sphere).
now i tried and tried so many things, but all i get a clear plastic sphere.
can anyone point me my mistake?
this is the code of my plastic media:

#declare Plastic=
material{
   texture{
      pigment{ rgbt 1 }
      finish{
         reflection .2
         diffuse .5
         conserve_energy
      }
   }
   interior{
      media{
         method 3
         scattering {
            1, rgb <0,0,1>
            extinction 1
            }
         intervals 2
         samples 10
      }
      ior 1.7
      fade_power 2
      fade_distance 10
      fade_color rgb .5
   }
}


Post a reply to this message

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