# Vertex Animation Toolset, crowd rendering

**URL:** <https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246>\
**Category:** Game Development\
**Tags:** unreal-engine\
**Created:** [October 16, 2019, 12:14pm UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246 "2019-10-16T12:14:07Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Hethger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hethger](https://forums.unrealengine.com/u/Hethger)\
**Post date:** [November 4, 2019, 6:16pm UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/21 "2019-11-04T18:16:41Z")

</div>

> [@Chosker](#):
>
> looks nice, very interesting
> 
> a few things to consider:
> 
> - I don’t get why textures are 2048 with all that wasted space. they are not going to be streamed anyway so you don’t need mips (any mipmap is useless except the full resolution, so don’t need power of 2)
> - will you support animation blending of some kind? I understand this is for crowds but even then the hard cuts are jarring
> 
> also since animation textures are generated per mesh \* per animation \* per LOD, you’re probably aware that if you have more than a handful of characters you’re going to end up with a big texture library and potentially a lot of texture memory used.

-The textures are 2048 in the videos and content just as examples, the tool supports any arbitrary resolution.

-Animation blending can be done by using same scale encoding technique I do in the examples, since its a pretty common feature I’ll see about including an implementation in the content examples.

-The tool allows for multiple animations to be packed into only one texture and all LODs can access that one texture by using the additional UV Channel designated for looking up the same pixel coordinates in the textures, all the examples in the videos use only 2 textures (1º for position offsets and 2º for normals).

Cheers.

---

<div class="post-metadata">

**Author:** ![Chosker](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chosker/32/710746_2.png) [@Chosker](https://forums.unrealengine.com/u/Chosker)\
**Post date:** [November 4, 2019, 6:54pm UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/22 "2019-11-04T18:54:15Z")

</div>

> [@OptimisticMonkey](#):
>
> @Chosker I was pondering a similar idea - the rigid body vertex animation in houdini takes a similar approach to what you describe. I am thinking about attempting a similar approach - do you have any other docs or links about it?

sorry we came up with the method and implementation in-house, I don’t have any docs or links

> [@Hethger](#):
>
> -The textures are 2048 in the videos and content just as examples, the tool supports any arbitrary resolution.
> 
> -Animation blending can be done by using same scale encoding technique I do in the examples, since its a pretty common feature I’ll see about including an implementation in the content examples.
> 
> -The tool allows for multiple animations to be packed into only one texture and all LODs can access that one texture by using the additional UV Channel designated for looking up the same pixel coordinates in the textures, all the examples in the videos use only 2 textures (1º for position offsets and 2º for normals).
> 
> Cheers.

oh, very nice  
then I’d only suggest the option to make textures as small as possible with the baked data, cropping the unnecessary part

---

<div class="post-metadata">

**Author:** ![Hethger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hethger](https://forums.unrealengine.com/u/Hethger)\
**Post date:** [November 5, 2019, 6:58pm UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/23 "2019-11-05T18:58:21Z")

</div>

> [@CoquiGames](#):
>
> Hi @Hethger,
> 
> I’ll probably buy this very soon as it looks incredibly useful :). I have a few questions after watching the videos:
> 
> - How are you changing the animations on the instances? For example, how does each instance know it has to play the Idle / walk / run animations? Do you have control over this via BP?
> - Since this is WPO, Im assuming that collision for each instance is based on the static mesh data (and does not account for the animation). Is that correct?
> - How many animations can we reasonably include in the data asset? Is there a practical limit?
> 
> Thanks!

@CoquiGames

-Animation Selection is done by using something I call Scale Encoding, which allows you to set some custom float data per instance that you can then change through blueprint, you can find more details about it in the Documentation.

-If you are asking for the collision on the videos, the instances have no collision resolution in those examples, there is however an implementation of an Instanced Static mesh-\>Character hybrid in the content examples that simply updates the Instances along with their corresponding character, thus leaving the collision resolution side to each character actor.

-UE 4’s texture resolution limit is 8192x8192 (2048x2048 on mobile), data is stored along the X axis of the texture and each frame along the Y axis, so a mesh with 8192 verts can have up to 8192 frames of animation in total, that you later distribute between the different animations.

Cheers.

---

<div class="post-metadata">

**Author:** ![LeFxGuy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LeFxGuy](https://forums.unrealengine.com/u/LeFxGuy)\
**Post date:** [November 6, 2019, 10:45am UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/24 "2019-11-06T10:45:32Z")

</div>

Question: Wouldnt it make more sense if the Plugin itself determined the texture resolution based on the Vertex Anim Profile? Would be way less trouble for the user? I checked the video and the amount of time spent on entering texture resolution is quite high and feels pretty redundant?

---

<div class="post-metadata">

**Author:** ![CoquiGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coquigames/32/1194591_2.png) [@CoquiGames](https://forums.unrealengine.com/u/CoquiGames)\
**Post date:** [November 6, 2019, 3:51pm UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/25 "2019-11-06T15:51:24Z")

</div>

> [@Hethger](#):
>
> @CoquiGames
> 
> -Animation Selection is done by using something I call Scale Encoding, which allows you to set some custom float data per instance that you can then change through blueprint, you can find more details about it in the Documentation.
> 
> -If you are asking for the collision on the videos, the instances have no collision resolution in those examples, there is however an implementation of an Instanced Static mesh-\>Character hybrid in the content examples that simply updates the Instances along with their corresponding character, thus leaving the collision resolution side to each character actor.
> 
> -UE 4’s texture resolution limit is 8192x8192 (2048x2048 on mobile), data is stored along the X axis of the texture and each frame along the Y axis, so a mesh with 8192 verts can have up to 8192 frames of animation in total, that you later distribute between the different animations.
> 
> Cheers.

Thanks for the clarification! I bought it to show support and encourage you to post it in the MP. This plugin has huge potential - it just needs good example content :).

---

<div class="post-metadata">

**Author:** ![LeFxGuy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LeFxGuy](https://forums.unrealengine.com/u/LeFxGuy)\
**Post date:** [November 8, 2019, 10:35am UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/26 "2019-11-08T10:35:03Z")

</div>

Btw. I am not sure what the problem is but I cannot open the current rar-file with 7zip. Says it is corrupted. Tried several times to different locations. Would be great to hear back from you @Hethger

---

<div class="post-metadata">

**Author:** ![Hethger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hethger](https://forums.unrealengine.com/u/Hethger)\
**Post date:** [November 9, 2019, 12:13pm UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/27 "2019-11-09T12:13:23Z")

</div>

> [@LeFxGuy](#):
>
> Btw. I am not sure what the problem is but I cannot open the current rar-file with 7zip. Says it is corrupted. Tried several times to different locations. Would be great to hear back from you @Hethger

[https://www.7-zip.org/faq.html](https://www.7-zip.org/faq.html)

```auto

**Why can't 7-Zip open some RAR archives?**
7-Zip 9.20 supports RAR 2/3/4 formats only and doesn't support RAR5 archives. But latest versions of 7-Zip supports RAR5 archives.

```

I just use winrar to compress and open, nobody has ever told me they can’t open a .rar I’ve sent them, so I don’t know.

---

<div class="post-metadata">

**Author:** ![LeFxGuy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LeFxGuy](https://forums.unrealengine.com/u/LeFxGuy)\
**Post date:** [November 11, 2019, 11:21am UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/28 "2019-11-11T11:21:02Z")

</div>

@Hethger A, great catch. Time to update 7zip. Never thought about this, often times it is a corrupted download or something. Anyway, thank you very much!

---

<div class="post-metadata">

**Author:** ![Hethger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hethger](https://forums.unrealengine.com/u/Hethger)\
**Post date:** [November 11, 2019, 12:49pm UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/29 "2019-11-11T12:49:58Z")

</div>

Little update to Example Project:  
-Added example of different LODs of the same mesh using same texture for animation.  
-Added example of blending between multiple animations using scale encoding per instance.  
-Added Blending between the different animations of the 120 agent example, now it smoothly transitions between idle, walking and running.  
-Added comments to the materials and blueprints for better reference.

Here are some screenshots of the example project:  
 ![Captura.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/0/f/0f115cf5ab65d085aa73d4817d5eae3672a4ab82.jpeg)  
 ![Captura2.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/d/dd0d9aae30ac8aff40745a758028c2050b825784.jpeg)

 ![Captura3.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/7/47f155ed6e72b2c9f6cefa64fcdbb2e5bc2538e9.jpeg)  
 ![Captura4.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/2/82aca4cacc061fb2c45befaaedf6706958557885.jpeg)  
 ![Captura5.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/b/db55a1e190d7818276f27be41b410caade74fdee.jpeg)

---

<div class="post-metadata">

**Author:** ![OptimisticMonkey](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/optimisticmonkey/32/906571_2.png) [@OptimisticMonkey](https://forums.unrealengine.com/u/OptimisticMonkey)\
**Post date:** [November 11, 2019, 1:26pm UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/30 "2019-11-11T13:26:00Z")

</div>

@Hethger New Example looks awesome - did you update the Gumroad download with it? Would love to test it out

---

<div class="post-metadata">

**Author:** ![LeFxGuy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LeFxGuy](https://forums.unrealengine.com/u/LeFxGuy)\
**Post date:** [November 11, 2019, 5:01pm UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/31 "2019-11-11T17:01:13Z")

</div>

Q1 Wouldnt it make more sense if the Plugin itself determined the texture resolution based on the Vertex Anim Profile? Would be way less trouble for the user? I checked the video and the amount of time spent on entering texture resolution is quite high and feels pretty redundant?

Q2: Would it make sense to keep the data asset in the example content? Ofc this would require to have the Plugin already in there? Which would be convenient if you do not want to copy your Plugin into the engine plugins.

---

<div class="post-metadata">

**Author:** ![Hethger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hethger](https://forums.unrealengine.com/u/Hethger)\
**Post date:** [November 11, 2019, 7:37pm UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/32 "2019-11-11T19:37:10Z")

</div>

> [@LeFxGuy](#):
>
> Q1 Wouldnt it make more sense if the Plugin itself determined the texture resolution based on the Vertex Anim Profile? Would be way less trouble for the user? I checked the video and the amount of time spent on entering texture resolution is quite high and feels pretty redundant?
> 
> Q2: Would it make sense to keep the data asset in the example content? Ofc this would require to have the Plugin already in there? Which would be convenient if you do not want to copy your Plugin into the engine plugins.

-I’d rather keep the choice of resolution up to the user as there can be a lot of special cases. Also setting the texture resolution is just a 1 minute process you only have to do once per skeletal mesh.

-Are you asking for the Mannequin Vertex Anim Profile that was used to bake the animation of the example content project? Or are you asking if you need to create a Profile and keep it in the example project in order for it to work? Since the binaries are included you just have to grab the “VertexAnimToolset” folder under the “VertexAnimToolset\_4-22” folder, and either drop it inside a “Plugins” folder of whatever project you want to use the plugin with, or inside the “…\UE\_4.22\Engine\Plugins\Marketplace” folder to have it enabled on all of your engine projects.

Cheers.

---

<div class="post-metadata">

**Author:** ![Hethger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hethger](https://forums.unrealengine.com/u/Hethger)\
**Post date:** [November 11, 2019, 7:39pm UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/33 "2019-11-11T19:39:53Z")

</div>

> [@OptimisticMonkey](#):
>
> @Hethger New Example looks awesome - did you update the Gumroad download with it? Would love to test it out

Yes, you can download it again from gumroad or grab it directly from here [Dropbox - File Deleted - Simplify your life](https://www.dropbox.com/s/isyjyq0haj69mm3/VertexAnimExamples.rar?dl=0)

---

<div class="post-metadata">

**Author:** ![LeFxGuy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LeFxGuy](https://forums.unrealengine.com/u/LeFxGuy)\
**Post date:** [November 12, 2019, 11:22am UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/34 "2019-11-12T11:22:39Z")

</div>

> [@Hethger](#):
>
> -I’d rather keep the choice of resolution up to the user as there can be a lot of special cases. Also setting the texture resolution is just a 1 minute process you only have to do once per skeletal mesh.
> 
> -Are you asking for the Mannequin Vertex Anim Profile that was used to bake the animation of the example content project? Or are you asking if you need to create a Profile and keep it in the example project in order for it to work? Since the binaries are included you just have to grab the “VertexAnimToolset” folder under the “VertexAnimToolset\_4-22” folder, and either drop it inside a “Plugins” folder of whatever project you want to use the plugin with, or inside the “…\UE\_4.22\Engine\Plugins\Marketplace” folder to have it enabled on all of your engine projects.
> 
> Cheers.

1. Well, maybe have an auto and manual mode but I understand your decision. And no, you have to fill in texture resolution 3 times. In Texture Res, in Bake profile and in the Material Editor. So because this is quite repetitive, I thought you could change that. For Example the Data Asset could retrieve the texture resolution from the textures that are plugged into it. Or maybe the user enters texture resolution into the Data Asset and then there is a button to auto-generate the textures and render targets. Furthermore, there could also be a function to auto-fill in a material, although I am not sure how much work this is and if you can add all the nodes properly connected via C++. Anyway, this is just feedback and suggestion for improvement.  
Maybe it would be a great idea to retrieve almost every data from the data asset. So when you click on “bake anim” in skeletal mesh editor, the user selects the Vertex Anim Profile and then it already knows which textures to use. No need to select them again manually. Or is there a purpose in doing so? Just ideas. Cheers

2. And yes, the Mannequin Vertex Anim Profile. This way, a user can compare the values for the material and better understand, although after 2-3 times, it is quite obvious but why not.

3. And yes, I proposed to just add the binaries so that users dont have to copy stuff around, especially since this is the example project which relies on the plugin anyway. This is just a service for your users. 😉

In general, I tested the tool with a rather ■■■■■■ skeletal mesh and after fixing the number of frames, it was quite the great result and really fast and easy to use. 🙂

---

<div class="post-metadata">

**Author:** ![Hethger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hethger](https://forums.unrealengine.com/u/Hethger)\
**Post date:** [November 15, 2019, 9:41pm UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/35 "2019-11-15T21:41:29Z")

</div>

Plugin has been released to the Marketplace! [Vertex Anim Toolset in Code Plugins - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/slug/vertex-anim-toolset)

Thanks to everyone who purchased and tried out the beta version. I’ll be contacting everyone about granting access to the plugin through the marketplace soon.

Cheers.

---

<div class="post-metadata">

**Author:** ![TechLord](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/techlord/32/1040563_2.png) [@TechLord](https://forums.unrealengine.com/u/TechLord)\
**Post date:** [November 15, 2019, 11:20pm UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/36 "2019-11-15T23:20:56Z")

</div>

Hello @Hethger

This looks awesome for Hordes (thinking something like Days Gone Freaker Hordes), but can this system also be used to significantly improved performance rendering of \*single \*ultra high poly character or character assembled from 100s of separate meshes like …

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/8/dd850718c0f5b96a8898bbb7acc4c6c7d8f4f93b.jpeg "GOLEM ECS Assembly Process") ](https://www.youtube.com/watch?v=A_AtD1xkAt4)

---

<div class="post-metadata">

**Author:** ![Hethger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hethger](https://forums.unrealengine.com/u/Hethger)\
**Post date:** [November 16, 2019, 12:09pm UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/37 "2019-11-16T12:09:09Z")

</div>

> [@TechLord](#):
>
> Hello @Hethger
> 
> This looks awesome for Hordes (thinking something like Days Gone Freaker Hordes), but can this system also be used to significantly improved performance rendering of \*single \*ultra high poly character or character assembled from 100s of separate meshes like …  
> [https://youtube.com/watch?v=A\_AtD1xkAt4](https://youtube.com/watch?v=A_AtD1xkAt4)

I’d advise against using this technique specifically for that. Because of texture resolution limits, baking the vertex animation for a character with more than 25K verts is only going to allow a few frames of animation.

For that Knack style character you are better off using particles.

Cheers.

---

<div class="post-metadata">

**Author:** ![TechLord](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/techlord/32/1040563_2.png) [@TechLord](https://forums.unrealengine.com/u/TechLord)\
**Post date:** [November 17, 2019, 8:03pm UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/38 "2019-11-17T20:03:01Z")

</div>

> [@Hethger](#):
>
> I’d advise against using this technique specifically for that. Because of texture resolution limits, baking the vertex animation for a character with more than 25K verts is only going to allow a few frames of animation.
> 
> For that Knack style character you are better off using particles.
> 
> Cheers.

I appreciate your response and advise. Thank you.

---

<div class="post-metadata">

**Author:** ![RealAero](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/realaero/32/716140_2.png) [@RealAero](https://forums.unrealengine.com/u/RealAero)\
**Post date:** [November 17, 2019, 10:41pm UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/39 "2019-11-17T22:41:07Z")

</div>

Oh wow, thank you ! Just checking in, and bought this!! Excited to try it!!

---

<div class="post-metadata">

**Author:** ![Colin.Williamson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Colin.Williamson](https://forums.unrealengine.com/u/Colin.Williamson)\
**Post date:** [November 20, 2019, 1:52am UTC](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246/40 "2019-11-20T01:52:45Z")

</div>

This looks awesome.

Hethger, is there an easy way to get the meshes to rotate/orient from their root? Like for having a bunch of bugs running up a hill/incline.

[Previous page](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246.md?page=1)

[Next page](https://forums.unrealengine.com/t/vertex-animation-toolset-crowd-rendering/132246.md?page=3)
