subdividing tethahedrons?

   1825   4   0
User Avatar
Member
1694 posts
Joined: March 2020
Offline
Hey,


Sorry for what might be a noob question, but is there a way of uniformly subdividing a tetrahedron mesh (just like the Subdivide SOP for polygons)?


I have a tetmesh which i generated from a character (it has the same number of points as the original character so i can drive it with the original deformation of the character). I use a base/deformed tetmesh pair to deform stuff inside the character's volume, but i'd like to subdivide both the base and the deformed tets to have a higher resolution (similar to subdividing a regular mesh after deformation).


cheers
Imre Tuske
FX Supervisor | Senior FXTD @ Weta FX

qLib -- Houdini asset library
http://qlab.github.io/qLib/ [qlab.github.io]
https://www.facebook.com/qLibHoudini [www.facebook.com]
User Avatar
Member
4189 posts
Joined: June 2012
Offline
Yup!

Attachments:
SubTets.hiplc (56.8 KB)
Screen Shot 2017-04-26 at 4.23.56 PM.png (266.7 KB)

User Avatar
Member
1694 posts
Joined: March 2020
Offline
Yeah but I'm not looking for adding more points on just the _surface_, but subdividing each existing tetrahedron into 4 smaller ones (if you know what i mean) – i don't think this method would do that, right? I'll definitely try and explore this direction more, though (i.e. refining an existing tetmesh).

My other problem was (at least in H15.5) if i tried to add extra points in the 2nd input of tetrahedralize, it didn't work if the points were laying on the original surface (e.g. scattered points).
Imre Tuske
FX Supervisor | Senior FXTD @ Weta FX

qLib -- Houdini asset library
http://qlab.github.io/qLib/ [qlab.github.io]
https://www.facebook.com/qLibHoudini [www.facebook.com]
User Avatar
Member
4189 posts
Joined: June 2012
Offline
Ah- try ConvertTetsSOP after the first tetrahedralize then subdivide that, then tetrahedralize the result?!

EDIT: nah don't do that - doesn't work too. boo.
Edited by anon_user_37409885 - April 26, 2017 00:46:21
User Avatar
Member
4189 posts
Joined: June 2012
Offline
Try this: Needs H 16.0.603+ for bug fixes. Uses a fracture to allow the ConvertetsSOP to polygonize the original tets.

Attachments:
TetDivide.hiplc (123.6 KB)
Screen Shot 2017-05-11 at 9.16.51 AM.png (658.3 KB)

  • Quick Links