KOceanSaver
Screensavers
Score 80%
Description:

An under water screen saver for KDE4
Thanks to John Stamp for your help.

todo:
sea creature swimming pattern
camera movement (swimming through seen)

How to Install:
1 install package build-essential cmake kdebase-workspace-dev libqt4-opengl-dev or your distros equivalent
2 download.
3 extract (tar -xzf "the file you downloaded")
4 change to the new directory (KOceanSaver)
5 cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr CMakeLists.txt
6 sudo make install

And a big thanks to the guys and gals at mepis-deb.org for making the debian packages for all of us who use a debian distro.

If your distro is not (k)ubuntu then you may or may not need the -DCMAKE_INSTALL_PREFIX:PATH=/usr. a simple
1 cmake CMakeLists.txt
2 sudo make install
will work for you.
Last changelog:

8 years ago

0.1, 0.2, 0.3
1 Faster skeleton animation function for fish. (this dropped CPU usage by half or more on my computer even with wave added. Matrix is only calculated once for each bone instead of once for each vertex)
2 Added ocean surface with waves. (Please let me know what you think)
3 Moved things around to make it more aesthetic

Please give feedback so I know if I'm going in the right direction

0.4
1. Changed time basted movement (much faster now)
2. Adding Setting Dialog.
3. Adding new fish

0.5
1 Changed form qmake to cmake.

0.6
1 Added rocking motion.

0.7
1. Bug fixes and performance improvements.
2. Added Orca.
3. Added new function for attached fish (remora).

0.8
1. Bug fixes (fish disapeare after screen suspend)
2 Added fish: Grouper.

janet

1 year ago

Would it be possible to convert this wonderful screensaver to an xscreensaver module (as Plasma 5 doen't support/provide kscreensavers anymore)?

Report

stevepusser

3 years ago

http://main.mepis-deb.org/mepiscr/testrepo/pool/test/k/koceansaver/

Report

tuxdude

3 years ago

Compiled without fault in opensuse 13.1

Report

tuxdude

3 years ago

Have also compiled on Solydk without problems.

Report

tuxdude

3 years ago

Compiled and running perfectly on kubuntu13.10 64bit

Thanks for the update. Like the new fish looks great.

Keep up the good work.

Report

stevepusser

4 years ago

Currently in the testing repo here:
http://main.mepis-deb.org/mepiscr/testrepo/pool/test/k/koceansaver/

Built on KDE version:

mcr85: 4.3.4
mcr110: 4.5.3
mcr120: 4.8.4 (Debian wheezy's version)

Report

adeelamin

4 years ago

when I run 'cmake CMakeLists.txt' I get the following error:

*
*
*

CMake Error at /usr/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (message):
Could NOT find kscreensaver (missing: KSCREENSAVER_LIBRARY
KSCREENSAVER_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)
CMakeLists.txt:21 (find_package_handle_standard_args)

*
*
*

plese tell me what should i do

Report

Bumpalot

4 years ago

bumpy@bumpyputer:~/Downloads/KOceanSaver/KOceanSaver$ cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr CMakeLists.txt
-- Found Qt-Version 4.8.3 (using /usr/bin/qmake)
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found KDE 4.9 include dir: /usr/include
-- Found KDE 4.9 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
CMake Warning (dev) at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:92 (INCLUDE):
File /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake
includes /usr/share/kde4/apps/cmake/modules/CMakeParseArguments.cmake
(found via CMAKE_MODULE_PATH) which shadows
/usr/share/cmake-2.8/Modules/CMakeParseArguments.cmake. This may cause
errors later on .

Policy CMP0017 is not set: Prefer files from the CMake module directory
when including from there. Run "cmake --help-policy CMP0017" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindOpenGL.cmake:152 (INCLUDE)
CMakeLists.txt:6 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/bumpy/Downloads/KOceanSaver/KOceanSaver
bumpy@bumpyputer:~/Downloads/KOceanSaver/KOceanSaver$ make
[ 0%] Built target koceansaver.kss_automoc
Scanning dependencies of target koceansaver.kss
[ 11%] Building CXX object src/CMakeFiles/koceansaver.kss.dir/koceansaver.kss_automoc.cpp.o
[ 22%] Building CXX object src/CMakeFiles/koceansaver.kss.dir/guidancesystem.cpp.o
[ 33%] Building CXX object src/CMakeFiles/koceansaver.kss.dir/koceansetting.cpp.o
[ 44%] Building CXX object src/CMakeFiles/koceansaver.kss.dir/ocean.cpp.o
/home/bumpy/Downloads/KOceanSaver/KOceanSaver/src/ocean.cpp: In member function ‘virtual void Ocean::initializeGL()’:
/home/bumpy/Downloads/KOceanSaver/KOceanSaver/src/ocean.cpp:248:68: warning: narrowing conversion of ‘(((double)(GLfloat)((Ocean*)this)->Ocean::settings->Settings::Ambient) * 1.0e-2)’ from ‘double’ to ‘GLfloat {aka float}’ inside { } is ill-formed in C++11 [-Wnarrowing]
[ 55%] Building CXX object src/CMakeFiles/koceansaver.kss.dir/wavemap.cpp.o
[ 66%] Building CXX object src/CMakeFiles/koceansaver.kss.dir/kocean.cpp.o
[ 77%] Building CXX object src/CMakeFiles/koceansaver.kss.dir/koceansetup.cpp.o
[ 88%] Building CXX object src/CMakeFiles/koceansaver.kss.dir/seacreature.cpp.o
make[2]: *** No rule to make target `/usr/lib/x86_64-linux-gnu/libSM.so', needed by `src/koceansaver.kss'. Stop.
make[1]: *** [src/CMakeFiles/koceansaver.kss.dir/all] Error 2
make: *** [all] Error 2
bumpy@bumpyputer:~/Downloads/KOceanSaver/KOceanSaver$ sudo make install
[sudo] password for bumpy:
[ 0%] Built target koceansaver.kss_automoc
make[2]: *** No rule to make target `/usr/lib/x86_64-linux-gnu/libSM.so', needed by `src/koceansaver.kss'. Stop.
make[1]: *** [src/CMakeFiles/koceansaver.kss.dir/all] Error 2
make: *** [all] Error 2
bumpy@bumpyputer:~/Downloads/KOceanSaver/KOceanSaver$

Report

Bumpalot

5 years ago

At the conclusion of final compilation, you suggested to run kbuildsycoca4
here are the final Terminal lines:
-- Up-to-date: /usr/local/share/kde4/services/ScreenSavers/koceansaver.desktop
-- Up-to-date: /usr/local/share/man/man1/koceansaver.kss.1
bumpy@bumpyputer:~/Downloads/KOceanSaver$ kbuildsycoca4
kbuildsycoca4 running...

nothing happens after that, & koceansaver.desktop is not listed in the OpenGL screensavers.
How can I fix that?
bumpysax@gmail.com

Report

Bumpalot

4 years ago

I got that solved, but since then have updated to kubuntu 12.10 & your wonderful screensaver is working fine.. except for one thing: what do I have to change to keep KOceanSaver running for a specified time length?
Also would like to know the file settings location.
Like every other fan, any hopes of more fish etc?
Big Thanks again for your magnificent screensaver!!

Report

reggler

5 years ago

I get this error on cmake:
Am I missing a certain depency?
Thanks!
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/reg/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!

Report

C

jboss1995

5 years ago

did you install cmake?

Report

C

jboss1995

5 years ago

did you install build-essential kdebase-workspace-dev libqt4-opengl-dev cmake?

Report

janet

5 years ago

I love this screensaver! Please, can you also make an aquarium screensaver or add an aquarium mode?

Report

janet

5 years ago

Or maybe you could add the option to use an own background picture that is slightly (according to the settings on the graphic tab) covered by the waves and "fog" and color. I'd love to have a background that is not so monochrome: e.g. beige sandy gravel at the bottom, something more dark in the background, some green water plants, some more rock formations or corals.

And maybe some additional small fishes with a little more color ;).

Report

C

jboss1995

5 years ago

I would love to. but I don't have the time. I was going to work on a better background but I think camera movement is what I'm going to do next.

Report

diamonds-notebook

5 years ago

PERFECT!!!

Report

C

jboss1995

5 years ago

well not yet. but hopefully.
Thanks.

Report

tuxdude

5 years ago

Great screensaver, well done.
I like to activate it just to watch :)

