Thursday, March 16, 2006

Skydome

Edit: As you will see in MacSlow's comment below, David Reveman has chosen to implement only .png images - so the quote from MacSlow's blog is now incorrect.

Well, I'm a bit late on reporting it, but here you go:

MacSlow has made a patch for Compiz (not strictly a plugin, but it fits here anyway ;) to allow the background of the cube rotation rendering to be changed.

A user can use gconf to set what is displayed behind the cube

MacSlow says about his patch:
My skydome-patch will allow you to set any power-of-2 image (e.g. 1024×1024) to be used as texture for the background (that empty void of space behind the cube, only visible when you rotate the cube). Filetypes like .png, .jpg, .tga and .bmp can be used. You can set the image on the fly via gconf-editor. If you enter an invalid filename a fallback color-gradient will be used. No more black backgrounds. Have a look at the screenshots below.









You can read more about it here
http://macslow.thepimp.net/?p=31

2 Comments:

Anonymous Anonymous said...

Greetings!

Just stepped in to give a little update on the skydome-patch for the cube-plugin. David changed the utilization of GdkPixmap which I implemented, that enabled the use of all those different image fileformat. He didn't want this dependency in the plugins code, so he changed it to the compiz-internal PNG-only texture-loading code. So only PNG-files can be used as texture-images for the skydome.

Best regards...

MacSlow

6:07 pm  
Blogger lnwslot789 said...

ดูหนังออนไลน์ หนังออนไลน์ที่คมชัดเต็มระบบ ทั้ง 4K HD สนุกง่ายๆ กับ Inrang (2018) [ บรรยายไทย ]

12:34 am  

Post a Comment

<< Home