Another port of an “old” routine to JOGL2. This time simple fixed function pipeline volume rendering using static proxy geometry (2D texture slices wich form a 3D cube volume). Works quite well most of the time, but the volume illusion kinda ‘fades’ at some angles. Guess to fix that I have to generate eye-aligned proxy geometry and regenerate it every frame. Anyway, works for me, so here’s the code: GL2_VolumeSlicesRenderer.java

NIGHTNIGHT by DEDDY