Advertisement

Splash Screens

Started by December 10, 2002 07:15 AM
2 comments, last by omega_001 22 years, 2 months ago
I''m trying to create a splash screen which fades into view before the main application runs, has anyone ever attempted this or know how this may be done. I''m currently thinking that I can execute a dialog box and then manipulate its transparency value but I''m not sure that this can be done. Thanks in advance, Kiel
you talking about a fullscreen GL app?
or a windowed mfc-type gl app?
give us some more details

-eldee
;another space monkey;
[ Forced Evolution Studios ]

::evolve::

Do NOT let Dr. Mario touch your genitals. He is not a real doctor!

-eldee;another space monkey;[ Forced Evolution Studios ]
Advertisement
The splash screen would be for a non-MFC gl app (windowed), although if it requires MFC I would use it.

What I''m trying to do is create a splash screen similar to one that pre-empts the 3dmark2001 demo if you''ve even seen it.

Kiel
Here is a poor workaround that came to my mind :

1) get the desktop window, thus you are able to screen capture it and store the result in memory (for making a texture, for instance).

2) show your splash screen, then let the previously captured picture appear progressively (e.g. if the splash window is OpenGL enabled, draw a quad with increasing opacity). Of course take only the portion of the desktop that the splash screen over lap

3) close and destroy your splash screen, free the memory taken by the capture.

I also heard that since win2k, you could change the transparency of windows.

----
David Sporn AKA Sporniket

This topic is closed to new replies.

Advertisement