Objective-C Collada Importer

DoG
Moderator
Posts: 869
Joined: 2003.01
Post: #1
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.
Quote this message in a reply
Member
Posts: 24
Joined: 2008.02
Post: #2
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.
Quote this message in a reply
DoG
Moderator
Posts: 869
Joined: 2003.01
Post: #3
So, I've finally got myself to package up the Collada stuff. Source can be found at:
http://monkeyinthejungle.net/udg08/colla...er.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.
Quote this message in a reply
Nibbie
Posts: 1
Joined: 2009.02
Post: #4
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.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Collada Support in Snow Leopard? AnotherJake 25 12,568 Jun 14, 2009 09:36 AM
Last Post: AnotherJake
  dxf importer maddanio 2 2,304 Mar 14, 2003 12:23 AM
Last Post: griffin239