OBD:AGQG: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 54: Line 54:
;Triangles
;Triangles
:Many quads are in fact triangles: the last two vertices have the same [[OBD:PNTA|PNTA]] and [[OBD:TXCA|TXCA]] entries, and the ARGB color is (255, 205, 205, 205) (80% gray, 100% opaque). There is also a flag specifying that.
:Many quads are in fact triangles: the last two vertices have the same [[OBD:PNTA|PNTA]] and [[OBD:TXCA|TXCA]] entries, and the ARGB color is (255, 205, 205, 205) (80% gray, 100% opaque). There is also a flag specifying that.
;Flags
At runtime the following flag values are also used:
: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


;Stairs up/down
;Stairs up/down
Line 76: Line 71:
:*3 - Project quad on YZ 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).
: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).
;Runtime flags
At runtime the following flag values are also used:
: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




{{OBD_File_Footer | type=AGQG | prev=AGQC | next=AGQR | name=Gunk Quad General Array | family=Level}}
{{OBD_File_Footer | type=AGQG | prev=AGQC | next=AGQR | name=Gunk Quad General Array | family=Level}}
708

edits