Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
FPS pr0blem; How to fix that
Topic Started: Mar 8 2009, 09:07 PM (319 Views)
black_eagle_
Member Avatar
Newbie
[ * ]
I've created unbelievable graphics using per-pixel lighting, real-time shadows etc but the FPS has totaly crashed. The camera's max_range is 150 !!! and the FPS is still horrible. In the level there are only cubes with 12 triangles, walls with about 12 triangles and some models. And I also use GMbullet.dll ( PhysX engine ) and U 3d collision checking and collision response.
So, has anyone got an idea how to increase the FPS. Maybe draw distance or .. I don't kn0w ;)
pls help
Edited by black_eagle_, Mar 8 2009, 09:09 PM.
Offline Profile Quote Post Goto Top
 
ashrat3000
Member Avatar
u3d raytracer
[ *  *  *  *  *  * ]
Try removing the shadows, they cause a significant slowdown.

But that will impact the visuals.




You're doing a lot of things at once lol. Its going to run slow unless you've got a good computer, but you can probably optimize a bit.
But I'm no expert at optimization. Even in calculus, I was only mediocre at that.

그대를 사랑해


Offline Profile Quote Post Goto Top
 
Gandalf20000
Member Avatar
Geek
[ *  *  *  *  *  * ]
black_eagle_
Mar 8 2009, 09:07 PM
I've created unbelievable graphics using per-pixel lighting, real-time shadows etc but the FPS has totaly crashed. The camera's max_range is 150 !!! and the FPS is still horrible. In the level there are only cubes with 12 triangles, walls with about 12 triangles and some models. And I also use GMbullet.dll ( PhysX engine ) and U 3d collision checking and collision response.
So, has anyone got an idea how to increase the FPS. Maybe draw distance or .. I don't kn0w ;)
pls help
Here's a tip:
Don't use Bullet. It doesn't work that well with U3D and just eats up the memory. I took it out of my game and immediately started getting a much better framerate. And I didn't even have any physics objects, just a physics world. If you need physics, go with Newton, or write your own.
Offline Profile Quote Post Goto Top
 
black_eagle_
Member Avatar
Newbie
[ * ]
Well that's serious choise. I also think that GM Bullet.dll waste too much FPS .
But Pls If anyone knows how to transfer all the scripts from the Newton Basic file to my game 0r all the objects from my game to the newton Basic file TELL ME.
Edited by black_eagle_, Mar 9 2009, 12:26 AM.
Offline Profile Quote Post Goto Top
 
Gandalf20000
Member Avatar
Geek
[ *  *  *  *  *  * ]
Skarik has used GM Newton before. He would know.
Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
Simply, converting GMBullet -> GMNewton = Somewhere close to hell.

No, actually, it's as easy as importing GMNewton, replacing all GMBullet usage with GMNewton, and deleting the GMBulletScripts.

However, you will have problems with meshes, as you have to pretty much lock the mesh and take the stuff vertex by vertex. I would know.
Blog|EHS
Offline Profile Quote Post Goto Top
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply