|
|
web.44ee75ddd9d40880598059850@news.povray.org...
> I used media to render my density file, the code piece is like follows:
>
> In the code, DENSFILE represents my density file. and i get the result as
> shown in the right image.
>
> But i want to get a kind of result as shown in the left image(Feldmann et
> al. did it in their siggraph paper), where the pattern of their smoke
looks
> clearer with the background, and the edge of smoke appears sharpish and
the
> transparency looks beautiful...
>
> I want to achieve the similar effect, then what's you guys' idea??
>
> thanks for your attention on this message!
>
I may be wrong (I've not tested) but why don't you try putting max density
at iso_value entry with density 0 just slightly above and below iso_value?
density {
density_file df3 DENSFILE interpolate 1
color_map{
[iso_value -.01 rgb 0]
[iso_value rgb 1] //or any value
[iso_value +.01 rgb 0]
}
}
may need some teaking
Marc
Post a reply to this message
|
|