Jump to content
  • Advertisement
Sign in to follow this  
GiveUsATank

3D Mathematics

This topic is 4702 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

I am busy learning the mathematics of 3d rotation, i started with the form1.Line function in vb to rotate around the Z-Axis, but the problem is, vb's form only has X and Y axis', i was wondering if someone could tell me how to add a Z-Axis to a VB form which has only X and Y so that i could rotate around the Y and X axis as well thank you

Share this post


Link to post
Share on other sites
Advertisement
The System.Drawing namespace doesn't support 3D. So if you want to do 3D in Windows Forms, you'll have to roll your own from scratch and project your 3D coordinate space into the Form's. Orthographic projects are very easy - just pick two of the coordinates and map them to the form's x/y. So I reckon tht would be the way to go.

Share this post


Link to post
Share on other sites
Quote:
Original post by GiveUsATank
I am busy learning the mathematics of 3d rotation, i started with the form1.Line function in vb to rotate around the Z-Axis, but the problem is, vb's form only has X and Y axis', i was wondering if someone could tell me how to add a Z-Axis to a VB form which has only X and Y so that i could rotate around the Y and X axis as well

thank you


The links below might help.

Part1
Part2

As the previous post stated, if you want to do 3D you'll have to learn how to projections (covered in part2 above).

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
You are hurting my brain!I only in 4th Grade!

Share this post


Link to post
Share on other sites
The only other option, that might be less complex is to let the computer take care of the projections for you by using an API like OpenGL or D3D.

hop over to NeHe for some good OpenGL starters.

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!