Class FrontToBackPeelingAlgorithm
java.lang.Object
org.jzy3d.plot3d.rendering.ddp.algorithms.AbstractDepthPeelingAlgorithm
org.jzy3d.plot3d.rendering.ddp.algorithms.FrontToBackPeelingAlgorithm
- All Implemented Interfaces:
IDepthPeelingAlgorithm
public class FrontToBackPeelingAlgorithm
extends AbstractDepthPeelingAlgorithm
implements IDepthPeelingAlgorithm
-
Field Summary
FieldsModifier and TypeFieldDescriptionint[]
int[]
int[]
int[]
int[]
protected ShaderFilePair
protected ShaderFilePair
protected ShaderFilePair
protected ShaderFilePair
protected ShaderFilePair
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected void
buildShaders
(com.jogamp.opengl.GL2 gl) protected void
deleteFrontPeelingRenderTargets
(com.jogamp.opengl.GL2 gl) protected void
destroyShaders
(com.jogamp.opengl.GL2 gl) void
protected void
void
protected void
initFrontPeelingRenderTargets
(com.jogamp.opengl.GL2 gl, int g_imageWidth, int g_imageHeight) void
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, setBackground, setOpacity, setTasksToRender
-
Field Details
-
glslInit
-
glslPeel
-
glslBlend
-
glslFinal
-
g_frontFboId
public int[] g_frontFboId -
g_frontDepthTexId
public int[] g_frontDepthTexId -
g_frontColorTexId
public int[] g_frontColorTexId -
g_frontColorBlenderTexId
public int[] g_frontColorBlenderTexId -
g_frontColorBlenderFboId
public int[] g_frontColorBlenderFboId -
shaderBase
-
shaderInit
-
shaderPeel
-
shaderBlend
-
shaderFinal
-
-
Constructor Details
-
FrontToBackPeelingAlgorithm
public FrontToBackPeelingAlgorithm()
-
-
Method Details
-
init
- Specified by:
init
in interfaceIDepthPeelingAlgorithm
-
display
- Specified by:
display
in interfaceIDepthPeelingAlgorithm
-
reshape
- Specified by:
reshape
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
-
initFrontPeelingRenderTargets
protected void initFrontPeelingRenderTargets(com.jogamp.opengl.GL2 gl, int g_imageWidth, int g_imageHeight) -
deleteFrontPeelingRenderTargets
protected void deleteFrontPeelingRenderTargets(com.jogamp.opengl.GL2 gl) -
doRender
-