#mesh #polygon #geometry #graphics #half-edge-mesh

lox

Fast polygon mesh library with different data structures and traits to abstract over those

3 unstable releases

0.1.1 Apr 23, 2023
0.1.0 Apr 18, 2023
0.0.0 Oct 5, 2018

#402 in Data structures

MIT/Apache

525KB
8K SLoC

Lox: polygon mesh library

CI status of main Crates.io Version docs.rs

lox is a polygon mesh library with different data structures and traits to abstract over those. It can be used to create, generate, process, and analyze polygon meshes. This is part of the field "geometry processing", relevant for developing real-time 3D applications, simulations, 3D-printing, and much more.

Main features:

  • Multiple optimized and well tested mesh data structures, including half edge mesh and directed edge mesh.
  • Ability to abstract over different data structures without overhead.
  • BlAzInGlY fAsT. Ok no actually, it's pretty fast and I have benchmarks to prove it.
  • Prop maps as flexible solution for storing and managing additional mesh properties (e.g. vertex positions, face colors, ...).
  • Built-in algorithms (only very few right now).
  • Notably missing: IO. Explanation.

See the documentation for more details and on how to get started.



License

Licensed under either of Apache License, Version 2.0 or MIT license at your option. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~3MB
~57K SLoC