Skip to content

Commit

Permalink
Merge pull request #9 from gmggroup/8-add-examples
Browse files Browse the repository at this point in the history
8 add examples
  • Loading branch information
Tim-Evans-Seequent authored Jun 25, 2024
2 parents 517af83 + 6681ae0 commit 7817efb
Show file tree
Hide file tree
Showing 11 changed files with 146,576 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ zip.workspace = true
[dev-dependencies]
bytes.workspace = true
regex.workspace = true
glam = "0.28"

[features]
default = ["image", "parquet", "omf1"]
Expand Down
18 changes: 18 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Examples

## Running the Examples

For the examples with code, you can run them with:

```
cargo run --release --example <example-name>
```


## Available Examples

| Path | Code? | Description |
|---|---|---|
| `bunny/` || Reads a mesh from a Wavefront OBJ file, writes it to an OMF file, then re-reads the OMF file. |
| `pyramid/` || Writes a small pyramid mesh into an OMF file, then re-reads the file. |
| `bunny_blocks/` || Reads an octree sub-blocked model from a CSV file, write it to OMF, reads that back, and writes some of the centroids to another CSV. |
Loading

0 comments on commit 7817efb

Please sign in to comment.