POV-Ray : Newsgroups : povray.newusers : Using POV-Ray to compute lightmaps : Re: Using POV-Ray to compute lightmaps Server Time
26 Jun 2024 12:06:34 EDT (-0400)
  Re: Using POV-Ray to compute lightmaps  
From: clipka
Date: 22 Jun 2012 11:13:07
Message: <4fe48b83$1@news.povray.org>
Am 22.06.2012 08:42, schrieb C.Rivlaldo:
> Hello! I'm newbie at POV-Ray.
>
> I have successfully tried mesh_camera demo to bake textures. But I have one
> question. How can I bake to textures only lightmaps? Only shadows and radiosity
> without diffuse texture of mesh.

Use a plain white texture (pigment rgb 1, diffuse 1).

Note however that this will distort radiosity results; you /need/ the 
final pigment & finish settings for proper computations (unless your 
object happens to be convex, you're using recursion_limit 1, and there 
are no reflective objects in your scene).

If you have an approximation of the final pigment & finish, you can use 
two copies of your object: One plain white one with "no_radiosity 
no_reflection no_shadow", and one with the approximated texture and 
"no_image".


Post a reply to this message

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