├── .gitignore ├── LICENSE ├── README.md ├── img └── viz_example.png ├── msvc ├── custom_includes.props ├── voxel_raycaster.sln └── voxel_raycaster.vcxproj └── src ├── AABox.h ├── BaseOctreeRenderer.cpp ├── BaseOctreeRenderer.h ├── Camera.h ├── DataPoint.h ├── DebugRenderer.cpp ├── DebugRenderer.h ├── DepthRenderer.cpp ├── DepthRenderer.h ├── DiffuseOctreeRenderer.cpp ├── DiffuseOctreeRenderer.h ├── Frustrum.h ├── LevelRenderer.cpp ├── LevelRenderer.h ├── Light.h ├── Node.h ├── NormalRenderer.cpp ├── NormalRenderer.h ├── Octree.h ├── Ray.cpp ├── Ray.h ├── RenderContext.h ├── Renderer.h ├── RendererManager.h ├── TopLevelRenderer.cpp ├── TopLevelRenderer.h ├── TreeTraverser.cpp ├── TreeTraverser.h ├── VoxelData.h ├── VoxelGenerator.cpp ├── VoxelGenerator.h ├── WorkOctreeRenderer.cpp ├── WorkOctreeRenderer.h ├── intersection.cpp ├── intersection.h ├── misc_math.h ├── morton.cpp ├── morton.h ├── octree_build.cpp ├── octree_build.h ├── octree_io.h ├── perlin_noise.hpp ├── todo.txt ├── util.cpp ├── util.h └── voxel_start.cpp /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/README.md -------------------------------------------------------------------------------- /img/viz_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/img/viz_example.png -------------------------------------------------------------------------------- /msvc/custom_includes.props: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/msvc/custom_includes.props -------------------------------------------------------------------------------- /msvc/voxel_raycaster.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/msvc/voxel_raycaster.sln -------------------------------------------------------------------------------- /msvc/voxel_raycaster.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/msvc/voxel_raycaster.vcxproj -------------------------------------------------------------------------------- /src/AABox.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/AABox.h -------------------------------------------------------------------------------- /src/BaseOctreeRenderer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/BaseOctreeRenderer.cpp -------------------------------------------------------------------------------- /src/BaseOctreeRenderer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/BaseOctreeRenderer.h -------------------------------------------------------------------------------- /src/Camera.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/Camera.h -------------------------------------------------------------------------------- /src/DataPoint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/DataPoint.h -------------------------------------------------------------------------------- /src/DebugRenderer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/DebugRenderer.cpp -------------------------------------------------------------------------------- /src/DebugRenderer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/DebugRenderer.h -------------------------------------------------------------------------------- /src/DepthRenderer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/DepthRenderer.cpp -------------------------------------------------------------------------------- /src/DepthRenderer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/DepthRenderer.h -------------------------------------------------------------------------------- /src/DiffuseOctreeRenderer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/DiffuseOctreeRenderer.cpp -------------------------------------------------------------------------------- /src/DiffuseOctreeRenderer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/DiffuseOctreeRenderer.h -------------------------------------------------------------------------------- /src/Frustrum.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/Frustrum.h -------------------------------------------------------------------------------- /src/LevelRenderer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/LevelRenderer.cpp -------------------------------------------------------------------------------- /src/LevelRenderer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/LevelRenderer.h -------------------------------------------------------------------------------- /src/Light.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/Light.h -------------------------------------------------------------------------------- /src/Node.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/Node.h -------------------------------------------------------------------------------- /src/NormalRenderer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/NormalRenderer.cpp -------------------------------------------------------------------------------- /src/NormalRenderer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/NormalRenderer.h -------------------------------------------------------------------------------- /src/Octree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/Octree.h -------------------------------------------------------------------------------- /src/Ray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/Ray.cpp -------------------------------------------------------------------------------- /src/Ray.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/Ray.h -------------------------------------------------------------------------------- /src/RenderContext.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/RenderContext.h -------------------------------------------------------------------------------- /src/Renderer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/Renderer.h -------------------------------------------------------------------------------- /src/RendererManager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/RendererManager.h -------------------------------------------------------------------------------- /src/TopLevelRenderer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/TopLevelRenderer.cpp -------------------------------------------------------------------------------- /src/TopLevelRenderer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/TopLevelRenderer.h -------------------------------------------------------------------------------- /src/TreeTraverser.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/TreeTraverser.cpp -------------------------------------------------------------------------------- /src/TreeTraverser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/TreeTraverser.h -------------------------------------------------------------------------------- /src/VoxelData.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/VoxelData.h -------------------------------------------------------------------------------- /src/VoxelGenerator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/VoxelGenerator.cpp -------------------------------------------------------------------------------- /src/VoxelGenerator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/VoxelGenerator.h -------------------------------------------------------------------------------- /src/WorkOctreeRenderer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/WorkOctreeRenderer.cpp -------------------------------------------------------------------------------- /src/WorkOctreeRenderer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/WorkOctreeRenderer.h -------------------------------------------------------------------------------- /src/intersection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/intersection.cpp -------------------------------------------------------------------------------- /src/intersection.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/intersection.h -------------------------------------------------------------------------------- /src/misc_math.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/misc_math.h -------------------------------------------------------------------------------- /src/morton.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/morton.cpp -------------------------------------------------------------------------------- /src/morton.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/morton.h -------------------------------------------------------------------------------- /src/octree_build.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/octree_build.cpp -------------------------------------------------------------------------------- /src/octree_build.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/octree_build.h -------------------------------------------------------------------------------- /src/octree_io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/octree_io.h -------------------------------------------------------------------------------- /src/perlin_noise.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/perlin_noise.hpp -------------------------------------------------------------------------------- /src/todo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/todo.txt -------------------------------------------------------------------------------- /src/util.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/util.cpp -------------------------------------------------------------------------------- /src/util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/util.h -------------------------------------------------------------------------------- /src/voxel_start.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forceflow/cpu_voxel_raycaster/HEAD/src/voxel_start.cpp --------------------------------------------------------------------------------