POV-Ray : Newsgroups : povray.programming : Weird blackness under glass object Server Time
24 Dec 2024 11:31:16 EST (-0500)
  Weird blackness under glass object (Message 1 to 3 of 3)  
From: klaus rubba
Subject: Weird blackness under glass object
Date: 13 Jun 2001 12:21:03
Message: <3b2792ef$1@news.povray.org>
I have a simple glass disk (cylinder) lying on a white surface, and rather
than appearing clear, there's a bunch of black 'noise' appearing under the
disc. Seems like a max_trace_level problem, but I cranked that up into the
hundreds with no success. If I move the disc up the tiniest fraction so it
hovers above the surface, it appears fine, seems like some surface
interaction or something. Any  ideas? Running on Win2K, 650MHz, 392M RAM,
POV-Ray Version 3.1g.watcom.win32. Here's the scene code, any ideas? Is this
a bug?


#version 3.1
#include "colors.inc"
#include "glass.inc"

global_settings {
   max_trace_level 7
}

camera
{
  location  <0, 15, -80>
  look_at   <0,  2, 0>
  angle 7
}

light_source
{ 
  <100, 90, -60> color rgb 2
}


plane
{ y, -1.0
  texture
  { pigment { color Brown*1.3 }
    finish {reflection 0.2} 
  }}  


box
{
  <-2,-1,6><300, -0.00, -400>        
  texture { pigment { color White*0.9 } }  
}  

#declare Blue_Glass =
texture {
    pigment { color rgbf <0.96, 0.96, 1.5, 0.9>  }
    finish { F_Glass3 }
}
                      
cylinder{ 
  <0,0,0><0,0.3,0>,1.8 
  texture{Blue_Glass}  
}


Post a reply to this message

From: Ron Parker
Subject: Re: Weird blackness under glass object
Date: 13 Jun 2001 12:30:32
Message: <slrn9if599.bk4.ron.parker@fwi.com>
On Wed, 13 Jun 2001 09:19:52 -0700, klaus rubba wrote:
>I have a simple glass disk (cylinder) lying on a white surface, and rather
>than appearing clear, there's a bunch of black 'noise' appearing under the
>disc. Seems like a max_trace_level problem, but I cranked that up into the
>hundreds with no success. If I move the disc up the tiniest fraction so it
>hovers above the surface, it appears fine, seems like some surface
>interaction or something. Any  ideas? Running on Win2K, 650MHz, 392M RAM,
>POV-Ray Version 3.1g.watcom.win32. Here's the scene code, any ideas? Is this
>a bug?

See http://www.students.tut.fi/~warp/povVFAQ/languageVFAQ.html#blackspots

-- 
#local R=rgb 99;#local P=R-R;#local F=pigment{gradient x}box{0,1pigment{gradient
y pigment_map{[.5F pigment_map{[.3R][.3F color_map{[.15red 99][.15P]}rotate z*45
translate x]}]#local H=pigment{gradient y color_map{[.5P][.5R]}scale 1/3}[.5F
pigment_map{[.3R][.3H][.7H][.7R]}]}}}camera{location.5-3*z}//only my opinions


Post a reply to this message

From: Chris Huff
Subject: Re: Weird blackness under glass object
Date: 16 Jun 2001 15:02:00
Message: <chrishuff-43AADF.14015116062001@povray.org>
This is just a coincident surfaces problem...the solution is to move the 
disc up slightly. It is not a bug.

BTW, this group is for discussions about programming, specifically about 
the POV-Ray source code, not for scene file help. Your question would 
have been better put in povray.newusers.

-- 
Christopher James Huff - 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.