Start: 9:30
- Working through the programing with FLUID tutorial. This is the one with the cube view opengl class.
- The tutorial explains a couple things I was confused about besides integrating opengl. There are sections for menu items as well.
- The openGl class should inherit from Fl_Gl_Window.
- This example uses a callback function to pan and redraw the cube, whenever the slider is moved. This eliminated the need for something like a glutMainLoop() and can be used similarly with a timer function instead of a callback.
- This example shows how to use a timer function for opengl animation within a fltk interface: http://www.dreamincode.net/forums/topic/124557-c-3d-animation-fltk-opengl-tutorial/
- Here is a tutorial for animated line drawing: http://seriss.com/people/erco/fltk/#AnimateDrawing
- I’m not sure if it really needs to be animated for what I want to accomplish. I really just want to be able to graph the sound to pressure ratio so we can visually see the if a linear relationship is better then some other form in feedback. It might make sense to not have the box there and just have the data output to spreadsheet or something.
- Working out a couple bugs from moving stuff around. I am getting better at not making spaghetti code so I shouldn’t need to back track as much as I have been in the future. Most of this backtracking is because I took shortcuts which now I know were not very time effective in the long run.
End: 1:30
