POV-Ray : Newsgroups : povray.newusers : black splotches in transparent objects Server Time
23 Dec 2024 21:39:36 EST (-0500)
  black splotches in transparent objects (Message 1 to 3 of 3)  
From: Pterosaur
Subject: black splotches in transparent objects
Date: 8 Nov 2008 06:05:00
Message: <web.4915719577548da73dd84d620@news.povray.org>
Forgive me if I'm asking a question that's been answered before, but I haven't
been able to find it.  I'm trying to render a glass cup, but there are black
splotches on the sides. This is the simplest code that creates the problem I'm
having:

  #include "colors.inc"

  camera {
    location <4,6,0>
    look_at  <0, 1,  0>
  }

  plane { <0, 1, 0>, -0.1
    pigment {
      checker color White, color Gray80
    }
  }

  cylinder {
    <0,0.1, 0>,
    <0, 3,0>,
    1
    pigment { rgbf 1 }
    interior { ior 1.1 }
  }

  light_source {
    <0,5,-5>
    color White
  }

When I render it, the sides of my cylinder come out black, instead of
transparent like I'd expect.  Can someone tell me what I'm doing wrong?


Post a reply to this message

From: Mike Williams
Subject: Re: black splotches in transparent objects
Date: 8 Nov 2008 06:23:43
Message: <TfOrgaB7aXFJFwFp@econym.demon.co.uk>
Wasn't it Pterosaur who wrote:
>Forgive me if I'm asking a question that's been answered before, but I haven't
>been able to find it.  I'm trying to render a glass cup, but there are black
>splotches on the sides. This is the simplest code that creates the problem I'm
>having:

Take a look at max_trace_level in the documentation.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Pterosaur
Subject: Re: black splotches in transparent objects
Date: 8 Nov 2008 16:20:00
Message: <web.4916022d686d4a4d3dd84d620@news.povray.org>
That helped. Thank you.


Post a reply to this message

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