Archived

This topic is now archived and is closed to further replies.

Linux screensavers and sounds

This topic is 5884 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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!]

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
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.

Share this post


Link to post
Share on other sites