Package jgl.context.render.pixel
Class gl_render_pixel
- java.lang.Object
-
- jgl.context.render.pixel.gl_render_pixel
-
- Direct Known Subclasses:
gl_blend_pixel
,gl_render_point
,gl_select_pixel
,gl_stipple_pixel
public class gl_render_pixel extends Object
gl_render_pixel is the basic pixel rendering class of jGL 2.3.- Version:
- 0.6, 15 May. 2003
- Author:
- Robin Bing-Yu Chen
-
-
Field Summary
Fields Modifier and Type Field Description protected gl_context
CC
-
Constructor Summary
Constructors Constructor Description gl_render_pixel(gl_context cc)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
debug_color_to_console(int color)
void
init(int dx, int dy)
protected int
light_pixel(int t, int c)
protected int
light_pixel(int t, int[] c)
void
put_pixel(int x, int y, float s, float t, float r)
Put a texturing pixel in the Color Buffervoid
put_pixel(int x, int y, float z, float s, float t, float r)
Put a texturing pixel in the Color Buffer with depth valuevoid
put_pixel(int x, int y, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy)
Put a mip-mapped pixel in the Color Buffervoid
put_pixel(int x, int y, float z, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy)
Put a mip-mapped pixel in the Color Buffer with depth valuevoid
put_pixel(int x, int y, float z, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int c)
Put a lighting mip-mapped pixel in the Color Buffer with depth valuevoid
put_pixel(int x, int y, float z, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int[] c)
Put a lighting mip-mapped pixel in the Color Buffer with depth valuevoid
put_pixel(int x, int y, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int c)
Put a lighting mip-mapped pixel in the Color Buffervoid
put_pixel(int x, int y, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int[] c)
Put a lighting mip-mapped pixel in the Color Buffervoid
put_pixel(int x, int y, float z, float s, float t, float r, int c)
Put a texturing pixel in the Color Buffer with depth valuevoid
put_pixel(int x, int y, float z, float s, float t, float r, int[] c)
Put a texturing pixel in the Color Buffer with depth valuevoid
put_pixel(int x, int y, float s, float t, float r, int c)
Put a lighting texturing pixel in the Color Buffervoid
put_pixel(int x, int y, float s, float t, float r, int[] c)
Put a lighting texturing pixel in the Color Buffervoid
put_pixel(int x, int y, float z, int color)
Put a pixel in the Color Buffer, if the pixel is near View Pointvoid
put_pixel(int x, int y, float z, int[] c)
Convert the color array to call real put_pixelvoid
put_pixel(int x, int y, int color)
Put a pixel in the Color Buffervoid
put_pixel(int x, int y, int[] c)
Convert the color array to call real put_pixelvoid
put_pixel_by_index(int index, float s, float t, float r)
Put a texturing pixel in the Color Buffervoid
put_pixel_by_index(int index, float z, float s, float t, float r)
Put a texturing pixel in the Color Buffer with depth valuevoid
put_pixel_by_index(int index, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy)
Put a mip-mapped pixel in the Color Buffervoid
put_pixel_by_index(int index, float z, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy)
Put a mip-mapped pixel in the Color Buffer with depth valuevoid
put_pixel_by_index(int index, float z, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int c)
Put a lighting mip-mapped pixel in the Color Buffer with depth valuevoid
put_pixel_by_index(int index, float z, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int[] c)
Put a lighting mip-mapped pixel in the Color Buffer with depth valuevoid
put_pixel_by_index(int index, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int c)
Put a lighting mip-mapped pixel in the Color Buffervoid
put_pixel_by_index(int index, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int[] c)
Put a lighting mip-mapped pixel in the Color Buffervoid
put_pixel_by_index(int index, float z, float s, float t, float r, int c)
Put a lighting texturing pixel in the Color Buffer with depth valuevoid
put_pixel_by_index(int index, float z, float s, float t, float r, int[] c)
Put a lighting texturing pixel in the Color Buffer with depth valuevoid
put_pixel_by_index(int index, float s, float t, float r, int c)
Put a lighting texturing pixel in the Color Buffervoid
put_pixel_by_index(int index, float s, float t, float r, int[] c)
Put a lighting texturing pixel in the Color Buffervoid
put_pixel_by_index(int index, float z, int color)
Put a pixel in the Color Buffer, if the pixel is near View Pointvoid
put_pixel_by_index(int index, float z, int[] c)
Convert the color array to call real put_pixelvoid
put_pixel_by_index(int index, int color)
Put a pixel in the Color Buffervoid
put_pixel_by_index(int index, int[] c)
Convert the color array to call real put_pixel
-
-
-
Field Detail
-
CC
protected gl_context CC
-
-
Constructor Detail
-
gl_render_pixel
public gl_render_pixel(gl_context cc)
-
-
Method Detail
-
debug_color_to_console
public static void debug_color_to_console(int color)
-
put_pixel_by_index
public void put_pixel_by_index(int index, int color)
Put a pixel in the Color Buffer
-
put_pixel
public void put_pixel(int x, int y, int color)
Put a pixel in the Color Buffer
-
put_pixel_by_index
public void put_pixel_by_index(int index, float z, int color)
Put a pixel in the Color Buffer, if the pixel is near View Point
-
put_pixel
public void put_pixel(int x, int y, float z, int color)
Put a pixel in the Color Buffer, if the pixel is near View Point
-
put_pixel_by_index
public void put_pixel_by_index(int index, int[] c)
Convert the color array to call real put_pixel
-
put_pixel
public void put_pixel(int x, int y, int[] c)
Convert the color array to call real put_pixel
-
put_pixel_by_index
public void put_pixel_by_index(int index, float z, int[] c)
Convert the color array to call real put_pixel
-
put_pixel
public void put_pixel(int x, int y, float z, int[] c)
Convert the color array to call real put_pixel
-
put_pixel_by_index
public void put_pixel_by_index(int index, float s, float t, float r)
Put a texturing pixel in the Color Buffer
-
put_pixel
public void put_pixel(int x, int y, float s, float t, float r)
Put a texturing pixel in the Color Buffer
-
put_pixel_by_index
public void put_pixel_by_index(int index, float z, float s, float t, float r)
Put a texturing pixel in the Color Buffer with depth value
-
put_pixel
public void put_pixel(int x, int y, float z, float s, float t, float r)
Put a texturing pixel in the Color Buffer with depth value
-
put_pixel_by_index
public void put_pixel_by_index(int index, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy)
Put a mip-mapped pixel in the Color Buffer
-
put_pixel
public void put_pixel(int x, int y, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy)
Put a mip-mapped pixel in the Color Buffer
-
put_pixel_by_index
public void put_pixel_by_index(int index, float z, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy)
Put a mip-mapped pixel in the Color Buffer with depth value
-
put_pixel
public void put_pixel(int x, int y, float z, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy)
Put a mip-mapped pixel in the Color Buffer with depth value
-
light_pixel
protected int light_pixel(int t, int c)
-
light_pixel
protected int light_pixel(int t, int[] c)
-
put_pixel_by_index
public void put_pixel_by_index(int index, float s, float t, float r, int c)
Put a lighting texturing pixel in the Color Buffer
-
put_pixel
public void put_pixel(int x, int y, float s, float t, float r, int c)
Put a lighting texturing pixel in the Color Buffer
-
put_pixel_by_index
public void put_pixel_by_index(int index, float z, float s, float t, float r, int c)
Put a lighting texturing pixel in the Color Buffer with depth value
-
put_pixel
public void put_pixel(int x, int y, float z, float s, float t, float r, int c)
Put a texturing pixel in the Color Buffer with depth value
-
put_pixel_by_index
public void put_pixel_by_index(int index, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int c)
Put a lighting mip-mapped pixel in the Color Buffer
-
put_pixel
public void put_pixel(int x, int y, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int c)
Put a lighting mip-mapped pixel in the Color Buffer
-
put_pixel_by_index
public void put_pixel_by_index(int index, float z, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int c)
Put a lighting mip-mapped pixel in the Color Buffer with depth value
-
put_pixel
public void put_pixel(int x, int y, float z, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int c)
Put a lighting mip-mapped pixel in the Color Buffer with depth value
-
put_pixel_by_index
public void put_pixel_by_index(int index, float s, float t, float r, int[] c)
Put a lighting texturing pixel in the Color Buffer
-
put_pixel
public void put_pixel(int x, int y, float s, float t, float r, int[] c)
Put a lighting texturing pixel in the Color Buffer
-
put_pixel_by_index
public void put_pixel_by_index(int index, float z, float s, float t, float r, int[] c)
Put a lighting texturing pixel in the Color Buffer with depth value
-
put_pixel
public void put_pixel(int x, int y, float z, float s, float t, float r, int[] c)
Put a texturing pixel in the Color Buffer with depth value
-
put_pixel_by_index
public void put_pixel_by_index(int index, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int[] c)
Put a lighting mip-mapped pixel in the Color Buffer
-
put_pixel
public void put_pixel(int x, int y, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int[] c)
Put a lighting mip-mapped pixel in the Color Buffer
-
put_pixel_by_index
public void put_pixel_by_index(int index, float z, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int[] c)
Put a lighting mip-mapped pixel in the Color Buffer with depth value
-
put_pixel
public void put_pixel(int x, int y, float z, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int[] c)
Put a lighting mip-mapped pixel in the Color Buffer with depth value
-
init
public void init(int dx, int dy)
-
-