Flags, Banners, Signs -- Cloth Animations

Discussion in 'Track Modding' started by Bink, Jun 28, 2016.

  1. mschreiner

    mschreiner Registered

    Joined:
    Oct 5, 2010
    Messages:
    334
    Likes Received:
    92
    Probably Depends on the Creator of the track.
     
  2. toebee

    toebee Member

    Joined:
    Oct 5, 2010
    Messages:
    380
    Likes Received:
    389
    I "may" have found the problem. I noticed working flags suddenly start getting all salvador dali on me. When I didn't really change anything. Then I realized I had played the animation before exporting the mesh. I think the problem was I exported the mesh when the animation wasn't on keyframe 1. I set the animation to keyframe 1 then exported the mesh and everything was back to normal. Then I figured I would try exporting the mesh at keyframe 0 and it looked even better.
     
    Nibiru likes this.
  3. Nibiru

    Nibiru Registered

    Joined:
    Dec 24, 2011
    Messages:
    1,198
    Likes Received:
    1,269
    I have had that problem to so I always export animations at 0.
     
  4. fab06

    fab06 Registered

    Joined:
    Nov 23, 2015
    Messages:
    163
    Likes Received:
    378
    hi
    i not a friend of 3DS Max and i can't export ANM file from 3DS ..
    when i click on "DO ANIM" it always do an Anim file of 11Ko or 16Ko only that doesnt work ! !

    what im doing Wrong ??

    Help please :(
    [​IMG]
     
  5. Nibiru

    Nibiru Registered

    Joined:
    Dec 24, 2011
    Messages:
    1,198
    Likes Received:
    1,269
    @fab06 have you tried the flag as the root node? Then select all bones and the flag and do anim.
     
  6. Coutie

    Coutie Moderator

    Joined:
    Oct 5, 2010
    Messages:
    2,478
    Likes Received:
    1,298
    Are you using bones?
     
  7. vancstar

    vancstar Registered

    Joined:
    Oct 5, 2010
    Messages:
    145
    Likes Received:
    21
    cant see them when I click on them or download them ?
     
  8. fab06

    fab06 Registered

    Joined:
    Nov 23, 2015
    Messages:
    163
    Likes Received:
    378
    no , i dont use bones (i think o_O ) its just cloth modifiers and wind on the object (plane) ..
     
  9. Nibiru

    Nibiru Registered

    Joined:
    Dec 24, 2011
    Messages:
    1,198
    Likes Received:
    1,269
    You need bones or dummys on each vert so they record the animation.
    Plus I would add the frame the unmoving object that will hold the flag.
     
  10. Nibiru

    Nibiru Registered

    Joined:
    Dec 24, 2011
    Messages:
    1,198
    Likes Received:
    1,269
    Once you have bones you need to do a skin modifier and weight the bones to its vert so the bones now control the flag then do the anm
     
  11. fab06

    fab06 Registered

    Joined:
    Nov 23, 2015
    Messages:
    163
    Likes Received:
    378
    thx Nibiru

    now i know that anim need bones to export :D

    i'm just trying to decide whether to hang or drown myself by the windows :rolleyes:
     
    Nibiru likes this.
  12. KittX

    KittX Registered

    Joined:
    Jan 11, 2012
    Messages:
    147
    Likes Received:
    62
    How to replicate the cloth animation with bones, does anyone know? I saw some guy converted cloth anim to animated mesh and then alighing the bones to the mesh each frame, but that didn't give good enough results for me. So far I've replicated flags by already applied cloth modifier and taking one frame from that as a regular, static mesh, then applying few bones to it and manually set up waving-alike animation to them. Looks descent, but I want better...
     
  13. Nibiru

    Nibiru Registered

    Joined:
    Dec 24, 2011
    Messages:
    1,198
    Likes Received:
    1,269
    This is something I'd like to know as well.
    I have been playing around with point cache but haven't been successful yet in exporting the anm. Need a dev to confirm that point cache will work.
     
  14. Gijs van Elderen

    Gijs van Elderen Member

    Joined:
    May 1, 2014
    Messages:
    1,396
    Likes Received:
    466
    I hope the steps are the same in Max:



    In the end you’ll need to have moving bones without the ncloth modifier. And your flag binded to the bones.
     
    Last edited: May 22, 2018
    Nibiru and fab06 like this.
  15. fab06

    fab06 Registered

    Joined:
    Nov 23, 2015
    Messages:
    163
    Likes Received:
    378
    thx Gijs
    someone knows where is the same fonction on 3DS Max that "Point on Poly" does in Maya for to attach the bones to each vertex of the flag ??
     
  16. Nibiru

    Nibiru Registered

    Joined:
    Dec 24, 2011
    Messages:
    1,198
    Likes Received:
    1,269
    Yes I have watched that before. You make it seem so easy in maya. Just wish you could do a vid of it in max.:rolleyes:
     
  17. Nibiru

    Nibiru Registered

    Joined:
    Dec 24, 2011
    Messages:
    1,198
    Likes Received:
    1,269
    I have managed to reproduce the steps in the video in 3dsmax 2012.
    BUT I can't export a working .anm
    It as if helpers cant be used for keyframe export only bones. I have had this issue b4 when using dummys.

    It would be nice if a dev could clear things up
     
    fab06 likes this.
  18. Jka

    Jka Member Staff Member

    Joined:
    Jan 31, 2011
    Messages:
    921
    Likes Received:
    184
    Under Cloth Modifier => Group => select "joint" verts from flag mesh => Make Group - button

    Attach Group to flagpole with Node - button (click "Node" and then flagpole mesh)

    There are several good tutorials about animating flags on YouTube.
     
  19. fab06

    fab06 Registered

    Joined:
    Nov 23, 2015
    Messages:
    163
    Likes Received:
    378
    i will try if it's working without a flagpole :confused:

    because i only do a flag anims (no flagpole here) and i havent found any (good or bad) 3ds tutorials for that on youtube :(

    thx JKA ;)
     
  20. Jka

    Jka Member Staff Member

    Joined:
    Jan 31, 2011
    Messages:
    921
    Likes Received:
    184
    I think you need some kind of reference point for flag, like flagpole, rope or other attachment point to create realistic animation. Therefore those tutorials should work in your case too. Just replace flagpole with wanted attachment point and do the Group + Node thing. ;)
     

Share This Page