Class WeightedSumPeelingAlgorithm
- java.lang.Object
-
- org.jzy3d.plot3d.rendering.ddp.algorithms.AbstractDepthPeelingAlgorithm
-
- org.jzy3d.plot3d.rendering.ddp.algorithms.AbstractAccumulationDepthPeeling
-
- org.jzy3d.plot3d.rendering.ddp.algorithms.WeightedSumPeelingAlgorithm
-
- All Implemented Interfaces:
IDepthPeelingAlgorithm
public class WeightedSumPeelingAlgorithm extends AbstractAccumulationDepthPeeling implements IDepthPeelingAlgorithm
-
-
Field Summary
Fields Modifier and Type Field Description GLSLProgram
glslFinal
GLSLProgram
glslInit
protected ShaderFilePair
shaderBase
protected ShaderFilePair
shaderFinal
protected ShaderFilePair
shaderInit
-
Fields inherited from class org.jzy3d.plot3d.rendering.ddp.algorithms.AbstractAccumulationDepthPeeling
g_accumulationFboId, g_accumulationTexId
-
Fields inherited from class org.jzy3d.plot3d.rendering.ddp.algorithms.AbstractDepthPeelingAlgorithm
g_backgroundColor, g_black, g_drawBuffers, g_numGeoPasses, g_numPasses, g_opacity, g_quadDisplayList, g_queryId, g_useOQ, g_white, glu, MAX_DEPTH
-
-
Constructor Summary
Constructors Constructor Description WeightedSumPeelingAlgorithm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
buildShaders(com.jogamp.opengl.GL2 gl)
protected void
destroyShaders(com.jogamp.opengl.GL2 gl)
void
display(IPainter painter)
protected void
doRender(IPainter painter, com.jogamp.opengl.GL2 gl)
-
Methods inherited from class org.jzy3d.plot3d.rendering.ddp.algorithms.AbstractAccumulationDepthPeeling
deleteAccumulationRenderTargets, init, initAccumulationRenderTargets, reshape
-
Methods inherited from class org.jzy3d.plot3d.rendering.ddp.algorithms.AbstractDepthPeelingAlgorithm
buildFinish, buildFullScreenQuad, dispose, getBackground, getGL, getGLU, getOpacity, getTasksToRender, incrementGeoPasses, reloadShaders, resetNumPass, setBackground, setOpacity, setTasksToRender, shader, tasksToRender
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jzy3d.plot3d.rendering.ddp.algorithms.IDepthPeelingAlgorithm
dispose, getBackground, getOpacity, getTasksToRender, init, reshape, setBackground, setOpacity, setTasksToRender
-
-
-
-
Field Detail
-
glslInit
public GLSLProgram glslInit
-
glslFinal
public GLSLProgram glslFinal
-
shaderBase
protected ShaderFilePair shaderBase
-
shaderInit
protected ShaderFilePair shaderInit
-
shaderFinal
protected ShaderFilePair shaderFinal
-
-
Method Detail
-
display
public void display(IPainter painter)
- Specified by:
display
in interfaceIDepthPeelingAlgorithm
-
buildShaders
protected void buildShaders(com.jogamp.opengl.GL2 gl)
- Specified by:
buildShaders
in classAbstractDepthPeelingAlgorithm
-
destroyShaders
protected void destroyShaders(com.jogamp.opengl.GL2 gl)
- Specified by:
destroyShaders
in classAbstractDepthPeelingAlgorithm
-
doRender
protected void doRender(IPainter painter, com.jogamp.opengl.GL2 gl)
-
-