![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Mar 2007
Posts: 5
Rep Power: 0
![]() |
Human legs animation
Anyone good in C programming, pls help with this project that i have...pls gimme ur email id so that i can contact u directly to get help
|
|
|
|
|
|
#2 |
|
Programmer
|
You could do that with OGRE3d (C++) or Torque ....
Must this legs be 3d?
__________________
Linux user jan@fedoraproject.org http://fedoraproject.org/wiki/Market..._composite.gif |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Mar 2007
Posts: 5
Rep Power: 0
![]() |
yes these legs should be 3d and textures also shud be added....
im sorry but cud u explain what "OGRE3d (C++) or Torque" is? |
|
|
|
|
|
#4 | |
|
Programmer
|
Quote:
Torque is a game engine while OGRE is Object Oriented Graphics Rendering Engine.... For OGRE you need C++ knowlege... I dont know about Torque
__________________
Linux user jan@fedoraproject.org http://fedoraproject.org/wiki/Market..._composite.gif |
|
|
|
|
|
|
#5 |
|
Newbie
Join Date: Mar 2007
Posts: 5
Rep Power: 0
![]() |
but i've got this project to be done....so do u know of any GUI software where u can do 3d modelling.....n the c prog. get generated....
i know it sounds wierd....but pls help |
|
|
|
|
|
#6 |
|
Programmer
|
You can make a model of legs using blender or 3dmax studio. If you want animation you will probably need some 3d programming knowlege.
So when you make a model with blender use blendertoogre converter to make a .mesh file which you will use for animation... BTW: Is this a homework?
__________________
Linux user jan@fedoraproject.org http://fedoraproject.org/wiki/Market..._composite.gif Last edited by jan1024188; Mar 4th, 2007 at 3:06 PM. |
|
|
|
|
|
#7 |
|
Programmer
Join Date: Dec 2005
Posts: 67
Rep Power: 0
![]() |
Uh... Explain what kind of help your looking for man? No program that I have ever heard of just generates the C code for animating a 3D model. That is really something that is an application specific issue.
Most of the time. You use a 3D modelling program like Blender to create the 3D model and animate it, using keyframes or Skeletal animation, then export the animation/model data to a file. Then, in code, you parse the data from the file and animate it usually using inverse or forward kinematics. Or if its Keyframe animation you can just cycle through the keyframes, but that is usually really choppy and a waste of memory. I mean theres alot more such as timing and interpolation. But thats the basics of it. If this isn't for a homework assignment then you should be able to get by with using Ogre like has been mentioned. You would still need to animate the model in a 3D modeling program and export it. But Ogre will handle the actual parsing and animation of the files. If you go the Ogre route I can help you there if need be. Give more details of exactly what you need to do. |
|
|
|
|
|
#8 |
|
Newbie
Join Date: Mar 2007
Posts: 5
Rep Power: 0
![]() |
"Write an OpenGL program to animate a pair of walking legs. the legs must be 3d. The model should be hierarchical and the hierarchy should be obvious in the code. Simple animation such as walking across a textured floor should be provided."
Any idea how to do this??Reply |
|
|
|
|
|
#9 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
The program you describe is not trivial to write. Even with a 3D game engine such as OGRE, it's still not going to be an simple task. Since you're asking about the problem in general terms, rather than enquiring about specifics, it seems to me as if you haven't had much experience with programs that use 3D graphics. This seems a very complex task for someone who doesn't appear to have an idea of where to start.
|
|
|
|
|
|
#10 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Here's an illustration of a hierarchical model (see specifically Pilot). If you wonder why a pilot has a rudder, it's because I use rudder commands to turn his head. The easiest way to animate something like moving feet and legs is to use inverse kinematics, which means you move the foot and the legs, etc., follow. This is opposed to normal kinematics, whereby you would move the torso, then the upper leg, then the lower leg, then the ankle, then the foot, then the toes (or whatever). You don't sound as if you're prepared for this assignment, for whatever reason. Good luck on getting someone to do it for you.
![]()
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| deciphering animation binary | rwm | C++ | 7 | Jan 11th, 2007 9:28 AM |
| A girl talked to me once. | Serinth | Coder's Corner Lounge | 151 | Jun 16th, 2006 4:40 AM |
| 3D Animation of Sqaure | tomwdrake | Java | 6 | Dec 4th, 2005 10:46 AM |
| Eternal Human Race? | Haz | Coder's Corner Lounge | 135 | Aug 25th, 2005 8:25 AM |
| gif animation | B3TA_SCR1PT3R | Coder's Corner Lounge | 16 | Jul 26th, 2005 4:32 PM |