Karma Sink

· SideFX Houdini · Karma renderer · #note/sink ·

Environment variables

Disabling devices for more details

Variable Effect
KARMA_XPU_DISABLE_OPTIX_DEVICE = 1 Karma XPU will not use any Optix GPU devices
KARMA_XPU_DISABLE_EMBREE_DEVICE = 1 Karma XPU will not use any Embree CPU devices
KARMA_XPU_DISABLE_DEVICE_n = 1 Karma XPU will not use device number n. For example, to disable device 3 in a multi-GPU setup: export KARMA_XPU_DISABLE_DEVICE_3 = 1
HOUDINI_TEXTURE_DISK_CACHE Set texture caching location. "dir=D:/Temp/houdini_rat"
KARMA_XPU_OPTIX_HQ_LINEAR_FILTERING Default OFF. Force Karma XPU Optix device to do high-quality linear filtering (which will come at a performance cost)
KARMA_XPU_OPTIX_FORCE_CONSTANT_FOLDING Default OFF. This will force XPU to hardcode parameter values directly into shader code. It can improve performance of rendering by ~20%, but will mean shader compilation will be more frequent and take longer.
KARMA_XPU_OPTIX_CURVE_OPT_LEVEL Default Auto (0). Optimization level for Optix curves in KarmaXPU. Higher is faster, but will also consume more memory. Low = 1, Medium = 2, High = 3

Sampling

Adaptive sampling video