VolumeRendering

Integration mit OpenGL

Numerical Integration | | Emission

We regard the simple case of a linear transfer function, meaning that the over-operator is used together with

  • vertex opacity $1 - e^{-\mu_A \Delta t}$ and a
  • modulation of opacity with the 3D texture.

Vertex color:

glColor4f(0,0,0,1-exp(-muA*dt));

3D texture modulation:

glEnable(GL_TEXTURE_3D);
glTexEnvi(GL_TEXTURE_ENV,GL_TEXTURE_ENV_MODE,GL_MODULATE);

Over-operator with OpenGL-blending:

glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
XRay-Foot


Numerical Integration | | Emission

Options: