You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
work fine on just skl,skn and animation. But using with--textures and --materials, there are always a lot of strange errors. I think it's because there is something wrong with my parameter format?
PS F:\GameAssets> .\lol2gltf.CLI.exe skn2gltf -m F:\GameAssets\EZ\assets\characters\ezreal\skins\base\ezreal_base.skn -s F:\GameAssets\EZ\assets\characters\ezreal\skins\base\ezreal_base.skl -a F:\GameAssets\EZ\assets\characters\ezreal\skins\base\animations\ --textures F:\GameAssets\EZ\assets\characters\ezreal\skins\base\ -g ./ezreal.glb
Unhandled exception. System.InvalidOperationException: Material name count and Animation path count must be equal
at lol2gltf.CLI.Program.ConvertSkinnedMeshToGltf(SkinnedMeshToGltfOptions options) in D:\a\lol2gltf\lol2gltf\lol2gltf.CLI\Program.cs:line 46
PS F:\GameAssets> .\lol2gltf.CLI.exe skn2gltf -m F:\GameAssets\EZ\assets\characters\ezreal\skins\base\ezreal_base.skn -s F:\GameAssets\EZ\assets\characters\ezreal\skins\base\ezreal_base.skl -a F:\GameAssets\EZ\assets\characters\ezreal\skins\base\animations\ --textures F:\GameAssets\EZ\assets\characters\ezreal\skins\base\ --materials M_Ezreal_base -g ./ezreal.glb
Unhandled exception. System.IO.DirectoryNotFoundException: Could not find a part of the path 'F:\GameAssets\EZ\assets\characters\ezreal\skins\base\'.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
My file structure is as follows:
F:\GameAssets\EZ\assets\characters\ezreal\skins\base\
animations\
ezreal_attack1.anm
...
ezreal_base.skl
ezreal_base.skn
ezreal_base_idol_tx_cm.dds
ezreal_base_tx_cm.dds
2x_ezreal_base_idol_tx_cm.dds
2x_ezreal_base_tx_cm.dds
4x_ezreal_base_idol_tx_cm.dds
4x_ezreal_base_tx_cm.dds
The text was updated successfully, but these errors were encountered:
The first error: Material name count and Animation path count must be equal
Basically --materials defines the material names and then --textures defines the textures for those materials in the same order.
The first error: Material name count and Animation path count must be equal Basically --materials defines the material names and then --textures defines the textures for those materials in the same order.
work fine on just skl,skn and animation. But using with--textures and --materials, there are always a lot of strange errors. I think it's because there is something wrong with my parameter format?
My file structure is as follows:
F:\GameAssets\EZ\assets\characters\ezreal\skins\base\
The text was updated successfully, but these errors were encountered: