You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.5 KiB
33 lines
1.5 KiB
10 years ago
|
GLEssentials
|
||
|
|
||
|
================================================================================
|
||
|
DESCRIPTION:
|
||
|
|
||
|
This sample provides an example of some of the techniques described in the
|
||
|
"OpenGL Essential Design Practices" WWDC 2010 session. There are usages of
|
||
|
Vertex Buffer Objects (VBOs), Vertex Array Objects (VAOs), Framebuffer Objects
|
||
|
(FBO), and GLSL Program Objects. It creates a VAO and VBOs from model data
|
||
|
loaded in. It creates a texture for the model from image data and GLSL shaders
|
||
|
from source also loaded in. It also creates an FBO and texture to render a
|
||
|
reflection of the model. It uses an environment mapping GLSL program to apply
|
||
|
the reflection texture to a plane. This sample also demonstrates sharing of
|
||
|
OpenGL ES source code for iPhone OS and OpenGL source code for OS X.
|
||
|
Additionally, it implement fullscreen rendering, retina display support, and
|
||
|
demonstrates how to obtain and use an OpenGL 3.2 rendering context on OS X.
|
||
|
|
||
|
================================================================================
|
||
|
BUILD REQUIREMENTS:
|
||
|
|
||
|
Mac version: Mac OS X v10.6 or later, Xcode 3.1 or later
|
||
|
iOS version: iOS SDK 4.0 or later
|
||
|
|
||
|
================================================================================
|
||
|
RUNTIME REQUIREMENTS:
|
||
|
|
||
|
Mac version: Mac OS X v10.6 or later
|
||
|
Mac version: Mac OS X Lion or later to use OpenGL 3.2
|
||
|
iOS version: iOS 4.0 or later (with OpenGL ES 2.0 support)
|
||
|
|
||
|
================================================================================
|
||
|
Copyright (C) 2010~2013 Apple Inc. All rights reserved.
|