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:
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
COLLADA File Path Issue
COLLADA File Path Issue
Dream Big Or Go Home.
Help Me Help You.
Help Me Help You.
Re: COLLADA File Path Issue
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
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: COLLADA File Path Issue
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.
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
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm