public class FrontToBackPeelingAlgorithm extends AbstractDepthPeelingAlgorithm implements IDepthPeelingAlgorithm
Modifier and Type | Field and Description |
---|---|
int[] |
g_frontColorBlenderFboId |
int[] |
g_frontColorBlenderTexId |
int[] |
g_frontColorTexId |
int[] |
g_frontDepthTexId |
int[] |
g_frontFboId |
GLSLProgram |
glslBlend |
GLSLProgram |
glslFinal |
GLSLProgram |
glslInit |
GLSLProgram |
glslPeel |
protected ShaderFilePair |
shaderBase |
protected ShaderFilePair |
shaderBlend |
protected ShaderFilePair |
shaderFinal |
protected ShaderFilePair |
shaderInit |
protected ShaderFilePair |
shaderPeel |
g_backgroundColor, g_black, g_drawBuffers, g_numGeoPasses, g_numPasses, g_opacity, g_quadDisplayList, g_queryId, g_useOQ, g_white, MAX_DEPTH
Constructor and Description |
---|
FrontToBackPeelingAlgorithm() |
Modifier and Type | Method and Description |
---|---|
protected void |
buildShaders(com.jogamp.opengl.GL2 gl) |
protected void |
deleteFrontPeelingRenderTargets(com.jogamp.opengl.GL2 gl) |
protected void |
destroyShaders(com.jogamp.opengl.GL2 gl) |
void |
display(com.jogamp.opengl.GL2 gl,
com.jogamp.opengl.glu.GLU glu) |
void |
init(com.jogamp.opengl.GL2 gl,
int width,
int height) |
protected void |
initFrontPeelingRenderTargets(com.jogamp.opengl.GL2 gl,
int g_imageWidth,
int g_imageHeight) |
protected void |
renderFrontToBackPeeling(com.jogamp.opengl.GL2 gl) |
void |
reshape(com.jogamp.opengl.GL2 gl,
int width,
int height) |
buildFinish, buildFullScreenQuad, dispose, getTasksToRender, incrementGeoPasses, reloadShaders, resetNumPass, setTasksToRender, shader, tasksToRender
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose, getTasksToRender, setTasksToRender
public GLSLProgram glslInit
public GLSLProgram glslPeel
public GLSLProgram glslBlend
public GLSLProgram glslFinal
public int[] g_frontFboId
public int[] g_frontDepthTexId
public int[] g_frontColorTexId
public int[] g_frontColorBlenderTexId
public int[] g_frontColorBlenderFboId
protected ShaderFilePair shaderBase
protected ShaderFilePair shaderInit
protected ShaderFilePair shaderPeel
protected ShaderFilePair shaderBlend
protected ShaderFilePair shaderFinal
public void init(com.jogamp.opengl.GL2 gl, int width, int height)
init
in interface IShaderable
public void display(com.jogamp.opengl.GL2 gl, com.jogamp.opengl.glu.GLU glu)
display
in interface IShaderable
public void reshape(com.jogamp.opengl.GL2 gl, int width, int height)
reshape
in interface IShaderable
protected void buildShaders(com.jogamp.opengl.GL2 gl)
buildShaders
in class AbstractDepthPeelingAlgorithm
protected void destroyShaders(com.jogamp.opengl.GL2 gl)
destroyShaders
in class AbstractDepthPeelingAlgorithm
protected void initFrontPeelingRenderTargets(com.jogamp.opengl.GL2 gl, int g_imageWidth, int g_imageHeight)
protected void deleteFrontPeelingRenderTargets(com.jogamp.opengl.GL2 gl)
protected void renderFrontToBackPeeling(com.jogamp.opengl.GL2 gl)
Copyright © 2016. All rights reserved.