Solved

3D Math Lib

Posted on 2004-05-01
4
1,368 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

919 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now