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
FieldsModifier and TypeFieldDescriptionorg.jzy3d.io.glsl.GLSLProgramorg.jzy3d.io.glsl.GLSLProgramprotected org.jzy3d.io.glsl.ShaderFilePairprotected org.jzy3d.io.glsl.ShaderFilePairprotected org.jzy3d.io.glsl.ShaderFilePairFields inherited from class AbstractAccumulationDepthPeeling
g_accumulationFboId, g_accumulationTexIdFields inherited from class AbstractDepthPeelingAlgorithm
g_backgroundColor, g_black, g_drawBuffers, g_maxPasses, g_numGeoPasses, g_numPasses, g_opacity, g_quadDisplayList, g_queryId, g_useOQ, g_white, MAX_DEPTH, targetDrawBuffer, targetFramebuffer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuildShaders(org.jzy3d.painters.IPainter painter) protected voiddestroyShaders(org.jzy3d.painters.IPainter painter) voiddisplay(org.jzy3d.painters.IPainter painter) protected voiddoRender(org.jzy3d.painters.IPainter painter) Methods inherited from class AbstractAccumulationDepthPeeling
deleteAccumulationRenderTargets, init, initAccumulationRenderTargets, reshapeMethods inherited from class AbstractDepthPeelingAlgorithm
bindTargetFramebuffer, bindTargetFramebufferAndDrawBuffer, buildFinish, buildFullScreenQuad, checkFramebuffer, dispose, getBackground, getMaxPasses, getOpacity, getTasksToRender, incrementGeoPasses, reloadShaders, resetNumPass, saveTargetFramebuffer, setBackground, setMaxPasses, setOpacity, setTasksToRender, shader, tasksToRenderMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IDepthPeelingAlgorithm
dispose, getBackground, getOpacity, getTasksToRender, init, reshape, setBackground, setOpacity, setTasksToRender
-
Field Details
-
glslInit
public org.jzy3d.io.glsl.GLSLProgram glslInit -
glslFinal
public org.jzy3d.io.glsl.GLSLProgram glslFinal -
shaderBase
protected org.jzy3d.io.glsl.ShaderFilePair shaderBase -
shaderInit
protected org.jzy3d.io.glsl.ShaderFilePair shaderInit -
shaderFinal
protected org.jzy3d.io.glsl.ShaderFilePair shaderFinal
-
-
Constructor Details
-
WeightedSumPeelingAlgorithm
public WeightedSumPeelingAlgorithm()
-
-
Method Details
-
display
public void display(org.jzy3d.painters.IPainter painter) - Specified by:
displayin interfaceIDepthPeelingAlgorithm
-
buildShaders
protected void buildShaders(org.jzy3d.painters.IPainter painter) - Specified by:
buildShadersin classAbstractDepthPeelingAlgorithm
-
destroyShaders
protected void destroyShaders(org.jzy3d.painters.IPainter painter) - Specified by:
destroyShadersin classAbstractDepthPeelingAlgorithm
-
doRender
protected void doRender(org.jzy3d.painters.IPainter painter)
-