diff --git a/CMakeLists.txt b/CMakeLists.txt index 50d5efb..b8356aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,6 +31,7 @@ add_executable(Moer src/FunctionLayer/Acceleration/Acceleration.cpp src/FunctionLayer/Acceleration/EmbreeBVH.cpp src/FunctionLayer/Acceleration/Linear.cpp + src/FunctionLayer/Acceleration/Octree.cpp src/FunctionLayer/Integrator/NormalIntegrator.cpp src/FunctionLayer/Integrator/DirectIntegrator.cpp diff --git a/README.md b/README.md index c102a51..6e14c10 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,12 @@ Moer-lite的框架基于Moer主干:https://github.com/NJUCG/Moer . 请参考Lab0的编译使用过程。 ## 示例场景 -目前有四个示例场景: +目前有五个示例场景: - `examples/area-lights`:提供了一个面光源照亮一个Stanford bunny的场景; - `examples/two-spotlights`:提供了一个有着两个点光源的场景; - `examples/bunny`:提供了一个使用环境光(environment lighting)照亮Stanford bunny的场景。 - `examples/cornell-box`:提供了一个使用whitted-style ray tracing的cornell-box场景 +- `examples/lab1-test0`:提供了一个简单的mesh场景用来进行求交测试 ## BUG反馈 如果发现Moer-lite框架存在bug,或者有任何架构上的改进意见,任何更好的第三方库…… diff --git a/src/FunctionLayer/Acceleration/Octree.cpp b/src/FunctionLayer/Acceleration/Octree.cpp index a77fed1..647158e 100644 --- a/src/FunctionLayer/Acceleration/Octree.cpp +++ b/src/FunctionLayer/Acceleration/Octree.cpp @@ -11,7 +11,7 @@ OctreeAcceleration::OctreeAcceleration() { } OctreeAcceleration::~OctreeAcceleration() { - // do nothing + // } void OctreeAcceleration::build() {