Small Precludes Screenshot A Small collection of OpenGL demos

A small collection of OpenGL demos (4 in total). When you run it, it will run each scene. It like all demos are ment to be watched and enjoyed. I hope you enjoy mine ;).

License: free
Requirements: A compiler and OpenGL support.

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
noyesnononoyesyes
Suggest an update

Comments

Coolness and niftitude! This is very fun to watch, indeed! Even without music, it's darn fun! I kinda miss the days of people making demos, just for the sake of having something cool to look at and listen to music by. It'd be really nifty to see that come back, in this manner. Hmmm...maybe I should get coding! :-)

What might be cool, though (tell me if this is crazy) is to make some of these demos, like the whirling amphitheater thing or the medusa fractal, into XMMS visualization plugins! Imagine seeing those thingies groove and gyrate to the beat of the music...

Of course, I haven't done much with OpenGL, and know nothing about the XMMS plugin API, so for all I know, this could be unworkable.
Re: Woohoo! posted by anonymous on May 1 2003 2:23 AM
well, demoscene is alive and there's even a bit of it on linux. look at http://www.scene.org/, http://www.lnxscene.org/, http://www.kameli.net/unixscene/ and http://www.pouet.net/.
This is pretty sweet. Relaxing and stuff.

One feature request, though: fullscreen mode. Switching resolutions manually and centering the window works, but its not as convenient.

First scene is boring and broken (flashing), so don't quit too early. Second and third scenes are very nice, and fun to watch. Fourth starts bad, but ends nice. Overall - it's real code by real demoscene coder, you should watch whole show. And it's Open Source!
These demos are really good, and although I know a fair bit about OpenGL myself I doubt that I could come up with anything nice in a reasonable time (let's say... less than 6 months straight).
And although I really like sitting back and watching demos I doubt that there are many people out there feeling the same.
After all, the most successful commercial games ARE First Person Shooters *shrug*.

Nonetheless, GOOD WORK!
anyone get this to compile on an up-to-date redhat 9 system with the 1.0-4263 driver installed? All the GL screen savers seem to work just fine. This is the compile error I'm getting.

g++ -Wall -O4 -DDATAFILE_PATH='"data"' -o small_precludes common/misc.o common/xpm_loader.o common/rgb_loader.o common/ctrl_misc.o common/load_textures.o scene0/sp_title.o scene0/ctrl0.o scene0/scene0.o scene1/ctrl1.o scene1/floor1.o scene1/tower.o scene1/bouncing_ball.o scene1/scene1.o scene2/ctrl2.o scene2/part.o scene2/floor2.o scene2/roof.o scene2/cyclone.o scene2/scene2.o scene4/ctrl4.o scene4/scene4.o scene5/ctrl5.o scene5/link.o scene5/pipe.o scene5/lamp3.o scene5/scene5.o small_precludes.o -lm -L/usr/X11R6/lib -lGL -lGLU -lglut /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `glXBindChannelToWindowSGIX' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `XGetExtensionVersion' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `XFreeDeviceList' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `XQueryDeviceState' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `XListInputDevices' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `glXQueryChannelDeltasSGIX' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `glXChannelRectSyncSGIX' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `glXChannelRectSGIX' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `XFreeDeviceState' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `XOpenDevice' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `glXQueryChannelRectSGIX' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `XmuLookupStandardColormap' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `XSelectExtensionEvent' collect2: ld returned 1 exit status make[1]: *** [small_precludes] Error 1 make[1]: Leaving directory `/home/mlenz/small_precludes' make: *** [all] Error 2

Re: rh9 + nvidia 1.0-4363? posted by Hohlraum on May 1 2003 10:00 AM
Btw, here is the ldd output from the supplied binary.

$ ldd small_precludes libGL.so.1 => /usr/lib/tls/libGL.so.1 (0x40035000) libGLU.so.1 => /usr/lib/libGLU.so.1 (0x4009e000) libglut.so.3 => /usr/lib/libglut.so.3 (0x4011b000) libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40151000) libm.so.6 => /lib/tls/libm.so.6 (0x40204000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40226000) libc.so.6 => /lib/tls/libc.so.6 (0x42000000) libGLcore.so.1 => /usr/lib/tls/libGLcore.so.1 (0x4022e000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x406e6000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x406f5000) libdl.so.2 => /lib/libdl.so.2 (0x407d4000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Re: rh9 + nvidia 1.0-4363? posted by skovbaer83 on May 1 2003 10:22 AM
I get the exact same error on a Slackware (Current) system with Glut 3.7 installed and the nVidia 1.0-4363 driver...

* DK_Skovbaer *
Re: rh9 + nvidia 1.0-4363? posted by gamertux on May 2 2003 6:23 AM
Try this:
Change following line from make.config from
LIBS = -lm -L/usr/X11R6/lib -lGL -lGLU -lglut
to
LIBS = -lglut -lGL -lm -lGLU -lX11 -lXmu -lXext -lXi -L/usr/X11R6/lib
I did also have small problem and this solves it. Maybe it will help you also.
Very nice OpenGL Demo.
Re: rh9 + nvidia 1.0-4363? posted by anonymous on May 13 2003 2:00 PM
follow the steps found here:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=90734#c6

I was able to apply these same steps to this demo and was able to get it to compile and link. The problem, in a nutshell, is that nvidia's libGL implementation is incomplete. This url shows how to link against the Mesa libGL library without overwriting the nvidia libraries.
Can somebody help me with compiling this small demos?

I use a SuSE 8.1 distribution with nvidia card and nvidia drivers.
> rpm -qa | grep NV
NVIDIA_kernel-1.0-4363
NVIDIA_GLX-1.0-4363

make will show me this error:
/usr/include/GL/glut.h:10:19: GL/gl.h: Datei oder Verzeichnis nicht gefunden
/usr/include/GL/glut.h:11:20: GL/glu.h: Datei oder Verzeichnis nicht gefunden

These two include files are missing :-(

After searching a bit it looks that the nvidia drivers come with include files:
> ls /usr/share/doc/NVIDIA_GLX-1.0/include/GL
gl.h glx.h glxtokens.h

What is missing on my system?

Thank you
Bernd Schwarzkugler
Re: how to get this compiled? posted by anonymous on May 1 2003 3:28 PM
Ups :-)
I forgot to install the mesaglu rpm
Now it compiles and the scenes run with 50 fps scene 2 is my favorite
but not that neat.
The 3rd scene is really very good. Two & four have some good bits. Worth while d/l and viewing.
Some neat effects here and there, but nothing special if you are used to demos. Beside that it is also a bit long for the few effects, makes it a bit boring to watch. Music seems also missing.
I can't believe people like this stuff - it's all really trivial stuff - nothing pushes the envelope in any way.

"Those who can - do. Those who can't - make demos."

Log in or register to rate this game or post a comment.