This uses the pick matrix to select items which are stacked on one another. In this case I am using a textures that are modified by color and generated by matplotlib as 3 graphs combined with standard deviations, time plotting, average lines, and histogram. Pick matrix allows shuffling through sets with arrow keys or the joystick. I am pretty sure I already posted the python code for the matplotlib sectioned graphs. The first and second times through these methods , it was unclear what was taking place. Strang MIT ( Linear Algebra) helped immensely with matrices, more familiarity with C language, and a deeper understanding of the concepts behind the OpenGL programming model, has made it clear what is taking place and how it is effectively applied.

void gl_draw_select() { glColor3f(1.0, 0.0, 0.0); glLoadName(1); draw_block(-0.1, 0.50, -4); glColor3f(0.0, 1.0, 0.0); glLoadName(2); draw_block(0.0,0.30, -4); glColor3f(0.0, 0.0, 1.0); glLoadName(3); draw_block(0.1, 0.10, -4); }

## 0 comments:

Post a Comment