Crystal Space
Welcome,
Guest
. Please
login
or
register
.
May 19, 2013, 01:48:25 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
9222
Posts in
2229
Topics by
5379
Members
Latest Member:
Reenaryerson
Crystal Space
Crystal Space Development
General Crystal Space Discussion
why so slow?
« previous
next »
Pages:
[
1
]
Author
Topic: why so slow? (Read 3458 times)
Jonathan
Guest
why so slow?
«
on:
January 24, 2006, 02:59:03 pm »
I am a bit worried about the performance my app is getting. My PC specs are Athlon 3200, Nvidia 6600GT, 1GB RAM. My game uses some medium sized meshes. The total size of my world file is 5.5MB, including all meshes. I am getting 40 frames/sec which is nowhere near where it should be. I have just installed the latest drivers for my video card and it made no difference. My game has 2 light sources. I am not using any fancy shading, just a bit of alpha and reflection. What can I do to fix this?
Logged
jorrit
Administrator
Hero Member
Posts: 1703
Re: why so slow?
«
Reply #1 on:
January 24, 2006, 03:00:43 pm »
Quote from: Jonathan on January 24, 2006, 02:59:03 pm
I am a bit worried about the performance my app is getting. My PC specs are Athlon 3200, Nvidia 6600GT, 1GB RAM. My game uses some medium sized meshes. The total size of my world file is 5.5MB, including all meshes. I am getting 40 frames/sec which is nowhere near where it should be. I have just installed the latest drivers for my video card and it made no difference. My game has 2 light sources. I am not using any fancy shading, just a bit of alpha and reflection. What can I do to fix this?
What version of CS are you using? What operating system? What drivers?
Greetings,
Logged
Jonathan
Guest
Re: why so slow?
«
Reply #2 on:
January 24, 2006, 04:01:32 pm »
CS version: CVS from 06 Jan 2006, also tried Jan 22
OS: Win 2K
Drivers: 81.98
Before I had these drivers CS was using Slow VBOs. After I updated them this message didn't appear anymore, but no change in frame rate.
Logged
jorrit
Administrator
Hero Member
Posts: 1703
Re: why so slow?
«
Reply #3 on:
January 24, 2006, 04:03:20 pm »
Quote from: Jonathan on January 24, 2006, 04:01:32 pm
CS version: CVS from 06 Jan 2006, also tried Jan 22
OS: Win 2K
Drivers: 81.98
Before I had these drivers CS was using Slow VBOs. After I updated them this message didn't appear anymore, but no change in frame rate.
Can you tell me a bit about your world? How many polygons are visible at the same time? How many objects do you have? Are there lots of materials and are the materials big in size? Do you use lightmapping?
Greetings,
Logged
Jonathan
Guest
Re: why so slow?
«
Reply #4 on:
January 24, 2006, 07:30:58 pm »
How many polygons? All of them potentially. This is when the frame rate drops to 40, but it should be able to handle it... How many objects? 30? not many materials and not big in size. Isn't lightmapping done by default? If so then yes.
Could you please download the app at:
http://www.outofgear.com/jon/notrees/dilysi.zip
The file size is only ~2MB
textures / sounds / world file are in zip.
Logged
jorrit
Administrator
Hero Member
Posts: 1703
Re: why so slow?
«
Reply #5 on:
January 24, 2006, 07:32:52 pm »
Quote from: Jonathan on January 24, 2006, 07:30:58 pm
How many polygons? All of them potentially.
I need numbers.
Quote
This is when the frame rate drops to 40, but it should be able to handle it... How many objects? 30? not many materials and not big in size. Isn't lightmapping done by default? If so then yes.
Could you please download the app at:
http://www.outofgear.com/jon/notrees/dilysi.zip
The file size is only ~2MB
textures / sounds / world file are in zip.
I'll try it out in a moment.
Greetings,
Logged
jorrit
Administrator
Hero Member
Posts: 1703
Re: why so slow?
«
Reply #6 on:
January 24, 2006, 07:41:36 pm »
I will run a profiler to see what is going on but I suspect the problem is lighting.
Greetings,
Logged
jorrit
Administrator
Hero Member
Posts: 1703
Re: why so slow?
«
Reply #7 on:
January 24, 2006, 08:59:29 pm »
As I suspected the slowdown is caused by calculating the lighting on all spr3d objects (3D sprites). I will have a go at trying to optimize that but perhaps it would be better to use genmesh for them instead of spr3d. Genmesh is a lot more optimal if you have no animation (and it seems the spr3d's are not animating).
Greetings,
Logged
Jonathan
Guest
Re: why so slow?
«
Reply #8 on:
January 24, 2006, 11:55:21 pm »
Well that has helped in some ways, the framerate is now up to about 100. The problem is that the app isn't doing any shading on the models anymore. So they look like this
http://www.outofgear.com/jon/notrees/dilysi2.jpg
I am using the <autonormals /> tag for each mesh, but it isn't helping
Logged
jorrit
Administrator
Hero Member
Posts: 1703
Re: why so slow?
«
Reply #9 on:
January 25, 2006, 06:19:18 am »
Quote from: Jonathan on January 24, 2006, 11:55:21 pm
Well that has helped in some ways, the framerate is now up to about 100. The problem is that the app isn't doing any shading on the models anymore. So they look like this
http://www.outofgear.com/jon/notrees/dilysi2.jpg
I am using the <autonormals /> tag for each mesh, but it isn't helping
Hmm... Strange. Could you give me the new world file with genmesh models? I can have a look then.
Greetings,
Logged
Jonathan
Guest
Re: why so slow?
«
Reply #10 on:
January 25, 2006, 02:28:26 pm »
http://www.outofgear.com/jon/notrees/myworldgenmesh.zip
Logged
jorrit
Administrator
Hero Member
Posts: 1703
Re: why so slow?
«
Reply #11 on:
January 26, 2006, 08:20:23 am »
Quote from: Jonathan on January 25, 2006, 02:28:26 pm
http://www.outofgear.com/jon/notrees/myworldgenmesh.zip
I will still look into this but at this moment we're preparing a new pseudo-stable release.
Greetings,
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Crystal Space Development
-----------------------------
=> General Crystal Space Discussion
=> Support
-----------------------------
Crystal Space Project Development
-----------------------------
=> Feature Requests
=> Plugins
=> Bug Reports
-----------------------------
Crystal Space Development
-----------------------------
=> Game Content Creation
-----------------------------
Miscellaneous
-----------------------------
=> Article/Tutorial Requests
=> Article/Tutorial Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Development Discussion
-----------------------------
Crystal Space Projects
-----------------------------
=> Project Discussion
=> WIP Projects
=> Finished Projects
-----------------------------
Associate Projects
-----------------------------
=> CEL Discussion
=> Crystal Core Discussion
=> CrystalBlend Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Google Summer of Code
-----------------------------
Associate Projects
-----------------------------
=> Apricot (Open Game)
=> Ares Project
Loading...