Hi, this is my first post!
I’ve developed a new script to pack lightmap uv texture coordinates based on some code from the Smart Projection UV Unwrap script. In contrast to all of the comparable scripts which only bake to a single texture image my script creates as many texture images as needed and appropriately assignes the faces to the corresponding texture images. This allows one to have a consistent texel/blender unit resolution in the baked lightmaps that can be set by the user. It also tries to keep connected faces connected in the uv islands which the Lightmap UVPack script does not. This allows for better vertex sharing which may benefit users that want to use the meshes for games.
There are still some issues left. The script does not currently show any progress indication in Blenders progress bar. Just like the Smart Projection UV Unwrap script it does not account for uv island self overlap (which you could get when you model a spiral) which could happen and should be avoided. Testing for this condition may be a bit expensive. Even when the uv islands don’t self overlap there might be color bleeding between faces of the same island which are nearer than 2 pixels, so one would also have to test for this condition.
I would like to share the script, but since I am new to this forum I am not allowed to post links. If I do the have links in my post it seems to simply disapper, so how do I best go about it?
Since i can’t post links yet you have to figure it out from this: trenki [dot] net / uvcalc_multi_lightmap.py