Author Topic: Vertex Animation method? (flag in wind)  (Read 1976 times)


  • Newbie
  • *
  • Posts: 44
  • Karma: 1
  • Acolyte
    • View Profile
Vertex Animation method? (flag in wind)
« on: January 26, 2017, 07:57:09 PM »
I have a cursory understanding of animation so please forgive any misunderstandings. I've been struggling with vertex animation for a flag in the wind.

So far I've baked my wind-simulated cloth modifier (No bones/skins used) into a bunch of shapekeys(?) as an Editable Mesh:

Could someone guide me in the right direction? I got lost in all different pages I've read that all seem to use different methods and formats and types of animations. My best guess so far is to attach my flag to a bone, create a VTA, then let WW compile the VTA?

Some of the pages I've read up on:

« Last Edit: January 26, 2017, 08:02:21 PM by kinggambit »


  • Administrator
  • Hero Member
  • *****
  • Posts: 3613
  • Karma: 100
  • Behind me?
    • View Profile
Re: Vertex Animation method? (flag in wind)
« Reply #1 on: January 26, 2017, 11:06:54 PM »
In my opinion, you'll get more mileage by using $treesway.

I'd not try doing vertex animations for a flag, honestly.

But of course if someone does it and it looks good and is efficient, i'd be happy to see it.

Joris Ceoen

  • Global Moderator
  • Full Member
  • *****
  • Posts: 221
  • Karma: 24
  • WallWorm Ambassador
    • View Profile
Re: Vertex Animation method? (flag in wind)
« Reply #2 on: January 28, 2017, 01:35:54 PM »
To support Shawn's opinion, yes, the amount of stress a flex animation would add to the simulation is not worth it. Either an animation with bones (which would be considered really cheap) or using $treesway would be better options.

Doing with bones is good because the effect can be mimicked very closely, and it's by far the cheapest. The advantage with $treesway is that it can look very realistic since it'll be affected by the env_wind entity, though it is probably more 'expensive' than just an animation. However, I think that the $treesway option takes advantage of the GPU, which is also good.