Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


opengl help wanted to set background picture


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   -  Reputation: 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



Sponsor:

#2 Petrov_VA   Members   -  Reputation: 596

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   -  Reputation: 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.



PARTNERS