dissolve effect in SDL
I am trying to do a dissolve effect between two still screens in SDL (Myst clone).
How should I do this? Also, is this effect even desirable?
I just thought of a way, but it would be annoying to program.
Draw the first image, update the screen.
Draw the second image, update every other pixel using SDL_UpdateRects
Update the rest of the screen.
Draw the first image, update the screen.
Draw the second image, update every other pixel using SDL_UpdateRects
Update the rest of the screen.
Interesting to watch the back and forth in this thread. Take a look at The Demo Effects Collection for some inspiration. They're all done in SDL or SDL and OpenGL.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement