POV-Ray : Newsgroups : povray.newusers : Parse warning on refraction : Parse warning on refraction Server Time
28 May 2024 16:40:57 EDT (-0400)
  Parse warning on refraction  
From: gharryh
Date: 17 Jun 2013 15:30:00
Message: <web.51bf6388957ad2fb520168c30@news.povray.org>
Since using version 3.7 i get the following parse error:
--
Parse Warning: Refraction value unnecessary to turn on refraction. To attenuate,
the fade_power and fade_distance keywords should be specified in 'interior{...}'
statement.   Use of this syntax may not be backwards
compatable with earlier versions of POV-Ray.   The #version directive or +MV
switch will not help.
--

I have some texture defs that are using refraction.
How should i rewrite these defs to please the render machine.
[code]
#declare acrylic =
texture {
    pigment { White filter .9}
    finish {
        specular 1
        roughness .005
        reflection .1
        ambient 0
        diffuse 0
        refraction 1
        ior 1.4
    }
}
[/code]


Post a reply to this message

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