Get Updates By E-mail 

Graphics

Tutorial: Texturing 3D Objects In OpenGL ES 2.0

  •  
  •  
  •  
  •  
  •  

OpenGL ES is a topic that I’ve posted about many times on this site, and I’ve been trying to keep a categorized list of OpenGL ES tutorials up to date with every OpenGL ES tutorial I’ve seen.  There have not been too many OpenGL ES 2.0 tutorials to date that go beyond the absolute basics.

Previously I mentioned a good series on OpenGL ES 2.0 that gave a great overview on beginner through advanced topics with some sample code.  I also mentioned a great hands on beginners OpenGL ES 2.0 tutorial from Ray Wenderlich, the creator of the Space Game Starter Kit and co-author of the Learning Cocos2D book,.

Ray has continued on with his tutorial series, and added another tutorial explaining how to texture objects in OpenGL ES 2.0 on iOS devices.  Texturing may sound like something simple, but the process of loading in the textures, and extracting the data from memory makes things somewhat stick on the iPhone and iPad.

You can find the tutorial here:
OpenGL ES 2.0 for iPhone Tutorial Part 2: Textures

Definitely some very handy snippets of code if you ever need to do your own texturing in OpenGL ES 2.0.

Added To The: Categorized OpenGL ES Tutorial Collection


  •  
  •  
  •  
  •  
  •  

Core Animation: Simplified Animation Techniques – Book Review

  •  
  •  
  •  
  •  
  •  

Core Animation is a topic that I’ve brought up a few times showing some code snippets for simple animation effects, and talking about how it could be used in simple games.  Unfortunately the amount of material available covering Core Animation has been somewhat lacking, and nothing  especially specifically covering iPhone OS 3.  Fortunately Core Animation: Simplified Animation Techniques For Mac And iPhone Development was released in Late 2009 that covers this topic in more depth.

Now as the title suggests this book teaches you the techniques for performing animation using Apple’s Core Animation libraries.  If you’d like to know specifically what is in the book you can go here and use the search inside this book link to search the book and read the table of contents. The book teaches you through a series of examples that perform specific tasks.  I liked the straightforwardness of the approach, but I would say that this isn’t a book for beginners.  At the very least you will want to have a good understanding of Objective-C, and a basic understanding of the patterns used in Cocoa and Cocoa Touch.  I liked the layout and organization book which makes it useful as a reference.  Something to note is that this book is not specifically an iPhone book, and most of the examples use the Mac and some Mac only topics such as Core Image are covered in the book.

Pros

  • Well laid out, makes a good reference book
  • Covers differences between Mac and iPhone Core Animation
  • Examples are very goal oriented which is good if you have a specific task to perform

Cons

  • Not specifically an iPhone book
  • Requires knowledge of Objective-C and Mac or iPhone programming
  • Some more comments in the code examples would be nice

Overall, I’d say that this is a good Core Animation reference book, or for teaching yourself the principles of Core Animation.  If you’re an absolute beginner you’ll want to make sure you have a thorough understanding of Objective-C and the basics of using Cocoa Touch.  The examples are very well thought out, and if you’re looking to do something specific you’ll probably find it in this book along with some sample code.  The fact that most of the examples are Mac isn’t really a big deal, in the future the extra pages on topics like Core Image may turn into a positive if those libraries are added to the iPhone OS.

The book can be ordered here at $9.90 off the retail price.


  •  
  •  
  •  
  •  
  •  

iPhone Vector Art For User Interfaces And More

  •  
  •  
  •  
  •  
  •  

I’ve been asked a few times if I had any iPhone vector art for creating user interfaces, and custom toolbars because of some posts that I made when first starting this website.  There are many vector art collections, and here is what I use, especially if they are trying to design an interface to use with a Javascript based toolkit like Phonegap.  I’m no artist, but this is generally what I point people to who are looking to create an iPhone interface, especially those without macs.

All the artwork listed below.

Some user interface iPhone vector art created for Photoshop:

Iphone interface PSD file
http://320480.com/

Geoff Teehan iPhone GUI PSD
http://www.teehanlax.com/blog/?p=447

iPhone PSD Vector Kit
http://www.smashingmagazine.com/2008/11/26/iphone-psd-vector-kit/

Stencils Are Here:

Numerous design stencils including the iPhone from Yahoo:
http://developer.yahoo.com/ypatterns/about/stencils/

iPhone Stencil Graffletopia
http://graffletopia.com/stencils/413

Toolbar Art:

Glyphish – Toolbar
http://glyphish.com/

This is a great resource for all sorts of clip art, available in all forms.

Open Clip Art Library
http://openclipart.org/

This is a decent freeware editor that supports the SVG format, and runs on Mac, Windows, and Linux.

Inkscape Vector Art Library
http://www.inkscape.org

My recommended app for creating iPhone interfaces and using this iPhone vector art is OmniGraffle, because it’s got such a low learning curve, but of course Photoshop, Adobe Illustrator or Fireworks also work well.

 


  •  
  •  
  •  
  •  
  •  

Doing Some iPhone Game Programming

  •  
  •  
  •  
  •  
  •  

Just in case there’s any graphics designers interested, I have finally finished off some more of the contract work, and with a lighter load, my next ambition is to do some iPhone game programming.

My intent is to develop a number of iPhone games in a short amount of time.  Ultimately all will be open sourced, released as 0.99 cent or free games, and have coinciding tutorials written.  I actually created a very simple game this evening in a couple of hours that could already use the styling of an artist.  I’ve planned out the next few games, and they shouldn’t take to long, all the games will be 2D, the first few written wiith Cocoa, and the rest using Cocos2D.

So just in case there’s any graphic artists out there reading interested in the possibility of some publicity and possibly profit from iPhone graphics work feel free to contact me.  Please understand that my intent with the games is for publicity, although I do believe future work customizing/rebranding these games is possible after talking with a few peers.

Thanks for reading.


  •  
  •  
  •  
  •  
  •  

iPhone OpenGL ES 3D Collision Detection Tutorials

  •  
  •  
  •  
  •  
  •  

Simon Maurice, has added two new tutorials to his collection of iPhone OpenGL ES Tutorials which I mentioned on my iPhone OpenGL ES resources page.

Tutorials:
1. Collision Detection
2. Collision Detection 2: Moller & Trumbore’s Fast Triangle Ray Intersect

**** Tutorials are currently deactivated they may be back in the future (due to contract issues with the Author and employer).

I haven’t had a chance yet to check these out, but they look fantastic.  Just looking from the pictures I can see that they are damn cool.


  •  
  •  
  •  
  •  
  •