|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.imp3d.glsl.renderpass.RenderPass
public abstract class RenderPass
Field Summary | |
---|---|
protected GLSLUpdateCache |
newVisit
|
Constructor Summary | |
---|---|
RenderPass()
|
Method Summary | |
---|---|
static void |
activateTextures(javax.media.opengl.GL gl,
int[] img,
int cnt)
|
static void |
activateTextures(javax.media.opengl.GL gl,
int[] img,
int cnt,
int type)
Bind Textures present in img-Array. |
static void |
deactivateTextures(javax.media.opengl.GL gl,
int cnt)
|
static void |
deactivateTextures(javax.media.opengl.GL gl,
int cnt,
int type)
Deactivate Texture bindings from Texture-offset to Texture-cnt+offset |
static void |
drawPrjQuad(OpenGLState glState,
Camera c)
|
static void |
drawPrjQuad(OpenGLState glState,
Camera c,
float x,
float y,
float width,
float height)
|
static void |
drawPrjQuad(OpenGLState glState,
Camera c,
float x,
float y,
float width,
float height,
double angle)
Draw a fullscreen Quad (only useful in orthogonal mode) |
static void |
drawPrjQuadParallel(OpenGLState glState,
Camera c,
float x,
float y,
float width,
float height,
double projectionWidth)
Draw a fullscreen Quad (only useful in orthogonal mode) |
protected abstract void |
epilogue(GLSLDisplay disp,
OpenGLState glState,
java.lang.Object data)
|
protected int |
getID()
|
void |
postDrawCallback(Drawable dr,
OpenGLState glState,
GLSLDisplay disp)
|
void |
process(GLSLDisplay disp,
OpenGLState glState,
java.lang.Object data)
|
protected abstract void |
prologue(GLSLDisplay disp,
OpenGLState glState,
java.lang.Object data)
|
protected abstract void |
render(GLSLDisplay disp,
OpenGLState glState,
java.lang.Object data)
|
void |
renderAndUpdateVector(GLSLDisplay disp,
Matrix4d worldToView,
java.util.Vector<Drawable> cache)
|
void |
renderVector(GLSLDisplay disp,
Matrix4d worldToView,
boolean normal,
java.util.Vector<Drawable> cache)
|
void |
resetMatrix(OpenGLState glState,
int count)
|
void |
setMatrix(OpenGLState glState,
int where,
Matrix4d which)
|
static void |
ViewOrtho(OpenGLState glState)
|
static void |
ViewOrtho(OpenGLState glState,
int width,
int height)
construct an orthogranal view matrix for easing full screen quad drawing |
static void |
ViewPerspective(OpenGLState glState)
change view matrix back to default |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected GLSLUpdateCache newVisit
Constructor Detail |
---|
public RenderPass()
Method Detail |
---|
public static void activateTextures(javax.media.opengl.GL gl, int[] img, int cnt)
public static void activateTextures(javax.media.opengl.GL gl, int[] img, int cnt, int type)
img
- Array containing ids for OpenGL Textures.cnt
- Maximum number of Textures that will be activated starting
with img[0].type
- public static void deactivateTextures(javax.media.opengl.GL gl, int cnt)
public static void deactivateTextures(javax.media.opengl.GL gl, int cnt, int type)
cnt
- Number of Textures that should be deactivatedtype
- public static void drawPrjQuad(OpenGLState glState, Camera c)
public static void drawPrjQuad(OpenGLState glState, Camera c, float x, float y, float width, float height)
public static void drawPrjQuad(OpenGLState glState, Camera c, float x, float y, float width, float height, double angle)
c
- public static void drawPrjQuadParallel(OpenGLState glState, Camera c, float x, float y, float width, float height, double projectionWidth)
c
- protected abstract void epilogue(GLSLDisplay disp, OpenGLState glState, java.lang.Object data)
protected int getID()
public void postDrawCallback(Drawable dr, OpenGLState glState, GLSLDisplay disp)
public void process(GLSLDisplay disp, OpenGLState glState, java.lang.Object data)
protected abstract void prologue(GLSLDisplay disp, OpenGLState glState, java.lang.Object data)
protected abstract void render(GLSLDisplay disp, OpenGLState glState, java.lang.Object data)
public void renderAndUpdateVector(GLSLDisplay disp, Matrix4d worldToView, java.util.Vector<Drawable> cache)
public void renderVector(GLSLDisplay disp, Matrix4d worldToView, boolean normal, java.util.Vector<Drawable> cache)
public void resetMatrix(OpenGLState glState, int count)
public void setMatrix(OpenGLState glState, int where, Matrix4d which)
public static void ViewOrtho(OpenGLState glState)
public static void ViewOrtho(OpenGLState glState, int width, int height)
public static void ViewPerspective(OpenGLState glState)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |