Jump to content

OBD:AGQG: Difference between revisions

218 bytes added ,  16 April 2007
more tips from neo
m (updates ( *triangle* flag!!! ))
(more tips from neo)
Line 57: Line 57:
:Many quads are in fact triangles: the last two vertices have the same PNTA and TXCA entries, and the ARGB color is (255, 205, 205, 205) (80% gray, 100% opaque). There is alos a flag specifying that (see below).
:Many quads are in fact triangles: the last two vertices have the same PNTA and TXCA entries, and the ARGB color is (255, 205, 205, 205) (80% gray, 100% opaque). There is alos a flag specifying that (see below).
;Flags
;Flags
:0x'''01''' 00 00 00 - unknown
:0x'''01''' 00 00 00 - unknown (read only with -debug command line parameter)
:0x'''02''' 00 00 00 - ghost
:0x'''02''' 00 00 00 - ghost (one type of BSP separator)
:0x'''04''' 00 00 00 - stairs up
:0x'''04''' 00 00 00 - stairs up
:0x'''08''' 00 00 00 - stairs down
:0x'''08''' 00 00 00 - stairs down
:0x'''10''' 00 00 00 - stairs
:0x'''10''' 00 00 00 - stairs
:0x'''20''' 00 00 00 - unknown
:0x'''20''' 00 00 00 - set at runtime for Jell'Oed quads
:0x'''40''' 00 00 00 - triangle
:0x'''40''' 00 00 00 - triangle (see above)
:0x'''80''' 00 00 00 - unknown
:0x'''80''' 00 00 00 - transparency (if 0 then alpha is ignored, color is just RGB shading)
:0x00 '''01''' 00 00 - unknown
:0x00 '''01''' 00 00 - unknown
:0x00 '''02''' 00 00 - two-sided
:0x00 '''02''' 00 00 - two-sided
Line 75: Line 75:
:0x00 00 '''01''' 00 - no occlusion
:0x00 00 '''01''' 00 - no occlusion
:0x00 00 '''02''' 00 - danger
:0x00 00 '''02''' 00 - danger
:0x00 00 '''04''' 00 - unknown
:0x00 00 '''04''' 00 - set at runtime for quads hidden with '''env_show'''
:0x00 00 '''08''' 00 - unknown
:0x00 00 '''08''' 00 - unknown
:0x00 00 '''10''' 00 - unknown
:0x00 00 '''10''' 00 - unknown