/volume-raycasting

Simple visualiser based on GPU-accelerated single-pass volumetric raycasting,https://martinopilia.com/posts/2018/09/17/volume-raycasting.html

Primary LanguageC++MIT LicenseMIT

GPU-accelerated single-pass raycaster

screenshot

This project is a simple visualiser based on GPU-accelerated single-pass volumetric raycasting, implemented in GLSL and C++ with the Qt framework. It aims to provide a basic skeleton for a visualiser that can be easily extended with a feature-rich GUI. A brief overview of the design and implementation is described in a blog post.

Three simple examples of shaders are provided for isosurface rendering, front-to-back alpha-blending, and maximum intensity projection. It implements a simple reader for the VTK Structured Point legacy file format, allowing to load volumes from file out-of-the-box.

Build

The project can be built with QtCreator or from the command line, with qmake

mkdir build
cd build
qmake ../3d_raycaster.pro
make

License

The software is distributed under the MIT license.