iDevGames Forums
Objective-C Collada Importer - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: Objective-C Collada Importer (/thread-2033.html)



Objective-C Collada Importer - DoG - Dec 16, 2008 05:19 AM

I've written a basic Collada importer for my uDG08 project, is anybody else interested? It's far from feature completey, with no support for materials or animation, for example (yet), but it might be a good starting point for loading 3D assets, certainly beats having to deal with .obj files. What it does do, however, is creating triangle meshes that can be efficiently displayed via OpenGL.


Objective-C Collada Importer - Man With No Name - Dec 16, 2008 06:41 AM

Sure. I wrote a .obj loader using NSScanner a while back, but it didn't import everything, plus .obj is a pain in the butt to work with.


Objective-C Collada Importer - DoG - Feb 9, 2009 04:01 AM

So, I've finally got myself to package up the Collada stuff. Source can be found at:
http://monkeyinthejungle.net/udg08/collada-viewer.tar.bz2

It's a simplistic Collada viewer, the viewer is really just to show that the Collada loading works, so don't bite my head off for it being crappy Wink. The project requires Leopard due to garbage collection being enabled, but things should be easily adaptable for a non-GC app. Cheers.


Objective-C Collada Importer - skumancer - Feb 27, 2009 01:35 AM

I have a question, when I do File>Open and select a .dae file, what should I expect to get on the screen? Right now I'm getting a black screen.