KFiresaver3D (OpenGL) - Source

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

0
Score 58.0%
Description:

NOTE 31-Dec-2003 :: www.kde-apps.org has born !!!! Thank you all, this is my personal contribute.

KFiresaver3D, is a project originated from the great work that is David Sansome's kfiresaver. For those who already tried previous versions, let's say that the screensaver is improved so much. Now there is a setup dialog (thanks David) whith tons of options to fully configure the screensaver and adapt it to your needs! I've also added a 'shading' effect, sound, gFX, the possibility to use presets for options and many other things...

Look at the screenshots; it was very hard to choice three ones..
But you have to see it in motion!!
Note: The screenshots are taken using KoRaL's preset. Fortunately there are more presets and options if you don't like excessive eye-impressing frames ^_^

>> Sometimes it looks better than real fireworks ^_^

** Installation instructions **
untar the package:
- tar xjpvf kfiresaver3d-0.6-leakfix.tar.bz2
switch to that directory and type:
- ./configure
- make
- make install
Last changelog:

16 years ago

Last Day of 2003:
-since kde-apps.org is born I uploaded the version that fixes a bastard mem leak on code :-) (the patch has lied on my hd for almost a year). Enjoy

Sept 2002:
-added a configurable shader ('fade effect')
-configurable stars
-sound (yeah, poor by now...)
-many new types of fireworks (rings, double-rings, etc..)
-tons of speedups
-some bugfixes (did I made some bugs?)
-fixed a missing include (thanks to Spiral Man)
-lots of eyecandy ^_^
-a sort of 'show timeline'
-etc.. etc..

Fiegmund

17 years ago

I had the same problem. That's because you're missing the glu.h file.
Just download it from somewhere (search on google), and put it in the '/usr/X11R6/include/GL' directory then run make again, and all should be fine.

Next, for mandrake 9 users, I don't recommend using make install, as it'll only copy the files in the wrong directories :P
Go in the kfiresaver3d directory that was created when compiling, then copy the following files to the following directories:

kfiresaver3D.desktop ==> /usr/share/applnk/System/ScreenSavers and /usr/share/applnk-mdk/.hidden/ScreenSavers
fw_explode.wad, kde.png, tux.png and particle.bmp ==> /usr/share/apps/kfiresaver (create this directory)
kfiresaver3d (executable) ==> /usr/bin

Select as screensaver, configure and enjoy :)

Report

Tharn

17 years ago

This also applies to Mandrake 9.1

I also had to intall several Mesa dev libraries (libMesaGLU1-devel, libMesaglut3-devel) as well as libfam0-devel

Now, if I can figure out how my OpenGL is configured, 'cause it's damn choppy. The same video card (G-Force 2 Ultra) running the same screensaver under Win2K was fine.

Report

toomany

17 years ago

