Class WeightedAveragePeelingAlgorithm
- java.lang.Object
-
- org.jzy3d.plot3d.rendering.ddp.AbstractDepthPeelingAlgorithm
-
- org.jzy3d.plot3d.rendering.ddp.algorithms.AbstractAccumlationDepthPeeling
-
- org.jzy3d.plot3d.rendering.ddp.algorithms.WeightedAveragePeelingAlgorithm
-
- All Implemented Interfaces:
IDepthPeelingAlgorithm
,IShaderable
public class WeightedAveragePeelingAlgorithm extends AbstractAccumlationDepthPeeling 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.AbstractAccumlationDepthPeeling
g_accumulationFboId, g_accumulationTexId
-
Fields inherited from class org.jzy3d.plot3d.rendering.ddp.AbstractDepthPeelingAlgorithm
g_backgroundColor, g_black, g_drawBuffers, g_numGeoPasses, g_numPasses, g_opacity, g_quadDisplayList, g_queryId, g_useOQ, g_white, MAX_DEPTH
-
-
Constructor Summary
Constructors Constructor Description WeightedAveragePeelingAlgorithm()
-
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, com.jogamp.opengl.GL2 gl, com.jogamp.opengl.glu.GLU glu)
protected void
renderAverageColors(IPainter painter, com.jogamp.opengl.GL2 gl)
-
Methods inherited from class org.jzy3d.plot3d.rendering.ddp.algorithms.AbstractAccumlationDepthPeeling
deleteAccumulationRenderTargets, init, initAccumulationRenderTargets, reshape
-
Methods inherited from class org.jzy3d.plot3d.rendering.ddp.AbstractDepthPeelingAlgorithm
buildFinish, buildFullScreenQuad, dispose, getTasksToRender, incrementGeoPasses, reloadShaders, resetNumPass, 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.shaders.IShaderable
dispose, getTasksToRender, init, reshape, 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, com.jogamp.opengl.GL2 gl, com.jogamp.opengl.glu.GLU glu)
- Specified by:
display
in interfaceIShaderable
-
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
-
renderAverageColors
protected void renderAverageColors(IPainter painter, com.jogamp.opengl.GL2 gl)
-
-