Package jgl.context.render
Class gl_lit_tex_z
java.lang.Object
jgl.context.render.gl_render
jgl.context.render.gl_depth
jgl.context.render.gl_smooth
jgl.context.render.gl_lit_tex
jgl.context.render.gl_lit_tex_z
gl_lit_tex_z is the rendering class for texturing with lighting and depth of jGL 2.3.
- Version:
- 0.1, 16 Feb 2001
- Author:
- Robin Bing-Yu Chen
-
Field Summary
Fields inherited from class jgl.context.render.gl_lit_tex
drdx, drdy, dsdx, dsdy, dtdx, dtdy, dwdx, dwdy, LeftPointR, LeftPointS, LeftPointT, LeftPointW, LineST, LineW, r, s, t, w
Fields inherited from class jgl.context.render.gl_smooth
LeftPointRGB, rgb, RightPointRGB
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
dec_x()
protected void
protected void
draw_horizontal_line
(int y) protected void
inc_x()
protected void
protected void
inc_y()
protected void
protected void
protected void
protected void
protected void
init_dx
(int dx) protected void
init_dx_dy
(int area, int left, int right, int top) protected void
init_dy
(int dy) protected void
init_other
(boolean delta, int dy) protected void
Will color the given pixel WITHOUT verifying depth buffer (seegl_depth.put_pixel()
protected void
Will color the given pixel WITHOUT verifying depth buffer (seegl_depth.put_pixel_by_index()
protected void
protected void
set_left
(int pos) Methods inherited from class jgl.context.render.gl_lit_tex
draw_horizontal_line, init_dx_dy, init_tex, init_tex, init_tex_dx, init_tex_dx_dy, init_tex_dy, init_tex_other, set_first_tex, set_left_tex, tex_dec_x, tex_inc_x, tex_inc_y, tex_inc_y_more, tex_inc_y_once
Methods inherited from class jgl.context.render.gl_smooth
draw_horizontal_line, inc_left, inc_left_rgb, inc_rgb, inc_right, inc_right_rgb, init_color, init_drgb, init_left, init_left_rgb, init_rgb, init_right, init_right_rgb, set_first_rgb, set_left_color, set_right, set_right_color
Methods inherited from class jgl.context.render.gl_depth
draw_horizontal_line, init_z, init_z, init_z_dx, init_z_dx_dy, init_z_dy, init_z_other, set_first_z, set_left_z, z_dec_x, z_inc_x, z_inc_y, z_inc_y_more, z_inc_y_once
Methods inherited from class jgl.context.render.gl_render
draw_horizontal_line, draw_horizontal_line, draw_line, draw_line, draw_point, draw_point, draw_polygon, draw_polygon, draw_triangle, draw_triangle, inc_left_xy, inc_right_xy, init_left_xy, init_right_xy, init_xy, init_xy, set_first_xy, set_left_xy, set_pixel, set_right_xy, x_dec_x, x_inc_x, y_inc_y
-
Constructor Details
-
gl_lit_tex_z
-
-
Method Details
-
init
- Overrides:
init
in classgl_lit_tex
-
set_first_point
protected void set_first_point()- Overrides:
set_first_point
in classgl_lit_tex
-
init_dx
protected void init_dx(int dx) - Overrides:
init_dx
in classgl_lit_tex
-
init_dy
protected void init_dy(int dy) - Overrides:
init_dy
in classgl_lit_tex
-
inc_x
protected void inc_x()- Overrides:
inc_x
in classgl_lit_tex
-
dec_x
protected void dec_x()- Overrides:
dec_x
in classgl_lit_tex
-
inc_y
protected void inc_y()- Overrides:
inc_y
in classgl_lit_tex
-
inc_x_inc_y
protected void inc_x_inc_y()- Overrides:
inc_x_inc_y
in classgl_lit_tex
-
dec_x_inc_y
protected void dec_x_inc_y()- Overrides:
dec_x_inc_y
in classgl_lit_tex
-
put_pixel
protected void put_pixel()Description copied from class:gl_render
Will color the given pixel WITHOUT verifying depth buffer (seegl_depth.put_pixel()
- Overrides:
put_pixel
in classgl_lit_tex
-
put_pixel_by_index
protected void put_pixel_by_index()Description copied from class:gl_render
Will color the given pixel WITHOUT verifying depth buffer (seegl_depth.put_pixel_by_index()
- Overrides:
put_pixel_by_index
in classgl_lit_tex
-
init
- Overrides:
init
in classgl_lit_tex
-
set_left
protected void set_left(int pos) - Overrides:
set_left
in classgl_lit_tex
-
init_dx_dy
protected void init_dx_dy(int area, int left, int right, int top) - Overrides:
init_dx_dy
in classgl_lit_tex
-
init_other
protected void init_other(boolean delta, int dy) - Overrides:
init_other
in classgl_lit_tex
-
inc_y_once
protected void inc_y_once()- Overrides:
inc_y_once
in classgl_lit_tex
-
inc_y_more
protected void inc_y_more()- Overrides:
inc_y_more
in classgl_lit_tex
-
draw_horizontal_line
protected void draw_horizontal_line(int y) - Overrides:
draw_horizontal_line
in classgl_lit_tex
-