Terrachild wrote:No I didn't.
I didn't need to for Irrlicht to display the .3ds file I created with the same cube and texture.
When Irrlicht tries to load the .my3d file it prints out in the console:
"Could not open file of texture: " (heart symbol) "chris512.bmp"
The path in the "debug.ase" file says:
*BITMAP "C:\Documents and Settings\Christopher\My Documents\My Pictures\Chris Cartoon\chris512.bmp"
If irrlicht can't find the file, it doesn't look for it in the same directory as the .my3d file, the way it does with a .3ds file?
Not sure what to do.
Update:
I went into the "bin" folder where VB.NET creates the .exe file and started the program from there, instead of starting the program with "Start Debugging" in the IDE. Now the texture displays properly.
Final Update:
This is really quirky.
If I create a folder in the "bin" folder where the .exe is, and move the .my3d file and the texture file into it, then change the path
from:
mesh = device.SceneManager.GetMesh("chris.my3d")
to:
mesh = device.SceneManager.GetMesh("my3d scenes\chris.my3d")
both the .exe, and the IDE find the texture.
Why is this?
First put your texture in folder where your exe will be produced(in my case Debug folder(created it manualy)) and then in 3dsMAX load and aply that texture to mesh(use UVW modifier (if needed) to correct anomalies),
export mesh to the same folder and it will work.


