View Full Version : draw a controlable hand with OpenGL?
03-27-2002, 11:02 AM
I did draw a virtual hand with glutCylinder and cube.But it seems not so realistic. Once I wanted to load the 3D hand from CAD modeling directly, but its a bit hard to control all the joint parts flexibly. Any one
could help me? My PC also installed OpenInventor, which completely support VRML files. Thanks for your any kind help.
03-27-2002, 11:31 AM
I was thinking about doing something like that in SGI Performer, but I'm short on time. I was thinking about the same thing, taking a VRML model. If you always want to have a closed surface you will have to put spheres in the joint area.
Further to have controll over all joints you have to setup a model hierarchy which should look like that.
If you have this hierarchy you will be able to move the palm down and the fingers will also move. if you bend your pinkie, it will remain straight until you move the 2. phalanx.
Hope this is somehow clearer to you, if not drop me a line to my mail adress.
03-27-2002, 12:46 PM
Look up "bones" "skinning" "weighting"
What you want to do is something like this:-
1) Load vrml mesh of a nice hand model.
2) Load vrml model with lines representing bones in the hand.
3) Determine how close a particular vertex is to each bone to find 'weights' (crude method).
You should apply your transforms (hiearchical rotations) to the bones model, and then calculate, using the vertex weights, how much to move each vertex in the fancy hand mesh.
You'll effectively have a smooth skin over the bones in the hand.
You can do this in hardware using something like a geforce3 and OpenGL extensions - although I haven't tackled this area, I've always done it in software with simple meshes.
[This message has been edited by knackered (edited 03-27-2002).]
03-27-2002, 05:52 PM
thanks for your information, but Knackered you meant that I could found some VRML models for hand from internet? Do you know where could find theses stuff. I donot know very much about mesh indeed, could you tell me where the start point is? Not very much follow your post yet, thought it's very useful. http://www.opengl.org/discussion_boards/ubb/frown.gif
Thank you and mphanke
I wanted to make some model with Unigraphics, but its a bit hard to access the joint control points for hand movement.
03-27-2002, 11:02 PM
try http:\\www.3dcafe.com. They have a section with free models. The other thing is to search for "3d models free VRML" on www.teoma.org (http://www.teoma.org) and on www.google.com. (http://www.google.com.) For me teoma works better. www.gamedev.net (http://www.gamedev.net) has also links to free models. There are alot of pages concerning free VRML models on the net.
[This message has been edited by mphanke (edited 03-28-2002).]
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.