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
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     
    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 Buffer
    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
    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
    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
    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
    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
    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
    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
    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
    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
    void
    put_pixel(int x, int y, float s, float t, float r, int c)
    Put a lighting texturing pixel in the Color Buffer
    void
    put_pixel(int x, int y, float s, float t, float r, int[] c)
    Put a lighting texturing pixel in the Color Buffer
    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
    void
    put_pixel(int x, int y, float z, int[] c)
    Convert the color array to call real put_pixel
    void
    put_pixel(int x, int y, int color)
    Put a pixel in the Color Buffer
    void
    put_pixel(int x, int y, int[] c)
    Convert the color array to call real put_pixel
    void
    put_pixel_by_index(int index, float s, float t, float r)
    Put a texturing pixel in the Color Buffer
    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
    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
    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
    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
    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
    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
    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
    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
    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
    void
    put_pixel_by_index(int index, float s, float t, float r, int c)
    Put a lighting texturing pixel in the Color Buffer
    void
    put_pixel_by_index(int index, float s, float t, float r, int[] c)
    Put a lighting texturing pixel in the Color Buffer
    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
    void
    put_pixel_by_index(int index, float z, int[] c)
    Convert the color array to call real put_pixel
    void
    put_pixel_by_index(int index, int color)
    Put a pixel in the Color Buffer
    void
    put_pixel_by_index(int index, int[] c)
    Convert the color array to call real put_pixel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • gl_render_pixel

      public gl_render_pixel(gl_context cc)
  • Method Details

    • 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)