public class DepthPeelingRenderer3d extends Renderer3d
Renderer3d
This feature is based on Order Independent Transparency algorithms published
by Louis Bavoil (NVIDIA Corporation).
The renderer support 4 methods:
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
autoSwapBuffer |
protected static boolean |
AXE_IN_PEELING |
protected static boolean |
DEBUG |
static boolean |
DECOMPOSE_VIEW |
protected IDepthPeelingAlgorithm |
dualPeelingAlgorithm |
protected org.apache.log4j.Logger |
LOGGER |
debugGL, doScreenshotAtNextDisplay, glu, height, image, traceGL, view, width| Constructor and Description |
|---|
DepthPeelingRenderer3d(DepthPeelingView view,
boolean traceGL,
boolean debugGL) |
DepthPeelingRenderer3d(PeelingMethod algorithm,
DepthPeelingView view,
boolean traceGL,
boolean debugGL) |
| Modifier and Type | Method and Description |
|---|---|
void |
display(com.jogamp.opengl.GLAutoDrawable drawable) |
void |
dispose(com.jogamp.opengl.GLAutoDrawable drawable) |
static IDepthPeelingAlgorithm |
getDepthPeelingAlgorithm(PeelingMethod method) |
static IGLRenderer |
getDepthPeelingContentRenderer(View view) |
protected com.jogamp.opengl.GL2 |
getGL2(com.jogamp.opengl.GLAutoDrawable drawable) |
void |
init(com.jogamp.opengl.GLAutoDrawable canvas) |
void |
postDisplay(com.jogamp.opengl.GL2 gl) |
void |
preDisplay(com.jogamp.opengl.GL2 gl) |
void |
reshape(com.jogamp.opengl.GLAutoDrawable drawable,
int x,
int y,
int width,
int height)
Rebuild all depth peeling buffers for the new screen size.
|
getHeight, getLastScreenshot, getWidth, nextDisplayUpdateScreenshotprotected org.apache.log4j.Logger LOGGER
protected IDepthPeelingAlgorithm dualPeelingAlgorithm
protected boolean autoSwapBuffer
protected static boolean AXE_IN_PEELING
protected static boolean DEBUG
public static boolean DECOMPOSE_VIEW
public DepthPeelingRenderer3d(DepthPeelingView view, boolean traceGL, boolean debugGL)
public DepthPeelingRenderer3d(PeelingMethod algorithm, DepthPeelingView view, boolean traceGL, boolean debugGL)
public void init(com.jogamp.opengl.GLAutoDrawable canvas)
init in interface com.jogamp.opengl.GLEventListenerinit in class Renderer3dprotected com.jogamp.opengl.GL2 getGL2(com.jogamp.opengl.GLAutoDrawable drawable)
public void display(com.jogamp.opengl.GLAutoDrawable drawable)
display in interface com.jogamp.opengl.GLEventListenerdisplay in class Renderer3dpublic void postDisplay(com.jogamp.opengl.GL2 gl)
public void preDisplay(com.jogamp.opengl.GL2 gl)
public static IGLRenderer getDepthPeelingContentRenderer(View view)
public void reshape(com.jogamp.opengl.GLAutoDrawable drawable,
int x,
int y,
int width,
int height)
reshape in interface com.jogamp.opengl.GLEventListenerreshape in class Renderer3dpublic void dispose(com.jogamp.opengl.GLAutoDrawable drawable)
dispose in interface com.jogamp.opengl.GLEventListenerdispose in class Renderer3dpublic static IDepthPeelingAlgorithm getDepthPeelingAlgorithm(PeelingMethod method)
Copyright © 2016. All rights reserved.