3d math libraries?
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
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
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
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement