Search found 6 matches

by amin
Thu Oct 25, 2012 8:13 pm
Forum: Beginners Help
Topic: Companion
Replies: 4
Views: 398

Re: Companion

TheAmazingSnivy ,

you have to write a path finding system ( or use an existing one ) , it really depends on your environment and needed features of your game ...

also check this link :
http://code.google.com/p/recastnavigation/
by amin
Thu Oct 25, 2012 2:57 pm
Forum: Bug reports
Topic: Find SceneNodes By Frustum
Replies: 11
Views: 2757

Re: Find SceneNodes By Frustum

I think sceneNodes with scale around 100 and above have problem with frustum culling #include <irrlicht.h>   using namespace irr; using namespace core; using namespace scene; using namespace video;   int main() {       IrrlichtDevice* device = createDevice(EDT_OPENGL, dimension2d<u32>(800,600),32,fa...
by amin
Thu Oct 25, 2012 1:00 pm
Forum: Bug reports
Topic: Find SceneNodes By Frustum
Replies: 11
Views: 2757

Re: Find SceneNodes By Frustum

yes i mean bounding box and not triangles , all sceneNodes ( bounding boxes ) are completely outside the frustum ... but getPrimitiveCountDrawn() shows 20 primitive ( one of those meshSceneNodes ) is rendering ...
by amin
Thu Oct 25, 2012 12:36 pm
Forum: Bug reports
Topic: Find SceneNodes By Frustum
Replies: 11
Views: 2757

Re: Find SceneNodes By Frustum

thanks CuteAlien "EAC_FRUSTUM_BOX" was what i looking for :D but here is another not so important problem ( or mabye bug ) i added for example 10 meshSceneNode each has 20 triangle and set all of them to EAC_FRUSTUM_BOX ... getPrimitiveCountDrawn() always show 20 primitive is rendering eve...
by amin
Thu Oct 25, 2012 11:40 am
Forum: Bug reports
Topic: Find SceneNodes By Frustum
Replies: 11
Views: 2757

Re: Find SceneNodes By Frustum

isTrulyVisible() doesnt work , i debug getPrimitiveCountDrawn() and it goes down to 0 when node is behind camera but isTrulyVisible() still returns True ... i also have another question , it seems that frustum culling is dependent on camera's far clipping value and not the actual frustum, see this p...
by amin
Wed Oct 24, 2012 9:32 pm
Forum: Bug reports
Topic: Find SceneNodes By Frustum
Replies: 11
Views: 2757

Find SceneNodes By Frustum

Hi

How can i get an array of sceneNodes witch are inside the Frustum of a camera ?

thanks