POV-Ray : Newsgroups : povray.newusers : Problems with photon mapping and transparancy : Re: Problems with photon mapping and transparancy Server Time
28 Jul 2024 16:27:56 EDT (-0400)
  Re: Problems with photon mapping and transparancy  
From: Killroy Quartermaine
Date: 11 Jul 2008 05:40:00
Message: <web.487729cc5199265b4cdc498c0@news.povray.org>
"Chris B" <nom### [at] nomailcom> wrote:
> "Killroy Quartermaine" <iam### [at] yahoocom> wrote in message
> news:web.4876e86e5eef6c304cdc498c0@news.povray.org...
> > ...
> > I build my bottle as a CSG object: a difference of two spheres merged with
> > a
> > difference of two cylinders, with a torus for the lip. Then I chop a
> > cut-to-
> > interior sized half sphere using a difference of a sphere and box.
> >
> > The bottle renders perfectly on it's own. The "water" renders just fine on
> > it's
> > own as well. Just about perfectly clear, with the right diffraction and
> > whatnot.
> >
> > But when I render the two together, the water appears more like crude oil,
> > and
> > while it makes a very pretty pattern with the  diffracted light from the
> > bottle, I was aiming for clear water.
> >
>
> You'll need to increase the max_trace_level in your global_settings block.
> A ray is traced from your camera to the glass, through the shell, across the
> tiny gap to your water, through the water, then the same out the other side,
> so '7' should do it, but you might like to go higher (maybe '12') to avoid
> black spots appearing if you choose a camera angle that takes you through
> elements of the bottle neck and then down through the bottle and water.
>
> The message stream also shows that the four #include statements at the start
> of your example are missing the '#' symbol.
>
> Regards,
> Chris B.

Thanks for your help! You know, you'd think I'd have caught that max-trace-level
thing. it seems to be the solution to a great many problems.

also, that whole leaving out the pound sign thing is a nasty habit that I know
I've got to break.


Post a reply to this message

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