Register Latest Topics
 
 
 


Reply
  Author   Comment   Page 2 of 2      Prev   1   2
MOAB

Wanting the recipes
Registered:
Posts: 50
Reply with quote  #16 
I think what you are doing is much nicer - kind of - raycasting new points onto the geometry, but within the defined sphere.

Yep, in fact the process is to create a boolean mesh between the sphere and the original mesh, and I use that new boolean mesh to scatter points within it's volume. (That way if I want to have 50 points ie I'm sure I will have those 50 points inside the original mesh)
In case the boolean fails I will use instead the sphere volume to scatter my points.

Do you know if qhull supports all this extra data ?

No QHulll is only there to give you the voronoi diagram for a set of points. Another problem with QHull is that it is unable to give you the Constrained Delaunay Triangulation. Normally we need to use that to "cap the holes" after each cuts. We use the "border edges" as constaints for the delaunay triangulation. In my script I use the polyCloseBorder but it will give you artefacts with concave mesh, shelled mesh, or meshes with holes...
Using the Constrained Delaunay Triangulation for the new created faces will also give you the ability to add noise and break the straight edges


There's an old plugin for Maya that perform voronoi fragmenation but it's only available for older Maya versions : http://ngemu.com/threads/autodesk-maya-shattering-plugin.142541/
and it's seems really fast :


There's also another one called Larmor Voronoi : http://www.larmor.com/portfolio/
and here it used the CGAl Library and the project is open source

Now, normally when you have computed the tetrahedralization of a mesh (ie with tetgen) you can easily compute the voronoi diagram (dual graph). Jose Esteve explain it (with source code) here : http://www.joesfer.com/?p=60
https://github.com/joesfer/Voronoi-Shattering

Hope it can help you ;)
0
MOAB

Wanting the recipes
Registered:
Posts: 50
Reply with quote  #17 
BTW is there a way within SOuP to create Voronoi Clusters ?
0
pshipkov

SOuP Jedi
Registered:
Posts: 4,702
Reply with quote  #18 
http://soup-dev.com/videos/shatter_postPointCloudInfluence.mov
0
ZC

Cooking networks
Registered:
Posts: 141
Reply with quote  #19 
Can I use a shatter node and bullet in combination?
0
pshipkov

SOuP Jedi
Registered:
Posts: 4,702
Reply with quote  #20 
Sure you can.
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation: