Page 1 of 1

COLLADA File Path Issue

Posted: Mon Jun 16, 2014 1:21 am
by kklouzal
This may need to be posted in the bugs section however I'm coming here first since I'm not 100% sure.

I've exported a model from 3DS Max using the COLLADA exporter provided with 3DS Max 2014. Upon loading the model into Irrlicht the console is telling me it cannot find the texture's when they are present in the .exe's folder, here's the output:
Image

It starts to look in the correct path for the texture file but then once it hit's the folder where the application.exe is located it tries to go to the original location of the texture file when it was used in 3ds max, basically it's merging two file paths together which obviously wont work.

"C:/Users/Kyle/Documents/Visual Studio 2013/Projects/SmallScale/Release/"
at this point it should then continue the file path to something like "GD_pavers_0002.jpg" however it sticks the original location of the .jpg onto the file path with the "file://" protocol

Re: COLLADA File Path Issue

Posted: Mon Jun 16, 2014 11:19 am
by CuteAlien
Which version of Irrlicht is this? Asking because texture-loading has been rewritten in svn trunk since Irrlicht 1.8.

Re: COLLADA File Path Issue

Posted: Tue Jun 17, 2014 5:35 am
by kklouzal
It's using 1.8.1

Re: COLLADA File Path Issue

Posted: Tue Jun 17, 2014 11:13 am
by CuteAlien
Thanks. I'll move this to bug-reports. If you can try switching to Irrlicht svn trunk.
It would be nice if you can put a test-model with which we can reproduce this online.