Reputation: 75
The project I am working on is the augmented reality Android app. I need to display 3D objects in any way using Collada file format (.dae). The client want to use Collada because it is easy to export 3D projects into this format and .dae supports layers system. Unfortunately, the libraries and frameworks I use doesn't support .dae format in any way (ARToolkit and Android SDK + NDK). And it is not adviced to work with such files on the mobile phone. Supported formats are simple .obj and OpenSceneGraph formats (.ive, .osg, .osgb). They are displayed in the Android using OpenGL ES directly, or using OpenSceneGraph framework. I am quietly frustrated and don't know which way to choose:
Could you give some advice, where to move in this situation? Or perhaps there is the way I don't see.
Upvotes: 3
Views: 3403
Reputation: 472
DAE/COLLADA is a content creation format, but NOT a good final distribution format.
Authoring tools work with DAE, but you shouldn't use it in your final runtime. When the file is finished being designed, use a build of OSG that was compiled on a PC to convert DAE to OSGB (or IVE) and distribute THAT. It's much easier to load.
The dependent libraries needed by the OSG COLLADA loader are very hard to build on Android or iOS.
Upvotes: 1
Reputation: 3996
Yes, on mobile you should use .obj, which is much faster to load due to its nature.
Never used collada, but the first entry when searchin on Google sounds like a good idea: http://www.greentoken.de/onlineconv/
Upvotes: 0