Another tut in 10 screenshots, My3d crashcourse for 3dsmax

A forum to store posts deemed exceptionally wise and useful
luckymutt
Posts: 453
Joined: Sun Mar 06, 2005 11:56 pm
Location: C-Ville

Post by luckymutt »

michael520 wrote:Iand more, when executing the my3dtut.exe, the command line output saying that can't load some textures such as rocky_lf.jpg...
Because those image files are not in the "data" folder of the my3dtut.exe

Meanwhile, i'll jump back to your other thread in the beginers forum.
Exorcist

Post by Exorcist »

Sir ,

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
boboS
Posts: 188
Joined: Tue Oct 18, 2005 6:36 pm
Location: Romania

Post by boboS »

my3d exporter isnt in Irricht folder ?
As your ship is going down
ll stand by and watch you drown
Guest

Post by Guest »

oops sorry , not checked before
sorry and thanx
Guest

Post by Guest »

i cant export as .my3D

i use Max 7

pls help , the .my3d thing is not in export menu
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

did you copy the "my3d_max7_exporter.dle" that comes with Irrlicht in the "exporters" folder into 3dsmax7's "plugins" folder?

after that you'll get the MY3d export option.
Kapace

My3d exporter

Post by Kapace »

You can also just go to Customize>Plug-in manager> right-click and load new plugin :wink:
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

oh yes, please comment out the skybox lines!!!
the ones that call textures like:
rocky_lf.jpg

in main.cpp

:oops:
iona
Posts: 19
Joined: Mon May 29, 2006 6:29 pm

Post by iona »

afecelis, you're doing a great job !

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.

Thank You !
iona
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

Thanks iona. Glad the tuts I've written and the mumbo-jumbo I post make things easier. Oh yes, and welcome to the forums! :D
nomad
Posts: 53
Joined: Thu Jan 05, 2006 12:35 pm
Location: Wales

Post by nomad »

Thanks afecelis, your MY3D tut was a lifesaver :D :D
Might be worth mentioning you gotta set the Target Map Slot to Diffuse in the render to texture window (that caught me out).
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

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 :wink:

regards,
Alvaro
Terrachild
Posts: 21
Joined: Sun Sep 03, 2006 5:58 am

my3d can't find the texture file

Post by Terrachild »

Thanks for the tut.

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.

Can someone help please.
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

Did you UV map your cube?
Terrachild
Posts: 21
Joined: Sun Sep 03, 2006 5:58 am

Post by Terrachild »

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?
Last edited by Terrachild on Sun Sep 24, 2006 7:56 am, edited 1 time in total.
Post Reply