rtcSetGeo...ldQuality(3)

🌸 rtcSetGeometryBuildQuality 🌸

okay bestie, this is the tea on rtcSetGeo...ldQuality(3) from the Embree Ray Tracing Kernels 4 manual, and it's giving "set the build quality for the geometry." πŸ’…


✨ 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 built, 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]

k byeee πŸ’– this was rtcSetGeo...ldQuality(3) from the Embree Ray Tracing Kernels 4 manual. The footer didn't give a date, so no cap, we're not inventing one. Stay iconic ✨

πŸ“¦ where this page comes from