AlexL wrote:
On Linux and OSX absolute pathnames start with "/", so ColladaConv bails out at the very start, because it wants the first arg to be a non-option value, which windows-like start with a "/" as well. Former versions of ColladaConv used to have "-" as option value.
Good point, this needs to be changed again for cross-platform support.
AlexL wrote:
Not sure if I understood all the options correctly like "/base" and "/dest"
We have yet to update the documentation but here is the intended usage in a nutshell.
The dest path is the directory to which the output is written. The base path specifies the path where your collada files are located (your repository). The input file or directory is relative to the specified base path. The idea is that ColladaConv will recreate the hierarchy under the base path and use that for cross-references of composite resources (a model scene file for example references materials and a geo resource). If you want to use absolute paths, you should always specify a base path.
The following works under Windows:
Code:
ColladaConv models/man/man.dae /base C:\MyRepository /dest C:\MyContentFolder
This will convert the asset
C:\MyRepository\models\man\man.dae and write the output to
C:\MyContentFolder\models\man\. All resource references for the asset are using the path
models/man, for example the scene.xml file references the resource
models/man/man.geo