3/15/2024 0 Comments Power of two texturepacker![]() ![]() ![]() For instance, a 300×200 display would have 200 total rows, or scan lines, and each scan line would have 300 pixels, for a grand total of 60,000 pixels. The resolution of the display determines the total number of pixels. For a color display, each pixel contains a red, green, and blue sub-pixel, which can then be combined to create specific colors. A CRT features an array of picture elements known as pixels. Even though we now almost exclusively use LCD or plasma displays, many of the rendering concepts that were originally developed with older monitors in mind are still in use today.įor many years, cathode ray tube (CRT) displays were the predominant display technology. To fully understand 2D rendering, it is important to understand the limitations of display devices when these techniques were first developed. It also should be noted that many of the topics covered in latter chapters, whether physics, sound, or UI programming, are equally applicable in both 2D and 3D games. Though the primary focus of this book is on 3D games, it would be a mistake not to cover the core concepts behind 2D graphics. Gamers are drawn toward 2D because of the purity and simplicity of the games. Developers are drawn to 2D because the typical budget and team can be much smaller. ![]() With the explosion of web, smartphone, and indie games, 2D has had a renaissance of sorts. Game Programming Algorithms and Techniques: A Platform-Agnostic Approach (2014) Chapter 2. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |