Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

Commit

Permalink
Merge pull request #12 from Enigmatisms/kdtree
Browse files Browse the repository at this point in the history
KD-tree accelerator to be built
  • Loading branch information
raven-sera authored Apr 15, 2023
2 parents e7e6e7d + 25bfb02 commit 72d80a8
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tracer/bvh/bvh.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* @file bvh.cpp
* @author Qianyue He
* @brief BVH construction main logic
* @copyright Copyright (c) 2023
*/

#include <stack>
#include <algorithm>
#include "bvh_helper.h"
Expand Down
7 changes: 7 additions & 0 deletions tracer/bvh/bvh_helper.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* @file bvh_helper.h
* @author Qianyue He
* @brief BVH utilities
* @copyright Copyright (c) 2023
*/

#pragma once
#include <algorithm>
#include <pybind11/stl.h>
Expand Down
8 changes: 8 additions & 0 deletions tracer/kdtree/kd_helper.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* @file kd_helper.h
* @author Qianyue He
* @brief KD-tree utilities
* @copyright Copyright (c) 2023
*/

#pragma once
10 changes: 10 additions & 0 deletions tracer/kdtree/kdtree.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* @file kdtree.cpp
* @author Qianyue He
* @brief KD-tree construction main logic
* @copyright Copyright (c) 2023
* @todo A lot, including the algorithm principles
* For pybind module definition, it might need to be migrated to another place
* for serving as the binding module for both BVH-tree and KD-tree
*/

0 comments on commit 72d80a8

Please sign in to comment.