Cannot load *.3ds

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
darkwizard
Posts: 1
Joined: Sat Jan 06, 2007 8:58 am

Cannot load *.3ds

Post by darkwizard »

Hi all. First - sorry for my poor english.
Problem - irrlicht 1.2 don't load *.3ds. First lesson from examples (hello, world), 2 strings were changed
IAnimatedMesh* mesh = smrg->getMesh("test.3ds");
and
node->setMaterialTexture( 0, driver->getTexture("test.bmp") );
I have empty window with my text. In console I have
Loaded mesh: test.3ds
Loaded texture: map.bmp
May be I exported it wrong from 3ds max?

Update - This problem is also for maya .obj
I think I do something wrong
stef_
Posts: 53
Joined: Tue Apr 18, 2006 9:39 pm
Contact:

Post by stef_ »

Mhm, you say:
> node->setMaterialTexture( 0, driver->getTexture("test.bmp") );
and then:
> Loaded texture: map.bmp
temp.bmp and map.bmp are two different images.

Have you tried to open it in 09.Meshviewer example?

Bye
hybrid
Admin
Posts: 14144
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I'd guess that the mesh is not UV mapped. Without texture coords it won't be textured whatever you do.
Post Reply