rtcSetGeometryBuildQuality(3)

rtcSetGeometryBuildQuality3

Name

rtcSetGeometryBuildQuality - sets the build quality for the geometry

Synopsis

#include <embree4/rtcore.h>
void rtcSetGeometryBuildQuality(
  RTCGeometry geometry,
  enum RTCBuildQuality quality
);

Description

The rtcSetGeometryBuildQuality function sets the build quality (quality argument) for the specified geometry (geometry argument). The per-geometry build quality is only a hint and may be ignored. Embree currently uses the per-geometry build quality when the scene build quality is set to RTC_BUILD_QUALITY_LOW. In this mode a two-level acceleration structure is build, and geometries build a separate acceleration structure using the geometry build quality. The per-geometry build quality can be one of:

•

RTC_BUILD_QUALITY_LOW: Creates lower quality data structures, e.g. for dynamic scenes.

•

RTC_BUILD_QUALITY_MEDIUM: Default build quality for most usages. Gives a good compromise between build and render performance.

•

RTC_BUILD_QUALITY_HIGH: Creates higher quality data structures for final-frame rendering. Enables a spatial split builder for certain primitive types.

•

RTC_BUILD_QUALITY_REFIT: Uses a BVH refitting approach when changing only the vertex buffer.

Exit status

On failure an error code is set that can be queried using rtcGetDeviceError.

See also

[rtcSetSceneBuildQuality]

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

From libembree-dev 4.3.3+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.