Solved

3D Math Lib

Posted on 2004-05-01
4
1,376 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Suggested Courses

752 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