Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   gl (http://www.programmingforums.org/showthread.php?t=10947)

Thrasivoulas Aug 4th, 2006 12:33 PM

gl
 
Hello!

I'm new to this forum and i need some help.
I don't know if anyone else is trying to make something like the one i want to make, but i don't know how to start a graphics library. I need it for a project that me and some guys are going to make. The project is big and hard. But we are going, at least try, to make an operating system. This "system" is going to have its own graphics library.
I need some experts in programming to guide me..
If you wonder why we don't use a ready gl, its beacause the project is going to have nothig "ready" on it.

Narue Aug 4th, 2006 12:47 PM

>I need some experts in programming to guide me..
I get the impression that you have little to no experience with a project like this. If that's the case, my recommendation is to forget about it for now. Start with simple text based operating systems to get a feel for the kind of problems you'll face. That's enough to give you plenty of headaches.

As for the graphics library, if you dont know how to go about making one, you're probably not at a point where you would be able to.

Arevos Aug 4th, 2006 1:01 PM

Unfortunately, I suspect what you wish to achieve is beyond the capabilities of those in the forums, yourself included. To use an analogy, your task is akin to wandering out into the wilderness with a few friends and a pointy stick, and expecting to construct a modern industrialised nation. It just isn't going to work.

Wizard1988 Aug 4th, 2006 1:08 PM

Like Narue said you should be thinking about a graphic interface for your system. You should work on memory management, disk io, detecting devices and all the other important aspects which define your operating system. When you have a working system you can try to add more functionality.

You should also visit http://www.osdever.net/ if you havent already.

Narue Aug 4th, 2006 1:15 PM

>your task is akin to wandering out into the wilderness with a few friends and
>a pointy stick, and expecting to construct a modern industrialised nation.
Not quite. Though the expectation that everything can be created from scratch is a little unrealistic. Even a single person who is dedicated and knowledgeable enough can create a decent graphical operating system. Yes, an OS is probably the most difficult of programming projects, but too many people make it out to be impossible for normal programmers, which just isn't the case.

Harakim Aug 4th, 2006 1:16 PM

First things first. When you get a text-based operating system going, then you can deal with graphics libraries. If you are looking for simple 2D stuff, you just need to find some older books about computer graphics. If you want to make 3D graphics, you will probably need to learn the OpenGL standard.

My advice, make the text-based OS first then worry about this stuff if you still want.

DaWei Aug 4th, 2006 1:30 PM

Quote:

too many people make it out to be impossible for normal programmers, which just isn't the case.
Good thing, too. Else, I'd have to give the money back.

Arevos Aug 4th, 2006 1:37 PM

Quote:

Originally Posted by Narue
Not quite. Though the expectation that everything can be created from scratch is a little unrealistic. Even a single person who is dedicated and knowledgeable enough can create a decent graphical operating system.

Define "decent". In fact, define "operating system". Thrasivoulas mentions that the operating system he wishes to construct will have a GL implementation, implying that his operating system will be much more than just a basic microkernel and command line.

I agree that it's quite possible for a single individual to construct. Indeed, Dr. Andrew Tanenbaum did exactly that with Minix. However, Minix was only 12'000 lines of code, did not try to construct a GL implementation from scratch, and was developed by a professor of computer scientist of no small repute.

Narue Aug 4th, 2006 2:47 PM

>Define "decent".
Users don't constantly curse the author.

>In fact, define "operating system".
Quote:

<operating system> (OS) The low-level software which handles
the interface to peripheral hardware, schedules tasks,
allocates storage, and presents a default interface to the
user when no application program is running.

The OS may be split into a kernel which is always present
and various system programs which use facilities provided by
the kernel to perform higher-level house-keeping tasks,
often acting as servers in a client-server relationship.

Some would include a graphical user interface and window
system as part of the OS, others would not. The operating
system loader, BIOS, or other firmware required at boot
time or when installing the operating system would generally
not be considered part of the operating system, though this
distinction is unclear in the case of a rommable operating
system such as RISC OS.
>However, Minix was only 12'000 lines of code, did not try to construct a GL
>implementation from scratch, and was developed by a professor of
>computer scientist of no small repute.
And Linux was a small kernel that also didn't try to do graphics and was developed by a nobody college student in his bedroom. What's your point?

Arevos Aug 4th, 2006 3:10 PM

Quote:

Originally Posted by Narue
And Linux was a small kernel that also didn't try to do graphics and was developed by a nobody college student in his bedroom. What's your point?

If Thrasivoulas is trying to create his own graphics library for this proposed operating system, then clearly he isn't aiming to construct an OS on the scale of Minux 1.0 or Linux 0.0.1, the type of project that would be feasible for a small group of (or individual) experienced programmers. Indeed, as Thrasivoulas said:
Quote:

Originally Posted by Thrasivoulas
If you wonder why we don't use a ready gl, its beacause the project is going to have nothig "ready" on it.

From this, he does not appear to be talking about just building an OS, he appears to be talking about building an OS with a GUI, using no libraries or prewritten code whatsoever, with a team of relatively inexperienced developers.

The difference in scale between that goal, and the goals of Tovalds and Tanenbaum, should be immediately obvious.


All times are GMT -5. The time now is 12:23 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC