3ds question?
3ds question?
Can i use 3ds Studio Max and Export it to 3ds file to make "world map"?
if i can ,how much complex 3ds can do?,how many texture 3ds can use ?
thank
if i can ,how much complex 3ds can do?,how many texture 3ds can use ?
thank
I'm using 3ds files for my progs...
You can use as much textures as you whant, with 3ds, they all have to be placed in the same folder as the mesh and must be in old DOS style (8.3 letters) !!!
But you can't export lights and animations in 3ds files - but only the textured mesh !!! You have to place the lights in Irrlicht on your own, but that's with all 3d formats you can use in Irrlicht...
CU, Acki
You can use as much textures as you whant, with 3ds, they all have to be placed in the same folder as the mesh and must be in old DOS style (8.3 letters) !!!
But you can't export lights and animations in 3ds files - but only the textured mesh !!! You have to place the lights in Irrlicht on your own, but that's with all 3d formats you can use in Irrlicht...
CU, Acki
-
- Posts: 41
- Joined: Mon Feb 16, 2004 7:37 pm
in sample i only see use 3ds file with only one texture and i see
in ISceneNode::setMaterialTexture Function only set texture if id < 2
i need to know...
how can i code to use 3ds file with 4 texture?
if can,which program use to edit 3ds file ( can i use 3dsMax 6?)
in ISceneNode::setMaterialTexture Function only set texture if id < 2
i need to know...
how can i code to use 3ds file with 4 texture?
if can,which program use to edit 3ds file ( can i use 3dsMax 6?)
Code: Select all
scene::IAnimatedMesh* mesh = smgr->getMesh(
"../../media/room.3ds");
smgr->getMeshManipulator()->makePlanarTextureMapping(
mesh->getMesh(0), 0.008f);
scene::ISceneNode* node = 0;
node = smgr->addAnimatedMeshSceneNode(mesh);
node->setMaterialTexture(0,driver->getTexture("../../media/wall.jpg"));
You don't have to load the textures separatly with 3ds files !!!
Irrlicht loads all nessesary texture files of the 3ds mesh !!!
Just load the mesh and be sure all textures are in the same folder !!!
Texture files have to be in old DOS style (8 letters bevore dot and 3 letters after dot: e.g. texture1.bmp) !!!
That's all !!!
CU, Acki
Irrlicht loads all nessesary texture files of the 3ds mesh !!!
Just load the mesh and be sure all textures are in the same folder !!!
Texture files have to be in old DOS style (8 letters bevore dot and 3 letters after dot: e.g. texture1.bmp) !!!
That's all !!!
CU, Acki
can u tell me why SpecialFX sample MUST have this line ?
and i want to know what i need to setup 3dsMax to export 3ds file too.
thank
Code: Select all
node->setMaterialTexture(0,driver->getTexture("../../media/wall.jpg"));
thank
There is a post on the advanced forum about 3DS meshs taking up huge amounts of memory, the more complex it is, so be careful. Monitor the memory usage of your program, with the task manager in windows (ctrl+alt+del)
It's a bug (well, more an inefficiency) that Niko is working on. He's starting with .X files though, since he considers them the most important (and they are - they can do everything a game needs).
So use .X files if you can.
It's a bug (well, more an inefficiency) that Niko is working on. He's starting with .X files though, since he considers them the most important (and they are - they can do everything a game needs).
So use .X files if you can.
Domarius, you probably misunderstood something. Homer wrote here
http://irrlicht.sourceforge.net/phpBB2/ ... ry&start=0 that changing to .x nothing changed (330MB vs 300MB).
By the way - in my programs I use .3ds and I've never noticed the problems with memory consumption...
http://irrlicht.sourceforge.net/phpBB2/ ... ry&start=0 that changing to .x nothing changed (330MB vs 300MB).
By the way - in my programs I use .3ds and I've never noticed the problems with memory consumption...
Hm, thanks for pointing that out - but the reason I beleive that is because
I'd like to know for sure though, but I'm suspecting that its a problem that affects all files for the moment.
So it sounds like a problem that affects all files, and nobody's noticed cause they either haven't been looking at the memory usage, or haven't reached a stage in their project development that they start loading really complex models.Caecus wrote:Irrlicht also does nasty stuff to md2's. Check out hellow world example it uses over 20 megs of memory for a 500k file.
The reason behind this is irrlicht is storing full vertex coords basicalyl for every frame (along with normals). The md2 format itself cuts out a lot of this and uses scalers and such to make each vert only 3 bytes. Irrlichts verts end up being more like 20 I think.
I'd like to know for sure though, but I'm suspecting that its a problem that affects all files for the moment.