Fix each test and added READMEs
This commit is contained in:
15
application/visualizer/Test2/README.md
Normal file
15
application/visualizer/Test2/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Test 2
|
||||
This test requires a directory called `chunks` in the current working directory,
|
||||
filled with mAABB files that follow the naming convention: `<string>,<int>,<int>`.
|
||||
|
||||
The mAABB file format contains an arbitrary number of AABBs, with one line per each:
|
||||
`<min-x> <min-y> <min-z> <max-x> <max-y> <max-z>`
|
||||
|
||||
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
|
||||
@@ -150,9 +150,9 @@ public class MeshingTest2 extends JPanel {
|
||||
}
|
||||
}
|
||||
|
||||
// final List< Plane > planes = mesh( new File( CHUNK_DIR, "world,-10,-10" ) );
|
||||
// masterPlanes.add( planes.get( 27 ) );
|
||||
// masterPlanes.addAll( planes );
|
||||
// final List< Plane > planes = mesh( new File( CHUNK_DIR, "world,10,-6" ) );
|
||||
// masterPlanes.add( planes.get( 27 ) );
|
||||
// masterPlanes.addAll( planes );
|
||||
|
||||
SwingUtilities.invokeLater( new Runnable() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user