|
|
Re: LOD?
[Re: Marky Mark]
#78372
06/20/06 02:30
06/20/06 02:30
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
I can't tell from your screenshot how many entities you have, but given your description, you have too many. Merge multiple entities into one single entity and the problem should otherwise go away. Rather than 8 low-detail buildings, merge them into a single model file instead. Also, having multiple skins per model shown at once will also cause a slow down. Merge the vertices as well as vertices have a huge impact on the frame rate. I've proven that, if you swap the vertex and poly counts, the one where the vertex count is higher takes twice as long to render than does the one with the poly count being higher.
What are your system specs and what is your nexus setting? If you only have 256 MB memory (like a typical budget system would have) and have the nexus at 64, you're almost certainly going to have problems with speed.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
Re: LOD?
[Re: ulillillia]
#78373
06/20/06 22:31
06/20/06 22:31
|
Joined: Jul 2002
Posts: 857 Québec
Marky Mark
OP
User
|
OP
User
Joined: Jul 2002
Posts: 857
Québec
|
Ok I think we found the problem... I've only got 128MB of ram... Should I Continue creating my level, and then work more when I'll get my new computer in 2 weeks? (I will have minimum 1GB of RAM) Or should I Mix some buildings in one model like you said?
Yeah! IE sucks, use Mozilla... Marc Rémillard.
|
|
|
Re: LOD?
[Re: Marky Mark]
#78374
06/20/06 23:21
06/20/06 23:21
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
128 MB of RAM!? That certainly would explain some of the problem. With so little RAM available, swap file is being used, which uses the hard drive, a very slow component, and thus the likely cause. Although blocks and a high entity count (visible entities) do have a considerable effect, having just 128 MB of RAM is a bigger cause for concern. With that small amount, you're likely going to need to add more RAM.
When the computer is out of memory or low on memory, excess goes to swap file, stored in a special area of the hard drive. Active programs take greater priority of the memory so they run more efficiently but if there isn't enough memory for the program to run properly, you'll constantly notice lags because old stuff in memory is being written on the hard drive and stuff now needed is being read off the hard drive, both of which are slow operations. For game design, you should have no less than 512 MB of RAM, 1 GB recommended minimum.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
Re: LOD?
[Re: ulillillia]
#78375
06/21/06 01:50
06/21/06 01:50
|
Joined: Jul 2002
Posts: 857 Québec
Marky Mark
OP
User
|
OP
User
Joined: Jul 2002
Posts: 857
Québec
|
Aight, I'll post back with my new computer  thanks again, your posts are very usefull for game optimizing.
Yeah! IE sucks, use Mozilla... Marc Rémillard.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|