https://github.com/potato3d/tess
Tessellation routines for parametric 3D geometries
https://github.com/potato3d/tess
3d computational-geometry mesh parametric-3d-geometries polygon-tessellator quadrics tesselation tessellation-routines
Last synced: 3 months ago
JSON representation
Tessellation routines for parametric 3D geometries
- Host: GitHub
- URL: https://github.com/potato3d/tess
- Owner: potato3d
- License: mit
- Created: 2021-02-13T14:26:03.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-13T14:34:54.000Z (over 4 years ago)
- Last Synced: 2025-01-10T05:36:16.446Z (5 months ago)
- Topics: 3d, computational-geometry, mesh, parametric-3d-geometries, polygon-tessellator, quadrics, tesselation, tessellation-routines
- Language: C
- Homepage:
- Size: 72.3 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tess
Tessellation routines for parametric 3D geometries# Description
The main files tessellator.* generate optimized 3D triangle meshes for the following geometries:
* box
* circular_torus
* cone
* cone_offset
* cylinder
* cylinder_offset
* dish
* pyramid
* rectangular_torus
* sphereCheckout geometries.h for details on how each geometry can be parameterized.
Polygon tessellation is implemented in the polygon_tessellator.* files. It uses the GLUT tessellation library.
The mesh_builder.* files convert a triangle mesh represented as GL_TRIANGLE_FAN or GL_TRIANGLE_STRIP into GL_TRIANGLES representation.
The mesh_optimizer.* files implement algorithms to optimize an existing triangle mesh. It can remove unused vertices in O(n) and merge vertices with exactly the same coordinates in O(n) (using a hash table).