|
Re: Engine is slow? Or am I nuts?
[Re: Harry Potter]
#380261
08/15/11 11:16
08/15/11 11:16
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
OP
Senior Expert
|
OP
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
I really have no idea, I know that mipmaps will increase the framerate, but I don't know how to make and use them. Here are models info: Tree: Grass: BTW, I didn't use sprites for grass.
|
|
|
Re: Engine is slow? Or am I nuts?
[Re: 3run]
#380266
08/15/11 11:37
08/15/11 11:37
|
Joined: Dec 2002
Posts: 3,363 Vindobona (Ostarichi)
Harry Potter
Expert
|
Expert
Joined: Dec 2002
Posts: 3,363
Vindobona (Ostarichi)
|
I know that mipmaps will increase the framerate, but I don't know how to make and use them. ??? a) for models in MED: Skin Settings -> Texture format -> Flag 'Mipmaps'. b) or use DDS skin with included mipmaps. c) or at runtime: bmap_to_mipmap(bmap_for_entity(my,0)); d) for sprites: mip_sprites = 1; Also see 'd3d_mipmapping', 'mip_levels', 'mip_flat' and 'mip_shaded' in the manual.
|
|
|
Re: Engine is slow? Or am I nuts?
[Re: Harry Potter]
#380267
08/15/11 11:49
08/15/11 11:49
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
OP
Senior Expert
|
OP
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
Thank you, Harry Potter, this will be definitely useful to increase the framerate. xxxxxxx, yes USE_BOX is slow, but there is no way for me to make smooth movement without it. Still, problem exist
|
|
|
Re: Engine is slow? Or am I nuts?
[Re: Slin]
#380270
08/15/11 11:59
08/15/11 11:59
|
Joined: Jul 2008
Posts: 2,107 Germany
rayp
X
|
X
Joined: Jul 2008
Posts: 2,107
Germany
|
In EVERY of my projects since a4 i never managed to have a good framerate (>30). Sure in minigames, top down shooters and whatever it was ok. But i never managed to make a simple 3d shooter with a big map and some ais with a good framerate. With good framerate i mean over 30. Yes i know, u will say its my fault. But i hear a lot of people spoke about the same prob.
Edit: I think this engine just isnt good for 3d ego shooters. Ok, games like left4dead even run with about 30fps. But they have a gigantic map, lot of shaders, lot of pp shaders and hunderts of attacking enemys plus 3 friend-ais around u. u cant compare that.
Last edited by rayp; 08/15/11 12:03.
Acknex umgibt uns...zwischen Dir, mir, dem Stein dort... "Hey Griswold ... where u gonna put a tree that big ?" 1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected rayp.flags |= UNTOUCHABLE;
|
|
|
Re: Engine is slow? Or am I nuts?
[Re: rayp]
#380271
08/15/11 12:04
08/15/11 12:04
|
Joined: Apr 2007
Posts: 3,751 Canada
WretchedSid
Expert
|
Expert
Joined: Apr 2007
Posts: 3,751
Canada
|
Although I never made a shooter, I did make a merchant simulation back in 2008. It ran great, had multiple towns with dynamic buildings, vegetation and a AI. It ran smooth on my 100€ hardware (ATI HD2400pro, AMD Athlon 64 2Ghz, 1 Gb RAM). And with smooth I mean 40-50 FPS.
So yeah, it is possible to have good framerate, its certainly not easy, but possible.
Shitlord by trade and passion. Graphics programmer at Laminar Research. I write blog posts at feresignum.com
|
|
|
Re: Engine is slow? Or am I nuts?
[Re: rayp]
#380275
08/15/11 12:13
08/15/11 12:13
|
Joined: Apr 2007
Posts: 3,751 Canada
WretchedSid
Expert
|
Expert
Joined: Apr 2007
Posts: 3,751
Canada
|
Edit: I think this engine just isnt good for 3d ego shooters. Ok, games like left4dead even run with about 30fps. But they have a gigantic map, lot of shaders, lot of pp shaders and hunderts of attacking enemys plus 3 friend-ais around u. u cant compare that. They (Valve) had also to think about performance. You just can't have a big map the whole time in memory and let it render every frame, you have to stream the map. Having thousand of functions running every frame with their own stack is also a no go for performance. The straightforward way of just pushing everything in the level and then blaming the engine if it fails might look easy and like a way worth going, but reality is that you have to think too. Sorry if this destroys your view of the world now.
Shitlord by trade and passion. Graphics programmer at Laminar Research. I write blog posts at feresignum.com
|
|
|
|