Hi. I've got a "little" problem compiling this screensaver under FreeBSD 4.7-STABLE with kde 3.1.0. The "configure" phase has not problem, but when I executed the "gmake" command, I can obtain this message:
kfiresaversetup.cpp:441: `languageChange' undeclared (first use this function)
kfiresaversetup.cpp:441: (Each undeclared identifier is reported only once
kfiresaversetup.cpp:441: for each function it appears in.)
kfiresaversetup.cpp: At top level:
kfiresaversetup.cpp:482: no `void KFireSaverSetup::languageChange()' member function declared in class `KFireSaverSetup'
gmake[2]: *** [kfiresaversetup.o] Error 1
gmake[2]: Leaving directory `/usr/home/toomany/themes/kde3/screensavers/kfiresaver3d-0.6/kfiresaver3d'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/toomany/themes/kde3/screensavers/kfiresaver3d-0.6'
gmake: *** [all] Error 2
Anybody could help me, please?
(I will apologize about my bad english, sorry).

Report

airhead

17 years ago

just thought i should share. If you have mandrake 9.0 with kde 3.1, for some reason you have to put the kfiredesktop3d.desktop file into:

/usr/share/applnk-mdk/.hidden/ScreenSavers/

This might have to do with mandrake not having official binaries yet and i got mine from the cooker but that made it work.

Aaron Hagopian
ahagopian@hotmail.com

Report

bobby63d

17 years ago

i am also a linux noob. to get this to install
correctly i had to run "./configure prefix=/usr"
without the quotes. thanks to those who pointed this out.
btw great screensaver-opengl rules!

Report

bja

17 years ago

My only question is when will this be included in mainstream KDE? This is a great screensaver that equals or betters all other screensavers currently offered with the KDE project. Great job and thanks for a great screensaver!

Report

yupper3d

17 years ago

When configuring, use this command:

./configure --prefix=/usr


KDE is installed in /usr on RH distros.

Report

grizzlyaddams

17 years ago

# make
cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make all-recursive
Making all in kfiresaver3d
"/usr/download/kfiresaver3d-0.6/kfiresaver3d/Makefile", line 306: Unassociated shell command "$(DEPDIR)/kfiresaverkss.Po $(DEPDIR)/main.Po $(DEPDIR)/particle.Po"
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/download/kfiresaver3d-0.6.
*** Error code 1

Stop in /usr/download/kfiresaver3d-0.6.
#
#

Report

rabid-penguin

17 years ago

hey, i'm fairly new to linux. both my roomate and I are running redhat 8.0, and neither one of us can get this great looking screensaver to show up in the control center. I'm still in shock from the conversion from windows to linux, could someone idiot proof the installation process for me. I installed everything right, without any errors, I just have no clue how to get it to show up in my control center.

Report

smokework

17 years ago

i am pretty much in the same boat as you . . . i tried the other things listed here, but i also had to enlist the aid of a more experienced user who took a look at it and informed me that i had installed it in the wrong place. you have to manually copy your kfiresaver3d.desktop file into the following directory: file:/usr/share/apps/kscreensaver/ScreenSavers

or at least, that's what you have to do if you're using KDE.

Report

rudra

17 years ago

Hi all,
if you get the message "kfiresaversetup.h not found" you have to execute "configure" and "make" as normal user. Only "make install" has to run as root.

Report

Elassus

17 years ago

okay, so SuSE 8.0 has packages which conflict with mesaglu-devel (more properly, another package upon which it depends), which means that i can't compile the version you have up here. that is, when i try make, i get:

In file included from particle.h:24,
from particle.cpp:24:
/usr/lib/qt3/include/qgl.h:72: GL/gl.h: No such file or directory
/usr/lib/qt3/include/qgl.h:73: GL/glu.h: No such file or directory
make[2]: *** [particle.o] Error 1

but i DO have a package called "mesaglut-devel," which might be that same thing. or it might not.

just to clarify, too: i have an nvidia gf4-Ti4600, which is top of the line. it has 128mb or ram onboard, and i have another 780 or so on the mobo, which has a 1.9GHz processor. so i think i have enough graphics power.

but the nvidia card uses the GLX driver, which is a specialized driver. maybe this version of opengl isn't capable of being compiled for my machine?

has anybody else compiled this for a similar architecture? please let me know how i can get around this problem.

thanks!

Executor Elassus

Report

jalberty

17 years ago

Installed it without any problem on
KDE 3.0.4 with NVIDIA_GLX

Distribution : None
Linux from Scratch.

./configure --prefix=/opt/kde3
make
make install

Thankx for this GL screenblanker.

Report

fld

17 years ago

after a successful install and customization launch :
kstart --skiptaskbar --maximize --type Desktop kfiresaver3d --root

Report

fld

17 years ago

It seems that a lot of memory is allocated end never desallocated in this program. After an hour it was using about 120 Mo of memory !

Look for each var created with new and not deleted with delete.

Report

davidsansome

17 years ago

This happens when you don't have the bottom fire enabled (Koral put some code in the wrong place :-)). This will be fixed in the next version, but for now you should put the bottom fire on :-)

Report

HermanR

17 years ago

KFiresaver used to run fine on Mandrake 8.2 (with Kde 3.0) here, but now I have switched to Mandrake 9.0 and it doesn't work any more...

I can configure, make and install without any errors. By default, it installs in /usr/local/kde (but my problems persist when I try to install elsewhere).

When I run KFiresaver from the command-line, I get an error message that the 'image-particle file' could not be read and the graphics appear all 'blocky'...

I guess KFiresaver can't find the data-files it installed in /usr/local/kde/share/apps/kfiresaver.

Who knows what to do?

Report

HermanR

17 years ago

Well, I solved my problem myself.
As always, it turned out to be really simple.

The program expects to be installed in the default Kde-location, so everything works now I have re-configured with --prefix=/usr !

Report

RebWins

17 years ago

The results of make:
z -lm -lXext -lX11 -lresolv -lSM -lICE -lpthread -lresolv
kfiresaver.o: In function `KFireSaver::initializeGL(void)':
kfiresaver.o(.text+0x54f): undefined reference to `glDisable'
kfiresaver.o(.text+0x55b): undefined reference to `glEnable'
kfiresaver.o(.text+0x569): undefined reference to `glBlendFunc'
kfiresaver.o(.text+0x575): undefined reference to `glShadeModel'
kfiresaver.o(.text+0x586): undefined reference to `glHint'
kfiresaver.o(.text+0x59a): undefined reference to `glHint'
kfiresaver.o(.text+0x6c0): undefined reference to `glTexParameterf'
kfiresaver.o(.text+0x6d7): undefined reference to `glTexParameterf'
kfiresaver.o(.text+0x6e3): undefined reference to `glEnable'
kfiresaver.o(.text+0x71e): undefined reference to `glTexImage2D'
kfiresaver.o: In function `KFireSaver::resizeGL(int, int)':
kfiresaver.o(.text+0x7b1): undefined reference to `glViewport'
kfiresaver.o(.text+0x7bd): undefined reference to `glMatrixMode'
kfiresaver.o(.text+0x7c2): undefined reference to `glLoadIdentity'
kfiresaver.o(.text+0x7f1): undefined reference to `glOrtho'
kfiresaver.o(.text+0x7fe): undefined reference to `glMatrixMode'
kfiresaver.o(.text+0x803): undefined reference to `glLoadIdentity'
kfiresaver.o: In function `KFireSaver::paintGL(void)':
kfiresaver.o(.text+0x917): undefined reference to `glClear'
kfiresaver.o(.text+0x93e): undefined reference to `glBlendFunc'
kfiresaver.o(.text+0x943): undefined reference to `glLoadIdentity'
kfiresaver.o(.text+0x954): undefined reference to `glTranslatef'
kfiresaver.o(.text+0x96e): undefined reference to `glColor4f'
kfiresaver.o(.text+0x978): undefined reference to `glBegin'
kfiresaver.o(.text+0x989): undefined reference to `glVertex2f'
kfiresaver.o(.text+0x99a): undefined reference to `glVertex2f'
kfiresaver.o(.text+0x9ab): undefined reference to `glVertex2f'
kfiresaver.o(.text+0x9bc): undefined reference to `glVertex2f'
kfiresaver.o(.text+0x9c1): undefined reference to `glEnd'
kfiresaver.o(.text+0x9cf): undefined reference to `glBlendFunc'
kfiresaver.o(.text+0xa57): undefined reference to `glLoadIdentity'
kfiresaver.o(.text+0xa68): undefined reference to `glTranslatef'
kfiresaver.o(.text+0xa76): undefined reference to `glScalef'
kfiresaver.o(.text+0xa85): undefined reference to `glColor4f'
kfiresaver.o(.text+0xa8f): undefined reference to `glBegin'
kfiresaver.o(.text+0xaa2): undefined reference to `glTexCoord2d'
kfiresaver.o(.text+0xab9): undefined reference to `glVertex2f'
kfiresaver.o(.text+0xac9): undefined reference to `glTexCoord2d'
kfiresaver.o(.text+0xae6): undefined reference to `glVertex2f'
kfiresaver.o(.text+0xaf6): undefined reference to `glTexCoord2d'
kfiresaver.o(.text+0xb13): undefined reference to `glVertex2f'
kfiresaver.o(.text+0xb20): undefined reference to `glTexCoord2d'
kfiresaver.o(.text+0xb40): undefined reference to `glVertex2f'
kfiresaver.o(.text+0xb45): undefined reference to `glEnd'
kfiresaver.o(.text+0xb7e): undefined reference to `glLoadIdentity'
kfiresaver.o(.text+0xbf9): undefined reference to `glTranslatef'
kfiresaver.o(.text+0xc5f): undefined reference to `glScalef'
kfiresaver.o(.text+0xd1b): undefined reference to `glColor4f'
kfiresaver.o(.text+0xd28): undefined reference to `glBegin'
kfiresaver.o(.text+0xd3b): undefined reference to `glTexCoord2d'
kfiresaver.o(.text+0xd52): undefined reference to `glVertex2f'
kfiresaver.o(.text+0xd62): undefined reference to `glTexCoord2d'
kfiresaver.o(.text+0xd7f): undefined reference to `glVertex2f'
kfiresaver.o(.text+0xd8f): undefined reference to `glTexCoord2d'
kfiresaver.o(.text+0xdac): undefined reference to `glVertex2f'
kfiresaver.o(.text+0xdb9): undefined reference to `glTexCoord2d'
kfiresaver.o(.text+0xddc): undefined reference to `glVertex2f'
kfiresaver.o(.text+0xde1): undefined reference to `glEnd'
kfiresaver.o(.text+0x1129): undefined reference to `glClearColor'
kfiresaver.o(.text+0x1135): undefined reference to `glClear'
kfiresaver.o(.text+0x1145): undefined reference to `glClearColor'
kfiresaver.o: In function `KFireSaver::explodeFirework(Particle *)':
kfiresaver.o(.text+0x14e2): undefined reference to `glClearColor'
kfiresaver.o(.text+0x14ee): undefined reference to `glClear'
kfiresaver.o(.text+0x14fe): undefined reference to `glClearColor'
collect2: ld returned 1 exit status
make[2]: *** [kfiresaver3d] Error 1
make[2]: Leaving directory `/root/Desktop/Downloads/kfiresaver3d-0.6/kfiresaver3d'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/Downloads/kfiresaver3d-0.6'
make: *** [all] Error 2


