Lightmap packing...

Blitz3D Forums/Blitz3D Programming/Lightmap packing...

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Does anyone know of any good tutorials or code examples for algorithms to fit lightmaps efficiently into a bitmap? Ie taking all the different size rectangles and figuring out how to arrange them in the bitmap to not waste any space?