Linux 3-D Graphics Programming

Linux 3-D Graphics Programming

Norman Lin

Language: English

Pages: 598

ISBN: 155622723X

Format: PDF / Kindle (mobi) / ePub


Currently, there are no directly competitive titles to Lin's title, and considering the explosive growth of not only 3-D graphics but the Linux operating system, this new book will be valuable to developers interested in graphics programming. The CD-ROM contains a series of animated 3-D videos illustrating key 3-D graphics concepts, such as the transformation from world space into camera space. It also features Blender 3-D, a professional quality 3-D modeler.

Linux Bible (8th Edition)

Gray Hat Hacking: The Ethical Hackers Handbook (3rd Edition)

Building an Information Security Awareness Program: Defending Against Social Engineering and Technical Threats

Windows 8 Secrets

 

 

 

 

 

 

 

 

 

 

 

Basic high school mathematics (geometry, trigonometry, linear algebra) In essence, this means that you should have programmed in C++ before, and that you should have basic familiarity with using Linux and the X Window System. NOTE If you need to brush up on some of the above topics, have a look at the references, both online and in book form, presented in the Appendix. Even if you are an absolute newcomer to Linux, don’t despair. Linux comes with a variety of online documents which can help you

the entire image into an X window is a time-consuming process), but still faster than non-accelerated rendering. Finally, the newest and most promising approach is to extend the X server and the Linux kernel to communicate directly with the 3D hardware. 3Dfx Hardware Acceleration The company 3Dfx manufactures variants of the Voodoo chipset, which are used in a number of 3D accelerator cards. The earliest cards were 3D-only cards, designed to work in cooperation with an existing 2D card. The

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 . . 147 . . 148 . . 149 . . 150 . . 152 . . 154 . . 156 . . 162 . . 168 . . 180 . . 184 . . 187 . . 188 . . 188 . . 188 . . 190 . . 196 . . 200 . . 201 . . 201 . . 205 . . 211 . . 212 . . 212 . . 212 . . 215 . . 216 vi Contents l3d_screen_mesa . . . . . . . . . . . . . . . . . . . . . . . .

visual, and depth. The next parameter will for our purposes always be the constant ZPixmap. This parameter specifies the ordering of bits for each pixel in the image. ZPixmap specifies that each byte in the image data corresponds to at most one pixel. (The other option would be to allow the individual bits of each byte to correspond to different pixels.) The fifth parameter specifies the number of pixels to ignore at the beginning of each line; we set this to zero. The sixth parameter is a

sophisticated 3D applications and libraries such as 3D modelers and OpenGL. After completing this book, you will have a firm grasp on the theoretical and technical issues involved with 3D graphics programming. TIP This intentional emphasis on the foundations prepares you for the Advanced volume or for further independent study. A second goal of this text is to give you plenty of hands-on experience programming 3D graphics applications under Linux. It is one thing to understand the theoretical

Download sample

Download