Solved

3D Math Lib

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 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

11 Experts available now in Live!

Get 1:1 Help Now