I need to add window flip animation to any window (or some windows) like the following: https://www.youtube.com/watch?v=pjHPiyEHs0Y
I suppose I can use 2 images re sizing and sthretching the first and when in the middle swap the first image with the second and re size and sthret again the other way round.
Does someone knows some PB code where to start?
Thanks in advance
Eros
Eros--
To do this.
I would use OpenGL to perform the image rotation, using first WM_PRINT to perform a capture of the window, then turning it into a texture, and render the result into a transparent LAYERED window.
To start with, you could see the code i posted in Pix3D, and try it with a screen shot of your window, Pix3D will turn it into a texture on the fly.
Of course the best solution would be to write a specific {effect} DLL for that purpose.
Then all kind of effects could be done, like these
https://www.youtube.com/watch?v=letiC2dF1gA
You can see an example of 3D animation of a popup window at startup, in my WinDev project BassBox Radio
http://www.jose.it-berater.org/smfforum/index.php?topic=4394.0
Added:
And what about a curling effect, that would be nice too.
...
More about the page curling effect
http://blogs.msdn.com/b/vcblog/archive/2012/09/27/10348494.aspx
http://blog.rectalogic.com/webvfx/examples_2transition-shader-pagecurl_8html-example.html
Thanks a lot Patrice!
I will study it