COLLADA File Path Issue

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
kklouzal
Posts: 343
Joined: Sun Mar 28, 2010 8:14 pm
Location: USA - Arizona

COLLADA File Path Issue

Post 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
Dream Big Or Go Home.
Help Me Help You.
CuteAlien
Admin
Posts: 9651
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: COLLADA File Path Issue

Post by CuteAlien »

Which version of Irrlicht is this? Asking because texture-loading has been rewritten in svn trunk since Irrlicht 1.8.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
kklouzal
Posts: 343
Joined: Sun Mar 28, 2010 8:14 pm
Location: USA - Arizona

Re: COLLADA File Path Issue

Post by kklouzal »

It's using 1.8.1
Dream Big Or Go Home.
Help Me Help You.
CuteAlien
Admin
Posts: 9651
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: COLLADA File Path Issue

Post 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.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply