Skip to content

Instantly share code, notes, and snippets.

@tripodsan
Created January 16, 2023 13:46
Show Gist options
  • Save tripodsan/e2c297007e806c2f575eb81c3ffe7c93 to your computer and use it in GitHub Desktop.
Save tripodsan/e2c297007e806c2f575eb81c3ffe7c93 to your computer and use it in GitHub Desktop.
PLY version of first bulk of https://www.spoj.com/problems/BULK/ (w/o the bottom face)
ply
format ascii 1.0
element vertex 49
property float x
property float y
property float z
element face 12
property list uchar int vertex_indices
property uchar alpha
end_header
10 10 10
10 10 20
10 20 20
10 20 10
20 10 10
20 10 20
20 20 20
20 20 10
10 10 10
10 10 20
20 10 20
20 10 10
10 20 10
10 20 20
20 20 20
20 20 10
10 10 10
10 20 10
20 20 10
20 10 10
10 10 20
10 20 20
20 20 20
20 15 20
20 10 20
14 14 14
14 14 16
14 16 16
14 16 14
16 14 14
16 14 16
16 16 16
16 16 14
14 14 14
14 14 16
16 14 16
16 14 14
14 16 14
14 16 16
16 16 16
16 16 14
14 14 14
14 16 14
16 16 14
16 14 14
14 14 16
14 16 16
16 16 16
16 14 16
4 4 5 6 7 128
4 8 9 10 11 128
4 12 13 14 15 128
4 16 17 18 19 128
5 20 21 22 23 24 128
4 25 26 27 28 128
4 29 30 31 32 128
4 33 34 35 36 128
4 37 38 39 40 128
4 41 42 43 44 128
4 45 46 47 48 128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment