POV-Ray : Newsgroups : povray.programming : Implementing new light source function : Re: Implementing new light source function Server Time
3 Jul 2024 07:12:19 EDT (-0400)
  Re: Implementing new light source function  
From: Tor Olav Kristensen
Date: 2 Mar 2004 20:35:18
Message: <40453656$1@news.povray.org>
Tor Olav Kristensen wrote:
> Gianluca Massaccesi wrote:
> 
>> Do you think is possible to implement a new function for a light source,
>> with rays function of solid angle (seeIES standard). I different words,
>> having the possibility of controlling the energy of rays in relation with
>> horizontal and vertical angle. It would be very usefull for modelling

>> purpose.
> 
> 
> If you are working with isosurfaces (and if you don't care about
> shadows), then you can calculate how much a light source illuminates
> a point on the surface by using functions in SDL. (I.e. you don't
> need to patch POV-Ray to do this.)
 >
 > I once used such a technique to make a few simple images.
...

I forgot to mention that you would have to make a function that
describes the energy distribution at different angles around (or
relative to ?) the light source.

The source code for the mentioned images can be found here.

http://news.povray.org/povray.text.scene-files/thread/%3CXns93A54E262AE2torolavkhotmailcom%40204.213.191.226%3E/
or http://tinyurl.com/2dbua

(It might give you some hints about how to start attacking this
problem.)


Tor Olav


Post a reply to this message

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