AdamYuan / VcTest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VcTest

My voxel cone tracing test in the sponza scene. Tested on debian 9 with Nvidia Quadro M1200. Uses about 1130MB video memory (for 512x256x256 voxels)

Dependencies

OpenGL(>=4.5), glfw(3.2.1), stb_image.h, gl3w, tinyobjloader

Build

git clone https://github.com/AdamYuan/VcTest.git
cmake . -DCMAKE_BUILD_TYPE=Release
make

Usage

  • W, A, S, D, L-Shift, Space: Move around
  • Esc: Toggle window focus
  • C: Toggle albedo
  • V: Toggle voxel cone tracing
  • E: Toggle showing edge
  • X: Debug voxel
  • Arrow key: Change light direction

Screenshots

alt text alt text alt text alt text

References

About


Languages

Language:C 82.9%Language:C++ 15.7%Language:GLSL 1.3%Language:CMake 0.0%