Download

Vertex Animation Script for Blender 3D Users

@fajrulfnf No problem. Glad to see you had no issues. Yeah the export mesh has a UV channel with the coords laid out in a straight line horizontally. So the image’s horizontal resolution matches the number of vertices and the vertical resolution matches the number of frames. Since you’re using just two shape keys for a lerp animation I would use the mesh morpher script.

So is this vertex animation tool for blender related to models for Unreal Engine 1 or rather Unreal Engine 4? If that’s so I downloaded on old unreal forums version already several months ago.

@Gamerz31w GitHub - JoshRBogart/unreal_tools: Blender 3D scripts for storing vertex data for use in a vertex shader. This is the link you need. The scripts are for storing data used to animate static meshes through different methods using Unreal Engine 4 materials.

Thank you for the nice Addon!
Are there any plans to make a Blender 2.8 version?
It would be a pity to loose it in the new Blender version.

Yeah this could be great.

This tool is awesome. Thank you for making it available to the Blender community, [USER=“644194”]Josh Bogart[/USER]. I’ve submitted a pull request on Github, with fixes for the 2.8 release. That link is here for anyone who wants to give it a test run.

And here are some low quality butterfly animations I made with MeshMorpher…

https://www.youtube.com/watch?v=C8ZrpdO5Amw

Thanks for the 2.8 update. Just tried it and works just as well as the previous version.

Hi I just discovered your plugin and so far it’s amazing, you have a section with the mesh morpher and I was wondering what these options do

It was functionality from the max version I don’t remember the use of the pivot location. But it would just store it in the UV’s like a morph target. The normals option stores the 1st morph target’s normals in the objects vertex colors. It’s to aid in reducing shading artifacts.

So happy to see something like this for Blender, most appreciated!

I was wondering, would this work for exporting VATs from FLIP fluid sims as well? Similar to the Game Dev VAT export tool from Houdini.

Sorry for the late response. I’m not familiar with VATs or Houdini, but no I’m going to say probably not. The current tool works with meshes with static vertex counts. So anyway you can think of moving mesh vertices around will work, but they have to have a fixed count. You could possibly experiment with scaling parts of whole meshes down on a single frame to counter act this. Each frame could be a “flip book” mesh, but given the way the tool works it would significantly reduce your vertex and frame count accounting for the limited texture resolution.

Josh! This looks amazing… although I am lost right at the start. Where do we install these scripts?

Seeing how it’s pretty straight forward I guess it was pretty lazy of me to leave it out. You want to go to the add-on’s section of the user preferences (edit > preferences > add-on’s). You want to hit the install button and navigate to the downloaded add file in the browser that pops up. Select the add-on file and click install add-on.

Can I somehow apply 2 materials on exported mesh? I noticed that parts of mesh that were assigned with 2nd slot material just vanish somewhere if I apply VAT material to 1st slot. Any workaround on that? Or do I need to mask textures out if I want different looks on different mesh parts

2.9x version?

Pleaaaaaaaase ?

EDIT: Hey!. So i installed Blender 2.83.4 returning from 2.90, just for this.
And when I tried to install it, says: Upgrade to 2.8x required!

I just merged a 2.83 update to the master branch. If people really would like a 2.9 update it’s not going to require much I can open a new branch. I’m going to start work on the two versions of pivot painter though and upgrading the vertex animation script to it’s full functionality. I might also change the way mesh morpher works.

Hi I managed to get it installed as an add on but it won’t run

using blender 2.90.0
​​​​​​​Heres the error

](filedata/fetch?id=1808297&d=1599277861)

Yeah, sorry big oof there. There was a typo. I probably should write some unit tests since these are just going to get bigger.

So I just tried to use this for the first time and everything worked very well.

One issue though, The plugin wants blender units to be at 0.01 scale but when I do this my mesh is a hundred times to small when I import it back to UE4. scaling it back up during import causes the vertex animations to have almost no impact since they are still using the 0.01 scale.

If I want everything to work correctly I need to import the mesh a hundret times to small and scale it up in the scene, then everyrthing works. I’m fairly new to blender so maybe I can set blender up in another way to fix this?

For you to know:
I went to this page: https://github.com/JoshRBogart/unrea…s/pull/8/files
I copypasted the whole code (obviously, from the script who is named ‘vertex animation’), and paste it in .txt file. I renamed it as .py
I installed it in Blender from that file and now is working happily in 2.90