OpenGL Development Cookbook
eBook - ePub

OpenGL Development Cookbook

Muhammad Mobeen Movania

Buch teilen
  1. 326 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

OpenGL Development Cookbook

Muhammad Mobeen Movania

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Über dieses Buch

In Detail

OpenGL is the leading cross-language, multi-platform API used by masses of modern games and applications in a vast array of different sectors. Developing graphics with OpenGL lets you harness the increasing power of GPUs and really take your visuals to the next level.

OpenGL Development Cookbook is your guide to graphical programming techniques to implement 3D mesh formats and skeletal animation to learn and understand OpenGL.

OpenGL Development Cookbook introduces you to the modern OpenGL. Beginning with vertex-based deformations, common mesh formats, and skeletal animation with GPU skinning, and going on to demonstrate different shader stages in the graphics pipeline. OpenGL Development Cookbook focuses on providing you with practical examples on complex topics, such as variance shadow mapping, GPU-based paths, and ray tracing. By the end you will be familiar with the latest advanced GPU-based volume rendering techniques.

Approach

This hands-on Cookbook cuts through the preamble and gets straight to the point. OpenGL Development Cookbook is perfect for intermediate C++ programmers. Full of practical techniques for implementing amazing computer graphics and visualizations, using OpenGL. Crammed full of useful recipes, OpenGL Development Cookbook will help you exploit OpenGL to its full potential.

Who this book is for

OpenGL Development Cookbook is geared toward intermediate OpenGL programmers to take you to the next level and create amazing OpenGL graphics in your applications.

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist OpenGL Development Cookbook als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu OpenGL Development Cookbook von Muhammad Mobeen Movania im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Ciencia de la computación & Modelado y diseño de datos. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

OpenGL Development Cookbook


Table of Contents

OpenGL Development Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Introduction to Modern OpenGL
Introduction
Setting up the OpenGL v3.3 core profile on Visual Studio 2010 using the GLEW and freeglut libraries
How to do it...
There's more…
Designing a GLSL shader class
Getting ready
How to do it…
How it works…
There's more…
Rendering a simple colored triangle using shaders
Getting ready
How to do it…
How it works…
There's more…
See also
Doing a ripple mesh deformer using the vertex shader
Getting ready
How to do it…
How it works…
There's more
Dynamically subdividing a plane using the geometry shader
Getting ready
How to do it…
How it works…
There's more…
See also
Dynamically subdividing a plane using the geometry shader with instanced rendering
Getting ready
How to do it…
How it works…
See also
Drawing a 2D image in a window using the fragment shader and the SOIL image loading library
Getting ready
How to do it…
How it works…
There's more…
2. 3D Viewing and Object Picking
Introduction
Implementing a vector-based camera with FPS style input support
Getting ready
How to do it…
There's more…
See also
Implementing the free camera
Getting ready
How to do it…
There's more…
See also
Implementing the target camera
Getting ready
How to do it…
There's more…
See also
Implementing view frustum culling
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing object picking using the depth buffer
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing object picking using color
Getting ready
How to do it…
How it works…
See also
Implementing object picking using scene intersection queries
Getting ready
How to do it…
How it works…
There's more…
See also
3. Offscreen Rendering and Environment Mapping
Introduction
Implementing the twirl filter using the fragment shader
Getting ready
How to do it…
How it works…
There's more...
Rendering a skybox using static cube mapping
Getting ready
How to do it…
How it works…
There's more…
Implementing a mirror with render-to-texture using FBO
Getting ready
How to do it…
How it works…
There's more…
See also
Rendering a reflective object using dynamic cube mapping
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing area filtering (sharpening/blurring/embossing) on an image using convolution
Getting ready
How to do it…
How it works...
There's more…
See also
Implementing the glow effect
How to do it…
How it works…
There's more…
See also
4. Lights and Shadows
Introduction
Implementing per-vertex and per-fragment point lighting
Getting started
How to do it…
How it works…
There's more…
See also
Implementing per-fragment directional light
Getting started
How to do it…
How it works…
There's more…
See also
Implementing per-fragment point light with attenuation
Getting started
How to do it…
How it works…
There's more…
See also
Implementing per-fragment spot light
Getting started
How to do it…
How it works…
There's more…
See also
Implementing shadow mapping with FBO
Getting started
How to do it…
How it works…
There's more…
See also
Implemeting shadow mapping with percentage closer filtering (PCF)
Getting started
How to do it…
How it works…
There's more…
See also
Implementing variance shadow mapping
Getting started
How to do it…
How it works…
There's more…
See also
5. Mesh Model Formats and Particle Systems
Introduction
Implementing terrains using the height map
Getting started
How to do it…
How it works…
There's more…
See also
Implementing 3ds model loading using separate buffers
Getting started
How to do it…
How it works…
There's more…
See also
Implementing OBJ model loading using interleaved buffers
Getting started
How to do it…
How it works…
There's more…
See also
Implementing EZMesh model loading
Getting started
How to do it...
How it works…
There's more…
See also
Implementing simple particle system
Getting started
How to do it…
How it works…
There's more…
See also
6. GPU-based Alpha Blending and Global Illumination
Introduction
Implementing order-independent transparency using front-to-back peeling
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing order-independent transparency using dual depth peeling
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing screen space ambient occlusion (SSAO)
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing global illumination using spherical harmonics lighting
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing GPU-based ray tracing
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing GPU-based path tracing
Getting ready
How to do it…
How it works…
There's more…
See also
7. GPU-based Volume Rendering Techniques
Introduction
Implementing volume rendering using 3D texture slicing
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing volume rendering using single-pass GPU ray casting
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing pseudo-isosurface rendering in single-pass GPU ray casting
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing volume rendering using splatting
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing transfer function for volume classification
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing polygonal isosurface extraction using the Marching Tetrahedra algorithm
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing volumetric lighting using the half-angle slicing
Getting ready
How to do it…
How it works…
There's more…
See also
8. Skeletal and Physically-based Simulation on the GPU
Introduction
Implementing skeletal animation using matrix palette skinning
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing skeletal animation using dual quaternion skinning
Getting ready
How to do it…
How it works…
There's more…
See also
Modeling cloth using transform feedback
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing collision detection and response on a transform feedback-based cloth model
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing a particle system using transform feedback
Getting ready
How to do it…
How it works…
...

Inhaltsverzeichnis