|
![](/i/fill.gif) |
Can't you just render a 360 degree view and average that? You'd need to
scale the brightness of your scene so none of the pixels saturate out, and
you'd need to compensate for the distortion of the lens when you average the
colour (otherwise the stretched areas will have more effect on the average
than the less-stretched ones), so divide pixel colour by the angular area
that pixel represents...
An alternative scheme would be to use megapov's function camera and setup a
function so each pixel is sampled in a random direction, then just find the
average colour of that.
But it does beg the question: why do you want to do that?
--
Tek
http://evilsuperbrain.com
<amar> wrote in message
news:web.441c9e8c6ad875f6c46bf1ef0@news.povray.org...
> Hello Everybody, i have a doubt. if i have my camera located at say
> C[x,y,z]. Is it possible to measure the amount of light that is falling on
> my camera?. is there anyway to calculate it based on the pixels within the
> view of camera??
>
> would be verymuch thankfll to anyone who could help me out
>
> Thank you in advance
>
> cheers
> amar
>
>
Post a reply to this message
|
![](/i/fill.gif) |