Skip to main content
gamedev.net
🔒 Locked

D3DX

Started by d000hg May 25, 2002 at 7:41 AM 0 replies 250+ views
Original Post
d000hg
d000hg
Are the D3DX helper classes for things like vectors and matrices efficient? Is there any point me writing my own to get maximum performance or are these optimised routines? You''d imagine professional programmers would have made ''em real quick but you never know...
S1CA
S1CA
Yep, they''re efficient.

Actually, they were optimised for Microsoft by engineers from Intel and AMD so they should be! They will take advantage of any SIMD instructions present on the CPU too (3DNow!, SSE, SSE2...).

The only place you could beat them with a custom routine would be for processing large sequential lists of data, particularly where you''re combining multiple calculations into one.

If you are doing it yourself, it''d be best to visit the Intel and AMD websites and download the already fully optimised source code they have.

--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com
Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site

Topic Locked

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

Sign in to reply to this topic.