Linux screensavers and sounds

Started by
3 comments, last by rendermaniac 22 years, 5 months ago
Hi I am learning OpenGL and C++ using FLTK under Linux - mainly to get used to all of em! This site seems mainly Windows based as do flipcode, gavedev, fxweb etc but still really useful. I''ve also been looking at the OpenGL screensavers that come with Gnome and some are quite impressive. I was wondering if anyone knew how to make these - I am guessing they need certain aspects to interact with the desktop system - Gnome or KDE. IS htere a standard library to call and is this desktop dependent? Also does anyone know of a good siple sound library on Linux - prefereably one that comes with Redhat etc that''s not extremely obscure? OpenGL is good for the drawing and FLTK handles events quite nicely so I don''t need a fully fledged game API. I mainly am interested in non-realtime programming anyway (see http://www.rendermania.com/ to see what I mean ;o) but OpenGL is nice to learn and it is great to have interactivity - plus it is similar to the RenderMan spec which I already know. thanks in advance Simon http://www.rendermania.com
http://www.rendermania.com
Advertisement
Well, you could use XLib (along with GLX and OpenGL, of course) to make the screen saver. A number of NeHe''s tutorials have been ported to XLib and GLX. The screen savers are just basic applications that go fullscreen until the user does something to make them stop. I don''t know much about the common sound libraries for linux, I''ve been using SDL.

[Resist Windows XP''s Invasive Production Activation Technology!]
OpenAL anybody? This project is still actively developed by Loki and is actually getting quite good now!

www.openal.org
Stupid me - should have looked into the man pages for xscreensaver first then I would have found this http://www.jwz.org/xscreensaver/ Seems to be it only needs to be able to write to a virtual root window - they even have the source for several - something I will have to dive into I think :o)

I have heard of OpenAl - but is it used much?

thanks

Simon

http://www.rendermania.com
http://www.rendermania.com
OpenAL is great. Don''t know if it is much used (yet), but since it is based on the standard audio interfaces of the OS, you won''t have any driver problems. You should definitely check it out.

This topic is closed to new replies.

Advertisement