|
![](/i/fill.gif) |
In article <3a6473f5@news.povray.org>, "Ben Lauritzen"
<loo### [at] yahoo com> wrote:
> I added a facing gradient with rgb 0 on the back side, now it works.
Two problems with this method: you can't see the spheres when behind
other spheres, and there is a black fringe around the spheres.
If you use MegaPOV, you might be able to fix the "fringe" problem using
interior_texture...just make the ordinary texture clear, and the
interior texture opaque black, so you can see into the spheres but not
out of them. This would also automatically work with any camera angle
and with light sources, with no extra work. And it would certainly be
easier than messing with gradient texture maps... It would also work
with any object, not just spheres.
It doesn't fix the problem that the spheres become opaque, though...but
maybe that is what you want. (If the spheres are really supposed to be
transparent, their color *should* be affected by the background...but
you have an interesting effect here of opaque objects that look
transparent.)
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
![](/i/fill.gif) |