
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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.
7 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.
7 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
4 years ago
Report
stevepusser
7 years ago
Report
tuxdude
7 years ago
Report
tuxdude
7 years ago
Report
tuxdude
7 years ago
Thanks for the update. Like the new fish looks great.
Keep up the good work.
Report
stevepusser
7 years ago
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
7 years ago
*
*
*
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
8 years ago
-- 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
8 years ago
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
8 years ago
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
8 years ago
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
jboss1995
8 years ago
Report
jboss1995
8 years ago
Report
janet
8 years ago
Report
janet
8 years ago
And maybe some additional small fishes with a little more color ;).
Report
jboss1995
8 years ago
Report
diamonds-notebook
8 years ago
Report
jboss1995
8 years ago
Thanks.
Report
tuxdude
9 years ago
I like to activate it just to watch :)
Report
jboss1995
9 years ago
Report
woodsmoke
9 years ago
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
jboss1995
9 years ago
Report
jboss1995
9 years ago
Report
mixalns
9 years ago
Report
jboss1995
9 years ago
Report