Edit this page

NA-MIC Project Weeks

Back to Projects List

PRISM Volume Renderer – Refactoring and bug fixing

Key Investigators

Presenter location: In-person

Project Description

The goal of this project is to enable the development of advanced 3D rendering techniques in Slicer. The goal is to facilitate access to GPU shaders and enable GPU-based filtering in Slicer by improving shader access multipass rendering in VTK and Slicer. The PRISM Module in Slicer will serve as a test environment for the new capabilities.

PRISM has a significant amount of unused and/or legacy code that was made for version 4.11, which isn’t used anymore. The goal of the project is to simplify PRISM volume renderer to make it easier to work with and to remove as many bugs as possible.


  1. Fixing the Outline shader
  2. Closing Slicer after opening PRISM shouldn’t generate errors

Approach and Plan

  1. Debug the code to see what is happening
  2. Try to simplify the shader until something appears on the screen, and then add the code back

Progress and Next Steps

  1. The scale of the gradients calculated on the volume has been properly adjusted.
  2. This gradient computation was necessary to make Edge Enhancement work.
  3. Minor refactoring of the code.


image image image

Background and References