Jump to content

OBD:AGQG: Difference between revisions

613 bytes added ,  21 April 2009
no edit summary
m (cleaning up flags)
No edit summary
Line 25: Line 25:
{{OBDtr | 0x2C | color  |C8FFC8| 06 15 1E 00 | 6, 21, 30, 0 | byte-swapped ARGB color for 4th vertex }}
{{OBDtr | 0x2C | color  |C8FFC8| 06 15 1E 00 | 6, 21, 30, 0 | byte-swapped ARGB color for 4th vertex }}
{{OBDtr | 0x30 |bitset32|C8FFFF| 00 00 08 02 | 0, 0, 8, 2  | flags; used values:
{{OBDtr | 0x30 |bitset32|C8FFFF| 00 00 08 02 | 0, 0, 8, 2  | flags; used values:
:0x'''01''' 00 00 00 - unknown
:0x'''01''' 00 00 00 - door frame (invisible quad that uses the TXMP_DOOR_FRAME texture)
:0x'''02''' 00 00 00 - ghost (pathfinding volume separator, see [[OBD:AKVA|AKVA]] etc)
:0x'''02''' 00 00 00 - ghost (pathfinding volume separator, see [[OBD:AKVA|AKVA]] etc)
:0x'''04''' 00 00 00 - stairs up
:0x'''04''' 00 00 00 - stairs up
Line 59: Line 59:
:0x00 00 '''04''' 00 - set at runtime for quads hidden with *env_show*, never used in files
:0x00 00 '''04''' 00 - set at runtime for quads hidden with *env_show*, never used in files
:0x'''20''' 00 00 00 - set at runtime for Jell'Oed quads, never used in files
:0x'''20''' 00 00 00 - set at runtime for Jell'Oed quads, never used in files
;Stairs up/down
These 2 flags are used instead of the ghost flag when the pathfinding separator is placed at the bottom/top of the stairs.
;Stairs
This is applied to the invisible ramp quad that covers the stairs. In general this flag is also applied to the visible stairs geometry but there are some exceptions (errors? see level 19 stairs).
;No occlusion
This flag tells the octtree raycaster to ignore the quad when doing ray/quad intersections. This is tipically used for small quads that are unlikely to affect the overall environment visibility.


;Projection plane flags
;Projection plane flags
708

edits