Sign in to follow this  
chilun

opengl help wanted to set background picture

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Edited by Petrov_VA

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this