POV-Ray : Newsgroups : povray.unofficial.patches : Bug in default texture : Bug in default texture Server Time
2 Sep 2024 14:19:26 EDT (-0400)
  Bug in default texture  
From: Sigmund Kyrre Aas
Date: 26 Dec 1999 10:22:13
Message: <38663278.C358B295@stud.ntnu.no>
Try rendering this in MegaPov 0.3 with and without the default{}
statement.
You'll see that the shadow from the transparent disc will become
black when default{} is present.

sig.


default {
   texture { pigment { rgb x } } 
}

disc { <0, 10, 0> y,  35,  10
    pigment { color rgbf <1,.97,1, .9> }
    //normal { wrinkles 0.01 scale <10,1,10> }
    finish {
        specular .8
        roughness 0.001
        ambient 0
        diffuse 0
        reflection .1
    }
}

box { <-5, -1, -5 >*100 <5, -.001, 5>*100 
    pigment {colour rgb <0,0,.1>}
    finish {
        diffuse .9
        brilliance .4
        specular .6
        roughness 0.2
        ambient .05
    }
}

camera {
  location  <2 ,5 ,9>*12
  look_at   <-1 , 0 ,13> 
  angle 50
}

light_source { <-2, 2, -5>*1000 color rgb 1 }


Post a reply to this message

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