Does anyone have any tutorials on BGI Graphics?
Printable View
Does anyone have any tutorials on BGI Graphics?
Good question...
Pepole in here will tell you just to look in the graphics.h file and figure it out... they say " thats how i learned".
:(
Well, BGI (Basic Graphics Interface???) graphics sucks IMHO. It is slow and buggy.
I would suggest learning VGA (Video Graphics Array) graphics, including mode 13 which IMO is the easiest graphics mode to learn.
There is a pretty good tutorial at www.brackeen.com (http://www.brackeen.com/home/vga/index.html).
Try it out and feel welcome to ask questions if you need it :).
but im sooo used to C++ and isnt this in C ?
You can do VGA/Mode13 in C++ if you like :)Quote:
Originally posted by Vicious
but im sooo used to C++ and isnt this in C ?
If you have Turbo C++ 3.0 (which is free), it comes with a good help file that has descriptions of all the functions and datatypes in graphics.h, you don't have to just open the file and look. To bring up help run turbo c++ and right click somewhere, or click the help menu to the top-right of the screen.
Vicious, that avatar you have. It's hard to see, but isn't it Legato Bluesummers from Trigun?
For Graphics in MS-DOS or Windows I use allegro. It has some of the more advanced features i'm to lazy to try and impliment myself. Allegro Home Page. it's also fairly easy to use with a good online help.
>> Vicious, that avatar you have. It's hard to see, but isn't it Legato Bluesummers from Trigun?
Nope, it Vicious from Cowboy Bebop... ( oh crap, i see the res.. how they look alike).
Anyway it looked better on LCD than VGA :(
Oh, is there a example program I could look at? Using the VGA or Mode13h?
Do you have a picture of the main character dude (I haven't saw the show in a while, I forget his name)
Also any links? I just love that show.
There are tutorials at www.Brackeen.com, and if you want an example program, follow the link in my signature ;).Quote:
Originally posted by Vicious
Oh, is there a example program I could look at? Using the VGA or Mode13h?
Well.. how about with MSVC++?
Will this work?
(im thinking about getting it)
Well, VGA mode 13 is mainly DOS based, and I don't know if MSVC++ supports DOS.Quote:
Originally posted by Vicious
Well.. how about with MSVC++?
Will this work?
(im thinking about getting it)
I know the the MSVC++ 6.0 compiler has cut out dos graphics, it only supports win32 console graphics.. (text crap).
You maybe able to get around it but im not sure.. just remember reading that it cut out dos graphics.
I personnally never implement a VGA GDI in my console apps... i just use text base... and if im in windows just use the windows GDI or Direct3d / OpenGL...
( haha ever seen a server app in an OpenGL GDI)?