POV-Ray : Newsgroups : povray.newusers : Why is my media totally transparent on white surfaces? : Why is my media totally transparent on white surfaces? Server Time
5 Nov 2024 15:56:48 EST (-0500)
  Why is my media totally transparent on white surfaces?  
From: Jason Dinger
Date: 4 Jun 1999 22:50:13
Message: <3758909C.C8737D4A@hotmail.com>
I've tried everything that I can think of. I've checked the POV-Ray 3.1
doc's and the examples in the scene files that are included with POV.
Whenever I use media with a black or dark background/objects, it stands
out and is easy to see. However when I use white or lighter colored
objects in the background, you can't see it. I've include the code here
and posted a small *.jpg of this code in the povray.binaries.images
newsgroup with the same message title as this message.

//start code//
camera { location <0,0,-5>
         look_at <0,0,0>  }

light_source {<0,20,-130>rgb 1}
light_source {<-10,30,-60>rgb 1}


sphere {0,1 pigment {rgbf 1}
 interior { media {
 emission 1 intervals 3 samples 1,10 confidence .9999 variance 1/1000
 density { spherical color_map {
 [0 rgb <0,0,0>][.5 rgb <1,0,0>][1 rgb <0,0,0>] } scale .5 }
 } } scale 2 hollow }

box {<-5,-.25,.5><5,.25,1> pigment {rgb 1} }

box {<-5,-15,.501><5,15,1.01> pigment {rgb 0} }

//end code//


 thanks for your help in advance...

     jason

www.angelfire.com/co/ug


Post a reply to this message

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