Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 7 of 7

Thread: Skeletal Animation

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2009
    Posts
    2

    Skeletal Animation

    Hey everyone.

    I'm involved in a project that uses a human avatar and we're willing to use skeletal animation to animate the avatar. The first idea was to use the Cal3d library to export the models from Blender, but we coudn't manage it, since it's really old and poorly documented.

    What do you guys suggest to export the Blender (or any other modelling program, since we're still able to change) model to a format that can be used on my OpenGL aplication?

    Thanks in advance!

  2. #2
    Member Regular Contributor
    Join Date
    Mar 2003
    Location
    Los Angeles
    Posts
    374

    Re: Skeletal Animation

    Look into Deep Exploration to convert models from one format to another. It can output a model as OpenGL subroutines, so you don't have to write any code to read the model into your OpenGL simulation. Go to their website to find out about pricing. It isn't cheap. A one month trial version is available, but all export options are disabled.

    If D.E. doesn't work for you, I find Wavefront .obj to be a fairly straightforward format to work with. Most model converters can write .obj. Many modelers directly export to .obj format. It's an ascii format that is very easy to understand.

    Good luck.
    Am I doing your homework for you?

  3. #3
    Junior Member Regular Contributor
    Join Date
    Dec 2008
    Location
    USA
    Posts
    134

    Re: Skeletal Animation

    Something to keep in mind with Blender is that there is a Python API, so you can write your own export scripts, if such a task is worth the effor to you. You can certainly duplicate and modify the existing scripts to suit your needs.

  4. #4
    Junior Member Regular Contributor
    Join Date
    Apr 2006
    Location
    Kyoto.
    Posts
    129

    Re: Skeletal Animation

    If you know some python, writing your own exporter should not be too difficult. I wrote my own exporter from Blender to XML.

    Blender 2.5 is just around the corner, doesn't it have COLLADA support? I think there are some collada viewers for openGL out there. I initially wanted to use COLLADA but the Blender support for it so far is apparently not complete.

  5. #5
    Junior Member Regular Contributor LangFox's Avatar
    Join Date
    Oct 2001
    Location
    Shen Zhen, Guangdong, China
    Posts
    102

    Re: Skeletal Animation

    For simple, you can use COLLADA to save and import data, including mesh/skeleton/keyframe.
    Best Regards,
    LangFox


    http://hi.baidu.com/lang_fox

  6. #6
    Advanced Member Frequent Contributor Ehsan Kamrani's Avatar
    Join Date
    May 2005
    Posts
    537

    Re: Skeletal Animation

    The algorithm of Cal3D is not old, It's really a simple API and it supports everything you need to animate your characters. Cal3D is well documented and the document covers all of its features. However exporting the model is difficult-You need to export the skeleton, meshes, materials and animations independently.I used Cal3D in a commercial game and it worked fine.

  7. #7
    Junior Member Newbie
    Join Date
    Sep 2009
    Posts
    2

    Re: Skeletal Animation

    Thanks for all your answers guys!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •