POV-Ray : Newsgroups : povray.newusers : A ghostly transparent sphere Server Time
24 Nov 2024 23:50:47 EST (-0500)
  A ghostly transparent sphere (Message 1 to 5 of 5)  
From: Kevin
Subject: A ghostly transparent sphere
Date: 22 Mar 2007 06:30:02
Message: <web.460267ad8ef3907b41254bd10@news.povray.org>
I am really new at this and struggling a bit, so would appreciate any help !

I need a transparent translucent ghostly sphere - just visible - with no
reflections, no refraction and no specular high-lights.

I think this must be really easy to do, but whatever I try is just too
glass-like.....

Thanks in advance for any help.

Kevin


Post a reply to this message

From: Trevor G Quayle
Subject: Re: A ghostly transparent sphere
Date: 22 Mar 2007 07:30:02
Message: <web.460275e97dff850dc150d4c10@news.povray.org>
"Kevin" <Kev### [at] Karneycom> wrote:
> I am really new at this and struggling a bit, so would appreciate any help !
>
> I need a transparent translucent ghostly sphere - just visible - with no
> reflections, no refraction and no specular high-lights.
>
> I think this must be really easy to do, but whatever I try is just too
> glass-like.....
>
> Thanks in advance for any help.
>
> Kevin

There are several ways to do the sphere material depending on whether you
want it as a shell or solid.  You can use a surface material on it using
filter or transmit, or you could use an internal (volumetric) material
using media.  To make sure it isn't reflective, remove any reflective
properties from the surface finish and to make sure it isn't refractive,
remove any ior settings from the interior.

-tgq


Post a reply to this message

From: Kevin
Subject: Re: A ghostly transparent sphere
Date: 22 Mar 2007 07:55:01
Message: <web.46027bca7dff850d41254bd10@news.povray.org>
Trevor
Thank you so much. I knew it would be easy....
Kevin

"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> "Kevin" <Kev### [at] Karneycom> wrote:
> > I am really new at this and struggling a bit, so would appreciate any help !
> >
> > I need a transparent translucent ghostly sphere - just visible - with no
> > reflections, no refraction and no specular high-lights.
> >
> > I think this must be really easy to do, but whatever I try is just too
> > glass-like.....
> >
> > Thanks in advance for any help.
> >
> > Kevin
>
> There are several ways to do the sphere material depending on whether you
> want it as a shell or solid.  You can use a surface material on it using
> filter or transmit, or you could use an internal (volumetric) material
> using media.  To make sure it isn't reflective, remove any reflective
> properties from the surface finish and to make sure it isn't refractive,
> remove any ior settings from the interior.
>
> -tgq


Post a reply to this message

From: Burki
Subject: Re: A ghostly transparent sphere
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

From: Alain
Subject: Re: A ghostly transparent sphere
Date: 22 Mar 2007 16:43:16
Message: <4602f874$1@news.povray.org>
Burki nous apporta ses lumieres en ce 22-03-2007 11:36:
> "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
If you don't specify any specular, it default to disabled, or no specular 
highlighting. Same thing with phong.
>     }
>     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.
If you don't set any ior value, it default to 1 or NO refraction.



> Yours,
> Bu.


Another way, faster than using a media, is to use fading. Here's how it's done:

interior{fade_color Your_Color fade_distance Some_distance fade_power 1}

You need to adjust fade_distance to suit your situation. A large object, or one 
you want only lightly coloured, needs a larger value, while small ones, or 
strongly coloured, need small value.
This give "substance" to the interior of your sphere. The longer you travel 
inside it, the more the fade colour will apears. It's a LOT faster than 
scattering media.

A key difference: if a beam of light goes trough your object, the one filled 
with media will make the beam visible, while the fading one won't.
Depending on your need, you chose one, the other, or both as they are compatible.

-- 
Alain
-------------------------------------------------
Wouldn't it be nice if whenever we messed up our life we could simply press 
'Ctrl Alt Delete' and start all over?


Post a reply to this message

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