Re: Compose rectangles within another rectangle
Fabian Giesen <[email protected]>
| Newsgroups | gmane.games.devel.algorithms |
|---|---|
| Message-ID | <[email protected]> |
Arno Gerretsen schrieb: > Hi, > > I am looking for an algorithm that can help me to compose a number of > rectangles, with different sizes, within a bigger rectangle. So I want > to pack them most efficiently within the bigger rectangle. Does anybody > know the best approach to this, except for just trial and error. > > The background is that I want to compose a big texture sheet from a > collection of smaller texture pieces automaticaly. This might help you as well: http://www.flipcode.com/archives/Rectangle_Placement.shtml -Fabian Giesen ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ 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