Esempio n. 1
0
void Scene::buildAccelerationStructure( void )
{
    if ( acceleration_structure_ == Scene::AccelerationStructure::BVH_SAH )
    {
        buildBVH();
        std::clog << std::endl;
    }
}
Esempio n. 2
0
BVH::BVH( const BVHItems &i_items )
{
    buildBVH( SplitMethod::MIDDLE, i_items );
}