Browsed by
Tag: OpenGL

OpenGL videos

OpenGL videos

As promised check http://www.openembedded.org/~zecke/opengl/ for my first compiz and OpenGL expierence. This simple plugin gets the texture of one of the active top level windows and either draws it on a cube or draws many many rotating and scaled rectangles using this texture. The ambilight effect is due me not unbinging the texture after I’m done drawing.I really can’t wait untl OpenGL ES gets common on mobile devices. PS: Mallum I think I have found video-cube.c code in one of…

Read More Read More

Writing Compiz plugins

Writing Compiz plugins

Compiz is a really promising thing. Together with AIGL/XGL it basicly allows you to get any XWindow as a OpenGL 2D Texture. This includes Gecko, SDL games, ancient apps, videos. So you really get everything as a 2D Texture. Using this texture allows you to do funny things. I just returned home after doing one of the many cool things. So what we do is grab the texture of the currently active window and draw many many rotated quads, triangles,…

Read More Read More