|
|
I've had fun using emission media to make things like glowing plasma in
a jar. The odd thing, however, is when I make an image with anything
other than a black background. It just looks so fake and uncool with
the background showing behind, through the lit areas of the media.
Any tips?
Post a reply to this message
|
|
|
|
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
|
|