Live 3D Wallpaper source released - ZLib

A place to show off your latest screenshots and for people to comment on them. Only start a new thread here if you have some nice images to show off!
Post Reply
User avatar
Mind Calamity
Ogre Magi
Posts: 1255
Joined: Sat Dec 25, 2010 2:55 pm
Location: Macedonia
x 81

Live 3D Wallpaper source released - ZLib

Post by Mind Calamity »

Hello guys!

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:
Image
Image

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
There seems to be a bug with OGRE's D3D9 renderer (it always tries to initialize Ex, even on unsupported platforms like XP).

[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 :)
Last edited by Mind Calamity on Tue Dec 25, 2012 1:10 am, edited 3 times in total.
BitBucket username changed to iboshkov (from MindCalamity)
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
Cookiezzz
Halfling
Posts: 40
Joined: Wed May 25, 2011 6:42 pm
Location: Germany
x 2

Re: Live 3D Wallpaper on Windows with OGRE

Post by Cookiezzz »

Very cool! Kudo for you :D
bstone
OGRE Expert User
OGRE Expert User
Posts: 1920
Joined: Sun Feb 19, 2012 9:24 pm
Location: Russia
x 201

Re: Live 3D Wallpaper on Windows with OGRE

Post by bstone »

Yeah, that's a nice effect! I'm afraid Windows 8 is going to ruin it though. Too bad.
Blender+C++
Gremlin
Posts: 171
Joined: Tue Jan 03, 2012 1:38 am
Location: Brazil
x 3

Re: Live 3D Wallpaper on Windows with OGRE

Post by Blender+C++ »

You deserve Kudos for that :D
gratz bro!!
User avatar
Mind Calamity
Ogre Magi
Posts: 1255
Joined: Sat Dec 25, 2010 2:55 pm
Location: Macedonia
x 81

Re: Live 3D Wallpaper on Windows with OGRE

Post by Mind Calamity »

Cookiezzz wrote:Very cool! Kudo for you :D
Blender+C++ wrote:You deserve Kudos for that :D
gratz bro!!
Thanks, guys :)
bstone wrote:Yeah, that's a nice effect! I'm afraid Windows 8 is going to ruin it though. Too bad.
I thought so too, but it still works on Windows 8 too.

Screenie:

Image
BitBucket username changed to iboshkov (from MindCalamity)
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
bstone
OGRE Expert User
OGRE Expert User
Posts: 1920
Joined: Sun Feb 19, 2012 9:24 pm
Location: Russia
x 201

Re: Live 3D Wallpaper on Windows with OGRE

Post by bstone »

Oh, it does? That's good news then.
User avatar
Brocan
Orc
Posts: 441
Joined: Tue Aug 01, 2006 1:43 am
Location: Spain!!
x 8

Re: Live 3D Wallpaper on Windows with OGRE

Post by Brocan »

Really cool :D
User avatar
Mind Calamity
Ogre Magi
Posts: 1255
Joined: Sat Dec 25, 2010 2:55 pm
Location: Macedonia
x 81

Re: Live 3D Wallpaper on Windows with OGRE

Post by Mind Calamity »

Brocan wrote:Really cool :D
Thank you :)
bstone wrote:Oh, it does? That's good news then.
Yes, it does, but the weird thing is - it doesn't work if I compile it under Windows 8, yet the screenshot above shows the version I compiled on Windows 7 working perfectly fine... :roll:
BitBucket username changed to iboshkov (from MindCalamity)
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
bstone
OGRE Expert User
OGRE Expert User
Posts: 1920
Joined: Sun Feb 19, 2012 9:24 pm
Location: Russia
x 201

Re: Live 3D Wallpaper on Windows with OGRE

Post by bstone »

Mind Calamity wrote:Yes, it does, but the weird thing is - it doesn't work if I compile it under Windows 8, yet the screenshot above shows the version I compiled on Windows 7 working perfectly fine... :roll:
Here you go. I just had a bad feeling about Windows 8, I tell you. :)
User avatar
Zonder
Ogre Magi
Posts: 1168
Joined: Mon Aug 04, 2008 7:51 pm
Location: Manchester - England
x 73

Re: Live 3D Wallpaper on Windows with OGRE

Post by Zonder »

bstone wrote:
Mind Calamity wrote:Yes, it does, but the weird thing is - it doesn't work if I compile it under Windows 8, yet the screenshot above shows the version I compiled on Windows 7 working perfectly fine... :roll:
Here you go. I just had a bad feeling about Windows 8, I tell you. :)
Microsoft go out of there way to make sure windows is backwards compatible. and it don't surprise me not working when compiling for windows 8 !! :)

on windows 8 here hate it...
There are 10 types of people in the world: Those who understand binary, and those who don't...
User avatar
Sovaka
Greenskin
Posts: 109
Joined: Sat Dec 20, 2008 6:26 am
Location: QLD, Australia
x 3
Contact:

Re: Live 3D Wallpaper on Windows with OGRE

Post by Sovaka »

So it can be done!
Awesome, nice work mate.

We were going to put that functionality into our engine so that players can keep an eye on their Planets while they aren't ingame.
Would also allow us seamless transition between the idle desktop and our active game environment.

Saved us some work for sure :)
User avatar
Mind Calamity
Ogre Magi
Posts: 1255
Joined: Sat Dec 25, 2010 2:55 pm
Location: Macedonia
x 81

Re: Live 3D Wallpaper on Windows with OGRE

Post by Mind Calamity »

Sovaka wrote:So it can be done!
Awesome, nice work mate.

We were going to put that functionality into our engine so that players can keep an eye on their Planets while they aren't ingame.
Would also allow us seamless transition between the idle desktop and our active game environment.

Saved us some work for sure :)
I'd be glad if it could help somebody. I haven't figured out a way to draw the icons. I'm thinking about using overlays and reading the desktop folder. (this would enable you to show icons in any way you can imagine using OGRE, so a 3D desktop would be easy).

And a wallpaper using your engine ? Sign me up! :D
Zonder wrote:Microsoft go out of there way to make sure windows is backwards compatible. and it don't surprise me not working when compiling for windows 8 !! :)

on windows 8 here hate it...
I'm actually getting used to it, and the weird thing is - I tried compiling again yesterday and it worked... I'm confused as to why it didn't the first time around...
BitBucket username changed to iboshkov (from MindCalamity)
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
User avatar
Mind Calamity
Ogre Magi
Posts: 1255
Joined: Sat Dec 25, 2010 2:55 pm
Location: Macedonia
x 81

Re: Live 3D Wallpaper source released - ZLib

Post by Mind Calamity »

Source released - See first post.

Also, merry christmas and happy holidays to you all :)
BitBucket username changed to iboshkov (from MindCalamity)
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
Post Reply