Re: Allocation of 2D space

[email protected]
Newsgroups gmane.games.devel.algorithms
Message-ID <OFE08F9940.DAA30781-ON8825760F.00752562-8825760F.007535E1@playstation.sony.com>
Brian Meidell <[email protected]> wrote on 08/11/2009 12:41:42 PM:

> Hi,
> 
> I'm looking for an algorithm to allocate 2d rectangles of different 
> sizes from a larger 2d rectangle (small areas out of a large texture), 
> while wasting as little space as possible without being insanely slow.
> 

Try this: http://www.blackpawn.com/texts/lightmaps/default.html

Brad...


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
GDAlgorithms-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.