Hi,
AxelDominatoR wrote:
I agree. Programming OpenGL is hard as writing a little OS, if not harder
( never used DirectX however... )
I've done very little with DirectX or OpenGL, but I did write my own polygon renderer once that converted polygons into horizontal strips with starting and ending Z, backface removal, martix/3D co-ords/normals, zoom/focal length, etc (mostly for "self-education"). I imagine with VisualBasic, Delphi or something DirectX wouldn't be too hard.
As for OS's, if they are done for learning it depends on how much and how well you want to learn, and small toy OS's are easy. If you attempt a "commercial quality" OS that tries to be as good or better than windows/linux...
In an attempt to get this back on topic, compare a simple GUI and an internationalized GUI. You'd need a different set of strings for each language (e.g. "Exit", "Sortie", "Ausgang", etc) and full Unicode support including scalable fonts and code to draw strings from right to left (e.g. Arabic), top to bottom (e.g. Chinese), and any combination (e.g. "The Arabic person said '?tfel ot thgiR'."). It could easily take a year just to be able to display dates in some languages properly, while a simple OS could use something like "printf("%d, %d, %d", day, month, year);".
Now consider writing the OS's code to support OpenGL (or DirectX or it's equivelent), where anything the video driver (and/or video card) doesn't support has to be done in software, like textured 3D polygon rendering, bump mapping and fog in all colour depths. IMHO this alone would be more difficult that writing an application that relies on existing OpenGL/DirectX software (even though it's only a small part of the OS)...
Cheers,
Brendan