|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi All:
My lightmapping tutorial finally evolved into a little Java app. It's
by no means anything serious, nor very developed... just a superficial
demo of what can be done with external programming and the new
mesh_camera feature.
In the attached zip you can find the Java tool, a simple test scene,
and a README file with more details. As always, comments, suggestions
and criticism are welcome...
Regards,
--
Jaime Vives Piqueres
La Persistencia de la Ignorancia
http://www.ignorancia.org
Post a reply to this message
Attachments:
Download 'lightmapping-0_1.zip' (1221 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:
> Hi All:
>
> My lightmapping tutorial finally evolved into a little Java app. It's
> by no means anything serious, nor very developed... just a superficial
> demo of what can be done with external programming and the new
> mesh_camera feature.
>
> In the attached zip you can find the Java tool, a simple test scene,
> and a README file with more details. As always, comments, suggestions
> and criticism are welcome...
>
> Regards,
>
>
> --
> Jaime Vives Piqueres
>
> La Persistencia de la Ignorancia
> http://www.ignorancia.org
Hi, Jaime!
Your Java tool is very cool! Thank you for it!
But I have some troubles with using scripts, which I made with my own generator
(they based on yours scripts).
When I'm rendering scene (two plane mesh and one cube) without lightmaps
(use_baking=0), image is ok:
http://img13.imagefra.me/i56o/crivlaldo/1r9b_55c_u95yo.png
But when I'm rendering lightmaps, they are black. Look at scene with lightmaps
(use_baking=2):
http://img15.imagefra.me/i56o/crivlaldo/1pir_527_u95yo.png
POV-Ray scripts are in attachment.
Can you or somebody, who know what I'm doing wrong, help me?
Post a reply to this message
Attachments:
Download 'lightmaps.zip' (141 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 24/06/12 18:19, C.Rivlaldo wrote:
> Your Java tool is very cool! Thank you for it!
Thanks to you: you're my first known user! Also thanks for serving as
a reminder of my pending tasks on this... I really have it all ready to
be published on the web site, but I was being very lazy.
> But when I'm rendering lightmaps, they are black.
Fortunately, tough I'm a bit rusty on my baking technique (I tend to
forgot very quickly), I figured it out surprisingly soon: the normals on
you meshes are inverted from what my tool expects... but you're lucky:
just reverse the normals on the baking cameras and that's it:
location <0,0,-.01>
direction <0,0,1>
The problem was that the baking process was shooting from the other
side of the meshes, so the lightmaps came out black, and so the baked
render was black too.
Regards,
--
Jaime
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:
> On 24/06/12 18:19, C.Rivlaldo wrote:
> > Your Java tool is very cool! Thank you for it!
>
> Thanks to you: you're my first known user! Also thanks for serving as
> a reminder of my pending tasks on this... I really have it all ready to
> be published on the web site, but I was being very lazy.
>
> > But when I'm rendering lightmaps, they are black.
>
> Fortunately, tough I'm a bit rusty on my baking technique (I tend to
> forgot very quickly), I figured it out surprisingly soon: the normals on
> you meshes are inverted from what my tool expects... but you're lucky:
> just reverse the normals on the baking cameras and that's it:
>
> location <0,0,-.01>
> direction <0,0,1>
>
> The problem was that the baking process was shooting from the other
> side of the meshes, so the lightmaps came out black, and so the baked
> render was black too.
>
> Regards,
>
> --
> Jaime
Thank you! With your changes POV-Ray bake lightmaps very well.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 25-6-2012 19:09, Jaime Vives Piqueres wrote:
> On 24/06/12 18:19, C.Rivlaldo wrote:
>> Your Java tool is very cool! Thank you for it!
>
> Thanks to you: you're my first known user! Also thanks for serving as
> a reminder of my pending tasks on this... I really have it all ready to
> be published on the web site, but I was being very lazy.
>
Being also extremely lazy, I still have to try your tool! Must make room
in my - fairly empty - agenda ;-)
Thomas
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:
> On 24/06/12 18:19, C.Rivlaldo wrote:
> > Your Java tool is very cool! Thank you for it!
>
> Thanks to you: you're my first known user! Also thanks for serving as
> a reminder of my pending tasks on this... I really have it all ready to
> be published on the web site, but I was being very lazy.
"We will encourage you to develop the three great virtues of a programmer:
laziness, impatience, and hubris."
-- Larry Wall
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|