User:NOUG4AT/ZHLT Code Analysis: Difference between revisions
Jump to navigation
Jump to search
Note:HLVIS header file contains declarations used in the HL1 (VVIS) compilation. VIS calculates which areas of the map are visible to each other, optimizing rendering performance by determining which parts of the map do not need to be rendered due to being occluded by other geometry.
(Created page with "== Vis.h == {{path|zhlt/hlvis/vis.h|icon=file}} {{note|HLVIS header file contains declarations used in the HL1 (VVIS) compilation. VIS calculates which areas of the map ar...") |
m (→Vis.h) |
||
Line 1: | Line 1: | ||
== [[Vis.h]] == | == [[Vis.h]] == | ||
{{path|zhlt/hlvis/vis.h|icon= | {{path|zhlt/hlvis/vis.h|icon=h}} | ||
{{note|HLVIS header file contains declarations used in the HL1 (VVIS) compilation. VIS calculates which areas of the map are visible to each other, optimizing rendering performance by determining which parts of the map do not need to be rendered due to being occluded by other geometry.}} | {{note|HLVIS header file contains declarations used in the HL1 (VVIS) compilation. VIS calculates which areas of the map are visible to each other, optimizing rendering performance by determining which parts of the map do not need to be rendered due to being occluded by other geometry.}} | ||
Latest revision as of 01:45, 13 March 2024
Vis.h
zhlt/hlvis/vis.h

Definitions
Definition | Description |
---|---|
HLVIS_MAXDIST | Macro to enable maximum distance setting |
MAX_VISBLOCKERS | Maximum number of visblockers |
DEFAULT_FULLVIS | Default value for full visibility |
DEFAULT_CHART | Default value for chart |
DEFAULT_INFO | Default value for info |
DEFAULT_ESTIMATE | Default value for estimate (platform-specific) |
DEFAULT_FASTVIS | Default value for fast visibility |
DEFAULT_NETVIS_PORT | Default network visibility port |
DEFAULT_NETVIS_RATE | Default network visibility rate |
MAX_PORTALS | Maximum number of portals |
PORTALFILE | Portal file name |
MAX_POINTS_ON_FIXED_WINDING | Maximum number of points on fixed winding |
Structures and Types
winding_t
Member | Description |
---|---|
original | Indicates if the winding is original |
numpoints | Number of points in the winding |
points | Array of points in the winding |
plane_t
Member | Description |
---|---|
normal | Normal vector of the plane |
dist | Distance from the origin |
vstatus_t
Value | Description |
---|---|
stat_none | No status |
stat_working | Currently working |
stat_done | Process completed |
portal_t
Member | Description |
---|---|
plane | Plane of the portal |
leaf | Leaf of the portal |
winding | Winding of the portal |
status | Status of the portal |
visbits | Visibility bits of the portal |
mightsee | Potential visibility of the portal |
nummightsee | Number of potential visibility |
numcansee | Number of visible portals |
zone | Zone of the portal |
sep_t
Member | Description |
---|---|
next | Next separating plane |
plane | Plane of the portal |