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

spacefiddle

17 years ago

./configures with no trouble. This i don't get:

&& 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
make[1]: Entering directory `/home/chrome/kfiresaver3d-0.6'
Making all in kfiresaver3d
make[2]: Entering directory `/home/chrome/kfiresaver3d-0.6/kfiresaver3d'
/bin/sh ../libtool --silent --mode=link g++ -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -o kfiresaver3d -L/usr/X11R6/lib -L/usr/lib/qt3/lib -L/usr/lib -R /usr/lib -R /usr/lib/qt3/lib -R /usr/X11R6/lib particle.o main.o kfiresaverkss.o kfiresaver.o -lkscreensaver -lqt-mt -lpng -lz -lm -lXext -lX11 -lresolv -lSM -lICE -lpthread -lresolv
main.o: In function `kss_setup':
main.o(.text+0x52): undefined reference to `KFireSaverSetup::KFireSaverSetup[in-charge](QWidget*, char const*, bool, unsigned)'
collect2: ld returned 1 exit status
make[2]: *** [kfiresaver3d] Error 1
make[2]: Leaving directory `/home/chrome/kfiresaver3d-0.6/kfiresaver3d'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chrome/kfiresaver3d-0.6'
make: *** [all] Error 2

Report

tronete

17 years ago

After donig ./configure with no errors. I get this make error:

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
make[1]: Cambiando a directorio `/home/xavi-quintero/Desktop/Emergencias/Baixat/kfiresaver3d-0.6'
Making all in kfiresaver3d
make[2]: Cambiando a directorio `/home/xavi-quintero/Desktop/Emergencias/Baixat/kfiresaver3d-0.6/kfiresaver3d'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -c main.cpp
main.cpp:24:26: kapplication.h: No existe el fichero o el directorio
main.cpp:29:29: kfiresaversetup.h: No existe el fichero o el directorio
make[2]: *** [main.o] Error 1
make[2]: Saliendo directorio `/home/xavi-quintero/Desktop/Emergencias/Baixat/kfiresaver3d-0.6/kfiresaver3d'
make[1]: *** [all-recursive] Error 1
make[1]: Saliendo directorio `/home/xavi-quintero/Desktop/Emergencias/Baixat/kfiresaver3d-0.6'
make: *** [all-recursive-am] Error 2


Any Idea? BTW it looks awesome... I love the screenshots... I'm using mdk8.1.

Report

HermanR

17 years ago

Why doesn't KFiresaver show up in my KDE ScreenSaver control panel? I compiled and installed it without any problems. It works too, because I can run it from the commandline. And the setup works like a charm too.
I run Mandrake 8.2 with Kde 3.0 (in /opt/kde3). It seems to me that the .desktop file is installed in the correct path (/opt/kde3/share/applnk/System/ScreenSavers).

Report

CPro

17 years ago

It would be nice to have a resolution selector in configuration dialog. I have problems running this cool screensaver on resolutions >1024x768. (on all nvidia drivers, i tried including the lastest).

Report

narb

17 years ago

Using an Insipron 8000 with an NVIDIA Geforce2GO, kernel and GLX ver-3123. From a fresh compile on this machine the fireworks are very,very blocky. Nothing like the awesome screenshots. Any ideas?

Report

narb

17 years ago

the particle.bmp did not install in my home directory. all is good now.

Report

oaki

17 years ago


1) Compilation:

- untar the sourcecode file
- do
- "configure --prefix=/opt/kde3/"
(assuming "/opt/kde3" is your KDE-directory)
- "make"
- "make install" (as root!)

2) Registering kfirework at KDE:

- find out where the file "kfiresaver3d.desktop" is located
- copy the file "kfiresaver3d.desktop" to

"/etc/opt/kde3/share/applnk/SuSE/System/ScreenSavers"

That's why SuSE doesn't care about KDEs standard screensaver dir :-((


Have fun!

Report

Ironoak

17 years ago

SuSE 8.0 with KDE 3.0 here.
Configure ends with:
"configure:20127: error: Can't find X includes. Please check your installation and add the correct paths!"

Any ideas?

Report

oaki

17 years ago

X headers like X.h are missing. They usually reside in /usr/X11/include or similar. SuSE contains them in a seperate package X-devel. If the files are simply installed in a non-standard directory see configure --help.

Report

tmorrey

17 years ago

Compiled ok (after I got dependecies done) now I get this error in make...
I am running Mandrake8.2, Riva TNT2, kernel 2.4.18.6, qt 3.0.4-1
If anybody can help make sense of this it'd be very cool. thanks

Here's the pertinent part of make output:

echo '#include "kfiresaversetup.moc"' >> kfiresaversetup.cpp
source='kfiresaversetup.cpp' object='kfiresaversetup.o' libtool=no \
depfile='.deps/kfiresaversetup.Po' tmpdepfile='.deps/kfiresaversetup.TPo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -c -o kfiresaversetup.o `test -f kfiresaversetup.cpp || echo './'`kfiresaversetup.cpp
kfiresaversetup.cpp: In method `KFireSaverSetup::KFireSaverSetup
(QWidget *, const char *, bool, unsigned int)':
kfiresaversetup.cpp:44: `tr2i18n' undeclared (first use this function)
kfiresaversetup.cpp:44: (Each undeclared identifier is reported only
once for each function it appears in.)
make[2]: *** [kfiresaversetup.o] Error 1
make[2]: Leaving directory `/home/toddm/kfiresaver3d-0.6/kfiresaver3d'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/toddm/kfiresaver3d-0.6'
make: *** [all] Error 2

