Is there any open code to get information about COLLADA or OBJ files?
For OBJ Files

Free tools like MeshLab, Blender, and GLC_Player are able to load OBJ files and give you basic information about their content.

Apparently, GLC_Player can also load COLLADA.

In code you can use the following standard tools:


Assimp - Library for loading many common formats including OBJ
TinyObjLoader - .h/.cc only, no external dependencies