Caecus wrote:Irrlicht also does nasty stuff to md2's. Check out hellow world example it uses over 20 megs of memory for a 500k file.
The reason behind this is irrlicht is storing full vertex coords basicalyl for every frame (along with normals). The md2 format itself cuts out a lot of this and uses scalers and such to make each vert only 3 bytes. Irrlichts verts end up being more like 20 I think.
Performance problems due to high RAM consumption
Niko, what do you think about this?
Oh okay - I didn't realise the problem was specific to different file formats, cause the original post is about 3DS, and then I saw that post about MD2, and then Homer reported the same problem when using the X format.
So does this involve you optimising the 'usage' for each file format, till they don't take up so much memory? Man, that sounds like a lot of work.
But all we'd need are X files, right? I haven't been working with them before, but from what I gather from this forum, they can do everything (vertex animation, multiple textures...)
So does this involve you optimising the 'usage' for each file format, till they don't take up so much memory? Man, that sounds like a lot of work.
But all we'd need are X files, right? I haven't been working with them before, but from what I gather from this forum, they can do everything (vertex animation, multiple textures...)
-
- Posts: 158
- Joined: Wed Apr 28, 2004 11:03 am
- Location: Hungary
- Contact:
I don't know if fits nicely here, but I think it's related to this problem.
I wonder if only I have this problem, but IrrLicht makes some strange slowdowns.
Tutorial 9 (about FXs and shadows) runs at 24 FPS and makes the whole PC run slowdownish - even Winamp starts skipping if it's playing in the background.
If I have the media Quake3 map loaded in and running around with the media Quake modell (Sydney) around, it gives a stable 54FPS with 800x600x32 resolution, both on OpenGL and DX9 - which isn't too much considering it's an empty map with one modell running around, no shadows, no anything such...
Is this just my PC, or something to do with the engine?
EDIT: forgot to post my specs, lol... P4-1.8GHZ, Geforce4GO, 256MB DDR RAM. I figure should be sufficient but who knows. :S
I wonder if only I have this problem, but IrrLicht makes some strange slowdowns.
Tutorial 9 (about FXs and shadows) runs at 24 FPS and makes the whole PC run slowdownish - even Winamp starts skipping if it's playing in the background.
If I have the media Quake3 map loaded in and running around with the media Quake modell (Sydney) around, it gives a stable 54FPS with 800x600x32 resolution, both on OpenGL and DX9 - which isn't too much considering it's an empty map with one modell running around, no shadows, no anything such...
Is this just my PC, or something to do with the engine?
EDIT: forgot to post my specs, lol... P4-1.8GHZ, Geforce4GO, 256MB DDR RAM. I figure should be sufficient but who knows. :S
Staring through eyes of hate we kill
Are we controlled, or is our own will...?
(Edguy)
Are we controlled, or is our own will...?
(Edguy)
Strange. On my Athlon XP 2000+ with GF4 Ti4200 64MB and 512MB DDR RAM FPS in this tutorial doesn't drop below 100 even with WinAmp, The Bat! and some other aps running in the background.
What GF4 do you have exacly. Ti or MX ?
What GF4 do you have exacly. Ti or MX ?
Tomasz Nowakowski
Openoko - www.openoko.pl
Openoko - www.openoko.pl
-
- Posts: 158
- Joined: Wed Apr 28, 2004 11:03 am
- Location: Hungary
- Contact:
Yeah well, comparing Irrlicht, an all rounder engine, made by one guy, as a hobby in his spare time, to a commercial engine, focused on a specific game type, made by a team of proffessionals who are being paid to do so, is pretty pointless.
What IS a good bench mark, is that my 'crappy' computer, doesn't experience any speed drop when running the FX demo, compared to the other examples. I can't quote exact frame rates off the top of my head, but they didn't vary much from project to project. 70 fps in the tech demo I think.
P3-450, GeForce2 64mb, 384mb RAM.
What IS a good bench mark, is that my 'crappy' computer, doesn't experience any speed drop when running the FX demo, compared to the other examples. I can't quote exact frame rates off the top of my head, but they didn't vary much from project to project. 70 fps in the tech demo I think.
P3-450, GeForce2 64mb, 384mb RAM.
Ok, I think I've figured out the main problem. It was so obvious that I haven't thougt of it yet . The most of our textures were 1024x1024x24 pixels big, which means that every texture needed about 3 MBytes of RAM. I've shrinked these textures down to 512x512 and the program now only needs 190 MBytes, which is a minus of 140 MBytes. I think now it should also run on pc's with "only" 256 MBytes of RAM and because of this very important change I'm going to upload the new version till tomorrow evening. Another positive aspect of the new solution is that the loading time is rather shorter now. Puuh, that was an annoying problem with a very simple solution
how many 1024x1024 24bits were u loading, out of curiosity...
Finally making games again!
http://www.konekogames.com
http://www.konekogames.com
wOOooOOah!!!
hehe, see, I was like working for making a game with people in c++, and tehy were very pro at that...welll...I remember a texture of whole scnery (we used to put all textured like smashed in a single one of all objects and walls, etc, so is better for performance, les surfaces, less texture files....) of about 2048...it was killling a lot of th eperformance...tru the level was like 100k tris or more, but...
Well UT2k3 uses 1024 textures, but if I remember well it uses a loss format for those...and of course, lods sytems, many ways tro compensate....
30...and surely at a time...that was tooo much
also...avoid many meshes, weld physically as much vertex as you can , try to make it all a single piece... fewer surfaces, best performance, at same polycount...
hehe, see, I was like working for making a game with people in c++, and tehy were very pro at that...welll...I remember a texture of whole scnery (we used to put all textured like smashed in a single one of all objects and walls, etc, so is better for performance, les surfaces, less texture files....) of about 2048...it was killling a lot of th eperformance...tru the level was like 100k tris or more, but...
Well UT2k3 uses 1024 textures, but if I remember well it uses a loss format for those...and of course, lods sytems, many ways tro compensate....
30...and surely at a time...that was tooo much
also...avoid many meshes, weld physically as much vertex as you can , try to make it all a single piece... fewer surfaces, best performance, at same polycount...
Finally making games again!
http://www.konekogames.com
http://www.konekogames.com