Report

jsheedy

17 years ago

I upgraded redhat 7.3 to kde 3.0.3 and everything works great. It is a really cool screensaver.
J

Report

meyerm

17 years ago

Finally a reason to use a screensaver at all! :) Thanks for this great work.

Report

gogo

17 years ago

You should fix the layout probs.

Report

PovMan

17 years ago

make it bigger!

Report

doublefailure

17 years ago

NT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -c -o kfiresaver.o `test -f kfiresaver.cpp || echo './'`kfiresaver.cpp
kfiresaver.cpp: In method `KFireSaver::KFireSaver (QWidget *, const
char *)':
kfiresaver.cpp:100: warning: passing `double' for argument 1 of
`QObject::startTimer (int)'
/usr/lib/qt3/bin/moc kfiresaversetup.h -o kfiresaversetup.moc
rm -f kfiresaversetup.cpp
echo '#include ' > kfiresaversetup.cpp
/usr/lib/qt3/bin/uic -L /usr/local/kde/lib/kde3/plugins/designer -nounload -tr tr2i18n -i kfiresaversetup.h ./kfiresaversetup.ui | sed -e "s,tr2i18n( \"\" ),QString::null,g" | sed -e "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | sed -e "s,image\([0-9][0-9]*\)_data,img\1_kfiresaversetup,g" >> kfiresaversetup.cpp || rm -f kfiresaversetup.cpp
echo '#include "kfiresaversetup.moc"' >> kfiresaversetup.cpp
source='kfiresaversetup.cpp' object='kfiresaversetup.o' libtool=no \
depfile='.deps/kfiresaversetup.Po' tmpdepfile='.deps/kfiresaversetup.TPo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -c -o kfiresaversetup.o `test -f kfiresaversetup.cpp || echo './'`kfiresaversetup.cpp
kfiresaversetup.cpp: In method `KFireSaverSetup::KFireSaverSetup
(QWidget *, const char *, bool, unsigned int)':
kfiresaversetup.cpp:44: `tr2i18n' undeclared (first use this function)
kfiresaversetup.cpp:44: (Each undeclared identifier is reported only
once for each function it appears in.)
make[2]: *** [kfiresaversetup.o] Error 1
make[2]: Leaving directory `/tmp/kfiresaver3d-0.6/kfiresaver3d'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/kfiresaver3d-0.6'
make: *** [all] Error 2
[root@beautifulmind kfiresaver3d-0.6]#

Report

doublefailure

17 years ago

