Robot Arms and OpenGL
Hi, i have made Tow robot arms on OpenGL, i need that those arms plays with a box, playing with the box with one arm is easy but i have a lot of problems when Arm1 gives the box to Arm2. the box, looses the rotations that Arm1 have done to the box and all the stuff... i put picutres on
www.gueder.net/valweb/images/
init.jpg is the starup screnshot
end.jpg is a good end, now i need that arm2 rotate the box
badend.jpg is when i don´t save a matrix por box position.
i look all places but i haven´t found anything, i ask on the IRC but no one ask me ( does some one talk on #OpenGL on Ef-net && undernet?)
THANKS!!!
-- --
I just tried your page and couldn''t see any photos, got an error page instead. If you post some code more people will be able to see what you''re trying to do and have a better chance of helping you. Sounds cool though, what is Tow?
"If all else fails, lower your standards."
Tow is Two ... sorry..
i have fix the page... sorry.. try
http://www.gueder.net/valweb/Opengl.htm (if it dosen´t work you can come over the menu on valweb/main.htm
sorry... ass you can see when the box change from Arm1 to Arm2 it also change part of the rotations i have done over the cube...
also i now that code can be "ugly" but is my one of my first programs on OpenGL and i´t´s very fast done...
thanks
i have fix the page... sorry.. try
http://www.gueder.net/valweb/Opengl.htm (if it dosen´t work you can come over the menu on valweb/main.htm

sorry... ass you can see when the box change from Arm1 to Arm2 it also change part of the rotations i have done over the cube...
also i now that code can be "ugly" but is my one of my first programs on OpenGL and i´t´s very fast done...
thanks
-- --
I don''t know alot about OpenGL, but when I was having trouble with multiple rotations I found that using glPushMatrix() and glPopMatrix() instead of glLoadIdentity() between rotations solved my problems. Here''s a link to some info.
http://www.cevis.uni-bremen.de/~uwe/opengl/glPushMatrix.html
Sorry I don''t know enough to give anymore help.
http://www.cevis.uni-bremen.de/~uwe/opengl/glPushMatrix.html
Sorry I don''t know enough to give anymore help.
"If all else fails, lower your standards."
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement