POV-Ray : Newsgroups : povray.newusers : Why is my media totally transparent on white surfaces? : Re: Why is my media totally transparent on white surfaces? Server Time
6 Sep 2024 00:23:39 EDT (-0400)
  Re: Why is my media totally transparent on white surfaces?  
From: Ken
Date: 4 Jun 1999 23:49:31
Message: <37589CEF.A9D2566A@pacbell.net>
Jason Dinger wrote:
> 
> 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


  A couple two of three things you can do to increase the visibility
of your media.

1.) Increase the values in the color map above 1

2.) increase the emmisivity of the media. There is no reason you have to stay
    below a value of 1.

3.) Add a scattering parameter to the media and intensify your light sources.
    By intinsify I mean use values above 1 ie light_source{ <0,0,0> rgb 5 }.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

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