Search found 8 matches

by GabinMD
Tue Jun 13, 2017 5:53 pm
Forum: Beginners Help
Topic: Low Fps when adding AnimatedMeshSceneNode
Replies: 9
Views: 1027

Re: Low Fps when adding AnimatedMeshSceneNode

my program crash when i create and remove node, all player are thread, but when i need to switch of an animation to an other, i remove the actual node and add the new animation to the same node but when 2 player addNode in the same time the irrlicht drawAll crash, and i'm using mutex when i use addA...
by GabinMD
Tue Jun 13, 2017 4:12 pm
Forum: Beginners Help
Topic: Low Fps when adding AnimatedMeshSceneNode
Replies: 9
Views: 1027

Re: Low Fps when adding AnimatedMeshSceneNode

I found the probleme but it's very strange. In my game i stored 5 animation per player but the game can't support all those node and loses fps. Is it possible to make a difference between the 3d model and the animation? i'm using B3D format because when i try not to store the node and remove/create ...
by GabinMD
Tue Jun 13, 2017 1:13 pm
Forum: Beginners Help
Topic: Low Fps when adding AnimatedMeshSceneNode
Replies: 9
Views: 1027

Re: Low Fps when adding AnimatedMeshSceneNode

thanks for your answer. When i said, when i don't use the function, i mean i did an other analysis on the program without using my expensive function (Map::GetColision and GetCommand) (look at the new link) https://mega.nz/#!7EFz1BDB!u7LIxmf70mub7I32VfGOecud1vFBhwQ1_cOtq0abeIU in this file we can se...
by GabinMD
Mon Jun 12, 2017 8:03 pm
Forum: Beginners Help
Topic: Low Fps when adding AnimatedMeshSceneNode
Replies: 9
Views: 1027

Re: Low Fps when adding AnimatedMeshSceneNode

thanks for your answer

i used gprof but i don't understand the analysis file can you help me?
https://mega.nz/#!yc8jiAbT!R_QxSTzwqzeM ... q3WHXq6yxU

it's write that the map::getColision is the issue but i'm still lagging when the player generate node if i dont use the function
by GabinMD
Mon Jun 12, 2017 6:12 pm
Forum: Beginners Help
Topic: Low Fps when adding AnimatedMeshSceneNode
Replies: 9
Views: 1027

Low Fps when adding AnimatedMeshSceneNode

Hello, I'm creating a game on irrlicht and i have a lot of fps issues. I'm using thread to generate the nodes. When i create 4 players i can't get abrove 30 fps and it's worth when my player generate nodes. for an example, each player use 5 animated node (run, attack, static, win, death) and those n...
by GabinMD
Mon Jun 12, 2017 12:05 pm
Forum: Beginners Help
Topic: Textures Issue when loading obj with mtl file
Replies: 6
Views: 1013

Re: Textures Issue when loading obj with mtl file

thanks for your answer

Yes the textures are displayed on the wrong side of the polygon
i tried to fix the normals, i recalculate them and make them consistent but nothing changed..
can you try to fix the normals ? i don't understand what i'm doing wrong

thanks in advance
by GabinMD
Sun Jun 11, 2017 4:13 pm
Forum: Beginners Help
Topic: Textures Issue when loading obj with mtl file
Replies: 6
Views: 1013

Re: Textures Issue when loading obj with mtl file

thanks for your answer

the include UV's was enabled

I tried forward in all directions but without success

this is a link to the obj, Could you try to load it?
https://mega.nz/#F!rRtRTRxa!gZx46Z6kX9YeqoDzDE7CAg
by GabinMD
Sat Jun 10, 2017 6:40 pm
Forum: Beginners Help
Topic: Textures Issue when loading obj with mtl file
Replies: 6
Views: 1013

Textures Issue when loading obj with mtl file

Hello, I'm a beginner in irrlicht but i'm wanting to load and obj with a mtl file who load 5 textures. but i have an issue with the render of the obj, in fact the textures is reversed .. i realy don't understand why because i'm using the same command line of the irrilcht exemple to load the obj i ga...