Packing textures

Scene Management | Thursday 25 September 2008 11:02 pm

An approach to pack arbitrary sized textures in one big texture. This is useful for example when saving lightmaps as they will be small and in a large quantity so you don’t want to resize them all to power of twos’ and save them separetly.

 An image of the result of a packing of a big amount of lightmaps, the padding in white is just for making the different maps more visible.

Packed Lightmaps

Link to the source:
http://www.blackpawn.com/texts/lightmaps/default.html

Please share:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Current
  • LinkedIn
  • Live
  • MySpace
  • Netvibes
  • StumbleUpon
  • Twitter
  • Reddit
  • Technorati
  • Yahoo! Bookmarks
« Previous Page