[Need Help] low frames per second

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
serokon
Posts: 11
Joined: Wed Mar 27, 2013 1:43 am

[Need Help] low frames per second

Post by serokon »

Hello Irrlicht community !!
I found irrlicht a month ago and i played a bit around with it.
With Coppercube I made a map and with delphi the code part.
If I don't look around with the camera I just got 7 fps and if I move (with arrow keys not single mouse movement) I got something like 20.
I googled now for a long time ago, cut out my code to see if there is the problem and I set the camera.setfarvalue to 10 and fps didn't increased.
It would be awesome if someone can help me at other projects I didnt had this problems 0.o
Serokon
CuteAlien
Admin
Posts: 9716
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: [Need Help] low frames per second

Post by CuteAlien »

You don't tell us anything about your map/scene, how it looks like, what it uses, how many polygons, static or dynamic, lights, shaders, animations and so on. And also not telling anything about the code you use (except that it uses Irrlicht somehow). So not much we can help with - except maybe telling you to experiment with the scene and figure out what's causing the slowdown.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
serokon
Posts: 11
Joined: Wed Mar 27, 2013 1:43 am

Re: [Need Help] low frames per second

Post by serokon »

Thanks for your reply and sorry for that, I never reported a problem here.
The Problem was pretty stupid I took out some objects and now it works like a charm thanks for your hint.
You can give me some hints how I get a low output in Coppercube ?
Thanks
CuteAlien
Admin
Posts: 9716
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: [Need Help] low frames per second

Post by CuteAlien »

Take out more objects ;-) Unfortunately I've never worked with Coppercube so I don't really know anything about it.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
serokon
Posts: 11
Joined: Wed Mar 27, 2013 1:43 am

Re: [Need Help] low frames per second

Post by serokon »

Btw here is a note for people with same problem:
-For me Coppercube got just some big outputs, now I load objects manually
-Dont know why but last parameter from collisionresponseanim can cause lags if its to low.
christianclavet
Posts: 1638
Joined: Mon Apr 30, 2007 3:24 am
Location: Montreal, CANADA
Contact:

Re: [Need Help] low frames per second

Post by christianclavet »

Be careful on the detail you put in the object you add to your scene. If you add 200-300 trees of 50000 tris each will kill every spare FPS any video card can have.
Post Reply