I tried the solutions I found in this list, but neither way worked. Anyone else have a suggestion?

Report

tyl

17 years ago

Beautiful screensaver !

At any rate, I found out to install it.

Basically, the screensavers that will show up in the desktop config panel are
located in usr/share/applnk-mdk/.hidden/System/Screensavers.

For other distros, look for different applnk-dirs, and do a find on some screensaver you know is there.
You can find the distribution-customized dirs that way...

I'd write more but this textbox is too annoyingly small.

Xeers
Tyl

Report

guillaumeb

17 years ago

The .desktop file didn't install the right place indeed, thanks for the trick...

By the way, I really like tux logo effect !

Guillaume.

Report

temafm

17 years ago

Any ideas??
Thank you.

$ ./configure
:
:
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking for res_init... no
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for char... yes
checking size of char... 1
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for Xinerama... no
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... configure: error: not found. Check your installation and look into config.log

Report

Phiba

16 years ago

in the rpm manager search for libz-devel and install it, then try again and it should work

Report

temafm

17 years ago

I am using Mandrake 9.0 and KDE3

Thanks.

Report

chanio

17 years ago

I have KDE installed at /usr/share/apps
So then you should do...
./configure --prefix=/usr/share/apps
I can configure, but then I get stopped at make...
I have also looked for the rpms in vain 'till now!
Good luck!

Report

16 years ago

Last Day of 2003:
-since kde-apps.org is born I uploaded the version that fixes a bastard mem leak on code :-) (the patch has lied on my hd for almost a year). Enjoy

Sept 2002:
-added a configurable shader ('fade effect')
-configurable stars
-sound (yeah, poor by now...)
-many new types of fireworks (rings, double-rings, etc..)
-tons of speedups
-some bugfixes (did I made some bugs?)
-fixed a missing include (thanks to Spiral Man)
-lots of eyecandy ^_^
-a sort of 'show timeline'
-etc.. etc..

12345678910
1
product-maker sefran Aug 01 2011 9 excellent
product-maker Base: 4 x 5.0 Ratings
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.6
updated Dec 31 2003
added Sep 08 2002
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1