Report

C

jboss1995

5 years ago

It means a lot, thanks.

Report

woodsmoke

5 years ago

Hi
this is a GREAT screensaver. I installed it on Kubuntu Oneric.
I noticed a "to do" about "swimming through the scene".
I don't know how hard that would be to do, but an idea I had that "might" be easier would be to have an option to where it is like one is swimming and just "hanging" in the water and kind of "moving up and down a little" with the underwater wave action. Don't know, just a though, but it is a great screensaver.
woodsmoke

Report

C

jboss1995

5 years ago

Thanks for the positive feed back. I could add that in no time. All see what i can do.

Report

C

jboss1995

5 years ago

Well it is done. I fell bad because I did this so quick and someone else has ask for a remora attached to the shark. I have had no success. But your idea looks good. Thanks

Report

mixalns

5 years ago

Thank you.

Report

C

jboss1995

5 years ago

You are welcome, I'm glad you like it.

Report

8 years ago

0.1, 0.2, 0.3
1 Faster skeleton animation function for fish. (this dropped CPU usage by half or more on my computer even with wave added. Matrix is only calculated once for each bone instead of once for each vertex)
2 Added ocean surface with waves. (Please let me know what you think)
3 Moved things around to make it more aesthetic

Please give feedback so I know if I'm going in the right direction

0.4
1. Changed time basted movement (much faster now)
2. Adding Setting Dialog.
3. Adding new fish

0.5
1 Changed form qmake to cmake.

0.6
1 Added rocking motion.

0.7
1. Bug fixes and performance improvements.
2. Added Orca.
3. Added new function for attached fish (remora).

0.8
1. Bug fixes (fish disapeare after screen suspend)
2 Added fish: Grouper.

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.8
updated Oct 19 2013
added Dec 26 2008
downloads today
0
page views today 5