Jump to content
  • Advertisement
Sign in to follow this  
bfogerty

Lightweight .NET Matrix / Vector library

This topic is 3890 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello everyone. I was looking for a .NET matrix library on the net and most of the ones I found cost money. I know DirectX has a nice matrix library but I didn't want to install the DirectX sdk. Also, I think there may have been one project that was open source for .NET (Sorry can't remember the name) but I decided I would try to write one anyways for practice. Right now my library only supports a 3D Matrix/ Vector. I plan on adding 4D support soon to help out with translations. My library does several niffty things such as perspective projections, creates default rotation matricies, general computations etc. If you would take a look and let me know what features I should add, I would greatly appreciate it. My goal is to improve my general linear algebra / Graphics programming knowledge and as a by product have a nice light weight and powerful Matrix / Vector library for .NET. You can simply follow the link below. http://www.brandonfogerty.com/programming/projects/files/Mather.zip Thanks in advance!

Share this post


Link to post
Share on other sites
Advertisement
Hmm... I am interested in defining a method which would calculate a perspective matrix given a near point.

I know the formula for this would be

(N * X/Z, N* Y/Z)

However, how would I set this formula up in a matrix? Thanks in advance!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!