Thursday, July 10, 2008

make ubuntu 3d and use 3d glasses made at home

For those using Ubuntu 8.04 Hardy Heron default compiz or compiz --version > 0.6.* this guide should not be used.

For those who are using Ubuntu 7.10 Gutsy Gibbon and would like to have 3D Windows, Atlantis2, Snow, Stars, Atlantis, Screensaver, Anaglyph, Wallpaper, Tile, Freewins, Fireflies, Photowheel and Snowglobe working with Gutsy's default compiz-fusion, I am presenting this guide. Installing Mouse position polling, Magnifier and Show mouse is slightly different and are listed in the section Even More Plugins. To see what each plugin does, search YouTube.

This is not recommend to anyone not knowing exactly what they are doing.

This tutorial assumes that:
1) You have a fresh install of Gutsy.
2) You already have Gutsy's default compiz working (0.6.*).
3) You are running as user and not root.

NOTE: Compiz-Fusion is installed by default in Ubuntu Gutsy and will work as long as you have a video card with appropriate drivers installed and properly configured. Installing drivers is beyond the scope of this tutorial, but there are plenty of guides to configure your graphics card on Gutsy; see the Hardware page on the Compiz Fusion Wiki for more information, or the irc channel at the bottom of this guide.

Getting the build dependencies
Install the packages required for compiling plugins:
Code:

sudo apt-get install compiz-bcop compiz-dev build-essential libxcomposite-dev libpng12-dev libsm-dev libxrandr-dev libxdamage-dev libxinerama-dev libstartup-notification0-dev libgconf2-dev librsvg2-dev libdbus-1-dev libdbus-glib-1-dev libgnome-desktop-dev x11proto-scrnsaver-dev libxss-dev libxslt1-dev libtool

Getting the plugin source tarballs
Create a subdirectory for the code in your home directory:
Code:

mkdir -p ~/compiz/

Use the following commands to download the plugins you want to install:
wget -O /tmp/anaglyph.tar.gz 'http://oreaus.googlepages.com/anaglyphz.tar.gz'



Extracting the source code

Example: For 3D plugin, you would do this:
Code:

tar -xf '/tmp/anaglyphz.tar.gz' -C ~/compiz/


Once you are in the directory, you can compile the plugin:

Code:

make
make install

After compiling
Restart compiz and ccsm.


Removing a plugin
If for any reason you want to uninstall a plugin, the following command can be used.
Code:

make uninstall


make free 3d glasses at home


Make 3D Picture Glasses Fast And Easy! - For more of the funniest videos, click here

0 comments: