Jump to content

View more

Image of the Day

Working on an auto spawn system. #gamedev #indiedev #screenshotsaturday https://t.co/Mm2kfekz7b
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

opengl help wanted to set background picture

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 chilun   Members   

122
Like
0Likes
Like

Posted 28 October 2013 - 05:53 PM

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



#2 Petrov_VA   Members   

751
Like
0Likes
Like

Posted 28 October 2013 - 08:16 PM

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, 28 October 2013 - 08:51 PM.


#3 chilun   Members   

122
Like
0Likes
Like

Posted 29 October 2013 - 02:33 AM

Thank you very much for the links. I'll take a closer look at these






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.