Skip to main content
gamedev.net
🔒 Locked

d3dx functions

Started by thasmin Apr 15, 2002 at 11:20 PM 6 replies 350+ views
Original Post
thasmin
thasmin
How much slower is the D3DX library? Sure it''s easier to do CreateTextureFromFile but if it''s too slow it doesn''t pay.
aftermath
aftermath
Acualy, they are nice and fast only if you spesify all the paramiteras and they match up with the files format. If now, then d3d has to resample everything.
I have overloaded the new/delete operator, and loading a bitmap with diferent paramiters realy moves ALOT of memery around.

[ my engine ][ my game ][ my email ]
SPAM
Rate me up.
aftermath
aftermath
One more thing...
You are obviusly using CreateTextureFromFile() during initilization, so why worry?

[ my engine ][ my game ][ my email ]
SPAM
Rate me up.
Wreakon
Wreakon
Aftermath, your not always lucky enough to load the bitmaps at initialization.

-------
"Programming is like sex make one mistake, and you have to support it forever."
Homepage: www.ussshrike.com/pcwebvia/
-------Homepage: http://www.pclx.com
EvilDecl81
EvilDecl81
The math routines are optimized for SSE and 3DNow (Known as Processor Specific Graphics Pipeline, or PSGP). They auto-
detect the processor upon the first call you make to any of them. You can turn this off with a reg key.

Trust me, you aren''t going to be them for perf.

EvilDecl81

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.