Voronoi polygons?

Voronoi polygons?

hintzjt7
Advocate Advocate
2,511 Views
8 Replies
Message 1 of 9

Voronoi polygons?

hintzjt7
Advocate
Advocate

Is there a way to generate voronoi polygons on a 3d mesh.

0 Likes
2,512 Views
8 Replies
Replies (8)
Message 2 of 9

cheng_xi_li
Autodesk Support
Autodesk Support

If you want to draw the mesh after voronoi polygon is generated, it is possible.

 

There is a footPrintNode sample in our devkit, it shows how to draw mesh in the Maya.

0 Likes
Message 3 of 9

hintzjt7
Advocate
Advocate

I want to make voronoi polygons on top of a 3d mesh. If so, how?

0 Likes
Message 4 of 9

cheng_xi_li
Autodesk Support
Autodesk Support

Hi hintzjt7,

 

I think you use MFnMesh to modify the the 3dmesh you want after you have generated voronoi polygons.

 

I know a third party library called voro++ can be used for generating the Voronoi cells.

 

Yours,

Li

0 Likes
Message 5 of 9

hintzjt7
Advocate
Advocate
0 Likes
Message 6 of 9

cheng_xi_li
Autodesk Support
Autodesk Support

I think they are voronoi polygons on a 3d mesh.

 

You can use MFnMesh to get the entire mesh data of the head or use MSelectionList and MItMeshPolygon to get user desired polygons. With these data, you can generate a voronoi surface with certain library or algorithm. At last, draw them as your custom node like the sample in the Maya devkit.

 

 

0 Likes
Message 7 of 9

hintzjt7
Advocate
Advocate

What about generating smaller and larger voronoi polygons on the same mesh? Can I use paint maps for that?

0 Likes
Message 8 of 9

cheng_xi_li
Autodesk Support
Autodesk Support

What kind of tool(mel, api or Maya itself) are you trying to create the voronoi mesh? I don't think there is a tool for generating voronoi directly in Maya. 

0 Likes
Message 9 of 9

hintzjt7
Advocate
Advocate

I want to create a Maya tool for generating voronoi polygons.

0 Likes