Skip to content

ImmadH/GLVolumeViewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GLVolumeViewer

An OpenGL Volume Viewer for .raw files.
Inspired by: https://github.com/SuboptimalEng/volume-rendering/tree/main

Overview

This is a volume renderer built using:

  • OpenGL
  • SDL
  • GLM
  • ImGui

The renderer performs ray marching by intersecting a ray with the volume bounding box and sampling from a 3D texture.

glTexImage3D(
    GL_TEXTURE_3D,
    0,
    GL_R8,
    WIDTH,
    HEIGHT,
    DEPTH,
    0,
    GL_RED,
    GL_UNSIGNED_BYTE,
    volumeData.data()
);

Future Improvments:

  • Add parameters to control color and AABB size

GLVolumeViewer Screenshot

About

An OpenGL 4.6 Volume Viewer for .raw Files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors