*.hom (Hierarchical Occlusion Mapping)


About

HOM is a geometry cutter, which is a mesh and is needed to increase performance. This file is created during level compilation.


Technical information

Blocks

Consists of two blocks:

Block IDSize (bytes)Description
0x04header (contains information about the format version)
0x1number of polygons * 40vertex coordinates and polygon properties

Block description

Block 0x0 (header)

TypeDescription
Iformat version

Block 0x1 (mesh data)

Contains the data of the triangles, which are written one by one.

The data is for one triangle:

TypeDescription
fff3D coordinates of the first vertex of the triangle
fff3D coordinates of the second vertex of the triangle
fff3D coordinates of the third vertex of the triangle
Itwo sided option

Possible values of the “two sided” option: 0x0, 0x1

The polygon indices are not saved, but they can easily be generated, since all vertices are saved so that the polygon indices are in ascending order.

The first triangle will be: 0, 1, 2, second: 3, 4, 5, third: 6, 7, 8, etc.


Programs editing this file


Sources

Source