Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ed049e3

Browse filesBrowse files
Newsletter 13: Add Hexasphere (rust-gamedev#237)
* Newsletter 13: Add Hexasphere * Newsletter 13: hexasphere: Style tweaks Co-authored-by: Andrey Lesnikov <ozkriff@gmail.com>
1 parent b7e8430 commit ed049e3
Copy full SHA for ed049e3

File tree

Expand file treeCollapse file tree

2 files changed

+20
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+20
-0
lines changed
989 KB
Loading

‎content/posts/newsletter-013/index.md

Copy file name to clipboardExpand all lines: content/posts/newsletter-013/index.md
+20Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,26 @@ _Discussions:
8787

8888
## Library & Tooling Updates
8989

90+
### [hexasphere] v1.0
91+
92+
![hexasphere example gif](hexasphere.gif)
93+
94+
The [hexasphere] library provides a customizable interface for subdividing 3D
95+
triangle meshes. Custom and stateful interpolation functions can be implemented
96+
as well as per-vertex attributes.
97+
98+
All that's required to define a base shape are the initial vertices, triangles
99+
based on the indices of the vertices in the initial vertices, and numbered
100+
edges. As long as the winding of the triangles remains consistend throughout
101+
the base mesh, all of the resulting triangles will retain that winding.
102+
103+
This library also provides a few interesting base shapes (which can be used alone
104+
if the shape is not subdivided):
105+
Icosahedron, Tetrahedron, Cube, Square Plane, Triangle Plane
106+
(all of which are pictured above).
107+
108+
[hexasphere]: https://crates.io/crates/hexasphere
109+
90110
### [blitz-path](https://github.com/BezPowell/blitz-path)
91111

92112
[blitz-path](https://github.com/BezPowell/blitz-path) is a new crate providing

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.