truck-meshalgo

Crates.iotruck-meshalgo
lib.rstruck-meshalgo
version0.4.0
sourcesrc
created_at2021-12-04 09:49:51.260122
updated_at2024-09-20 13:54:46.430407
descriptionMesh algorigthms, include tessellations of the shape.
homepagehttps://github.com/ricosjp/truck
repositoryhttps://github.com/ricosjp/truck
max_upload_size
id492175
size255,541
Yoshinori Tanimura (ytanimura)

documentation

README

truck-meshalgo

Crates.io Docs.rs

Mesh algorigthms, include tessellations of the shape.

Sample Codes

filleted-cube

An experiment to decompose a mesh into elements for future NURBS-shape approximation of the mesh. Contains doc(hidden) methods.

  • Input: filleted_cube.obj
  • Output: planes.obj, lower.obj, upper.obj

irregular-sphere

Add the normal to the sphere containing the irregular normal generated from the NURBS containing the critical point.

  • Input: irregular_sphere.obj
  • Output: regular_sphere.obj

octahedron-subdivision

Apply loop subdivision to regular octahedron.

  • Input: hardcoded octahedron
  • Output: octahedron.obj, subdivision-octahedron.obj

requadrangulate-buddha

A benchmark that reads in heavy mesh data, applies triangulation and quadrangulation, and writes it out.

  • Input: happy-buddha.obj
  • Output: requadrangulated-buddha.obj

smoothing-bunny

Adds smooth normals to the stanford bunny.

  • Input: bunny.obj
  • Output: smooth_bunny.obj

splitting-sample

An experiment to decompose a mesh into elements for future NURBS-shape approximation of the mesh.

  • Input: sample.obj
  • Output: planes_parts_#.obj, others_parts_#.obj

teapot

Adds smooth normals to and quadrangulate the famous teapot.

  • Input: teapot.obj
  • Output: quaded_pot.obj

tessellate-shape

Tessellate a shape and output an obj file.

usage: tessellate-shape <input json file> <output json file>

The default <output file> is output.obj.

Commit count: 2196

cargo fmt