OpenGL SuperBible: Comprehensive Tutorial and Reference [NOOK Book]

Overview

OpenGL® SuperBible, Sixth Edition, is the definitive programmer’s guide, tutorial, and reference for the world’s leading 3D API for real-time computer graphics, OpenGL 4.3. The best all-around introduction to OpenGL for developers at all levels of experience, it clearly explains both the newest API and indispensable related concepts. You’ll find up-to-date, hands-on guidance for all facets of modern OpenGL development on both desktop and mobile platforms, including transformations, texture mapping, shaders, ...

See more details below
OpenGL SuperBible: Comprehensive Tutorial and Reference

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study

Want a NOOK? Explore Now

NOOK Book (eBook)
$27.49
BN.com price
(Save 42%)$47.99 List Price

Overview

OpenGL® SuperBible, Sixth Edition, is the definitive programmer’s guide, tutorial, and reference for the world’s leading 3D API for real-time computer graphics, OpenGL 4.3. The best all-around introduction to OpenGL for developers at all levels of experience, it clearly explains both the newest API and indispensable related concepts. You’ll find up-to-date, hands-on guidance for all facets of modern OpenGL development on both desktop and mobile platforms, including transformations, texture mapping, shaders, buffers, geometry management, and much more.

Extensively revised, this edition presents many new OpenGL 4.3 features, including compute shaders, texture views, indirect draws, and enhanced API debugging. It has been reorganized to focus more tightly on the API, to cover the entire pipeline earlier, and to help you thoroughly understand the interactions between OpenGL and graphics hardware.

Coverage includes

  • A practical introduction to the essentials of realtime 3D graphics
  • Core OpenGL 4.3 techniques for rendering, transformations, and texturing
  • Foundational math for creating interesting 3D graphics with OpenGL
  • Writing your own shaders, with examples to get you started
  • Cross-platform OpenGL, including essential platform-specific API initialization material for Linux, OS X, and Windows
  • Vertex processing, drawing commands, primitive processing, fragments, and framebuffers
  • Using compute shaders to harness today’s graphics cards for more than graphics
  • Monitoring and controlling the OpenGL graphics pipeline
  • Advanced rendering: light simulation, artistic and non-photo-realistic rendering, and deferred shading
  • Modern OpenGL debugging and performance optimization

Bonus material and sample code are available from the companion Web site, openglsuperbible.com.

Read More Show Less

Product Details

  • ISBN-13: 9780133365085
  • Publisher: Pearson Education
  • Publication date: 8/2/2013
  • Series: OpenGL
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 6
  • Pages: 848
  • Sales rank: 337,574
  • File size: 101 MB
  • Note: This product may take a few minutes to download.

Meet the Author

Graham Sellers is a senior manager and software architect on the OpenGL driver team at AMD. He represents AMD at the ARB and has contributed to many extensions and to the core OpenGL Specification. He holds several patents in the fields of computer graphics and image processing.

Richard S. Wright, Jr., senior software engineer for Software Bisque, develops multimedia astronomy and planetarium software using OpenGL. He has written many OpenGL-based games, scientific/medical applications, database visualization tools, and educational programs. He has taught OpenGL programming at Full Sail University’s game design degree program for over a decade.

Nicholas Haemel, senior manager of Tegra OpenGL driver development at NVIDIA, leads a development team working on NVIDIA mobile graphics drivers, represents NVIDIA at the Khronos Group standards body, has authored many OpenGL extensions, and contributed to all OpenGL specifications since version 3.0.

Read More Show Less

Table of Contents

Figures xv

Tables xxiii

Listings xxv

Foreword xxxiii

Preface xxxv

Acknowledgments xli

About the Authors xlv

Part I: Foundations 1

Chapter 1: Introduction 3

OpenGL and the Graphics Pipeline 4

The Origins and Evolution of OpenGL 6

Primitives, Pipelines, and Pixels 10

Summary 11

Chapter 2: Our First OpenGL Program 13

Creating a Simple Application 14

Using Shaders 16

Drawing Our First Triangle 24

Summary 25

Chapter 3: Following the Pipeline 27

Passing Data to the Vertex Shader 28

Passing Data from Stage to Stage 29

Tessellation 32

Geometry Shaders 36

Primitive Assembly, Clipping, and Rasterization 38

Fragment Shaders 42

Framebuffer Operations 45

Compute Shaders 47

Summary 48

Chapter 4: Math for 3D Graphics 49

Is This the Dreaded Math Chapter? 50

A Crash Course in 3D Graphics Math 51

Understanding Transformations 63

Interpolation, Lines, Curves, and Splines 82

Summary 90

Chapter 5: Data 91

Buffers 92

Uniforms 103

Shader Storage Blocks 126

Atomic Counters 133

Textures 137

Summary 185

Chapter 6: Shaders and Programs 187

Language Overview 188

Compiling, Linking, and Examining Programs 201

Summary 219

Part II: In Depth 221

Chapter 7: Vertex Processing and Drawing Commands 223

Vertex Processing 224

Drawing Commands 231

Storing Transformed Vertices 259

Clipping 276

Summary 282

Chapter 8: Primitive Processing 283

Tessellation 284

Geometry Shaders 310

Summary 340

Chapter 9: Fragment Processing and the Framebuffer 341

Fragment Shaders 342

Per-Fragment Tests 345

Color Output 357

Off-Screen Rendering 364

Antialiasing 384

Advanced Framebuffer Formats 399

Point Sprites 419

Getting at Your Image 428

Summary 435

Chapter 10: Compute Shaders 437

Using Compute Shaders 438

Examples 449

Summary 471

Chapter 11: Controlling and Monitoring the Pipeline 473

Queries 474

Synchronization in OpenGL 493

Summary 498

Part III: In Practice 501

Chapter 12: Rendering Techniques 503

Lighting Models 504

Non-Photo-Realistic Rendering 544

Alternative Rendering Methods 548

Summary 580

Chapter 13: Debugging and Performance Optimization 581

Debugging Your Applications 582

Performance Optimization 589

Summary 616

Chapter 14: Platform Specifics 617

Using Extensions in OpenGL 618

OpenGL on Windows 623

OpenGL on Mac OS X 647

OpenGL on Linux 682

OpenGL on Mobile Platforms 705

Summary 744

Appendix A: Further Reading 747

Appendix B: The SBM File Format 751

Appendix C: The SuperBible Tools 759

Glossary 765

Index 773

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)