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
28 Mar 2024 20:56:12 EDT (-0400)
  Re: How to get the light intenity that hits a surface?  
From: Alain Martel
Date: 30 Jul 2021 07:56:03
Message: <6103e8d3$1@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
> information.
> 
> 
> 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?
> 
> Thanks!
> 
>   Grobi
> 
> 
My first guess would be that the triangles of your mesh camera are 
facing outward.
Try reversing the vertices order of each triangles in your mesh.


Post a reply to this message

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