Houdini 16 vertex animation import for UE4

   22226   30   4
User Avatar
Member
10 posts
Joined: June 2016
Offline
mikelyndon-sesi
And it's live! Download the shaders from GitHub - https://github.com/sideeffects/GameDevelopmentToolset/tree/Development [github.com]
And there's a basic setup tutorial here - https://www.sidefx.com/tutorials/unity-shaders-for-vertex-animation-export-tools/ [www.sidefx.com]
If you run into any problems let me know.

Mike

Hi Mike,
Any chance you can share the shader forge code to this particular approach? Thanks!
Edited by limbicnation - June 2, 2017 17:35:24
User Avatar
Member
4 posts
Joined: Sept. 2017
Offline
Hi,
I'm trying to use the vertex animation textures on a cloth sim that has been exported from maya as an alembic cache. The results are exploding stretching verts. In houdini I have the alembic loaded as Unpack Alembic. Any suggestions?

Cheers,
Na

Attachments:
explode01.jpg (219.8 KB)
explode02.jpg (152.2 KB)

User Avatar
Member
394 posts
Joined: May 2017
Offline
So some basic things to check:
Are you using the latest version of the tool from the development branch of Github?
Make sure you've turned off “remove degenerates” for the mesh when importing
In the details panel of the mesh turn on “Use full precision UV's” and set distance field resolution to 0. Don't forget to hit apply changes or the settings won't stick.

Mike
User Avatar
Member
4 posts
Joined: Sept. 2017
Offline
Hi Mike,

Thanks for the quick response! I'm using the latest version of the tool and remove degenerates and full precision UVs and are all on. Distance field is also at 0. When I test a simple cloth sim from Houdini it works fine. Only when I use an imported alembic animation in Houdini does the tool go crazy. Is there anything else I can try?

Thanks!
Na
User Avatar
Member
394 posts
Joined: May 2017
Offline
Can you post a simple hip file as well as an alembic file?
User Avatar
Member
4 posts
Joined: Sept. 2017
Offline
Hi Mike,

I've attached the files. Thanks so much for the help!

Cheers,
Na

Attachments:
pants.hip (1.6 MB)
Pants180F.zip (13.8 MB)

User Avatar
Member
394 posts
Joined: May 2017
Offline
At first glance I think part of the problem is the scale. Try and scale down your geometry by 100 or even a 1000 and try exporting that. You're probably running into precision issues.
User Avatar
Member
4 posts
Joined: Sept. 2017
Offline
I've tried scaling it down by 1000 and it looks a touch better, but still the same issues:

Attachments:
New Bitmap Image.bmp (777.1 KB)

User Avatar
Member
2 posts
Joined: Sept. 2013
Offline
Wow guys - I just got this (fluids) working in UE4 and I'm speechless. Having always been limited by the consistent vert index/topology limitation, being able to output tearing fluids is just bonkers. Thank you!

Edited by Airship - Sept. 26, 2017 12:38:55
User Avatar
Member
2 posts
Joined: Jan. 2007
Offline
Howdy everyone, I am wondering if someone could point me in the right direction to export particles from houdini into Unity using the vertex animation rop. I'm not sure which node I use for the bake. Thanks so much!
User Avatar
Member
77 posts
Joined: April 2009
Offline
Hi there!

Can you advise me please why I am getting this, “shattered” fluid mesh in UE?



Is that something wrong in export from Houdini?

Is that something wrong in fbx import parameters?

Is that something wrong in my UE shader?

This is my exported fbx and textures: https://www.dropbox.com/s/scq62n3irznhubt/exportFromHOU.zip?dl=0 [www.dropbox.com]

This is my UE map with shattered fluid pig: https://www.dropbox.com/s/jw2ji5zx302ce28/FluidPig_shattered.zip?dl=0 [www.dropbox.com]

This is render from Houdini parameters:



Sure, I can provide entire houdini .hip scene and caches.

Thank you in advance!

Attachments:
FluidPig_Shattered.png (206.9 KB)

  • Quick Links