Jump to content

  • Log In with Google      Sign In   
  • Create Account


Splashscreen


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
5 replies to this topic

#1 stefu   Members   -  Reputation: 120

Like
Likes
Like

Posted 22 July 2001 - 09:07 AM

How to show splas screen? I can''t use textures for splashscreens. Does OpenGL have way to draw pixels directly to backbuffer? Or should I draw pixel by pixel using glBegin(GL_POINT)/glEnd()?

Sponsor:

#2 Obelix   Members   -  Reputation: 122

Like
Likes
Like

Posted 22 July 2001 - 10:31 AM

You can use the normal GDI functions.

#3 mittens   Moderators   -  Reputation: 1315

Like
Likes
Like

Posted 22 July 2001 - 02:53 PM

Just use glBegin(GL_PIXELS); The GDI is way too slow for what you need.

------------------------------
Trent (ShiningKnight)
E-mail me
OpenGL Game Programming Tutorials

#4 asaari   Members   -  Reputation: 122

Like
Likes
Like

Posted 22 July 2001 - 05:48 PM

too slow for a splash screen???!

GDI must be darn slow then!

#5 Coffee Drinker   Members   -  Reputation: 122

Like
Likes
Like

Posted 28 July 2001 - 07:05 PM

take a look at glDrawPixels
it''s slow though


Free your mind.


#6 merlin9x9   Members   -  Reputation: 174

Like
Likes
Like

Posted 30 July 2001 - 07:27 AM

If you want a splash screen, your best bet is to use a modeless dialog containing your splash image. If you're doing this in VC++, you can make a dialog (make sure you make the style thin-line or no-border) of any size in the resource editor, then insert an image in the upper-left corner of that dialog. In the procedure for that dialog, in the WM_CREATE message, use SetWindowPos to resize the dialog to the exact size of your splash image and place the dialog at the top of the Z-order (make it the topmost window). So, you'll display this dialog (using DialogBox) just before you start loading, and you'll destroy it (using SendMessage(hwndSplash, WM_CLOSE, 0, 0), which implies that you'll have to somehow keep track of that dialog's handle) when you're done with it. This method gives you a "true" splash screen.

Edited by - merlin9x9 on July 30, 2001 6:43:02 PM




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