POV-Ray : Newsgroups : povray.newusers : Dodgy Wine Glass : Re: Dodgy Wine Glass Server Time
29 Jul 2024 12:24:51 EDT (-0400)
  Re: Dodgy Wine Glass  
From: PM 2Ring
Date: 5 Dec 2005 23:10:01
Message: <web.43950e5890f42f19ad93754b0@news.povray.org>
"nzdzeni" <nzd### [at] gmailcom> wrote:
> Hi,
>
> I have created a wine glass, complete with wine in it.  The problem is that
> the "shadow" did not look right.  When I rotated the glass, it became clear
> that there was a large amount of "noise" slicing through the glass (near
> the top).
>
> Here is a link to the picture of my "dud wine glass".
> http://www.complus.co.nz/blogpics/dudglass.jpg"
>
> The code I used is below:
>
> object { Wine_Glass
>         finish {reflection 0.2}
>         }
>
> intersection
>
> {object {Wine_Glass
>         scale .999
>         translate <0, 0.001, 0>
>         pigment {color White}
>         }
>


> difference{
>         plane {y,7}
>         plane {y,4.5}
>            }
>           }
>            }
>

I've just had a quick look, but I'm pretty sure that these planes are the
source of the problem. Remember that POV planes fill half the universe. You
need to have one normal pointing up, one pointing down.

See 2.2.2.4 in the 3.6 docs


Post a reply to this message

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