How to visualize density data as volume using OpenGL? I have a CT scan of a portion of a human body, with each point describing density. The data file provides X, Y, Z, and density values.  I want to know how to visualize this data, using OpenGL or a library based on OpenGL.
What you're looking for is &quot;volumetric rendering&quot;, here is one resource with code that takes data in the form of images of the layers:
Getting started with Volume Rendering using OpenGL
A quick hack would be to use a grid of particles/&quot;billboards&quot;, and make them transparent based on the density.