|
![](/i/fill.gif) |
"And" <49341109@ntnu.edu.tw> wrote:
> Sunset:
>
> this image I just assigned scattering media for the cloud. You can see the cloud
> is too dark.
> Even I set the extinction smaller than 1.0(this is equal emission some lights)
>
Too dark is caused by lacking of multiple scattering, so I fill-in some light
with emission for it.
material{
texture{
pigment{rgbt<0,0,0,1>}
finish{ambient 0 diffuse 0}
}
interior {
media{
samples 8
emission rgb<3.73, 2.92*0.75*0.161, 2.78*0.65*0.01 >*0.15
density {
dens_cloud2
}
}
media{
samples 8
emission rgb<1.00, 0.784*0.75*0.161, 0.746*0.65*0.01 >*1.0
// notice this is
// vdot(<1.00, 0.784*0.75, 0.746*0.65>,
// <1.00, 0.161, 0.01>)
// ^^^^^^^^^^^^^^^^^^^ this is my sun color
scattering{
3, rgb< 1.00, 0.784, 0.746 >*8.0 //this is the same, not change
extinction 0.8
}
density {
dens_cloud
}
}
}
}
for the sunset I use rgb<1.00,0.161,0.01>*strength for my parallel light as sun
light. It is from a sunset photo, I measured the color.
Post a reply to this message
Attachments:
Download 'mountain scene2 1 sunset.png' (181 KB)
Preview of image 'mountain scene2 1 sunset.png'
![mountain scene2 1 sunset.png](/povray.binaries.images/attachment/%3Cweb.5a2150552231f8ba7e12b7e70%40news.povray.org%3E/mountain%20scene2%201%20sunset.png?preview=1)
|
![](/i/fill.gif) |