POV-Ray : Newsgroups : povray.general : Soft Shadows? : Re: Soft Shadows? Server Time
8 Jul 2024 12:35:40 EDT (-0400)
  Re: Soft Shadows?  
From: Alain
Date: 9 Feb 2015 18:57:04
Message: <54d94950$1@news.povray.org>

> Alain <kua### [at] videotronca> wrote:
>
>> area_light is an option.
>> spot_light, cylindrical and parallel are also options.
>> You can have a light with area_light, parallel AND spot_light without
>> any problem.
>>
>> Also, if you want to use photons, to have forward tracing, ALL light but
>> shadowless emit photons by default.
>
> Thanks, that's useful to know. The photon mapping method sounds like a good
> method too.
>
>
>
>

Photons shooting can take area_light into account by adding 
photons{area_light} to the light's definition.
By default, all light emit photons with the exeption of shadowless ones.
Any object destined to receive first generation photons need a photons 
block setting them as target. That block must also set if the object can 
refract and reflect the photons.
Secondary photons will always reflect on reflective surfaces and be 
refracted by transparent objects having an ior defined in the interior 
block.

A bonus: You can save the photons and reload them for the next 
rendering. The photons map is resolution independent.
So, you can do a "test" render at 320 by 240 and no antialiasing 
shooting and saving photons, then, perform a 64000 by 48000 fully 
antialiasing render that reload the photons.
This can save you a *LOT* of time.


Alain


Post a reply to this message

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