#include <gee_gl_renderer.h>
Inheritance diagram for GEE_GlRenderer:
About particle rendering: Particles are a pain to render. They must be rendered as billboards that are in the world coordinates. The user may how-ever apply any transformation before we get to rendering the particles. These transformations must be undone if we are to get the particle alignments correct. For this reason we must take copy of the modelview matrix before we do any OpenGL matrix operations. When rendering particles the matrix in the stack is replaced with the original modelview matrix. Then everything is ok again.
|
|
|
NS -> Nearly Selected. HIGH1 -> highlight color for the primary component of the primitive (faces is polygons, lines is lines). HIGH2 -> secondary color for the primitive (edges for polygons, points for lines). |
|
|
|
|
|
Implements GEE_Renderer. |
|
Implements GEE_Renderer. |
|
This method renders a path with two alternating colors. You cannot adjust the colors (except in code) - sorry. Implements GEE_Renderer. |
|
Implements GEE_Renderer. |
|
Implements GEE_Renderer. |
|
Implements GEE_Renderer. |
|
Implements GEE_Renderer. |
|
Implements GEE_Renderer. |
|
Implements GEE_Renderer. |
|
Implements GEE_Renderer. |
|
Implements GEE_Renderer. |
|
Implements GEE_Renderer. |
|
Implements GEE_Renderer. |
|
Implements GEE_Renderer. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initializes the OpenGL state machine for rendering the objects. This method needs to be called if the OpenGL state is wrong for the rendering. |
|
|
|
This method switches OpenGL to a new 2D texture. If the texture is the same as the previous texture, then no operation is performed.
|
|
This method enables/disables blending of the OpenGL state machine.
|
|
Switch OpenGL lights on/off.
|
|
|
|
|
|
|
|
|
|
Returns the list of rendered things.
|
|
Returns the number of times a display list was used to render a thing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Resets the vertex, triangle etc. counters. |
|
|
|
|
|
|
|
|
|
Checks if there is a diplay list for this graphic. If there is no list storage, then no list-related stuff is done and NO_LIST is returned. If the list exists, then it is rendered. If the the list does not exist, but there is a list storage, then its recording is began. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|