10. iOS and OpenGL
OpenGL ES 1.1 supported everywhere
OpenGL ES 2.0 supported starting with iPhone 3GS (2009)
EAGLView and Xcode template
Demo
Performance Tools
Apple sample (there is a template!)
11. 3D Modeling
Modeling and Animation
Plethora of formats (Wavefront OBJ, POD, Collada, Maya)
Applications:
Commercial, or
blender
Thriving marketplaces for models
12. blender
Front View Numpad-1
Back View Control-Numpad-1
Left Side View Numpad-3
Right Side View Control-Numpad-3
Top View Numpad-7
Bottom View Control-Numpad-7
Rotate Model Numpad-2, 4, 6, 8
Move Model Control-Numpad-2, 4, 6, 8
Zoom Model Numpad-Plus and Numpad-Minus
Toggle Perspective/Orthogonal Numpad-5
Toggle Model/Camera View Numpad-0
13. blender
!! User preference to “Emulate 3-button mouse”
RMB = Two-finger click on track pad
Fine control is difficult with mouse or trackpad
Multi-touch Trackpad
Rotate Model Two finger rotate
Move Model Two finger drag
Zoom Model Two finger pinch
20. OpenGL ES for iOS
Robert Altman
Software Entrepreneur
Altman Software Design, LLC
Lead iOS Developer, Telvent DTN
robert@AltmanSoftwareDesign.com
@mStyle
www.inquinity.com
Resources, presentation, and other links
will be posted on blog
Notes de l'éditeur
\n
\n
\n
1. OpenGL: hardware optimized display layer\n2. Desktop vs. Mobile\n3. Different generations\n4. Fixed function simpler\n5. Programmable more powerful\n6. Security Questions: Graphics a the new viruses.\n\n
OpenGL on desktop platforms\n
OpenGL ES on mobile platforms\n\nSubset of OpenGL\n\nPhone7 supports Direct3D\n
Surfaces are defined by vertices\nSurface normals define which way a surface is facing\nSpecialized structure allow re-use of vertices to minimize data size\nTextures are samples of material which are applied to surfaces\n\nMain operations: Translation, Rotation, Scaling.\nLighting: sources, position, intensity, color, type\n\n
Surfaces are defined by vertices\nSurface normals define which way a surface is facing\nSpecialized structure allow re-use of vertices to minimize data size\nTextures are samples of material which are applied to surfaces\n\nMain operations: Translation, Rotation, Scaling.\nLighting: sources, position, intensity, color, type\n\n
Demo apps\nWritten by Nate Robins, http://user.xmission.com/~nate/tutors.html\nOld Projects\nSource in C (Visual Studio 6, Visual Studio.NET, OS/X (PowerPC)\n