Archived

This topic is now archived and is closed to further replies.

D3DXMATRIXA16

This topic is 4948 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am having problems with finding a dx8 substitute for D3DXMATRIXA16. I cannot change to dx9 for various reasons, so what can I use instead for creating a matrix?

Share this post


Link to post
Share on other sites
D3DXMATRIXA16 exists in DirectX 8 too so you don''t need to change to DirectX 9 to use it!

Do note that if you''re using version 6 of Visual C++, you''ll need to install VC++ Service Pack 4 and The Processor Pack to get any real benefit from the aligned matrices (without those, the compiler doesn''t understand __declspec(align(x)) which D3DXMATRIXA16 uses). VC++ 7 (MSVC .NET) already have alignment and SSE/3DNow! support.


Simon O''Connor
Game Programmer &
Microsoft DirectX MVP

Share this post


Link to post
Share on other sites
Hmm, I just did some digging through my archive of older SDKs, and I have to clarify what I wrote above:


D3DXMATRIXA16 was introduced in DirectX 8.1, so if you have the DirectX 8.0 SDK, you won''t have support for it.

A simple solution if this is the OP''s issue is to install the DirectX 8.1 SDK - any code which is written for DirectX 8.0 interfaces should compile just fine with DirectX 8.1.




Simon O''Connor
Game Programmer &
Microsoft DirectX MVP

Share this post


Link to post
Share on other sites