Results 1 to 6 of 6

Thread: DirectX animation...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2001
    Posts
    421

    Question DirectX animation...

    Ok, I've made each frame for my character and I'm ready to make him move in a Form. Now, I wanna use DirectX to animate him and I've seen others that put all of there frames in one picture. I can do this easily, but when I do that, where do I start? I have the SDK and I'm reading it but it doesn't really help me on this. Could someome send a little snippet that would animate like three frames? Thanks!
    [vbcode]
    ' comment
    Rem remark
    [/vbcode]

  2. #2
    Zaei
    Guest
    Take a look at the AnimKeys sample in the SDK. Beware. There is no such thing as a "snippet" for animation. It is HARD work. The C++ code for loading and drawing skeletal meshes using D3D is over 1000 lines long (its 25-30 printed pages). In fact, you are probably better off trying to write your own code for rendering animations (if you want more info on this, post here, or create another thread).

    Z.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2001
    Posts
    421
    Thanks, I'll take a look at it. As you could see, I don't know much about animation
    [vbcode]
    ' comment
    Rem remark
    [/vbcode]

  4. #4
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    Huh Zaei, he's talking about a 2D game
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  5. #5
    Zaei
    Guest
    In that case, its just a matter of drawing a lot of frames =).

    Z.

  6. #6
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    Oafo: There are some good tutorials on DirectX and animation here: http://64.23.12.52/
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

Posting Permissions

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



Click Here to Expand Forum to Full Width