Source render

From FreeSpace Wiki
Jump to: navigation, search


Contains low-level routines for handling 3d graphics primitives. Called from graphics, ui code etc.

Major Classes/Functions/Structs

Class/Group/Struct Method/Function/Element Notes
g3_* functions g3_start_frame() / g3_start_frame_func() Starts the render frame.
g3_draw_poly() Draws a textured polygon. Called from graphics, model and object code (eg. nebula, warp points, weapons etc.)
g3_draw_line() Draws a line in 3d. Used to show grids etc.
g3_draw_bitmap() Draws a 2d bitmap at a point 3d. Used for particle effects etc.