TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

enum Tinman.Cubemap.Face

Short Name:
  • enum 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

The following table lists all iemts of this enum type, including their string tags (if defined).

Enumeration Item
PosX  

The X+ cubemap face.

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

The X- cubemap face.

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

The Y+ cubemap face.

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

The Y- cubemap face.

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

The Z+ cubemap face.

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

The Z- cubemap face.

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

No cubemap face.

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

Usages

The following table shows all usages of this config type.

Used By: