OpenGl theme (SUGGESTION)

Various KDE 1.-4. Styles

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
4.4
Description:

Ok, this is a question/request for all themers. I've been seeing the Qt API for learning, and I've found ` set of QGL vidgets that put an OpenGL (hardware accelerated) object instead a "normal" one.

My question/suggestion/request is: Could be done (with this technique) a hardware accelereated widget-theme/kwin-theme? Where would be the biggest problems? It's a thing I have in my mind weeks ago, and I am not man enough to start a project like this, not without hearing first your answers. Think it, there would be nice and soft effects with almost no CPU... (or that's what i believe :D)

PS: Please answer ppl with knowledgements

thomas12777

15 years ago

1. OpenGL is really nice for games and real 3D Objects, but it's overheaded and mostly useless for a 3D Pseudo 2D UI. (IMHO)
More important would be a multilayer oriented sublying render system (keith packard is working on something like this, freedesktop) that handles a 3 dimensional system of 2d layers (no continous z axis.) in pixmap backbuffer, resp. the graphical ram.

2. If you refer to the QGLWidget class:
This is not a class that uses OpenGL to display buttons aso., but to write an openGL area IN a qt Widget/Window - context!
Allthough i can render a pixmap out of a gl object, it just won't help you to build an openGL style. (or to implement translucency)
sorry...
(everyone wants a more eyeCandy solution than X, i eg. thought exactly the same, when i saw "QGLWidget.h" - so don't worry.)

Report

patroche

15 years ago

i don't know about your 2nd point, i think you're wrong with the first one. Opengl doesen't only accelerate graphics for 3D. Mac osX uses opengl acceleration doesen't it? did you ever see how fast and fluid it is?

Another simple example is the image viewer gliv (which uses opengl), on linux. Just try it out, open a 1600x1200 picture and rotate, zoom in/out, move the pic with your mouse, and you'll see it's faster than any other image viewer that doesent use hardware accelerated gfx.

Report

thomas12777

15 years ago

Quartz Extrme in fact relies partially on OpenGL, but be sure, Apple added a lot of stuff.
About gliv: This depends enormously on the graphics board - eg. try scaling with a GForce2: at a certain point, nothing will work anymore.
Or try Transluxent (like XNest, using openGL) If you choose a too high resolution, even the mousecursor won't move (apparently))
OpenGL was originally created as an interface for realtime 3d CAD (head over to sgi for further information) - therfore it's e.g. more accurate than MS Direct3D, version 2.0 will also be much ahead, and probably the Version for Doom3 is too. But if you don't need a true 3d universe, it does a lot of useles stuff, that decreases velocity.
But yes: using the GPU would increase system performace excessivly! (e.g. T&L, Shaders, Pixmapbuffer in GRam...)

Report

12345678910
product-maker Count:28 Rating: 4.39
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
updated Nov 28 2003
added Nov 28 2003
downloads today
0
page views today 2
+