Re: [Algorithms] Allocation of 2D space
Brought to you by:
vexxed72
|
From: Mike S. <mik...@gm...> - 2009-08-11 20:54:02
|
On Tue, Aug 11, 2009 at 3:41 PM, Brian Meidell<br...@ga...> wrote: > 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. Sounds like you want a texture atlas, so something like http://www.gamasutra.com/view/feature/2530/practical_texture_atlases.php might be a good start? Mike |