POV-Ray : Newsgroups : povray.unofficial.patches : light_groups have no effects on media??? : light_groups have no effects on media??? Server Time
1 Sep 2024 20:20:31 EDT (-0400)
  light_groups have no effects on media???  
From: Zeger Knaepen
Date: 3 Dec 2000 21:07:34
Message: <3a2afc66$1@news.povray.org>
This code should render nothing.  However, the media is showing.  Is this a
bug, or 'just' a limitation of the way light_groups are implemented?

#version unofficial MegaPov 0.6;
camera {
 location <-100,0,-600>
 look_at 0
}
#declare Licht_Locatie=<50000,0,-1000>;
light_source {
 Licht_Locatie
 rgb <1.5,1.4,1.3>
 groups "zonn"
}

#macro Pigment_Transmit (tex, trans)
average  pigment_map {[1-trans tex] [trans transmit 1] }
#end
sphere {
 0,100
 pigment {red 1 transmit .5}
 finish {ambient 0}
 interior {
  media {
   method 2
   samples 1,10
   intervals 10
   scattering {1,blue 1}
   density {
    spherical
    color_map {
     [0 rgb 0]
     [1 rgb .1]
    }
   }
   scale 100
  }
 }
 hollow
 light_group "zon"
}

--
ZK
http://www.povplace.be.tf


Post a reply to this message

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