POV-Ray : Newsgroups : povray.newusers : Making the sphere glow and be partly transloucent : Re: Making the sphere glow and be partly transloucent Server Time
30 Jul 2024 02:21:59 EDT (-0400)
  Re: Making the sphere glow and be partly transloucent  
From: Slime
Date: 27 Oct 2004 17:03:22
Message: <41800d1a$1@news.povray.org>
> I would like it to appear as if it is glowing

A simple glowing effect can be created by modifying the texture's finish so
that the lighting of the object relies less on light sources:

finish { // this goes in the texture block
diffuse 0.2 // lower values => external light sources have less of an effect
ambient 0.8 // higher values => object emits more light
}

> and is a little transloucent

You can create simple transparency by replacing rgb <1,1,1> with

rgb <1,1,1, 0.5> // 50% transparent

> and reflects light a little bit more.

One option is to add reflection to the finish block:

reflection 0.25 // reflect external objects with 25% brightness

or you could add a specular highlight by adding this to the finish block:

specular 0.4 // show a highlight where the light is coming from

but I believe that the specular highlight won't show up very well if the
"diffuse" value is low, since it relies on light sources and low diffuse
values reduce the effect of light sources.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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