iOS GLKit Muckery
Switch branches/tags
Nothing to show
Failed to load latest commit information.
Cube.xcodeproj initial revision Feb 22, 2012
Cube initial revision Feb 22, 2012
README.txt added link to original project from which this was derived Feb 23, 2012


By Peter R. Elespuru

tap             = toggle texture
double tap      = toggle lighting
pinch i/o       = zoom in/out
2finger rotate  = cycle through available textures 
APPLE + ->      = rotate right
APPLE + <-      = rotate left

open the Xcode project, build and run

I uploaded a video of it in action here as well:

I started with a simple 3rd party colored cube built using GLKit, attributions in the code
as well, but here's its GitHub project

I modified it to add multi-touch gesture support, lighting, textures, and texture

The lighting isn't perfect, some of the normal calculations are off, but that's more
a model+normals issue than the actual use of GLKit for doing the lighting, so I
haven't gotten around to resolving the normal calculations so they're perfect. It's
close enough to get the point across.