GithubHelp home page GithubHelp logo

elespuru-glkit's Introduction

By Peter R. Elespuru

controls:
------------------------------------------------------------------------------
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

summary:
------------------------------------------------------------------------------
open the Xcode project, build and run

I uploaded a video of it in action here as well:
http://youtu.be/cC_kSiKNxLQ

I started with a simple 3rd party colored cube built using GLKit, attributions in the code
as well, but here's its GitHub project https://github.com/ianterrell/GLKit-Cube-Tutorial

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

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.

elespuru-glkit's People

Contributors

elespuru avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.