OpenGL Screen Transitions Effects? -


Anyone familiar with resources or sample source code that shows the screen / page transition effect using plain-openGL? (Not primarily using C / C ++ and QT).

If I am correctly explaining your question, then you have two views in OpenGL, and you Want to move forward from each other.

I was doing a game programming a few years back, in which I wanted to be a world and a fight screen - like the last fairy imagined. In it, I decided to program a "shuttering" effect to do this, I presented the current view in a texture, mapped it on a set of triangles, then transposed the triangle giving a new view in the background .

To obtain your current view as a texture, assume that you have a texture object, you can use glCopyTexSubImage2D below:

glBindTexture (GL_TEXTURE_2D) , TextureID); GlCopyTexSubImage2D (GL_TEXTURE_2D, 0, 0, 0, 0, 0, Screenwid, Screenshite);


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -