Thanx a lot but a problem is there
i don't have my3d exporter , and i tried a lot finding the links , but the links were broken or whatsoever , i do not know . Can u upload it for me and provide me a new link so that i can download the exporter and play with some my own levels built in max. Plz if u can
Thanx
Not only here but on the whole forum.
I'm new to irrlicht and i'm going to do a project with it.
With tons of Your posts on this forum it'll be an easier task.
Thanks afecelis, your MY3D tut was a lifesaver
Might be worth mentioning you gotta set the Target Map Slot to Diffuse in the render to texture window (that caught me out).
right Nomad, thanks for the tip. I presume you're using a newer version than Max5. After max6 you have to do so, in max5 it was set by default. Perhaps that's why I forgot, hehehehe.
Oh yes! also, the set texture path line is not required anymore after Irrlicht 1.0 so you should remove that line or your app will crash.
It's been long ever since I 1st wrote this tut. Perhaps I should update it
I was struggling to get a my3d scene loaded before I found your tut.
I am having a problem though, when I add a texture to a simple cube Irrlicht reports that it can't load the texture. The path looks fine in the debug.ase file created by the exporter, but irrlicht can't find it. I put the texture in the same folder as the my3d file to see if that would help, but it doesn't. I'm using VB.NET if that matters.
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?
Last edited by Terrachild on Sun Sep 24, 2006 7:56 am, edited 1 time in total.