Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression: Relative paths are not resolved in 2.1.3 #200

Closed
apptaro opened this issue Jul 20, 2018 · 4 comments
Closed

Regression: Relative paths are not resolved in 2.1.3 #200

apptaro opened this issue Jul 20, 2018 · 4 comments
Labels

Comments

@apptaro
Copy link

apptaro commented Jul 20, 2018

I have two files:

D:\pathTo\model.dae
D:\pathTo\texture1.jpg

In model.dae, we have:

<library_images>
  <image id='texture1-image' name='texture1'>
    <init_from>./texture1.jpg</init_from>
  </image>
</library_images>

and COLLADA2GLTF-v2.1.3-windows-Release-x64 shows the error like this:

D:\dir>COLLADA2GLTF-bin.exe -i "D:\pahtTo\model.dae" -o "D:\pathTo\model.gltf" -v 2.0
Converting D:\pathTo\model.dae -> D:\pathTo\model.gltf
WARNING: Image uri: .\texture1.jpg could not be resolved
Time: 10 ms

D:\dir>

COLLADA2GLTF-v2.1.2-windows-Release-x64 worked without this issue:

D:\dir>COLLADA2GLTF-bin.exe -i "D:\pahtTo\model.dae" -o "D:\pathTo\model.gltf" -v 2.0
Converting D:\pathTo\model.dae -> D:\pathTo\model.gltf
Time: 5 ms

D:\dir>
@lasalvavida
Copy link
Contributor

lasalvavida commented Aug 5, 2018

This will be fixed, one note though: this only occurs if you specify the input path as an absolute path.

So for example:

COLLADA2GLTF-bin.exe pathTo/model.dae

will convert correctly.

This also only occurs on windows by the looks of things.

edit: Correction - this was the case in wine - but this also appears to break on relative paths on a real windows machine.

@lasalvavida
Copy link
Contributor

This should be fixed in #202

@apptaro
Copy link
Author

apptaro commented Aug 15, 2018

@lasalvavida Thank you, I will try it if I can download Win64 build :)

@lasalvavida
Copy link
Contributor

lasalvavida commented Aug 30, 2018

Resolved in 2.1.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants