Ever wanted Compiz or your favorite FPS in VirtualBox... Now you can. This tutorial will show you how to configure 3d Acceleration for Ubuntu 10.04 (Ultimate Edition 2.7). The only catch is your hardware will have to support VirtualBox AND 3D effects.
Step1: Setup 3D Acceleration
1a Select your Virtual Machine and Click Setting
1b Click on Display, then set your Video Memory to 12b MB, and then enable 2d and 3d acceleration
1c Click OK
Step 2: Installing Guest Additions
2a Start and let the Virtual Box boot up
2b Click on Devices and select Install guest Additions
2c In the Ubuntu Virtual Machine, Click on Places and select VBOXADDITIONS
2d Click on Open AutoRun Promt and Click Run
2e Enter your Password
2f Let Guest Additions Install and Restart
Step 3: Start Compiz
3a Goto System > Preferences > Appearence > Visual Effects
3c Click on Extras and install and configure Compiz the way you want it.
Done. Now you can run 3d acceleration running Ubuntu in VirtualBox. My favorite effect... Water. This will allow you to do the Cube and most 3D effect. The last clip is my to-the-point video on the subject.