3 basics!

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
Enxaqueca

3 basics!

Post by Enxaqueca »

How can i use more than one 3ds file? my exemple code
scene::IAnimatedMesh* mesh = smgr->getMesh(
"floor.3ds");

smgr->getMeshManipulator()->makePlanarTextureMapping(
mesh->getMesh(0), 0.02f);

scene::ISceneNode* node = 0;
node = smgr->addAnimatedMeshSceneNode(mesh);
node->setMaterialTexture(0, driver->getTexture("floor.bmp"));
node->setPosition(core::vector3df(0,30,30));
node->getMaterial(0).EmissiveColor.set(150,150,150,0);
Whats the diferece between mash and node?

How to define fullscreen?

thanks guys :wink: :lol:
Munku
Posts: 66
Joined: Tue Nov 30, 2004 4:04 pm

3 Answers

Post by Munku »

1) Hell yes. Just load another mesh, add another node

2) Second boolean in the createDevice()

3) A mesh is a 3D object. A node is a spot on a binary tree (by word-definition) definining one segment of a scene
Umm, don't look at me that way. I'M not the dead one here.

--The One True Marshmellow
Munku
Posts: 66
Joined: Tue Nov 30, 2004 4:04 pm

3 Answers

Post by Munku »

1) Hell yes. Just load another mesh, add another node

2) Second boolean in the createDevice()

3) A mesh is a 3D object. A node is a spot on a binary tree (by word-definition) definining one segment of a scene
Umm, don't look at me that way. I'M not the dead one here.

--The One True Marshmellow
Munku
Posts: 66
Joined: Tue Nov 30, 2004 4:04 pm

3 Answers

Post by Munku »

1) Hell yes. Just load another mesh, add another node

2) Second boolean in the createDevice()

3) A mesh is a 3D object. A node is a spot on a binary tree (by word-definition) definining one segment of a scene
Umm, don't look at me that way. I'M not the dead one here.

--The One True Marshmellow
Enxaqueca

3 thanks

Post by Enxaqueca »

thx³.
Munku
Posts: 66
Joined: Tue Nov 30, 2004 4:04 pm

Hmm..

Post by Munku »

Well, apparently three universes collided making three separate and identical posts. Sorry :) :twisted:
Umm, don't look at me that way. I'M not the dead one here.

--The One True Marshmellow
Enxaqueca

im shame

Post by Enxaqueca »

:( my tests didnt work. Can some1 paste here a code for 2 .3ds files? please :oops: :cry: (2 .obj are welcome too)
Post Reply