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
|