POV-Ray : Newsgroups : povray.advanced-users : light dependant image_map? : Re: light dependant image_map? Server Time
28 Jul 2024 22:32:17 EDT (-0400)
  Re: light dependant image_map?  
From: Christoph Hormann
Date: 29 Nov 2003 09:32:04
Message: <5pmm91-s7f.ln1@triton.imagico.de>
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...

If you really need to have a different pigment on lit and shadowed parts 
of the scene you can use the shadow_pigment feature from Mlpov.  For the 
earth (light source far away, no shadows) a slope or gradient pattern 
based pigment would suffice.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 25 Oct. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

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