Skip to content
Snippets Groups Projects
Commit 5f05ae75 authored by Michael Heyde's avatar Michael Heyde
Browse files

fixed changing colors in max int projection

parent 945dea23
No related branches found
No related tags found
No related merge requests found
package bdv.jogl.VolumeRenderer.ShaderPrograms.ShaderSources.functions.volumeninterpreter;
import static bdv.jogl.VolumeRenderer.ShaderPrograms.ShaderSources.MultiVolumeRendererShaderSource.*;
/**
* Supports Maximum Intensity Projection
* @author michael
......@@ -21,11 +21,13 @@ public class MaximumIntensityProjectionInterpreter extends AbstractVolumeInterpr
" if(vm1 > maxIntensity){",
" maxIntensity = vm1;",
" maxIntensityColor = c_in;",
" maxIntensityColor.rbg /= "+suvRenderRectStepSize+";",
" }",
" }else{",
" if(v > maxIntensity){",
" maxIntensity = v;",
" maxIntensityColor = c;",
" maxIntensityColor.rbg /= "+suvRenderRectStepSize+";",
" }",
" }",
" return maxIntensityColor;",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment