22 lines
914 B
Markdown
22 lines
914 B
Markdown
# Test 1
|
|
This test requires a directory called `facets` in the current working directory,
|
|
filled with facet files that follow the naming convention: `<string>,<int>,<int>`.
|
|
|
|
The facet file format contains an arbitrary number of facets, with each facet following
|
|
the given format:
|
|
```
|
|
<vertex-count> <normal-x> <normal-y> <normal-z>
|
|
<vertex-x> <vertex-y> <vertex-z>
|
|
...
|
|
```
|
|
The intial line of the vertex count and normals are followed by an extra line for each
|
|
vertex, containing the x, y and z coordinates of that vertex.
|
|
|
|
This program is a visual application. It will process the first file it finds, and
|
|
convert the group of AABBs to planes. It will then mesh each individual plane and
|
|
allow the user to browse:
|
|
- The final tesselated plane
|
|
- A wireframe of the tesselated plane
|
|
- A wireframe of the tesselated plane with chain calculation
|
|
- Each triangle of the final product
|
|
- The tesselation by-product values |