Class DualDepthPeelingAlgorithm
java.lang.Object
org.jzy3d.plot3d.rendering.ddp.algorithms.AbstractDepthPeelingAlgorithm
org.jzy3d.plot3d.rendering.ddp.algorithms.DualDepthPeelingAlgorithm
- All Implemented Interfaces:
IDepthPeelingAlgorithm
public class DualDepthPeelingAlgorithm
extends AbstractDepthPeelingAlgorithm
implements IDepthPeelingAlgorithm
-
Field Summary
FieldsModifier and TypeFieldDescriptionint[]int[]int[]int[]int[]int[]protected ShaderFilePairprotected ShaderFilePairprotected ShaderFilePairprotected ShaderFilePairprotected ShaderFilePairFields 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuildShaders(com.jogamp.opengl.GL2 gl) protected voiddeleteDualPeelingRenderTargets(com.jogamp.opengl.GL2 gl) protected voiddestroyShaders(com.jogamp.opengl.GL2 gl) voidprotected voidvoidprotected voidinitDualPeelingRenderTargets(com.jogamp.opengl.GL2 gl, int g_imageWidth, int g_imageHeight) voidMethods 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, tasksToRenderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jzy3d.plot3d.rendering.ddp.algorithms.IDepthPeelingAlgorithm
dispose, getBackground, getOpacity, getTasksToRender, setBackground, setOpacity, setTasksToRender
-
Field Details
-
g_dualBackBlenderFboId
public int[] g_dualBackBlenderFboId -
g_dualPeelingSingleFboId
public int[] g_dualPeelingSingleFboId -
g_dualDepthTexId
public int[] g_dualDepthTexId -
g_dualFrontBlenderTexId
public int[] g_dualFrontBlenderTexId -
g_dualBackTempTexId
public int[] g_dualBackTempTexId -
g_dualBackBlenderTexId
public int[] g_dualBackBlenderTexId -
glslInit
-
glslPeel
-
glslBlend
-
glslFinal
-
shaderBase
-
shaderInit
-
shaderPeel
-
shaderBlend
-
shaderFinal
-
-
Constructor Details
-
DualDepthPeelingAlgorithm
public DualDepthPeelingAlgorithm()
-
-
Method Details
-
init
- Specified by:
initin interfaceIDepthPeelingAlgorithm
-
display
- Specified by:
displayin interfaceIDepthPeelingAlgorithm
-
reshape
- Specified by:
reshapein interfaceIDepthPeelingAlgorithm
-
buildShaders
protected void buildShaders(com.jogamp.opengl.GL2 gl) - Specified by:
buildShadersin classAbstractDepthPeelingAlgorithm
-
destroyShaders
protected void destroyShaders(com.jogamp.opengl.GL2 gl) - Specified by:
destroyShadersin classAbstractDepthPeelingAlgorithm
-
initDualPeelingRenderTargets
protected void initDualPeelingRenderTargets(com.jogamp.opengl.GL2 gl, int g_imageWidth, int g_imageHeight) -
deleteDualPeelingRenderTargets
protected void deleteDualPeelingRenderTargets(com.jogamp.opengl.GL2 gl) -
doRender
-