Face

Description

Name

enum Tinman.Cubemap.Face

Used by

Coords.face / CubeFace.face / Rect.face

A face of a cubemap:

   +-------+       Y-  Z+
  /.      /|        | /
 / .     / |        |/
+-------+  |   X- --+-- X+   right-handed CS
|  .....|..+       /|
| .     | /       / |
|.      |/       Z-  Y+
+-------+

For each cubemap face, a local coordinate system is defined (cubemap face coordinates):

     Y-  Z+                                  O--------------O
      | /                                    |              |
      |/                                     | ^ fx         |
 X- --+-- X+                                 | |            |
     /|                                      | |    Y-      |
    / |                                      | |         fy |
  Z-  Y+                                     | o----------> |
                                             |              |
O--------------O--------------O--------------O--------------O
|              |              |              |              |
| o----------> | o----------> | o----------> | o----------> |
| |         fx | |         fx | |         fx | |         fx |
| |    Z-      | |    X+      | |    Z+      | |    X-      |
| |            | |            | |            | |            |
| V fy         | V fy         | V fy         | V fy         |
|              |              |              |              |
O--------------O--------------O--------------O--------------O
                                             |              |
                                             | <----------o |
                                             | fy         | |
      +---------------------------+          |      Y+    | |
      | fx := Cubemap face X-axis |          |            | |
      | fy := Cubemap face Y-axis |          |         fx V |
      +---------------------------+          |              |
                                             O--------------O

Items

# Name Tag

0

PosX

-

1

NegX

-

2

PosY

-

3

NegY

-

4

PosZ

-

5

NegZ

-

6

None

-