Concave Hull in Houdini

   8408   9   2
User Avatar
Member
10 posts
Joined: 6月 2015
Offline
Hi,

I am trying to find the concave hull of a set of points in Houdini.
I noticed that the bullet solver has a concave representation for colliding objects.
Is it possible to retrieve that geometry for use elsewhere?
And does the algorithm used to perform Concave representations there also work for a set of disconnected points?

Thanks
User Avatar
Member
471 posts
Joined: 11月 2013
Offline
Hello.
Use Shrinkwrap node in SOP level to create concave representation of your object.
This node works with just points as well.
User Avatar
Member
10 posts
Joined: 6月 2015
Offline
The Shrinkwrap node seems to only create convex hulls.
I need something that will conform more closely to the “surface” of a set of points.
User Avatar
Member
471 posts
Joined: 11月 2013
Offline
If you wanna have better collision representation of your objects in simulation:
1.Convert your model to VDB via VDB from polygon node.
2.Use VDB to sphere to create set of spheres which representing your model.
3.Use this geo in your dynamics simulation.

I've created a simple HIP file.
Hope this helps.
Edited by Nima - 2017年6月22日 06:05:29

Attachments:
better collision representation.hip (214.0 KB)

User Avatar
Member
10 posts
Joined: 6月 2015
Offline
I have also tried working with VDB's and this does give a closer representation. However, the conversion from point to VDB and then VDB to polygon seems to create an overhead I'd rather avoid.
Is there a way to bypass VDB and quickly get to the “surface.”

Surface here would mean also that the points are on that surface.
Any thoughts?

Thanks
User Avatar
Member
99 posts
Joined: 3月 2009
Offline
this is what I do:

http://polygonspixelsandpaint.tumblr.com/post/157710723694 [polygonspixelsandpaint.tumblr.com]

It works a lot better for collision since you can have things skate over the surface naturally that wouldn't work for vdb method
Edited by cgbeige - 2017年10月23日 18:42:59
User Avatar
Member
10 posts
Joined: 6月 2015
Offline
A good suggestion thanks. Unfortunately I can't use voronoi fracture in my case because I don't have a geometry to break. I am working off a particle system and trying to find a concave representation of the points in said system.
User Avatar
Member
323 posts
Joined: 1月 2015
Offline
hi there,
just add any normal to your points and use plointcloudiso


I also like: https://vimeo.com/228620264 [vimeo.com]


greetings

Olaf
User Avatar
Member
459 posts
Joined: 10月 2011
Offline
If you first turn your source_particles node into a Deforming Collision object (collision tab -> deforming object) and then replace the collisionsource inside the source_particles with a vdbfromparticlefluid. Then you get a reasonable fast and accurate concave collision volume.

-b
Edited by bonsak - 2017年10月24日 17:41:06

Attachments:
collide.hipnc (468.2 KB)

http://www.racecar.no [www.racecar.no]
User Avatar
Member
10 posts
Joined: 6月 2015
Offline
Thanks. Those are all good suggestions. I will look into them.
  • Quick Links