Sometimes, you’re faced with the problem to cramp as many smaller textures as possible onto a larger texture. Typical cases are lightmaps, which are very small textures with dimensions that usually are not powers of two, or bitmap fonts where you want to try and fit the entire ascii character set onto a texture without wasting much space.
What you need then, is a rectangle packer, an algorithm that arranges as many smaller rectangles on a larger rectangle as can possibly fit.
Read more…
VN:F [1.9.3_1094]
Rating: 4.2/5 (5 votes cast)
It is very important to be able to dynamically control the behavior of .NET applications and to keep track of some of the aspects of the application (i.e. how the application is performing, what errors are produced during runtime, how the application performs at peak times, how to dynamically alter the behavior of the application, etc).
Read more…
VN:F [1.9.3_1094]
Rating: 4.6/5 (5 votes cast)
CSS sprites group multiple images into one composite image and display them using CSS background positioning.
Coming soon…
VN:F [1.9.3_1094]
Rating: 0.0/5 (0 votes cast)
Recent Comments