tailieunhanh - 3D Graphics with OpenGL ES and M3G- P2
3D Graphics with OpenGL ES and M3G- P2:Mobile phones are the new vehicle for bringing interactive graphics technologies to consumers. Graphics that in the 1980s was only seen in industrial flight simulators and at the turn of the millennium in desktop PCs and game consoles is now in the hands of billions of people. This book is about the technology underpinnings of mobile threedimensional graphics, the newest and most rapidly advancing area of computer graphics. | x CONTENTS CHAPTER 11. EGL 241 API Overview 242 Configuration 244 Surfaces 248 Contexts 252 Extensions 253 Rendering into Textures 254 Writing High-Performance EGL Code 255 Mixing OpenGL ES and 2D Rendering 257 Method 1 Window Surface is in Control 257 Method 2 Pbuffer Surfaces and Bitmaps 258 Method 3 Pixmap Surfaces 258 Optimizing Power Usage 259 Power Management Implementations 259 Optimizing the Active Mode 261 Optimizing the Idle Mode 262 Measuring Power Usage 262 Example on EGL Configuration Selection 264 PART III M3G CHAPTER 12. INTRODUCING M3G 269 Overview 270 Mobile Java 270 Features and Structure 272 Hello World 276 Design Principles and Conventions 277 High Abstraction Level 278 No Events or Callbacks 279 Robust Arithmetic 280 Consistent Methods 281 Parameter Passing 282 Numeric Values 283 Enumerations 284 Error Handling 284 285 Pure 3D Rendering 285 Rotation Interpolation 285 PNG and JPEG Loading 286 New Getters 287 Other Changes 288 CONTENTS xi CHAPTER 13. BASICM3G CONCEPTS 289 Graphics3D 290 Render Targets 290 Viewport 293 Rendering 294 Static Properties 296 Image2D 297 Matrices and Transformations 300 Transform 300 Transformable 303 Object3D 306 Animating 306 Iterating and Cloning 306 Tags and Annotations 308 Importing Content 311 Loader 311 The File Format 313 CHAPTER 14. LOW-LEVEL MODELING IN M3G 319 Building meshes 319 VertexArray 319 VertexBuffer 320 IndexBuffer and Rendering Primitives 323 Example 325 Adding Color and Light Appearance 326 PolygonMode 327 Material 328 Texture2D 329 Fog 332 CompositingMode 333 Lights and Camera 337 .
đang nạp các trang xem trước