Archived

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

3d math libraries?

This topic is 5869 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 have switched from d3d to opengl and now i dont get anything cool to work because i dont have my d3dx math functions for quaternions, matrices and vectors anymore:-( is the source code for d3dx available? im specialy interested in quaternion/matrix conversion. and if i remember right there was a cool type of multiplication in d3dx: quaternion*2 for example gives you quaternion*quaternion... but i didnt know how to code that if the scalar is 1.45 or whatever, you see im not a mathfreak. and i dont really want to learn the math cause i like to focus on the game itself. cody

Share this post


Link to post
Share on other sites
1) D3DX source code isn''t available.


2) For a decent C++ maths library check out:
http://www.magic-software.com/SourceCode.html

Thats the library from the book 3D Game Engine Design by Dave Eberly.


3) For CPU specific optimisations, check out the CPU manufacturers sites. Both Intel and AMD have optimised matrix maths libraries.


4) Learning the maths is still important. Even if you just want to focus on games. Knowing at least some of the maths helps you make better choices and more opportunities for optimisation.

--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites
thanks i will check it out.

for me i think its enough when i know what the values of a matrix mean and how to use them. of course basic things like cross products or whatever also.

i just dont know the formulas... it would be better if i would but first i want to focus on engine design and scripting, thats cooler.

cody

Share this post


Link to post
Share on other sites