POV-Ray : Newsgroups : povray.general : scattering media Server Time
5 Nov 2024 09:24:40 EST (-0500)
  scattering media (Message 1 to 4 of 4)  
From: Lenx
Subject: scattering media
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

From: Tim Cook
Subject: Re: scattering media
Date: 3 Jun 2003 17:15:49
Message: <3edd1005$1@news.povray.org>
hollow

-- 
Tim Cook
http://home.bellsouth.net/p/PWP-empyrean

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Marc Jacquier
Subject: Re: scattering media
Date: 5 Jun 2003 03:35:41
Message: <3edef2cd@news.povray.org>

3edd1005$1@news.povray.org...
> hollow
>
Yes, (I develop Tim's answer ;-) if you have a media not showing as it
should, 1st thing you have to ask yourself is "did I put hollow keyword in
my object?"

Marc


Post a reply to this message

From: Lenx
Subject: Re: scattering media
Date: 5 Jun 2003 07:01:26
Message: <3edf2306@news.povray.org>
it works, thanks a lot! i could not find it


"Tim Cook" <z99### [at] bellsouthnet> schreef in bericht
news:3edd1005$1@news.povray.org...
> hollow
>
> --
> Tim Cook
> http://home.bellsouth.net/p/PWP-empyrean
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
> N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
> PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
> D++(---) G(++) e*>++ h+ !r--- !y--
> ------END GEEK CODE BLOCK------
>


Post a reply to this message

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