POV-Ray : Newsgroups : povray.newusers : Can't get glass to look right : Re: Can't get glass to look right Server Time
30 Jul 2024 02:18:34 EDT (-0400)
  Re: Can't get glass to look right  
From: Alain
Date: 29 Oct 2004 19:12:25
Message: <4182ce59$1@news.povray.org>
Sleazy Saint nous apporta ses lumieres ainsi en ce 2004-10-29 18:45... :

>I've been trying to make a simple glass ball, and so far I've only produced
>a jet black ball. I can't get it to look like glass. Here is a simplified
>scene file, any help would be appreciated:
>
>#include "colors.inc"
>
>camera{
>  location <0,6,-6>
>  look_at <0,1.5,0>
>}
>
>light_source{
>  <-3, 10, -2>
>  color White
>  spotlight
>  radius 15
>  falloff 20
>  tightness 10
>  point_at <0,0,0>
>}
>
>light_source{
>  35*y
>  color White
>  area_light <10,0,0>, <0,0,10>, 10, 10
>  adaptive 1
>  jitter
>}
>
>plane{
>  y, 0
>  texture{
>    pigment{ color White }
>  }
>}
>
>sphere{
>  <0, 2.005, 0>, 2
>  texture{
>    pigment{
>      color rgbf <0.96, 0.97, 0.98, 0.1>
>  
>
The filter value is way to low, a value betwen 0.8 and 0.98 is better.

>    }
>    finish{
>      specular 0.7
>      roughness 0.001
>      ambient 0.2
>  
>
An ambient much closer to 0 would be beter (0 to 0.001)

>      diffuse 0.1
>  
>
OK

>      reflection{ 0.03, 0.51
>        fresnel on}
>  
>
OK

>      conserve_energy
>    }
>  }
>  interior{  ior 1.45
>  
>
OK

>    fade_distance 0.50
>  
>
Deffinitely to small, I got beter result with a value from 5 to 8

>    fade_power 1
>  }
>}
>
>
>  
>
Alain


Post a reply to this message

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