POV-Ray : Newsgroups : povray.binaries.images : sss tests : Re: sss tests Server Time
5 Nov 2024 06:21:52 EST (-0500)
  Re: sss tests  
From: triple r
Date: 31 Oct 2007 00:05:00
Message: <web.47280c0fb654624888727a860@news.povray.org>
"Bill Pragnell" <bil### [at] hotmailcom> wrote:

> #declare col = <1, 0.5, 0.1>;
> #declare densty = 15;
> merge {
>   torus { 1, 0.2 }
>   cylinder { <-1, 0, 0>, <1, 0, 0>, 0.15 }
>   cylinder { <0, 0, -1>, <0, 0, 1>, 0.15 }
>   sphere { <0, 0, 0>, 0.5 }
>   torus { 1, 0.15 rotate <90, 0, 0> }
>   torus { 1, 0.15 rotate <0, 0, 90> }
>   hollow
>   texture {
>     pigment { color rgbt <col.x, col.y, col.z, 0.5> }
>     finish { ambient 0 diffuse 1 phong 0.5 phong_size 20 } }
>   interior {
>     media {
>       scattering { 1, densty*col extinction 0 }
>       absorption densty/col
>       intervals 1
>       samples 50


Some ior really helps to disguise the internal structure.  It doesn't get rid of
the internal structure, of course, but it does make it less apparent.  Makes it
possible to use a little more translucency.  Physically accurate, too.

 - Ricky


Post a reply to this message

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