NT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -c -o kfiresaver.o `test -f kfiresaver.cpp || echo './'`kfiresaver.cpp
kfiresaver.cpp: In method `KFireSaver::KFireSaver (QWidget *, const
char *)':
kfiresaver.cpp:100: warning: passing `double' for argument 1 of
`QObject::startTimer (int)'
/usr/lib/qt3/bin/moc kfiresaversetup.h -o kfiresaversetup.moc
rm -f kfiresaversetup.cpp
echo '#include ' > kfiresaversetup.cpp
/usr/lib/qt3/bin/uic -L /usr/local/kde/lib/kde3/plugins/designer -nounload -tr tr2i18n -i kfiresaversetup.h ./kfiresaversetup.ui | sed -e "s,tr2i18n( \"\" ),QString::null,g" | sed -e "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | sed -e "s,image\([0-9][0-9]*\)_data,img\1_kfiresaversetup,g" >> kfiresaversetup.cpp || rm -f kfiresaversetup.cpp
echo '#include "kfiresaversetup.moc"' >> kfiresaversetup.cpp
source='kfiresaversetup.cpp' object='kfiresaversetup.o' libtool=no \
depfile='.deps/kfiresaversetup.Po' tmpdepfile='.deps/kfiresaversetup.TPo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -c -o kfiresaversetup.o `test -f kfiresaversetup.cpp || echo './'`kfiresaversetup.cpp
kfiresaversetup.cpp: In method `KFireSaverSetup::KFireSaverSetup
(QWidget *, const char *, bool, unsigned int)':
kfiresaversetup.cpp:44: `tr2i18n' undeclared (first use this function)
kfiresaversetup.cpp:44: (Each undeclared identifier is reported only
once for each function it appears in.)
make[2]: *** [kfiresaversetup.o] Error 1
make[2]: Leaving directory `/tmp/kfiresaver3d-0.6/kfiresaver3d'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/kfiresaver3d-0.6'
make: *** [all] Error 2
[root@beautifulmind kfiresaver3d-0.6]#

Report

wwrafter1

17 years ago

I seem to be missing
kfiresaversetup.h
I've looked in the tar and in the
directories.
Is it missing, or do I have a bad
download?

Report

davidsansome

17 years ago

This file should be automagically generated by UIC (user interface compiler) when you run make. Can you delete the build dir and try to compile again - sending me the complete output of make the first time you run it.

Thanks,
David Sansome

Report

olafmeyer

17 years ago

I actually have the problem that the kfiresaversetup.h header file is not automatically created, if the kfiresaver3d/Makefile is rebuild via the force-reedit target in the main Makefile.

It seems that the kfiresaver3d/Makefile is incorrect in this case. What could be going wrong?

Olaf

Report

cmathrusse

17 years ago

I cannot get it to compile. Am I missing a library?

make[2]: Entering directory `/home/cmathrusse/downloads/kfiresaver3d-0.6/kfiresaver3d'
/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -o kfiresaver3d -L/usr/X11R6/lib -L/usr/lib/qt3-gcc2.96/lib -L/usr/lib -R /usr/lib -R /usr/lib/qt3-gcc2.96/lib -R /usr/X11R6/lib particle.o main.o kfiresaverkss.o kfiresaver.o kfiresaversetup.o -lkscreensaver -lqt-mt -lpng -lz -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

Report

willb2

17 years ago

I had the same problem, I just added -lGL to the list of libraries in the makefile. Works great now!

Report

jsheedy

17 years ago

Where did you alter the Makefile?
J

Report

RebWins

17 years ago

Did you fix your problem? I tried both suggestions and neither worked. RedHat 7.3 and KDE 3.0 (I think) is my setup. I really want to try this screensaver.

Report

PovMan

17 years ago

...you can do a 'export CXXFLAGS=-lGL' before you do the ./configure

Report

willb2

17 years ago

in kfiresaver3d-0.6/kfiresaver3d/Makefile

I added it to the end of this line:

LIB_QT = -lqt-mt $(LIBPNG) -lXext $(LIB_X11) $(LIBSM) -lpthread

so it looked like this:

LIB_QT = -lqt-mt $(LIBPNG) -lXext $(LIB_X11) $(LIBSM) -lpthread -lGL

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