Arma 3 Scripting

Geometric Occluders

Topic · Markdown · JSON · original wiki page

This feature is introduced to DayZ and Arma 3 in Eden Update. The original text has been written by Filip Doksanský.

Geometric occluders (GO) are new feature for improving rendering performance. Their purpose is to quickly filter out rendering of objects that are occluded by other objects. To get most of its benefit, there must be as few of GOs in scene as possible and they should be as big as possible. When there is too much small GOs it may happen that computing occlusion will be more consuming than to render those occluded objects.

GOs are part of P3D objects, represented by either convex components or convex polygons placed in view geometry LOD. They are usually in buildings as they perfectly fit the purpose. In the best case there should be one big box, aligned with building walls. When there is too much windows or doors that you should see through, you can represent occluder by few convex polygons covering these walls, where are not any windows etc.

Example:

When some building do not offer opportunity to cover it with 1-3 occluders, it is better to leave it without occluder. When camera is inside occluder, then the occluder is omitted so you must not be afraid that you'll not see out of building with occluder.

Naming convention is "occluder_#", where # is number of component. This is the must, as the system uses this prefix as identification of occluders.

When occluders are used well, it can bring acceleration in order of hundreds percent especially in crowded town areas.

Proxy Occluders

There is also another feature for occluding interior proxy objects, that is called proxy-occluder. They can be represented only by box and they should cover only interior objects, so window frames (often represented by proxies) are not occluded as it would look bad when they'll disappear.

Naming convention is "proxyoccluder_#", where # is number of component

Summary of usage rules

Examples: