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 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

      public org.jzy3d.io.glsl.GLSLProgram glslInit
    • glslPeel

      public org.jzy3d.io.glsl.GLSLProgram glslPeel
    • glslBlend

      public org.jzy3d.io.glsl.GLSLProgram glslBlend
    • glslFinal

      public org.jzy3d.io.glsl.GLSLProgram glslFinal
    • shaderBase

      protected org.jzy3d.io.glsl.ShaderFilePair shaderBase
    • shaderInit

      protected org.jzy3d.io.glsl.ShaderFilePair shaderInit
    • shaderPeel

      protected org.jzy3d.io.glsl.ShaderFilePair shaderPeel
    • shaderBlend

      protected org.jzy3d.io.glsl.ShaderFilePair shaderBlend
    • shaderFinal

      protected org.jzy3d.io.glsl.ShaderFilePair shaderFinal
  • Constructor Details

    • DualDepthPeelingAlgorithm

      public DualDepthPeelingAlgorithm()
  • Method Details

    • init

      public void init(org.jzy3d.painters.IPainter painter, int width, int height)
      Specified by:
      init in interface IDepthPeelingAlgorithm
    • display

      public void display(org.jzy3d.painters.IPainter painter)
      Specified by:
      display in interface IDepthPeelingAlgorithm
    • reshape

      public void reshape(org.jzy3d.painters.IPainter painter, int width, int height)
      Specified by:
      reshape in interface IDepthPeelingAlgorithm
    • buildShaders

      protected void buildShaders(org.jzy3d.painters.IPainter painter)
      Specified by:
      buildShaders in class AbstractDepthPeelingAlgorithm
    • destroyShaders

      protected void destroyShaders(org.jzy3d.painters.IPainter painter)
      Specified by:
      destroyShaders in class AbstractDepthPeelingAlgorithm
    • initDualPeelingRenderTargets

      protected void initDualPeelingRenderTargets(org.jzy3d.painters.IPainter painter, int g_imageWidth, int g_imageHeight)
    • deleteDualPeelingRenderTargets

      protected void deleteDualPeelingRenderTargets(org.jzy3d.painters.IPainter painter)
    • doRender

      protected void doRender(org.jzy3d.painters.IPainter painter)