So, I've been playing around with the WIN32 API lately, and I found that it exposes some pretty interesting functions, and that I could use those functions to have fun with it and OGRE
Anyway, I sat down yesterday and picked around my old, unfinished projects, when I found the render to wallpaper thing that I left more than a year ago
After a few hours I got it (more or less) working and the result was pretty interesting:
A few screenshots:
And a video:
[youtube]CBRnI6rYHhE[/youtube]
The cool thing about this is, that it ran very smoothly even on my 10 year old PC with a FX 5500 graphics card and an Intel Celeron 1.7 GHz CPU (512 RAM).
Also, this demo uses code from Asaaf Raman's Polygon/3D text demo to generate the text mesh at runtime, and the text is loaded from a config file located in "media/config/LiveWallpaper.cfg".
Hope you guys like it
Here's the download for the compiled demo: http://www.mediafire.com/download.php?3ahft393vg5175f
Note for XP users: If you're running XP open the plugins.cfg in your favorite text editor and replace the contents with this:
Code: Select all
PluginFolder=plugins
Plugin=RenderSystem_GL
Plugin=Plugin_CgProgramManager
[s]I'll release the source code either this, or next week.[/s]
Update:
After cleaning up the code for a good few hours I finally got to a clean codebase.
The demo is now hosted on Bitbucket along with the OGREFTGL dependency which I updated to compile out of the box with Visual Studio 2010.
You can find the demo here: https://bitbucket.org/MindCalamity/livewallpaper/
And OGREFTGL: https://bitbucket.org/MindCalamity/ogreftgl
Original OGREFTGL was by Asaaf Raman, you can find it here: http://www.ogre3d.org/forums/viewtopic.php?f=11&t=27982.
Merry Christmas, guys