|
![](/i/fill.gif) |
Hi,
you should use something like that:
//start code
#declare lightsource = <0,1,1>*1000;
sphere {
0,1
texture {
slope {lightsource,0,1}
texture_map {
[0.475 night_tex]
[0.525 day_tex]
}
}
rotate -140*y
rotate -20*x
}
camera {location <3,3,-3> angle 33 look_at 0}
light_source {lightsource,2.5}
//end code
Norbert
Erhard Ducke wrote:
>Hi!
>Is it possible to show different image_maps on an object depending on the
>quantity of light that falls on a part of the object?
>Background:
>The earth should show a night bitmap (with city lights) on the night side
>and another bitmap on the side that is hit by the sunlight...
>Thanks!
>E.D.
>Erhard Ducke
>
Post a reply to this message
|
![](/i/fill.gif) |