Search found 18 matches

by Azert
Thu Feb 22, 2007 10:58 am
Forum: Beginners Help
Topic: probably a lame question, but...
Replies: 8
Views: 358

I'm also new to Irrlicht, but I had some problems with textures myself: the textures couldn't load if they were in an other directory than the one the mesh is in. Also, if I made a level or mesh and I added textures, I use the textures from the same directory I wanted to store the mesh. And also som...
by Azert
Wed Feb 21, 2007 10:50 am
Forum: Beginners Help
Topic: Two meshes, one collision.
Replies: 3
Views: 358

I've tried the metaTriangleSelector the best I could (I'm a dissaster when it comes to programming) but he gives two errors: on line 60 and 75: "invalid conversion from 'irr::scene::ITriangleSelector*' to 'irr::scene::IMetaTriangleSelector*'... So I have somehow te replace metaTriangleSelector?...
by Azert
Tue Feb 20, 2007 7:48 pm
Forum: Beginners Help
Topic: Tutorial 2 and 7 help
Replies: 25
Views: 813

Thanks all works fine now :)
by Azert
Tue Feb 20, 2007 7:35 pm
Forum: Beginners Help
Topic: Two meshes, one collision.
Replies: 3
Views: 358

Two meshes, one collision.

I've heard that there's only a limited polygon maximum on each mesh so I tried a code (actually the collision tutorial) that loads two meshes. The meshes are no problem and they load, but one of them has no collision, I just fall through. I've entered the code, the land2.obj file is the one who has ...
by Azert
Tue Feb 20, 2007 6:06 pm
Forum: Beginners Help
Topic: Tutorial 2 and 7 help
Replies: 25
Views: 813

I tried also some other texture formats and all the results are the same: transparant (even with the ones from Irrlicht).

So how do you set them to solid?
by Azert
Mon Feb 19, 2007 5:39 pm
Forum: Beginners Help
Topic: Tutorial 2 and 7 help
Replies: 25
Views: 813

I think I found the problem, it's the TGA texture, so I should take some other texture files.
by Azert
Mon Feb 19, 2007 4:29 pm
Forum: Beginners Help
Topic: Tutorial 2 and 7 help
Replies: 25
Views: 813

The texture is a TGA one (a default land texture from Morrowind, not that that matters), I've also placed the texture in the same directory.

It's not that they're completly transparant: I can see the textures of the wall behind the wall I currently look at.
by Azert
Mon Feb 19, 2007 3:27 pm
Forum: Beginners Help
Topic: Tutorial 2 and 7 help
Replies: 25
Views: 813

Line works fine now, and I got light, wich reveals a new issue: the level is transparant... :?

I don't see anything in the code that could make it transparant (and if there was some line: the quake map should be also transparant wich is not...), and I also checked the normals and textures.
by Azert
Sun Feb 18, 2007 8:45 pm
Forum: Beginners Help
Topic: Tutorial 2 and 7 help
Replies: 25
Views: 813

Again a noob question where do I need to put that line?, I tried beneath "node->setPosition(core::vector3df(0,0,0));" but it doens't compile.

About the .irr file I indeed didn't use that function (tutorial 15).
by Azert
Sun Feb 18, 2007 2:16 pm
Forum: Beginners Help
Topic: Tutorial 2 and 7 help
Replies: 25
Views: 813

Well the problem was a LOT simpler than a wrong origin, I only needed to MOVE a bit :?

I still need to find a way to add light...

I exported the mesh to IrrEdit and placed a light but when I tried to run the map.irr file it says it does not support that file... O.o
by Azert
Sun Feb 18, 2007 2:03 pm
Forum: Beginners Help
Topic: Tutorial 2 and 7 help
Replies: 25
Views: 813

Problem solved: got the mesh on screen.

It's only covered in black so I'll need to add some lights (read something about in other topics), now I only need to try collisions.

By the way: thanks a lot
by Azert
Sun Feb 18, 2007 1:50 pm
Forum: Beginners Help
Topic: Tutorial 2 and 7 help
Replies: 25
Views: 813

Allright that clears one problem :)

But I still get an empty screen, no mesh.
by Azert
Sun Feb 18, 2007 1:44 pm
Forum: Beginners Help
Topic: Tutorial 2 and 7 help
Replies: 25
Views: 813

(Sorry, first time I tried to enter a code) I think this is the part where I need to "correct" something: scene::IAnimatedMesh* mesh = smgr->getMesh("../../media/map.obj"); scene::ISceneNode* node = 0; if (mesh) node = smgr->addOctTreeSceneNode(mesh->getMesh(0)); But I have no id...
by Azert
Sun Feb 18, 2007 1:41 pm
Forum: Beginners Help
Topic: Tutorial 2 and 7 help
Replies: 25
Views: 813

I think this is the part where I need to "correct" something: [ scene::IAnimatedMesh* mesh = smgr->getMesh("../../media/map.obj"); scene::ISceneNode* node = 0; if (mesh) node = smgr->addOctTreeSceneNode(mesh->getMesh(0));] But I have no idea what I need to do with the OctTree, Sc...
by Azert
Sun Feb 18, 2007 1:24 pm
Forum: Beginners Help
Topic: Tutorial 2 and 7 help
Replies: 25
Views: 813

Allright found one error: a wrong name... (stupid mistake), but now I've got a new one... When it runs it says:

Loaded mesh.: ../../media/map.obj
Needed 3ms to create OctTree SceneNode.(35 nodes, 782 polys)

For what stands that OctTree?