OptiX projection libraryC++20
BGRP
Classify and project large point sets against deforming meshes with bone-guided normals and RT Core traversal.
Direction from the rig. Speed from the RT Core.
BGRP is an independent library for deforming triangle meshes. It chooses a nearby deform bone as a guide, traces the finite point-to-bone segment, and consistently orients the hit normal away from the skeleton.
Results include triangle ID, barycentric coordinates, surface position, outward normal, signed separation, and clearance correction—ready for predictive collision solvers.
Highlights
Hardware traversalOptiX GAS and RT Core triangle queries replace dense all-pairs tests.
Stable orientationBone guidance provides an outward direction for animated character meshes.
Reusable coreNo Blender or CPRS types in the public C++20 library.
GPU residentBatch queries remain on the device for direct solver integration.
Build with BGRP.
Source, API details, and standalone tests are available on GitHub.