POV-Ray : Newsgroups : povray.binaries.images : Spheres (81KBU) : Re: Spheres (81KBU) Server Time
19 Aug 2024 04:19:29 EDT (-0400)
  Re: Spheres (81KBU)  
From: Chris Huff
Date: 19 Jan 2001 21:04:51
Message: <chrishuff-7BB68E.21055719012001@news.povray.org>
In article <3a6473f5@news.povray.org>, "Ben Lauritzen" 
<loo### [at] yahoocom> 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] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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