public class DualDepthPeelingAlgorithm extends AbstractDepthPeelingAlgorithm implements IDepthPeelingAlgorithm
| Modifier and Type | Field and Description |
|---|---|
int[] |
g_dualBackBlenderFboId |
int[] |
g_dualBackBlenderTexId |
int[] |
g_dualBackTempTexId |
int[] |
g_dualDepthTexId |
int[] |
g_dualFrontBlenderTexId |
int[] |
g_dualPeelingSingleFboId |
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 |
|---|
DualDepthPeelingAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildShaders(com.jogamp.opengl.GL2 gl) |
protected void |
deleteDualPeelingRenderTargets(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 |
initDualPeelingRenderTargets(com.jogamp.opengl.GL2 gl,
int g_imageWidth,
int g_imageHeight) |
protected void |
renderDualPeeling(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, tasksToRenderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, getTasksToRender, setTasksToRenderpublic int[] g_dualBackBlenderFboId
public int[] g_dualPeelingSingleFboId
public int[] g_dualDepthTexId
public int[] g_dualFrontBlenderTexId
public int[] g_dualBackTempTexId
public int[] g_dualBackBlenderTexId
public GLSLProgram glslInit
public GLSLProgram glslPeel
public GLSLProgram glslBlend
public GLSLProgram glslFinal
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 IShaderablepublic void display(com.jogamp.opengl.GL2 gl,
com.jogamp.opengl.glu.GLU glu)
display in interface IShaderablepublic void reshape(com.jogamp.opengl.GL2 gl,
int width,
int height)
reshape in interface IShaderableprotected void buildShaders(com.jogamp.opengl.GL2 gl)
buildShaders in class AbstractDepthPeelingAlgorithmprotected void destroyShaders(com.jogamp.opengl.GL2 gl)
destroyShaders in class AbstractDepthPeelingAlgorithmprotected void initDualPeelingRenderTargets(com.jogamp.opengl.GL2 gl,
int g_imageWidth,
int g_imageHeight)
protected void deleteDualPeelingRenderTargets(com.jogamp.opengl.GL2 gl)
protected void renderDualPeeling(com.jogamp.opengl.GL2 gl)
Copyright © 2016. All rights reserved.