Skip to content

How to build

Jingyu Lee edited this page Jan 11, 2019 · 3 revisions

TODO List

1. Define a camera, rendering target (volume) and the image plane in a coordinates system

CoordinateSystem

2. Define a ray per pixel in the image plane

RayCast

3. For each ray

raycast

  • Sample voxels along the ray
  • Map data value to color and opacity
  • Shading (Optional)
  • Compositing

4. Pass the image buffer to Editor

UpdateTexture(pImage, width, height);

5. Camera movement using keyboard / mouse input

https://en.wikibooks.org/wiki/OpenGL_Programming/Modern_OpenGL_Tutorial_Arcball

Clone this wiki locally