Jump to content

OBD:AGQG: Difference between revisions

548 bytes added ,  27 April 2007
no edit summary
(de-emphasis of flags not used in files ^^)
No edit summary
Line 82: Line 82:
:0x00 00 '''80''' 00 - no decal
:0x00 00 '''80''' 00 - no decal
:0x00 00 00 '''01''' - furniture
:0x00 00 00 '''01''' - furniture
:0x00 00 00 '''02''' - '''unknown
:0x00 00 00 '''02''' - projection plan bit 0, see below
:0x00 00 00 '''04''' - '''unknown
:0x00 00 00 '''04''' - projection plan bit 1, see below
:0x00 00 00 '''08''' - sound-transparent
:0x00 00 00 '''08''' - sound-transparent
:0x00 00 00 '''10''' - impassable
:0x00 00 00 '''10''' - impassable
Line 89: Line 89:
:0x00 00 00 '''40''' - unknown, never used in files
:0x00 00 00 '''40''' - unknown, never used in files
:0x00 00 00 '''80''' - unknown, never used in files
:0x00 00 00 '''80''' - unknown, never used in files
 
;Projection plane flags
These 2 flags can be 00, 01, 10 and 11. That means the values 0,1,2 and 3 which have the following meanings:
:*0 - No projection plane specified. One can be computed if needed. Never used in files, may slow down the game if used.
:*1 - Project quad on XY plane.
:*2 - Project quad on XZ plane.
:*3 - Project quad on YZ plane.
:The projection plane is used to determine if a point is in a quad (this point is usually the result of an intersection between a ray and the quad plane).


----
----
708

edits