I need a source code that takes as input a COLLADA file and/or an OBJ file, and gives as output basic information about the file, such as file size, model dimension, volume and if possible texture issues.
For OBJ Files
Apparently, GLC_Player can also load COLLADA.
In code you can use the following standard tools:
I have written a standalone java program (ObjectVolume) which reads an object file (.obj) and calculates the surface area, centroid and volume of any closed triangular mesh. The program also displays the file name, number of faces, the number of 3D coordinates and program run times. The program is in the public domain and is located at:
Included is a detail description of the process and the code. The source code is included so you can add whatever you like.