Where do animation programs come in at?

This is a discussion on Where do animation programs come in at? within the Game Programming forums, part of the General Programming Boards category; I've been studying Blender, with the expectation that, somehow, I will get the stuff I create in it into a ...

  1. #1
    Password:
    Join Date
    Dec 2009
    Location
    NC
    Posts
    587

    Where do animation programs come in at?

    I've been studying Blender, with the expectation that, somehow, I will get the stuff I create in it into a game. How exactly does Blender and others fit into the development of most games?

    I've found that you can load meshes with Ogre, but what about making it move? Say I have a figure, how do I make it walk in the game? Assuming I have the walk animation done.

  2. #2
    Registered User
    Join Date
    Aug 2003
    Posts
    1,197
    Animation is just a model that looks different at different times. Exactly how this is achieved and how it is stored depends on what animation technique used and on file-formats and so on. Examples of different animation techniques are keyframe animation and skeleton animation.

    I have no experience with ogre but a start would be to search for ogre and keyframe or skeleton animation. That should at least give you a start.

  3. #3
    Password:
    Join Date
    Dec 2009
    Location
    NC
    Posts
    587
    I can find how to do it, that's easy. (Google)

    I'm interested more in the theory of how it is used. Are practically all moving(moving, as in, changing shape in some way) objects in games done from animations, or are some done by calling the renderer to manipulate the mesh of the original, static object?

    Since you have no experience with Ogre, what do you suggest?
    Last edited by User Name:; 03-13-2011 at 06:30 PM.

  4. #4
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    3,797
    O_o

    Dude, manipulation the mesh would be animation. Look around at all those old "stop motion" films. It is mostly the same thing.




    Anyway, every model format I've worked with treats animation a little differently. (This is what Shakti said.) You are best served by poking around mostly standardized formats to get an idea of how the animations are stored within model data.




    Now then, I don't know what importers "Ogre 3D" has out of the box, but "Blender" exports a powerful Python API so a crazy number of exporters exist. (The changing API means that some may no longer work, but could always be used a base to build a new version.) If you find a model format you understand, odds are an exporter exists so you can play around with it in code so you can really get into it.

    Soma

  5. #5
    Registered User
    Join Date
    Aug 2003
    Posts
    1,197
    All movements in games are animations. The only thing I can possibly think of that would modify a model based on runtime input (ie, not knowing the end-result when starting the program, with say walking you know exactly how the model should look at all times when walking) would be if you have partially destroyable objects (buildings you can blow a hole through wherever you wish for instance) or deformable terrain, and even here some trick is probably utilized to make it computationally easy (relatively).

    Games of today pretty much dont care how much HD space they take up, it is cheap and can be "wasted". Every single millisecond when running the program counts though, so if something can be saved to HD to make the game run a little faster it will be done.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. creating C programs to test memory usage
    By dsollen in forum C++ Programming
    Replies: 1
    Last Post: 04-20-2010, 10:12 AM
  2. a boy come from china
    By luoyangke in forum General Discussions
    Replies: 117
    Last Post: 11-22-2009, 12:14 AM
  3. Threads in MFC
    By VirtualAce in forum Windows Programming
    Replies: 4
    Last Post: 12-28-2005, 05:03 PM
  4. Animation class not working
    By VirtualAce in forum Game Programming
    Replies: 5
    Last Post: 03-02-2005, 05:48 AM
  5. POSIX/DOS programs?
    By nickname_changed in forum C++ Programming
    Replies: 1
    Last Post: 02-28-2003, 04:42 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21