Search found 8 matches

by WishFish
Wed Nov 05, 2008 11:02 am
Forum: Beginners Help
Topic: fading fog into a skybox
Replies: 19
Views: 2966

I am also working on a space game.
I have a stars skybox and a grid made of lines which should fade into the skybox in the distance.
I solved it by setting MaterialType to EMT_TRANSPARENT_ADD_COLOR.

SMaterial m;
m.Lighting = false;
m.FogEnable = true;
m.MaterialType = EMT_TRANSPARENT_ADD_COLOR ...
by WishFish
Thu Apr 03, 2008 7:39 pm
Forum: Beginners Help
Topic: Manually resize bounding box
Replies: 2
Views: 383

well.... u can resize the bounding box using:

irr::scene::IMesh::setBoundingBox (const core::aabbox3df);

on your Imesh object before adding your scene node and then create your scene node.

Hope it helps

I got the impression that it is not possible to change boundingbox.

But this simply works ...
by WishFish
Thu Apr 03, 2008 7:56 am
Forum: Beginners Help
Topic: Manually resize bounding box
Replies: 2
Views: 383

Manually resize bounding box

Hi,

I have two nodes where i want to manually resize their bounding boxes.

Bounding box of the first node in question is too wide, so getSceneNodeFromScreenCoordinatesBB returns the node even if the player clicks beside the node.

The second node is a small animal and even that the animal is very ...
by WishFish
Sun Feb 24, 2008 6:33 pm
Forum: Beginners Help
Topic: Monsters collsion and pathfinding
Replies: 9
Views: 737

HI,

I suppose you will use client/server , am i rigth ? if yes , running graphics in server is a bad idea. You should choose a client point to control and run ai monsters and send informations to server , like position, state , rotation etc...
In my game i have 2 flags : humanPlayerFlag, and ...
by WishFish
Thu Feb 21, 2008 1:50 pm
Forum: Beginners Help
Topic: Monsters collsion and pathfinding
Replies: 9
Views: 737

Re: Monsters collsion and pathfinding


I can see that IrrlichtDevice has pointer to only one sceneManager, that means i will have to use more NULL devices, will that work?
Is it possible to disable textures loading to save resources?

Not following you completly here.
If i attach collision animator to node and call its setPosition(x, y ...
by WishFish
Thu Feb 21, 2008 12:46 pm
Forum: Beginners Help
Topic: Monsters collsion and pathfinding
Replies: 9
Views: 737

JP wrote:Yeah feel free to check out irrAI, it might not be usable for you at this stage as it's still very early on but you could always just look over the source code and see how i've done the pathfinding and put that into your own project or be inspired by it in some way.
Ill check it, thnx!
by WishFish
Thu Feb 21, 2008 12:45 pm
Forum: Beginners Help
Topic: Monsters collsion and pathfinding
Replies: 9
Views: 737

Re: Monsters collsion and pathfinding


If you want to use Irrlicht's collision detection, then yes, of course you will. You can use the video::EDT_NULL device if you're not going to be doing any actual rendering.

I can see that IrrlichtDevice has pointer to only one sceneManager, that means i will have to use more NULL devices, will ...
by WishFish
Thu Feb 21, 2008 9:38 am
Forum: Beginners Help
Topic: Monsters collsion and pathfinding
Replies: 9
Views: 737

Monsters collsion and pathfinding

Hi,

I searched a lot on the forum but strangely didnt find anything related to the following problem:

I have client using irrLicht for graphic.
I have server to which clients connect.
Clients are basicaly players playing in the multiplayer world, that means they are getting coordiantes of all ...