File: ReadMe.txt

package info (click to toggle)
libwildmagic 5.13-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 89,572 kB
  • ctags: 26,264
  • sloc: cpp: 210,924; csh: 637; sh: 95; makefile: 36
file content (31 lines) | stat: -rw-r--r-- 1,400 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Portal Test Demonstration

A top view of the collection of convex regions is shown in Layout.png.  The
floor is z = 0 and the ceiling is z = 1.  Each cubic region is 2x2x2.  The
13 regions are named as shown in the image.  The portal indices for each
region are also shown.

The convex region manager uses a BSP tree to partition space into the
appropriate regions.  The BSP tree for this layout is in BspTree.txt.

The tessellation for the center cube is shown in WallTessellate.png.  This is
a top view with the ceiling removed.  The four portals are shown.  The end
cubes centered at (4,0), (-4,0), (0,4), and (0,-4) have three portals each.
The tessellation is shown in EndTessellate.png.  The 8 connector regions have
two portals each.  The tessellation is shown for the axis-aligned connectors
in ConnectorTessellate.png.  The connectivity array is the same for the
diagonal connectors; only the vertex geometry is different.

Yes, the artwork is awful.  I am an engineer, not an artist :)

----------
Camera controls.
Up/Down arrow:     translate along camera direction vector
Left/Right arrow:  rotate about camera up vector (yaw)
Home/End:          translate along camera up vector
PageUp/PageDown:   rotate about camera left vector (pitch)

Keyboard controls.
q, Q, ESC:  quit the application
0:          reset frame rate counter
w,W:        toggle wireframe