|
![](/i/fill.gif) |
Nathan Kopp wrote:
>
> I've been working a bit on this with photon mapping. If a global photon map
> is created, the directional data can be used so that you only shoot sample
> rays in directions where photons came from.
Now this is a great idea! But it doesn't work for purely ambient based light
sources, does it?
> When doing this, you have to
> use weights to compensate for the uneven distribution. The code is in the
> UVPov source in photons.c (but isn't very well commented and is not
> currently used... but you can look at it if you like). So, yes, this can
> efficiently be done.
>
This is bound to give me a headache, but I might check it out...
Margus
Post a reply to this message
|
![](/i/fill.gif) |