Archived

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

JnZ

D3DX maths w/o D3DX?

Recommended Posts

Many of the matrix functions have diagrams that show how certain parameters were used to get a matrix. Unfortunatly, I havent had much success with these (they were flat out, wrong). There are also many good sources on the net with 3d mathematics stuff.

Z.
[edit]
If I remember correctly, D3D Matrices are transposed, so if you DO find info on the net, you may have to transopse the results to get your matrix to work with D3D.

Edited by - Zaei on January 16, 2002 8:22:36 AM

Share this post


Link to post
Share on other sites
The "understand the math" part I understand and applaud.

The "do everything myself" part is confusing. You do realize that D3DX is probably as optimized as you are going to get? plus you have a team of people maintaining, debugging, improving, etc.

As far as understanding the math, look at Foley and van Dam, or even a basic linear algebra textbook (for a start).

Share this post


Link to post
Share on other sites
I don`t like D3DX because it requires me to link with extra libraries I wouldn`t use otherwise. "uuid.lib" isn`t too bad, but I don''t use MSVC and I have to link to msvcrt.lib. That''s despite the fact that all the functions it needs are present in my compilers own runtime library

Share this post


Link to post
Share on other sites