Created
February 6, 2019 08:41
-
-
Save matteopic/cba7a7ae102b71a7dada28d56ffd62b9 to your computer and use it in GitHub Desktop.
Massive convert .dae to .gltf using COLLADA2GLTF.exe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
echo ### CONVERSIONE DAE/GLTF ### | |
SET DIR=%~dp0 | |
:Loop | |
IF "%~1"=="" GOTO END | |
SETLOCAL | |
CD "%~dp1" | |
echo Creating file "%~n1.gltf" | |
"%DIR%\COLLADA2GLTF-bin.exe" -i "%1" -o "%~dp1%~n1.gltf" -v 2.0 | |
ENDLOCAL | |
SHIFT | |
GOTO Loop | |
:END | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
.dae
files over this bat file