Rename to prosha

This commit is contained in:
Chris Hodapp 2020-10-10 17:34:10 -04:00
parent e7206f4598
commit 9cb467e4d5
3 changed files with 17 additions and 3 deletions

View File

@ -1,5 +1,5 @@
[package] [package]
name = "mesh_scratch" name = "prosha"
version = "0.1.0" version = "0.1.0"
authors = ["Chris Hodapp <hodapp87@gmail.com>"] authors = ["Chris Hodapp <hodapp87@gmail.com>"]
edition = "2018" edition = "2018"
@ -9,7 +9,7 @@ edition = "2018"
[profile.release] [profile.release]
# Unoptimized debug builds are too slow to profile # Unoptimized debug builds are too slow to profile
# having debug info doesn't hurt perf for now # having debug info doesn't hurt perf for now
debug = true # debug = true
[dependencies] [dependencies]
euclid = "0.20.7" euclid = "0.20.7"

View File

@ -1,4 +1,10 @@
# This needs a title # Prosha
Experiments in procedural meshes in Rust
More detailed docs and examples forthcoming.
## General Notes & History
This particular code base was started around 2019 December This particular code base was started around 2019 December
as an attempt to make meshes in a more "generative" style, as an attempt to make meshes in a more "generative" style,
@ -86,6 +92,12 @@ branch, thus named because I needed to get rid of my buggy
implementation of half of Common Lisp. It paid off quite quickly and implementation of half of Common Lisp. It paid off quite quickly and
also was vastly faster at generating meshes. also was vastly faster at generating meshes.
## What does the name mean?
Nothing, but it's better than its previous name of
"mesh_scratch". I asked for name suggestions, and someone came up
with this one.
## Highest priority: ## Highest priority:
- Work on abstraction/composition. Particularly: factor out - Work on abstraction/composition. Particularly: factor out
@ -120,6 +132,7 @@ also was vastly faster at generating meshes.
- [Geometry and Algorithms for Computer Aided Design (Hartmann)](https://www2.mathematik.tu-darmstadt.de/~ehartmann/cdgen0104.pdf) - [Geometry and Algorithms for Computer Aided Design (Hartmann)](https://www2.mathematik.tu-darmstadt.de/~ehartmann/cdgen0104.pdf)
- https://en.wikipedia.org/wiki/Surface_triangulation - https://en.wikipedia.org/wiki/Surface_triangulation
- https://www.cs.cmu.edu/~quake/triangle.html - https://www.cs.cmu.edu/~quake/triangle.html
- OpenSubdiv!
## Reflections & Quick Notes ## Reflections & Quick Notes

View File

@ -307,6 +307,7 @@ impl Sierpinski {
(v1b+v2b)/2.0, (v1b+v2b)/2.0,
(v2b+v0b)/2.0, (v2b+v0b)/2.0,
]; ];
// There might be some redundancy when these are used
Sierpinski { Sierpinski {
splits: splits, splits: splits,