Robitic Arm Simulation!

hi there !!

I am enggn. student in mechanical

I am working on a Robotic Arm Simulation
on VB6 n openGL tech. but i am having a few difficulties now
actually i have to make a robotic arm with maximum user control. If anyone who has worked on robotic arm simulation or something like that so i need ur help that would be ur kind gesture if u could provide me some help or referance of someon else who can help me out of this…
mine mail id is : anuragjassal@rediffmail.com
i will wait for ur reply…

thanx in advance…

Arm movement should look something like this:

glPushMatrix();
gltranslate
glrotate
draw_arm_base();
glPushMatrix(); //First joint
gltranslate
glrotate
draw_first_joint();
glPushMatrix()
gltranslate
glrotate
draw_second_joint();
glPopMatrix();
glPopMatrix();
glPopMatrix();

nest more glPush/pop for more joints.

hope this helps

Originally posted by anuragjassal:
[b]hi there !!

I am enggn. student in mechanical

I am working on a Robotic Arm Simulation
on VB6 n openGL tech. but i am having a few difficulties now
actually i have to make a robotic arm with maximum user control. If anyone who has worked on robotic arm simulation or something like that so i need ur help that would be ur kind gesture if u could provide me some help or referance of someon else who can help me out of this…
mine mail id is : anuragjassal@rediffmail.com
i will wait for ur reply…

thanx in advance… [/b]

I dont know exactly what you want your robotic arm to do, but the problem is simlar to skeletal animation. Look on rsn.gamedev.net for the skeletal modelling tutorial.

Btw, I wouldnt use all that glPush/Pop stuff. IMO, its not a good idea to mix up all your drawing stuff with your scene updates.

[This message has been edited by ioquan (edited 09-16-2002).]