POV-Ray : Newsgroups : povray.advanced-users : how can i do this? : Re: how can i do this? Server Time
28 Jul 2024 10:26:26 EDT (-0400)
  Re: how can i do this?  
From: amar
Date: 23 Mar 2006 15:45:01
Message: <web.4423084f8da26955c46bf1ef0@news.povray.org>
"Tek" <tek### [at] evilsuperbraincom> wrote:
> 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
> >
> >

hai .. thanks a lot for answering my question. i need to do it for
illumination analysis. as most of the softwares which are meant for it are
pretty costly. i thought to this way. ultimately i want to measure the
light intensity at any given point in my scene.


Post a reply to this message

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