Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 4th, 2007, 1:52 PM   #1
misty dreams
Newbie
 
Join Date: Mar 2007
Posts: 5
Rep Power: 0 misty dreams is on a distinguished road
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
misty dreams is offline   Reply With Quote
Old Mar 4th, 2007, 2:07 PM   #2
jan1024188
Programmer
 
jan1024188's Avatar
 
Join Date: Mar 2007
Location: Slovenia
Posts: 33
Rep Power: 0 jan1024188 is on a distinguished road
Send a message via MSN to jan1024188 Send a message via Yahoo to jan1024188 Send a message via Skype™ to jan1024188
You could do that with OGRE3d (C++) or Torque ....

Must this legs be 3d?
jan1024188 is offline   Reply With Quote
Old Mar 4th, 2007, 2:15 PM   #3
misty dreams
Newbie
 
Join Date: Mar 2007
Posts: 5
Rep Power: 0 misty dreams is on a distinguished road
yes these legs should be 3d and textures also shud be added....
im sorry but cud u explain what "OGRE3d (C++) or Torque" is?
misty dreams is offline   Reply With Quote
Old Mar 4th, 2007, 2:20 PM   #4
jan1024188
Programmer
 
jan1024188's Avatar
 
Join Date: Mar 2007
Location: Slovenia
Posts: 33
Rep Power: 0 jan1024188 is on a distinguished road
Send a message via MSN to jan1024188 Send a message via Yahoo to jan1024188 Send a message via Skype™ to jan1024188
Quote:
Originally Posted by misty dreams View Post
yes these legs should be 3d and textures also shud be added....
im sorry but cud u explain what "OGRE3d (C++) or Torque" is?

Torque is a game engine while OGRE is Object Oriented Graphics Rendering Engine....

For OGRE you need C++ knowlege... I dont know about Torque
jan1024188 is offline   Reply With Quote
Old Mar 4th, 2007, 2:28 PM   #5
misty dreams
Newbie
 
Join Date: Mar 2007
Posts: 5
Rep Power: 0 misty dreams is on a distinguished road
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
misty dreams is offline   Reply With Quote
Old Mar 4th, 2007, 2:42 PM   #6
jan1024188
Programmer
 
jan1024188's Avatar
 
Join Date: Mar 2007
Location: Slovenia
Posts: 33
Rep Power: 0 jan1024188 is on a distinguished road
Send a message via MSN to jan1024188 Send a message via Yahoo to jan1024188 Send a message via Skype™ to jan1024188
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?

Last edited by jan1024188; Mar 4th, 2007 at 3:06 PM.
jan1024188 is offline   Reply With Quote
Old Mar 4th, 2007, 10:36 PM   #7
MicDareall
Programmer
 
Join Date: Dec 2005
Posts: 67
Rep Power: 0 MicDareall is an unknown quantity at this point
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.
MicDareall is offline   Reply With Quote
Old Mar 5th, 2007, 1:44 PM   #8
misty dreams
Newbie
 
Join Date: Mar 2007
Posts: 5
Rep Power: 0 misty dreams is on a distinguished road
"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
misty dreams is offline   Reply With Quote
Old Mar 5th, 2007, 2:03 PM   #9
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
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.
Arevos is offline   Reply With Quote
Old Mar 5th, 2007, 2:08 PM   #10
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:37 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC