GtkRadiant/File Formats

From Wikibooks, open books for an open world
Jump to navigation Jump to search

File Formats

GtkRadiant

Brush line[edit | edit source]

A brush contains six lines, each describing a plane of the brush.

Format:

( r s t ) ( u v w )( x y z ) offset[0] offset[1] angle scale[0] scale[1] contents flags value

Description:

( r s t ) = parenthesized 3-vector representing one point that defines the plane

( u v w ) = parenthesized 3-vector representing one point that defines the plane

( x y z ) = parenthesized 3-vector representing one point that defines the plane

offset[0] = texture shift offset

offset[1] = texture shift offset

angle = the rotation angle

scale[0] = texture scale

scale[1] = texture scale

contents = a set of bit flags:

    bit 27 (134217728) = DETAIL.  Do not encode brush into the BSP tree, only link it for rendering/collision purposes.

flags = [unknown]

value = [possibly radiosity lighting, emitted from a surface]