Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Maxc

vertex animation -BBOX MAX & MIN values help

21 posts in this topic

I'm struggling to get data out of the position map, its just grey. I'm assuming its do with the bbox values.  In the GDC2017 cloth example there are values here. but when I use the vertex animation node, the -BBOX MAX & MIN values are not automatically filled out.  Where do these values come from and  how do you get them?   Out of curiosity, what are they for and what do they mean to Unreal? 

Thanks.

Share this post


Link to post
Share on other sites

First question - are you using apprentice? If so, then unfortunately the tool won't work. 

The values are used if you normalize the values. They allow a texture between the range of 0 and 1 in pixel values to be expanded back to their world space values. 

 

Mike

Share this post


Link to post
Share on other sites

Hi Mike,

I have an Indie licence, so any idea how to get these MIN  MAX values?   In the videos Luiz always shows a working scene, not one from scratch.

Thanks.

Share this post


Link to post
Share on other sites

Hey Max.  Can you give me some more details about your setup or send me a hip file?  What kind of vertex animation export are you trying to do?  What is the input geo that you're trying to export?

Share this post


Link to post
Share on other sites

Hey Guys, I too am having this same exact problem. I have basically followed along with the Houdini for Games Webinar, so my setup is pretty much the same. Grid turned to cloth falls on a static object... really no difference. But when I render, the BBox values do not populate. I have tried to install the update above and it still don't work. I am running a commercial version of Houdini 16.0.557. Any help would be greatly appreciated. Thanks in advance!

Share this post


Link to post
Share on other sites

Hi Ernie,

Your hip file has the old vertex animation textures node.  Make sure to use Vertex Animation Textures (Beta).

Mike

Share this post


Link to post
Share on other sites

Hey Mike,

I works! Well, almost :) The issue I see now, is that the end of the cloth sim from Houdini to Unreal do not match, even when my num_frames param both match. See attached images. Thanks for your help and feedback! I appreciate it man!

-Ernie

 

HoudiniCloth.JPG

UnrealCloth.JPG

Share this post


Link to post
Share on other sites

Looks like you've found a bug.  The max and min bounds values are being calculated incorrectly.  I'm going to have to rework the ROP.  I'll see what I can do to release something today but no promises.

Mike

Share this post


Link to post
Share on other sites

Hey Mike,

Well... it did work when I updated and ran it on my current test... but when I uprez'd my grid cloth by adding more rows and columns, re-cached it and re-rendered it, I got this result below. I have tried to revert the cloth back to the original settings, I cannot get it to be correct again. I have also re-created the Unreal side of things and still cant get it to work. Thoughts?

Ernie

 

HoudiniCloth.JPG

UnrealCloth.JPG

Share this post


Link to post
Share on other sites

There's a number of places where that could be causing problems.

Have you tried creating a new vertex_animation_textures node?

Instead of clicking reimport in ue4, delete the asset and import from scratch. Don't forget to set high precision uv's.

Is the resolution of the texture correct? In other words are number of pixels in x the same as the number of points on the new mesh and the number of pixels in y the same as the number of frames?

If none of that helps I'll have to see the hip file again.

Mike

Share this post


Link to post
Share on other sites

Hey Mike,

Yeah I tried all that is listed above and everything checks out. I have attached the hip file cause I am at a loss and it seems to break whenever I make changes to the cloth setup. Thanks for looking into this.

Ernie

SimpleCloth_Test01.hip

Share this post


Link to post
Share on other sites

Hey Ernie,

In fixing one issue I broke something else.  The quick solution for you is to increase the Target Texture Size to 2048. I think that should work for now until I update the node to deal with total number of points greater than max width of texture.

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   You have pasted content with formatting.   Remove formatting

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor