![]() |
#1 | ||
![]() ![]() ![]() Join Date: Oct 2003
Location: Shella, Kenya
Posts: 1,578
|
![]() I am learning how to program in this language but the only things I have found are some very poor tutorials about Open GL and DirectX. I don't want to use either (for reasons of platform compatability) and want to know the basics of programming with graphics in C++. Who can help?
__________________
Rabyd Rev -- 2 Timothy 2:15 |
||
![]() ![]() |
|
![]() |
#2 | ||
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2004
Location: Jan Mayen, Svalbard and Jan Mayen
Posts: 2,167
|
![]() you need a library to do graphics. as c++ doesn;t come with it by default.
I suggest libsdl (www.libsdl.org). it's quite simple to do graphics that way. You just get a virtual screen on which you can write data.
__________________
Flowing with the stream of life |
||
![]() ![]() |
|
![]() |
#3 | ||
![]() ![]() ![]() Join Date: Sep 2004
Location: Dentergem, Belgium
Posts: 1,811
|
![]() I've meddled around with doing it the 'old' way ages ago, by switching screen modes... screen 13 or 16, I believe it was. It's risky and hard as hell. I once forgot to go back from that different screen mode and when exiting my program, the comp crapped up. Didn't even have any graphics in it yet, cause I don't know how to turn bitmaps into code :whistle:
|
||
![]() ![]() |
|
![]() |
#4 | ||
![]() ![]() ![]() Join Date: Oct 2003
Location: Shella, Kenya
Posts: 1,578
|
![]() Thanks Data. I see that it can be used even with WindowsCE which is just what I want.
__________________
Rabyd Rev -- 2 Timothy 2:15 |
||
![]() ![]() |
|
![]() |
#5 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2005
Location: Shella, Kenya
Posts: 417
|
![]() Some things that may help...
Irrlicht engine A very fast 3D engine that also can be used to make GUI's very easy to use, also has support for images, models, quake maps, sound \ music and a number of other things including some physics engines. GTKMM A C++ interface for the GTK+ library used to make GUI's. DevPaks.org A number of good librarys Open Scene Graph A very very nice looking 3D game \ graphics engine :P Hope this helps |
||
![]() ![]() |
|
![]() |
#6 | ||
![]() ![]() ![]() Join Date: Oct 2003
Location: Shella, Kenya
Posts: 1,578
|
![]() That does all look great but unfortunatly WAY above my level of expertise. Thanks anyway and maybe someone else will have some use for this.
__________________
Rabyd Rev -- 2 Timothy 2:15 |
||
![]() ![]() |
|
![]() |
#7 | ||
![]() ![]() ![]() ![]() Join Date: May 2005
Location: ,
Posts: 18
|
![]() If you want to do more, you can use OpenGL instead. It's aviable for a lot of platforms, too.
|
||
![]() ![]() |
|
![]() |
#8 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2005
Location: ,
Posts: 454
|
![]() Quote:
__________________
Never mess with me when I have a cougar, Never! |
||
![]() ![]() |
|
![]() |
#9 | ||
![]() ![]() ![]() ![]() Join Date: May 2005
Location: ,
Posts: 18
|
![]() Yes, but what i meant is he said "(for reasons of platform compatability)" and i meant that opengl is aviable for a lot of different platforms.
Yes, i know what he said, don't hit me ;-) |
||
![]() ![]() |
|
![]() |
#10 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2005
Location: ,
Posts: 454
|
![]() So does SDL.
__________________
Never mess with me when I have a cougar, Never! |
||
![]() ![]() |
|
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
MSX basic | Nick | Programming | 1 | 22-07-2008 06:41 PM |
Visual Basic | tomf | Programming | 11 | 05-03-2006 10:35 PM |
Dos: Really Basic Query | JosieB | Troubleshooting | 6 | 26-06-2005 10:23 PM |
Damn Visual Basic | Kon-Tiki | Blah, blah, blah... | 55 | 02-12-2004 08:20 PM |
Thread Tools | |
Display Modes | |
|
|
||
  |