XNA Game Development Forums
2012/05/21 20:39:49
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Calendar
Login
Register
XNA Game Development Forums
>
Hazy Discussion
>
General Discussion
>
Engine's performances
Pages: [
1
]
« previous
next »
Print
Author
Topic: Engine's performances (Read 2234 times)
new.proger
Newbie
Offline
Posts: 1
Engine's performances
«
on:
2008/12/23 06:38:02 »
Hi,
I search a good benchmark between DX and XNA.
I like your engine and the tutorial but I can't find any benchmark.
Do you have a demo project or a simulator of 10000 quad just to test ?
When I use your engine, I create 500 quad with color Shader and without texture, and I find 25 fps it's very poor.
It's my code, your code or XNA ?
Thanks.
I'm a very good C++ developper, a good C# developper and a new graphics developper.
Sorry for my english
Logged
mikeschuld
Administrator
Sr. Member
Offline
Posts: 389
Re: Engine's performances
«
Reply #1 on:
2008/12/23 10:12:47 »
The engine itself is not very optimized as it is put together as a teaching tool more than a fully functional engine, so there are many enhancements that could be made to allow for much better fps than it currently achieves with 10000 primitives.
XNA is very similar to Managed DirectX and should get around 95-98% the speed that raw DirectX would, so it is probably not the framework that is causing it. There are I'm sure graphics things that you could be doing that would slow it down some, but many of the people that use this engine in its current state see the same results so the engine code itself is probably the biggest factor in the numbers you are seeing.
At some point in the future if we get enough time, there will probably be a more commercial optimized engine that can handle the numbers of primitives you are talking about, but for now for ease of teaching it will stay as it is.
Logged
Nemo Krad
Global Moderator
Hero Member
Offline
Posts: 512
I have seen the fnords
Re: Engine's performances
«
Reply #2 on:
2008/12/24 00:58:36 »
The quad draw (to my recollection) is not really intended for bulk quad draws. I have just created a Quad Manager so you can hand it a number of quads with rotations and they ALL get drawn in one call rather than one at a time.
This would speed this instance up. But as Mike says, HME is a learning tool and one day, with time we will optimize it, maybe even have 2 engines, one for education and one for practical use..?
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Hazy Discussion
-----------------------------
=> General Discussion
=> Hazy Mind XNA Engine
===> Tutorial Discussion
=> Show Off Board
-----------------------------
Hazy Requests
-----------------------------
=> Hazy Mind XNA Engine Requests
=> Forum Requests
-----------------------------
Hazy Mind 3D Engine (Old Discussion)
-----------------------------
=> Hazy Mind 3D Engine
=> Hazy Mind Scene Editor
=> Hazy Mind 3D Engine Requests
=> Hazy Mind Scene Editor Requests
Related Topics
Subject
Started by
Replies
Views
Last post
Hazy Mind 3D Engine
Hazy Mind 3D Engine
mikeschuld
0
2174
2006/07/22 15:02:05
by
mikeschuld
rewriting the engine
Hazy Mind 3D Engine
endre
5
3323
2006/08/08 01:59:44
by
Chr0n1x
how could i create a game engine?
General Discussion
saAction
7
3810
2006/08/25 01:45:22
by
Kolo
If people want, can visit ;) nearly great and developing engine...
Show Off Board
satsatsat
0
2543
2006/10/27 04:18:12
by
satsatsat
3d Engine-- Tutorial 2 problem.
Hazy Mind 3D Engine
ZebraHDH
4
2203
2006/12/03 14:20:43
by
tuxdalinux
Engine Source Code
Hazy Mind 3D Engine
Nemo Krad
5
3012
2006/12/20 01:55:15
by
Nemo Krad
Some thoughts on the engine...
Hazy Mind XNA Engine
letsrock
2
1701
2007/01/27 12:36:45
by
mikeschuld
New Engine Architecture method
Hazy Mind XNA Engine
mikeschuld
3
1805
2007/03/11 21:09:17
by
Chr0n1x
Crytek Engine 2 level editor
General Discussion
Cdy7e
7
2651
2007/03/15 18:55:36
by
Chr0n1x
XNA ENgine sources/pdf
General Discussion
Maverick
3
2657
2008/04/17 01:59:11
by
Maverick
Have a few questions about the Component Exception in the Engine
Hazy Mind XNA Engine
ckslayer22
2
1556
2009/08/06 20:13:19
by
InstrallFer
Application of the engine
Hazy Mind XNA Engine
marshdabeachy
1
1084
2010/01/04 11:37:29
by
mikeschuld
Loading...