POV-Ray : Newsgroups : povray.programming : Implementing new light source function : Re: Implementing new light source function Server Time
3 Jul 2024 07:13:25 EDT (-0400)
  Re: Implementing new light source function  
From: Tor Olav Kristensen
Date: 2 Mar 2004 20:11:19
Message: <404530b7$1@news.povray.org>
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


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.
Some of them can be found in this thread:

http://news.povray.org/povray.binaries.images/thread/%3CXns93A4378303A9Ftorolavkhotmailcom%40204.213.191.226%3E/
or http://tinyurl.com/ytkvh

It should also be possible to do something similar with meshes
made up of (small) triangles.


Tor Olav


Post a reply to this message

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