VolumeRendering
View-Aligned Planes
← View-Aligned Slices | ● | Axis-Aligned Cross Sections →
For an eye point →e and a main viewing direction →d and a step length Δt the pivot points →pi (i=1..n) of the view-aligned slicing planes orthogonal to the z-axis of the view coordinate system are:
→pi=→e+(far−iΔt)→d
The normal of the slicing planes →ni is equal to the main viewing direction →d.
for (double t=far; t>0.0; t-=deltat)
{
slice the volume at p=e+t*d with the plane normal n=d
}
{
slice the volume at p=e+t*d with the plane normal n=d
}