Results 1 to 22 of 22

Thread: how to animate a 3D object

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2001
    Posts
    1

    Question how to animate a 3D object

    i have got a human model prepared in 3d studio max.How do i import this object into my Vb application?also how do i rotate,move,make the model bend as shown in any cartoon.now suppose if the model is supposed to wear a shirt and trouser how do i make the application do so... please help i am desperate.

  2. #2
    Zaei
    Guest
    You will have to learn Direct3D. Unfortunatly, this will take you a while. The movement is even more advanced.

    If you wanted the put clothes on the model, you would have to do it with 3D Studio.

    Z.

  3. #3
    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
    What, you mean a super model? A female one?

    Ok, if you go to http://www.planet-source-code.com you'll find a lot of Lander games, one of them has a window where you see and rotate a model of a planet... all you have to do is use the human model instead
    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."

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Originally posted by Zaei
    You will have to learn Direct3D. Unfortunatly, this will take you a while. The movement is even more advanced.

    If you wanted the put clothes on the model, you would have to do it with 3D Studio.

    Z.
    Not specifically Direct3D (which doesn't exist as that name anymore). You can use OpenGL as well, which is actually a better API but don't tell anyone...

    ...especially since people stopped doing drivers for XP

    Why they'd stop supporting superior products is beyond me.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5
    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
    Maybe because it's not superior?...
    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."

  6. #6
    Zaei
    Guest
    OpenGL isnt better. The only real difference is the interface. OGL is function based, while D3D (it is D3D, whatever you want to call it =) is Object based. OpenGL also has extensions, which are ablessing and a curse. They allow you to get the highest performance possible from a card, but your code will only work on that card. D3D Abstracts thata way, so you can get only slightly less power from a broader range of cards.

    OGL is also Portable, but we are talking VB here...

    Z.

  7. #7
    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
    Yeah, but for some reason I don't like 3D games hehe, they're so primitive I prefer good old DDraw
    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."

  8. #8
    Lively Member sandin's Avatar
    Join Date
    Nov 2001
    Location
    From Your Heart!!!!
    Posts
    68
    Do all the animation in 3D max , what u want to wear the colth etc. and record it
    then save ir as avi or mpeg and on vb form place it and code it for automatic play...

    and the secound option is............

    In vb click on project >> components >> choose the Insertable object and than click on 3d max

    the object icon comes in toolbar then place it on form and try it...

    sandin

  9. #9
    Zaei
    Guest
    But Jotaf... I can get oh so many more particles running at once, and have them look good =).

    Z.

  10. #10
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Originally posted by Zaei
    OpenGL isnt better. The only real difference is the interface. OGL is function based, while D3D (it is D3D, whatever you want to call it =) is Object based. OpenGL also has extensions, which are ablessing and a curse. They allow you to get the highest performance possible from a card, but your code will only work on that card. D3D Abstracts thata way, so you can get only slightly less power from a broader range of cards.

    OGL is also Portable, but we are talking VB here...

    Z.
    Does D3D work on an SGI workstation? I think not
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  11. #11
    Zaei
    Guest
    Last line, parksie =).

    Z.

  12. #12
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Originally posted by Zaei
    Last line, parksie =)
    Doesn't matter what the language is, you should still prepare for when you mature and move away from VB
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  13. #13
    Zaei
    Guest
    Of course =).

    Z.

  14. #14
    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
    Zaei: That's because I'm using 9 Set/GetPixel calls for each particle

    Parksie: Why would you wanna code in some other language?
    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."

  15. #15
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Originally posted by Jotaf98
    Parksie: Why would you wanna code in some other language?
    Because c++ is harder to read than VB
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  16. #16
    Zaei
    Guest
    Originally posted by parksie
    Because c++ is harder to read than VB
    Not by much =). Reading C++ is sort of like breathing now =).

    Z.

  17. #17
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    I agree with Zaei; C++ has come to me (I've made a Guess the Number game ) in it's different ways and it's easy to read
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  18. #18
    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
    Hehe well, I'd learn C++, but only when I need it
    For now VB is enough
    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."

  19. #19
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    You'll grow up and become a man soon, and you will leave childish things behind

    (like pointers references for ever!)
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  20. #20
    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
    Lol I almost never need that sort of stuff and when I do, I use CopyMemory

    Btw, the "Byte Me" in your signature... that was my signature in the good old Battle.Net Starcraft Map Development Forum
    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."

  21. #21
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Was it? Cool

    Proves that fools go together

    (Well, I could hardly say great minds think alike could I...)
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  22. #22
    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
    Hardly

    But yeah, I think I read that in some Garfield book or something
    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