Search found 10 matches

by evilbobthebob
Tue Jul 24, 2007 12:03 pm
Forum: Beginners Help
Topic: rendering APIs
Replies: 14
Views: 856

Actually, I find the null device very useful to check whether my meshes and textures are loading properly.
by evilbobthebob
Sat Jul 21, 2007 12:59 pm
Forum: Beginners Help
Topic: IrrEdit, simple collison system
Replies: 1
Views: 431

For an event reciever, look at the mesh viewer.

For the falling through water, maybe you need to add the water as a separate mesh without a triangle selector. I'm not sure. :?
by evilbobthebob
Thu Jul 19, 2007 8:56 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: New X exporter for blender 241!
Replies: 25
Views: 23115

Considering what you've posted, .x seems quite a restricted format :P But anyway, I've found that the Blender exporter seems to have a limit on the length of texture names to 18 characters or so, so caution with material naming is a good idea.
by evilbobthebob
Thu Jul 19, 2007 8:52 am
Forum: Beginners Help
Topic: Demos
Replies: 7
Views: 600

Rofl. Yeah, alt+F4 exits from the demos, but if you want to have a custom key to exit from them you'll have to add an event reciever and then make a key binding which causes the program to exit.
by evilbobthebob
Thu Jul 19, 2007 8:41 am
Forum: Beginners Help
Topic: KwXporter
Replies: 14
Views: 1365

Hmm...to prevent the errors happening, it is possible to just search for the code in the .x file using a word processor such as wordpad. I had the same problem wiht the Blender .x exporter because it shortened the texture names so they couldn't be loaded. I went in, searched, edited the texture name...
by evilbobthebob
Wed Jul 18, 2007 1:05 pm
Forum: Beginners Help
Topic: Adding Weapons to a camera, and hud to game
Replies: 11
Views: 1535

:oops: Stupid me...the code I wrote does work, it was the model that had the problem. I'll use your function for the HUD, bob
by evilbobthebob
Mon Jul 16, 2007 5:14 pm
Forum: Beginners Help
Topic: Adding Weapons to a camera, and hud to game
Replies: 11
Views: 1535

What I need is a 3D model of a gun which attaches to the camera...I am using the standard Irrlicht camera, but the gun just doesn't go where I need it.

It would help if I had an idea of how much the vector3df translates the model.
by evilbobthebob
Mon Jul 16, 2007 9:15 am
Forum: Beginners Help
Topic: Adding Weapons to a camera, and hud to game
Replies: 11
Views: 1535

Sorry for the double post, but although that code is great for HUDs, it isn't so hot when it comes to adding a 3D gun to the camera...if I'm worng, and I'm just being stupid (likely) please tell me :P
by evilbobthebob
Thu Jul 12, 2007 9:11 am
Forum: Beginners Help
Topic: Adding Weapons to a camera, and hud to game
Replies: 11
Views: 1535

Thanks. I'll have a go with that. :)
by evilbobthebob
Wed Jul 11, 2007 11:08 am
Forum: Beginners Help
Topic: Adding Weapons to a camera, and hud to game
Replies: 11
Views: 1535

I want to do this as well. Here's the code I've got so far: scene::IAnimatedMesh* gunmesh = smgr->getMesh("gun.3ds"); scene::ISceneNode* gunnode = 0; ......... if(gunmesh) { gunnode = smgr->addAnimatedMeshSceneNode(gunmesh, gunnode); camera->addChild(gunnode); gunnode->setPosition(vector3d...