Solved

3D Math Lib

Posted on 2004-05-01
4
1,372 Views
Last Modified: 2013-12-26
I am looking for 3D Math Lib that support DiirectX and OpenGL that support VEctor,lines,plane,matrices etc..
alo easy to integrate with DirectX and OGL( i.e  i can easily pass matrix object of the Lib to Dierct API function etc...)

Best link gets the points

regards,

TH
0
Comment
Question by:th83
4 Comments
 

Expert Comment

by:muralikrishnak
ID: 10984331
http://www.thefreecountry.com/sourcecode/mathematics.shtml

I get most of what I require from the above link.
Hope this helps you too...

You can try this also... a very good one...
http://www.programmersheaven.com/zone10/cat102/15301.htm

Keep Smiling
Murali.
0
 
LVL 1

Expert Comment

by:instruo
ID: 11019387
Sourceforge has a bunch of stuff that looks good.  These would be my picks:

http://sourceforge.net/projects/dglutillib/
http://sourceforge.net/projects/glmath/
0
 
LVL 17

Accepted Solution

by:
davebytes earned 75 total points
ID: 11019665
If you want to reduce issues, just use the DirectX helper objects.  They are generally pretty well optimized, and you can use them even if you use GL (i.e., they are part of the libs/linking, not the DX runtime, from what I recall).

That also makes certain you can pass stuff into DX well.

For openGL, it is easy enough to wrapper the classes you need to with functions to extract data into GL-formats at the last possible moment (i.e., matrices).

There's also the slightly heavier D3DX lib stuff, which again should be linked in, and has much more functionality to it.

Lastly, I believe Intel has a math primitives library -- I think it's free, can't remember -- that is good for optimized intel processing.  AMD has a similar one for their processors.

d
0
 
LVL 4

Assisted Solution

by:Fippy_Darkpaw
Fippy_Darkpaw earned 50 total points
ID: 11133395
Use the DirectX math libraries. They work fine for OpenGL and DirectX. A D3DXVECTOR3 works just like a float[3] so you can use them in most openGL calls.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question