Hi;
I'm looking to have a background picture set on my opengl window, but I don't know where to begin. Is there a specific picture format I should use and most importantly, are there any examples I can take a look at?
Thank you
Hi;
I'm looking to have a background picture set on my opengl window, but I don't know where to begin. Is there a specific picture format I should use and most importantly, are there any examples I can take a look at?
Thank you
1.Solid background: lesson 23 http://nehe.gamedev.net/tutorial/sphere_mapping_quadrics_in_opengl/15005/
code c++ http://nehe.gamedev.net/data/lessons/vc/lesson23.zip
2.Moving background: lesson 32:http://nehe.gamedev.net/tutorial/picking_alpha_blending_alpha_testing_sorting/16005/
code c++ http://nehe.gamedev.net/data/lessons/vc/lesson32.zip
3.Avi background: lesson 35:http://nehe.gamedev.net/tutorial/playing_avi_files_in_opengl/23001/
code c++:http://nehe.gamedev.net/data/lessons/vc/lesson35.zip
All above adapted to Visual C++ MS VS 2010/2012 codes and samples in source files to: http://www.gamedev.net/page/resources/_/technical/opengl/concentration-of-all-the-lessons-in-common-library-glsummary-in-mfc-r3375