Skip to content

Commit ecd60d0

Browse files
committed
Add (brief) documentation for the more advanced API (vertex assignment and mesh charts)
1 parent be9b47e commit ecd60d0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ atlas.height # Height of the atlas
9191
atlas.utilization # Utilization of the first atlas
9292
atlas.get_utilization(i) # Utilization of i-th atlas
9393

94+
atlas.get_mesh_vertex_assignement(i) # Returns two arrays, with the atlas index and
95+
# chart index of each vertex in the i-th mesh
96+
atlas.get_mesh_chart_count(i) # Returns the number of charts of the i-th mesh
97+
atlas.get_mesh_chart(i, j) # Returns the j-th chart of the i-th mesh
98+
9499
# The image requires passing custom PackOptions:
95100
# pack_options = xatlas.PackOptions()
96101
# pack_options.create_image = True

0 commit comments

Comments
 (0)