KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   


- Content .- Fans  . 

glmatrix: No more green if you please!


GNOME Screensaver

Score 84%
Downloads:  11907
Submitted:  Aug 27 2010


For all of you guys, who love the matrix screensaver(need I to say, love it as a animated wallpaper :D), here are some color options for you, if you are tired of green.

Theese are modifications of the xscreensaver glmatrix, wich is ABSOLUTLEY FREE!

Send to a friend
Other  Artwork  from ursulv
Report inappropriate content



 by swiftgeek on: Sep 16 2010
Score 50%

Could u provide sources? I will make a package for my distro ;)

Reply to this


 here is the tutorial:

 by ursulv on: Sep 16 2010
Score 50%

Here is the tutorial that i`ve used to modify the glmatrix:

So something subtle... The Matrix. Not Avatar based, but decent anyway. Then I went a step further... The Matrix, In Blue. So I got the source for xscreensaver-5.10 from the site and started reverse-engineering.

Keep reading... I'm getting to the code.If you want to do this, go ahead and download the source here and untar
xscreensaver includes two different versions of "The Matrix", but I am Interested in the 3D one, glmairix, with camera rotation and a few other goodies. So after a few hours, I found that the color of the screensaver is controlled by 2 different things.

The file ./hacks/images/matrix3.xpm is split into the textures for the matrix glyphs. and is a color .xpm at 512x598, with no transparency. Now I know what you're thinking. Just alter the color of the image in GIMP/Photoshop/Whatever and you're done! Yes, that's one of the steps, switch the blue and green channels using your favorite image manipulation software (I use the GIMP).

It's more complicated than that. Since the image has no alpha channel, the code is really clever. It takes the value for the green channel and uses it for alpha. If you were to compile the source code right now, your glyphs would be almost invisible.

In the source file ./hacks/glx/glmatrix.c, this action is directed by this code:

rpos = 0, gpos = 8, bpos = 16, apos = 24;

for (y = 0; y < xi->height; y++)
for (x = 0; x < xi->width; x++)
unsigned long p = XGetPixel (xi, x, y);
unsigned char r = (p >> rpos) & 0xFF;
unsigned char g = (p >> gpos) & 0xFF;
unsigned char b = (p >> bpos) & 0xFF;
unsigned char a = ~g;
g = 0xFF;
p = (r << rpos) | (g << gpos) | (b << bpos) | (a << apos);
XPutPixel (xi, x, y, p);

In the bold lines, change "unsigned char a = ~g;" to "unsigned char a = ~b;", and "g = 0xFF;" to "b = 0xFF;"; save and exit. That's it. a 2 character change, and now the code uses the blue channel value to control alpha when loading textures into graphics ram instead of green.

now for compiling, you know the drill.
sudo apt-get build-dep xscreensaver
cd into the source
hold breath
sudo make install

Reply to this



 by ursulv on: Sep 16 2010
Score 50%

All you have to do, in order to get the colour you want, is to make the necesary modifications to the picture and to use the apropriate RGB channel as alpha channel.
Good luck!

Reply to this

Add commentBack

 Who we are
More about us
Frequently Asked Questions
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Add Artwork
Public API
About GNOME-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Sponsor us
Report Abuse

Copyright 2003-2016 GNOME-Look.org Team  
All rights reserved. GNOME-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
GNOME and the foot logo are trademarks of the GNOME Foundation.