/iphone-3d-programming

sample code from my O'Reilly book

Primary LanguageC

iPhone 3D Samples

Revised May 2010

Get the source code to an individual sample by clicking its screenshot below.

Chapter 1: Quick Start Guide

Chapter 2: Math and Metaphors

Chapter 3: Vertices and Touch Points

Chapter 4: Adding Depth and Realism

Chapter 5: Textures and Image Capture

Chapter 6: Blending and Augmented Reality

Chapter 7: Sprites and Text

Chapter 8: Advanced Lighting and Texturing

Chapter 9: Optimizing


HelloArrow

HelloArrow

HelloCone

HelloCone

TouchCone

TouchCone

SimpleWireframe

ModelViewerSimpleWireframe

VertexLighting

ModelViewerVertexLighting

PixelLighting

ModelViewerPixelLighting

ToonLighting

ModelViewerToonLighting

FancyWireframe

ModelViewerFancyWireframe

ObjViewer

ModelViewerObjViewer

Textured

ModelViewerTextured

TextureFilters

TextureFilters

TextureFormats

TextureFormats

CameraTexture

CameraTexture

TextureAlpha

TextureAlpha

Stencil

TrefoilStencil

FakeStencil

TrefoilFakeStencil

Antialiasing

TrefoilAntialiasing

Jitter

TrefoilJitter

AaLines

AaLines

Clouds

HolodeckClouds

Camera

HolodeckCamera

Fps

KleinFps

Haiku

Haiku

DistanceField

DistanceField

SpriteSheet

SpriteSheet

SpringyStars

SpringyStars

Bumpy

KleinBumpy

Cubemap

KleinCubemap

CrudeBloom

CrudeBloom

GaussianBloom

GaussianBloom

VertexSkinning

VertexSkinning