|
![](/i/fill.gif) |
"Kevin" <Kev### [at] Karney com> 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
|
![](/i/fill.gif) |