Description: Well greetings all. For those of you that want to see what we are doing here, you can check it out at the end of my demo/hack Worthless! I am bosco and I will do my best to teach you guys how to do the animated, sine-wave picture. This tutorial is based on NeHe s tutorial# 6 and you should have at least that much knowledge. You should download the source package and place the bitmap I ve included in a directory called data where your source code is. Or use your own texture if it s an appropriate size to be used as a texture with OpenGL. First things first. Open Tutorial# 6 in Visual C++ and add the following include statement right after the other# include statements. The# include below allows us to work with complex math such as sine and cosine.
File list (Check if you may need any files):