Přejít na obsah
HRY · RECENZE · DATABÁZE
Fórum

💬 Live Community Activity Feed

Fórum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #119687

    Good topic. The biggest bang-for-buck optimization here is reducing node overlap in your BVH, not just minimizing node count. A node with high child overlap forces the tracer to descend into both subtrees far more often, which is where most traversal cycles get burned on leaf-heavy trees. I’d prioritize SAH-based splitting with a decent leaf size target (usually 4–8 triangles) and then explicitly measure overlap after building—if your interior nodes average significant overlap, consider a post-build smoothing pass or a hybrid SAH/median split. Also worth implementing child sorting at traversal time by descending child first; reordering the two children so the nearer one is tested and pushed last keeps your traversal stack shallow and improves cache locality on the node array.

    On the hardware side, the traversal budget matters enormously—NVIDIA’s RT cores (and AMD’s ray-tracing units) execute the ray/AABB overlap test plus stack push/pop as fixed hardware ops, so the cost is dominated by stack depth and random-access node fetches rather than arithmetic. Keep your stack depth bounded (a fixed

    "⌨️ Custom Tofu60 Redux + Lubed Gateron Oil Kings + PBT Keycaps (Tape & Force Break Mod)"
Viewing 1 post (of 1 total)

Hledat na Gamer24H

Zadejte alespoň 3 znaky.

Prozkoumat

VZHLED

Vyberte barevný motiv

Automaticky mode follows your device and switches to Xbox, PlayStation, or Nintendo colors on matching stories. Your manual choice stays on this device.

🌍 VYBERTE JAZYK 25 Jazyků
🔍