Fandom

武装突袭 Wiki

Geometric Occluders

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 分享

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

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:

File:Occluder 01.jpg

When some building do not offer opportunity to cover it with 1-3 occluders, it's 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编辑

  • Use as few occluders as possible. When it's not possible to satisfy it, leave the object without occluders.
  • Interior proxies should be always encapsulated in proxy-occluder unless there are huge openings in building walls that fully expose these proxies.
  • When box is not suitable, use convex polygons. Keep number of edges low. The best would be 4 edges, up to 6 as maximum. The best example of such building is warehouse, where there are huge opened doors.
  • When shape of object is not suitable for box at all, use just convex polygon. The best example is heap of rocks.
  • Don't care about some impressions that could cause occluding of objects that would be visible through windows in rare cases. Always think about object usage in the game.
  • When part of the building is well suited for occluders and another part isn't, use occluders only where it is worth it.

Examples:

File:Occluder 02.jpg File:Occluder 03.jpg

更多维基

随机维基