|
|
Hi!
I have this Sphere:
sphere {
<0, 0, 0>, 2.0
texture {
pigment {
color rgb <1.0, 1.0, 1.0>
}
}
}
I would like it to appear as if it is glowing, and is a little
transloucent and reflects light a little bit more. I am new to PovRay,
looked in the manual without success for the above. Ideas/help would be
more than welcome! :-)
Post a reply to this message
|
|
|
|
> 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
|
|