Class FrontToBackPeelingAlgorithm

    • Field Detail

      • 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
    • Constructor Detail

      • FrontToBackPeelingAlgorithm

        public FrontToBackPeelingAlgorithm()
    • Method Detail

      • init

        public void init​(IPainter painter,
                         com.jogamp.opengl.GL2 gl,
                         int width,
                         int height)
        Specified by:
        init in interface IShaderable
      • display

        public void display​(IPainter painter,
                            com.jogamp.opengl.GL2 gl,
                            com.jogamp.opengl.glu.GLU glu)
        Specified by:
        display in interface IShaderable
      • reshape

        public void reshape​(IPainter painter,
                            com.jogamp.opengl.GL2 gl,
                            int width,
                            int height)
        Specified by:
        reshape in interface IShaderable
      • initFrontPeelingRenderTargets

        protected void initFrontPeelingRenderTargets​(com.jogamp.opengl.GL2 gl,
                                                     int g_imageWidth,
                                                     int g_imageHeight)
      • deleteFrontPeelingRenderTargets

        protected void deleteFrontPeelingRenderTargets​(com.jogamp.opengl.GL2 gl)
      • renderFrontToBackPeeling

        protected void renderFrontToBackPeeling​(IPainter painter,
                                                com.jogamp.opengl.GL2 gl)