Jump to content
  • Advertisement
Sign in to follow this  
ROY09

Object Position

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

[font="Times New Roman"]Hello friends,[/font]
[font="Times New Roman"] [/font]
[font="Times New Roman"]I have made a robotic upper arm with three cylindrical segments namely L1(Upper Arm), L2(Fore Arm) and L3(hand). [/font]
[font="Times New Roman"]Please have a look at the code attached.[/font]
[font="Times New Roman"] [/font]
[font="Times New Roman"]I want to use [color="#333333"]glGetDoublev (GL_MODELVIEW_MATRIX, MVmatrix); to get the end effector position i.e hand Position after the translations and rotations.[/font]
[font="Times New Roman"][color="#333333"]how can i do that please?? for the three segments. do i have to use three separate [color="#333333"]MVmatrix[16] for each segment?? [/font]
[font="Times New Roman"] [/font]
[font="Times New Roman"][color="#333333"]thanks[attachment=1616:robot01.txt][/font]

Share this post


Link to post
Share on other sites
Advertisement
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!