POV-Ray : Newsgroups : povray.newusers : Using POV-Ray to compute lightmaps Server Time
31 Oct 2024 22:25:12 EDT (-0400)
  Using POV-Ray to compute lightmaps (Message 1 to 2 of 2)  
From: C Rivlaldo
Subject: Using POV-Ray to compute lightmaps
Date: 22 Jun 2012 02:45:01
Message: <web.4fe413c8145927416fc3bf760@news.povray.org>
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.


Post a reply to this message

From: clipka
Subject: Re: Using POV-Ray to compute lightmaps
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.