• Immutable Page
  • Info
  • Attachments

The skydome is an optional background for the virtual space in which the cube is located (visible when the cube is zoomed out, such as when it is being rotated with the mouse).

If you choose to enable the skydome, you can select your own Skydome Image to be placed behind the cube. Or, if you prefer, you can set it to a simple gradient by selecting the Skydome Gradient Start and End colours for the gradient. Additionally, you can enable the Animate Skydome option, which makes the image or gradient stretch into a 360° panorama, the viewing angle shifting as you rotate the cube.

Dimensions

Make the width twice as big as the height. Example 4096 pixels wide and 2048 pixels high, or 2048 pixels wide and 1024 pixels high.

How to

Can be made using Hugin, Panorama Tools or Enblend.

Where to find

http://compiz-themes.org/index.php?xcontentmode=6110

Implementation

In plugins/cube.c Skydome support was implemented by Mirco Müller (macslow). Function cubeUpdateSkyDomeList() checks CUBE_SCREEN_OPTION_SKYDOME_ANIM is set, if so then it enables animated skydome, elese it just enables skydome without animation.

  • One thing to keep in mind: your image cannot exceed the max texture size of your video card. To find out what that is.. open a terminal..
    • glxinfo -l |grep MAX_TEXTURE_SIZE
  • If the read out is, for example, 4096, your image cannot exceed that resolution in any direction. so if your image is 1024x4100 you will have to reduce the resolution too 1024x4096 for it to be used. The MAX_TEXTURE_SIZE is hardware based on the video card and cannot be changed. To help reduce some of the distortion in skydome you can follow this tutorial:

http://forum.compiz-fusion.org/showthread.php?t=4431&highlight=hint+skydome

http://wiki.compiz-fusion.org/Plugins/ImageLoading Plugin allow Compiz to use images for the desktop cube's skydome.

See also

* http://wiki.compiz-fusion.org/Plugins/Cube#Skydome

Plugins/Cube/Skydome (last edited 2009-03-31 04:11:13 by pool-68-162-157-249)