Ultimate Lightmappers comparative chart

A forum to store posts deemed exceptionally wise and useful
noreg
Posts: 158
Joined: Fri Jun 23, 2006 6:01 pm
Location: continental europe

Post by noreg »

pinballwizard
Posts: 67
Joined: Wed Aug 02, 2006 1:47 am

Sunflow

Post by pinballwizard »

Regarding lightmapping solutions, I noticed no one has mentioned Sunflow on the Irrlicht forums. I just wanted to point it out:

http://sunflow.sourceforge.net

There is an exporter for Blender that saves Blender scenes as Sunflow files. Sunflow then calculates global illumination based on different techniques you can select.

The important thing is that it can render the lighting results using existing unwrapped UV lightmap coordinates. This means Sunflow can render into lightmap textures that you can then apply to your models in Irrlicht/Blender.

The main problem is that you have to unwrap the mesh yourself (providing non-overlapping UV's for every face) before passing it to Sunflow. Of course Blender offers unwrapping tools that can do this for you, but if you unwrap every mesh individually, you will likely have (a) a LOT of separate lightmap textures (b) maybe some of wasted space in each lightmap texture (c) inconsistent lightmap resolution in your level (some meshes with high lightmap resolution, others with low lightmap resolution). A tool like FSRAD "unwraps" meshes automatically and splits large polygons if necessary to ensure consistent lightmap resolution everywhere (you specify the desired resolution and maximum allowable lightmap size, FSRAD splits polys if needed to use that lightmap size). Also, AFAIK, FSRAD tries to optimize lightmap usage so that faces from different meshes may use the same lightmap, and the lightmaps for the faces are "packed" to squeeze as many faces as possible into each lightmap. This reduces the number of lightmap textures and thus the texture-switching burden on the graphics card.

Sunflow still has a few quirks (bleeding on lightmap edges), but overall it's quite powerful and seems to be gaining momentum, so it might be worth checking it out and adding it to your tool set. Oh, and it's written in Java, so it runs on all Java-supported platforms like Linux, Mac OSX, and other operating systems.
patricklucas
Posts: 34
Joined: Sun Jul 06, 2008 5:05 am
Location: NC, USA

Post by patricklucas »

All the original post links are kabroke. :-/
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

Yup, sorry, this is quite an old topic and most of my stuff on that server was lost. :(
roelor
Posts: 240
Joined: Wed Aug 13, 2008 8:06 am

Post by roelor »

Euh links are dead no images watsoever...
Could someone please fix?
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Read the above post ;)
Image Image Image
mikademus
Posts: 7
Joined: Fri May 23, 2008 8:26 pm

Post by mikademus »

Perhaps this thread should be unstickied?
roelor
Posts: 240
Joined: Wed Aug 13, 2008 8:06 am

Post by roelor »

Yeah but on the website itself are also threads that use the broken links.
mc08
Posts: 25
Joined: Thu Aug 07, 2008 9:49 am

Post by mc08 »

just want to point out that the links doesnt work anymore. since it's a sticky, that should be fixed?

// sry for whining ;)
Post Reply