POV-Ray : Newsgroups : povray.newusers : A ghostly transparent sphere : Re: A ghostly transparent sphere Server Time
29 Jul 2024 00:32:07 EDT (-0400)
  Re: A ghostly transparent sphere  
From: Burki
Date: 22 Mar 2007 10:40:02
Message: <web.4602a2807dff850dc1d5d88c0@news.povray.org>
"Kevin" <Kev### [at] Karneycom> wrote:
> I need a transparent translucent ghostly sphere - just visible - with no
> reflections, no refraction and no specular high-lights.


Hi Kevin,

if you want to be sure to have no specular high-lights, set specular to zero
in the finish block.

You have to decide if you want the sphere transparent or translucent,
example:

// put this in the insert scene template "Checkered floor"
//instead of the reflective sphere.

sphere {
  0.0, 1
    pigment {
      color rgb <1,0,0>
      filter 0.85
    }
    finish{
      diffuse 0.6
      ambient 0.1
      specular 0.0
    }
    no_shadow
    #declare milky = true;
    // true -> translucent, false -> transparent
    #if (milky)
     hollow // turns media on
    #end
    interior {
          ior 1.000
          media {
               scattering {
                    4,   // scattering type 1=isotropic; 2=Mie haze; 3=Mie
murky
                         // 4=Rayleigh; 5=Henyey-Greenstein
                    0.8  // color and/or media density
               }
          }
     }
}
// ---------------

With milky=true it is translucent (with scattering medium), with milky=false
it is transparent (without medium).

Also check which one is better for you:
filter (0-100%, 85% here) or transmit.
"transmit" fades out the color, "filter" just makes the objects transparent
without loosing the color.

ior is set to 1, so no refraction.



Yours,
Bu.


Post a reply to this message

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