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?
|
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. |
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:
|
Thanks Data. I see that it can be used even with WindowsCE which is just what I want.
|
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 :D |
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.
|
If you want to do more, you can use OpenGL instead. It's aviable for a lot of platforms, too.
|
Quote:
|
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 :tomato: ;-) |
So does SDL.
|
The current time is 09:50 PM (GMT) |
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.