POV-Ray : Newsgroups : povray.newusers : Using Fog for depthcue - broken when behind transparent objects : Re: Using Fog for depthcue - broken when behind transparent objects Server Time
14 May 2024 03:28:41 EDT (-0400)
  Re: Using Fog for depthcue - broken when behind transparent objects  
From: Lothar
Date: 25 Feb 2014 16:05:00
Message: <web.530d053476632899abef93160@news.povray.org>
Hi Dr. Ricky,

   adding the keyword hollow definitely changes something. It seems to
over-compensate now. The white fog in the back seems to be greatly enhanced!
However I may be able to tweak the transmission value to get it to about the
right level. Clumsy. Is there a media parameter for the "inside" of triangles
(or any object) that would balance this effect exactly out?

Okay, for now this is some improvement but not a complete solution.

Thanks

   Lothar



"Cousin Ricky" <rickysttATyahooDOTcom> wrote:
> "Lothar" <les### [at] helixnihgov> wrote:
> > triangle {
> >
> >   <-1,-0.5,0>, <0.0,0.5,0.0>, <1,-0.5,0>
> >   translate <1.4, 0.8,0>
> >   scale 0.11
> >   rotate z*45
> >   texture { pigment { color rgbt <0.8, 0.8, 0.8, TrigTrans> }
> >             finish {ambient 0.4 diffuse 0.3 specular 0.2 roughness 0.01} }
> > }
>
> In some ways, POV-Ray treats triangles as if they were 3-D objects.  Everything
> behind the triangle is treated as "inside" the triangle, and therefore defaults
> to excluding media effects.
>
> Try putting the keyword hollow inside the triangle object and see if it solves
> the problem.


Post a reply to this message

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