Jumat, 17 Juli 2009

Fixed & Improved Blender Export Script

The Blender Objective-C Export Script script has been updated to fix some problems, and to use interleaved data structures. There's a sample project, complete with a (cheap & dirty) texture, the source Blender project and the UV template for the ship.



It's intended to be used with my my OpenGL ES Xcode Template, as it uses data structures that are declared in OpenGLCommon.h.

This version also gives you the code you need to use to draw it, except for loading and binding the texture, although you can see from the sample project that doing that is easy if you use the OpenGLTexture2D class included with the project.

Note:The Texture2D class doesn't currently deal with the y-axis inversion problem, so flip your textures vertically before exporting.

0 komentar:

Posting Komentar

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Lady Gaga, Salman Khan