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
30 Nov 2021 21:57:59 EST (-0500)
  Re: How to get the light intenity that hits a surface?  
From: Grobi
Date: 30 Jul 2021 04:30:00
Message: <web.6103b694c9a4060c99ed7390b2dab7b3@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.

Thanks to everybody for answers!

The mesh camera brought me to lightmap baking, which seems to be what I need:
All surfaces are unwrapped to a UV-map, that map then stores the illumination

I use Poseray to convert my .ogj to POVRay-scenes, then the POVRay lightmapping
helper by Jaime Vives Piqueres.

The problem now: the lightmaps that are generated are mostly black, only some
patches contain some very minute amounts of light.

The scene I use to test everything is a plain white cube with a spotlight on it.
(axes are non-baked).
The resulting lightmap is mostly dark, just some light along the seams.

Any idea what im doing wrong here?



Post a reply to this message

Download 'cube.jpg' (42 KB)

Preview of image 'cube.jpg'


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