POV-Ray : Newsgroups : povray.general : Glamour behind emission media : Re: Glamour behind emission media Server Time
10 Aug 2024 07:21:51 EDT (-0400)
  Re: Glamour behind emission media  
From: Greg M  Johnson
Date: 13 Feb 2000 08:20:26
Message: <38a6af9a@news.povray.org>
Thanks, you set me on right track. Here is the solution.  Absorb "0"
where your density is "empty", "1" where there is "something."  The code
below is "not art yet," but it is the effect I was searching for...


media {
   intervals 10
   emission rgb 1   samples 2, 100     confidence 0.9999   variance
1/1000   ratio 0.9
   density {
     color_map{
        [0.0 rgb <0,0,0.0>]
        [0.5 rgb <0,0,0.0>]
        [0.851 rgb <0.8, 0.18, 0.04>/2]
        [1.0 rgbt <1,.61,.1>]
      }
      scale 5
    }
 }
 media {
   intervals 10
   absorption rgb 1 samples 2, 100  confidence 0.9999   variance
1/1000   ratio 0.9
  density {
        bumps
        color_map{
        [0.0 rgb 0]
        [0.5 rgb 0]
        [0.851 rgb 1 ]
       [1.0 rgbt 1 ]      }
      scale 5
    }
 }

ingo wrote:

> Greg M. Johnson wrote:
>
> >...  It just looks so fake and uncool with
> >the background showing behind, through the lit areas of the media.
> >
> >Any tips?
>
> Add some absorbing media with the inverse colour.
>
> Ingo
>
> --
> Photography: http://members.home.nl/ingoogni/
> Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

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