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:
- To write some script to convert .dae collada file into the .obj file? With so many .obj files as layers count in collada file. And switching between this objects will be imitation of adding/removing layers.
- Or may be using OpenSceneGraph framework, convert collada into .osg or .ive? I don't know yet how OSG works with layers.
Could you give some advice, where to move in this situation? Or perhaps there is the way I don't see.