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_contextCC
-
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 voiddebug_color_to_console(int color)voidinit(int dx, int dy)protected intlight_pixel(int t, int c)protected intlight_pixel(int t, int[] c)voidput_pixel(int x, int y, float s, float t, float r)Put a texturing pixel in the Color Buffervoidput_pixel(int x, int y, float z, float s, float t, float r)Put a texturing pixel in the Color Buffer with depth valuevoidput_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 Buffervoidput_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 valuevoidput_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 valuevoidput_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 valuevoidput_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 Buffervoidput_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 Buffervoidput_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 valuevoidput_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 valuevoidput_pixel(int x, int y, float s, float t, float r, int c)Put a lighting texturing pixel in the Color Buffervoidput_pixel(int x, int y, float s, float t, float r, int[] c)Put a lighting texturing pixel in the Color Buffervoidput_pixel(int x, int y, float z, int color)Put a pixel in the Color Buffer, if the pixel is near View Pointvoidput_pixel(int x, int y, float z, int[] c)Convert the color array to call real put_pixelvoidput_pixel(int x, int y, int color)Put a pixel in the Color Buffervoidput_pixel(int x, int y, int[] c)Convert the color array to call real put_pixelvoidput_pixel_by_index(int index, float s, float t, float r)Put a texturing pixel in the Color Buffervoidput_pixel_by_index(int index, float z, float s, float t, float r)Put a texturing pixel in the Color Buffer with depth valuevoidput_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 Buffervoidput_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 valuevoidput_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 valuevoidput_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 valuevoidput_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 Buffervoidput_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 Buffervoidput_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 valuevoidput_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 valuevoidput_pixel_by_index(int index, float s, float t, float r, int c)Put a lighting texturing pixel in the Color Buffervoidput_pixel_by_index(int index, float s, float t, float r, int[] c)Put a lighting texturing pixel in the Color Buffervoidput_pixel_by_index(int index, float z, int color)Put a pixel in the Color Buffer, if the pixel is near View Pointvoidput_pixel_by_index(int index, float z, int[] c)Convert the color array to call real put_pixelvoidput_pixel_by_index(int index, int color)Put a pixel in the Color Buffervoidput_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)
-
-