KOceanSaver

Screensavers

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

10
7 .7
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:

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.

C

jboss1995

11 years ago

did you install kdebase-workspace-dev?

Report

Doobius

11 years ago

I was able to perform all the tasks above until it came to the "sudo" part, and at that point it got too complicated for me. I'm REALLY trying to learn Linux so if someone can tell me how to edit that sudo file so that my default user (let's call him Joe for simplicity) can do the last command I would be grateful and will promise to learn! I WAS able to launch "visudo" but it seemed the current file contents were at the bottom of the console window, and the cursor where I was editing was at the top. Also had no clue as to how to get out of the editor and actually close the file with changes made.

Thanks!
John

Report

Doobius

11 years ago

Okay - I know there's not a lot of activity here, but I was hoping for an answer by now. The screensaver really isn't a big deal for me...but getting an answer would be great as far as learning what I am doing. I'm not trying to get snippy here, cause I learned when I was young that you get more flies with honey, not vinegar!

But if the masses are EVER going to Love Linux as much as we do (well, as much as I WANT to) the lack of people willing to help is going to have to improve. I realize it may get redundant to have to tell people over and over how to do something, or answer a question as (obviously) mundane as mine was, but how else are we ever going to learn?

I will wait patiently until I can find out more info. I will, again, look up sudo in the Mandriva forums to see if I can decipher someone's answer there and put it to practical use. Sorry to be so stupid - it would help if people remembered their first few weeks in Linux I think...

Report

bitcrazy

11 years ago

Sudo is a command to allow an ordinary user to perform several tasks as root.
You performed "visudo", which is a command to edit the sudoers file located in /etc.
Using sudo is especially used in the variations of Ubuntu distributions, where the root account is deactivated and the user performs critical task by using the command "sudo".
On Mandrive (perhaps copy & paste) in the directory containing the source code:
qmake
make
su -c 'make install'
should do the thing.

Don't think, that nobody would help, but this isn't the right place for questions, concerning "basics".
Better in your distribution's forum.
I've great respect for you starting studying again at the age of 50. (I'm 46, btw.)

m0nk

Report

Doobius

11 years ago

Oh Thanks so much for the answer! I see now where I should post basic questions like this - and I appreciate the reply!

Report

Doominite

11 years ago

In Kubuntu Jaunty, I did qmake KOceanSaver.pro and then checkinstall which gave errors. From researching on-line, I found that qmake is for QT3. The following worked for me.

qmake-qt4 KOceanSaver.pro
sudo checkinstall

Result - no errors, package manager friendly, screen saver works perfectly.

Report

crematory3

11 years ago

Works great for me. Very big thx!!!!

Report

erbenton

11 years ago

Really?
How did you manage to compile and install
this when there is no INSTALL or README,
no Makefile no ./configure etc etc?

Report

CharlesT

11 years ago

I managed to qmake the source code, however, the command: "sudo make install" ended with this:
g++ -Wl,--no-undefined -o KOceanSaver ocean.o guidancesystem.o kocean.o wavemap.o seacreature.o moc_ocean.o moc_kocean.o qrc_data.o -L/usr/lib -L/usr/X11R6/lib -lkscreensaver -lQtOpenGL -lQtGui -lQtCore -lGLU -lGL -lpthread
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [KOceanSaver] Error 1

Is there a solution for this so I can finish the installation?
Thank you!

Report

bluePal

11 years ago

On my intel not work,or Im too dumb.
I tired install on my kde3.5 the qt4
library qmake, etc. but i have no result.
Sorry Your trouble!

Report

C

jboss1995

11 years ago

No problem, I'm happy to help. But yes you do have to have kde 4 not kde 3

Report

bluePal

11 years ago

Can You make binary /elf/ for oder
linux user with libs ?

Report

C

jboss1995

11 years ago

Did I not answer your question?

Report

C

jboss1995

11 years ago

Not sure what that means, I'm new to programing in Linux. I can compile it in and arc then you can to a "make install". I have an AMD64 and i386.

Report

C

jboss1995

11 years ago

Not sure what that means, I'm new to programing in Linux. I can compile it in and arc then you can to a "make install". I have an AMD64 and i386.

