I’ve mentioned the Cocos3D project that adds a full 3D modelling space to the Cocos2D environment.
Unfortunately as of yet Cocos3D does not support Cocos2D v2+, and there has been a lot of discussion about loading 3D models within Cocos2D.
Today I came across an example demonstrating how to do just that. This example provides a sample application rendering a Wavefront 3D obj model along with rotation, zooming, and movement transformations.
Here’s an image from the thread showing the example in action:
You can find and download the example through this thread in the Cocos2D iPhone forums.
In the example project you’ll see how an object can be loaded and rotated, and you can also swipe along the lines on each side to zoom in and move the object.
- Tool: Flash Timeline Style Animation Editor For Cocos2D-iPhone and Cocos2D-X games
- A Quick Explanation of MVC
- Example: Applying The Backbone.js View Concepts To An iOS UIView With Objective-C
- Library To Quickly Turn A Map Kit MapView Into A 3D Augmented Reality Map View
- Open Source JSON Based Data Model Framework
Original article: Example: Displaying A 3D .OBJ Model In Cocos2D iPhone v2.x (W/Zooming, Rotation, And Movement)
©2013 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.






