Maxc Posted June 1, 2017 Share Posted June 1, 2017 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. Quote Link to comment Share on other sites More sharing options...
mikelyndon Posted June 1, 2017 Share Posted June 1, 2017 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 Quote Link to comment Share on other sites More sharing options...
Maxc Posted June 2, 2017 Author Share Posted June 2, 2017 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. Quote Link to comment Share on other sites More sharing options...
mikelyndon Posted June 3, 2017 Share Posted June 3, 2017 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? Quote Link to comment Share on other sites More sharing options...
Maxc Posted June 3, 2017 Author Share Posted June 3, 2017 Hi Mike, I saw your post on the new unity update just installed the new vertex_animation_textures_beta from https://github.com/sideeffects/GameDevelopmentToolset/tree/Development and everything works now. I have successfully got a cloth into Unreal. Thanks for the help. Quote Link to comment Share on other sites More sharing options...
ernieML Posted June 29, 2017 Share Posted June 29, 2017 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! Quote Link to comment Share on other sites More sharing options...
mikelyndon Posted July 1, 2017 Share Posted July 1, 2017 Can you post your hip file? Mike Quote Link to comment Share on other sites More sharing options...
ernieML Posted July 3, 2017 Share Posted July 3, 2017 Hey Mike, sure thing. Here you go and thanks for taking a look at this. Ernie SimpleCloth_Test01.hip Quote Link to comment Share on other sites More sharing options...
mikelyndon Posted July 5, 2017 Share Posted July 5, 2017 Hi Ernie, Your hip file has the old vertex animation textures node. Make sure to use Vertex Animation Textures (Beta). Mike Quote Link to comment Share on other sites More sharing options...
ernieML Posted July 5, 2017 Share Posted July 5, 2017 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 Quote Link to comment Share on other sites More sharing options...
mikelyndon Posted July 5, 2017 Share Posted July 5, 2017 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 Quote Link to comment Share on other sites More sharing options...
ernieML Posted July 5, 2017 Share Posted July 5, 2017 Thanks Mike! Let me know. Ernie Quote Link to comment Share on other sites More sharing options...
mikelyndon Posted July 5, 2017 Share Posted July 5, 2017 Hey Ernie, Can you test out this update to the node and let me know so I can integrate it back into the main branch? https://github.com/sideeffects/GameDevelopmentToolset/tree/vertexAnimationTextures Mike Quote Link to comment Share on other sites More sharing options...
ernieML Posted July 6, 2017 Share Posted July 6, 2017 It totally works!!! Thanks man I really appreciate it! Ernie Quote Link to comment Share on other sites More sharing options...
ernieML Posted July 6, 2017 Share Posted July 6, 2017 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 Quote Link to comment Share on other sites More sharing options...
mikelyndon Posted July 7, 2017 Share Posted July 7, 2017 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 Quote Link to comment Share on other sites More sharing options...
ernieML Posted July 8, 2017 Share Posted July 8, 2017 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 Quote Link to comment Share on other sites More sharing options...
mikelyndon Posted July 10, 2017 Share Posted July 10, 2017 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. Quote Link to comment Share on other sites More sharing options...
mikelyndon Posted July 10, 2017 Share Posted July 10, 2017 Think I fixed the issue. You can download the latest on GitHub - https://github.com/sideeffects/GameDevelopmentToolset/tree/vertexAnimationTextures Quote Link to comment Share on other sites More sharing options...
ernieML Posted July 10, 2017 Share Posted July 10, 2017 Awesome! I will try it out. Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.