Report

C

jboss1995

11 years ago

Not sure what that means, I'm new to programing in Linux. I can compile it in and arc then you can to a "make install". I have an AMD64 and i386.

Report

nhnFreespirit

11 years ago

Thanks for the new release. I have a few comments.

I like the change scenery. The surface effect is not really working well IMO. first of all it seems to move very un-smoothly compared to the water effect on the bottom. Also, it is solid until it disappears in the distance, it needs to fade out, similar to the effect on the bottom.

Other than that, keep up the good work. :-)

Report

C

jboss1995

11 years ago

Thanks for the feedback and complements. I have some questions for you if you don't mind helping me out a bit. The wave should be smooth.

If you have older hardware:
Change the line in ocean.cpp (L33)

Ocean::Ocean(QWidget *parent) : QGLWidget(QGLFormat(QGL::SampleBuffers|QGL::AlphaChannel|QGL::DirectRendering), parent)

to look like

Ocean::Ocean(QWidget *parent) : QGLWidget(parent)

see if that helps.

Now my questions. So you can see the back edges of the ocean and ocean floor. Do you see fog? I ask this because I can't see the edges in the 2 computers I use. The fog conceals the back edges. What video card do you use? I use Nvidia in both. Again Thanks you you help.

Report

nhnFreespirit

11 years ago

I have pretty powerful hardware on the machine where I tested this, so I doubt that is the issue.

For me, the water surface effect looks very different from the wave effect on the bottom. the bottom and that effect fades nicely into the background, the top effect does not.

Report

fwjs28

11 years ago

where can i download kdebase-workspace-dev ?

Report

C

jboss1995

11 years ago

what Linux distribution do you use? if kubuntu or debian then apt-get install kdebase-workspace-dev. if not search your distribution for a package named that and install it.

Report

fwjs28

11 years ago

slax....

Report

C

jboss1995

11 years ago

I think slax uses kde3.X not kde4.x. This screen saver is for kde4.x.

Sorry

Report

fwjs28

11 years ago

sorry, im just a bit of a slax newbie...thanks a bunch....

Report

frapell

11 years ago

Hey, i'm trying to install under Kubuntu Intrepid Ibex. Followed your instructions but i get:

........
kocean.h:24:26: error: kscreensaver.h: No such file or directory
In file included from kocean.cpp:22:
kocean.h:31: error: expected class-name before ‘{’ token
kocean.cpp:29: error: expected class-name before ‘{’ token
........

any help ?

btw, i can help you with the 3D models, i love doing stuff in Blender. I'm no pro, but if you like them you can use them ;)

regards

Report

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.

12345678910
215
product-maker AnalisaLogika Jun 15 2017 9 excellent
product-maker thwald Jan 23 2016 9 excellent
product-maker mea5 Dec 13 2014 9 excellent
product-maker dergnome Jan 27 2014 3 bad
product-maker tuxdude Nov 30 2013 9 excellent
product-maker janet Oct 20 2013 9 excellent
product-maker Contrast Oct 19 2013 9 excellent
product-maker Sweyn78 Aug 24 2012 9 excellent
product-maker Xephexx May 22 2012 9 excellent
product-maker tartare30 Jan 03 2012 9 excellent
product-maker darthroe Dec 27 2011 9 excellent
product-maker woodsmoke Dec 27 2011 9 excellent
product-maker posixru Dec 07 2011 9 excellent
product-maker mixalns Dec 06 2011 9 excellent
product-maker ATAHUALPA Nov 28 2011 9 excellent
product-maker electron222 Jun 19 2011 9 excellent
product-maker otternox May 31 2011 3 bad
Be the first to comment
CharlesT
Apr 10 2015
sefran
Oct 20 2013
Bumpalot
Mar 11 2013
rgfernandes
Jan 13 2012
tuxdude
Jan 06 2012
woodsmoke
Dec 27 2011
devport
Nov 18 2011
janet
Apr 09 2010
kilometk
Mar 29 2010
Doobius
Jun 27 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.8
updated Oct 19 2013
added Dec 26 2008
downloads 24h
0
mediaviews 24h 0
pageviews 24h 9