POV-Ray : Newsgroups : povray.general : How to get the light intenity that hits a surface? : Re: How to get the light intenity that hits a surface? Server Time
22 Sep 2021 04:46:39 EDT (-0400)
  Re: How to get the light intenity that hits a surface?  
From: Kenneth
Date: 22 Jul 2021 11:55:00
Message: <web.60f99432c9a4060c4cef624e6e066e29@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 16.07.2021 um 15:03 schrieb Grobi:
>
> > I would like to mis-use POVRAY (or any other tool) a bit to get to the light
> > intensity that hits a surface of an object.
>
> The "mesh camera" feature could possibly help in achieving your goal.

As in, using a cylindrical (or even spherical??) mesh for the camera, that
completely encloses the scene? (Sorry, I haven't used the mesh-camera feature
yet, so I don't know much about it.) I assume that such a mesh would need to be
high-resolution-- lots of triangles-- to get a detailed resulting view of the
scene.

Then use Bald Eagle's suggestions, especially the note about finding the
intensity of the resulting pixels (as a post-processing step.) The code examples
given in the thread he mentioned -- by him and myself-- could be modified I
think, to look for *any* intensity of the pixels in a render, which could then
be #written to a file for subsequent use.

It would be an interesting combination of techniques, to possibly get the result
you want. :-)


Post a reply to this message

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