Forums

Forums (http://www.abandonia.com/vbullet/index.php)
-   Programming (http://www.abandonia.com/vbullet/forumdisplay.php?f=25)
-   -   Basic Graphics In C++ (http://www.abandonia.com/vbullet/showthread.php?t=4752)

The Niles 29-04-2005 03:06 PM

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?

Data 29-04-2005 03:11 PM

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.

Kon-Tiki 29-04-2005 03:29 PM

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:

The Niles 29-04-2005 03:31 PM

Thanks Data. I see that it can be used even with WindowsCE which is just what I want.

chickenman 06-05-2005 09:51 PM

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

The Niles 07-05-2005 04:57 PM

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.

robotangel 13-05-2005 07:20 PM

If you want to do more, you can use OpenGL instead. It's aviable for a lot of platforms, too.

NrmMyth 13-05-2005 08:44 PM

Quote:

Originally posted by robotangel@May 13 2005, 09:20 PM
If you want to do more, you can use OpenGL instead. It's aviable for a lot of platforms, too.
He said that even these were above his expertise.

robotangel 13-05-2005 11:12 PM

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:

;-)

NrmMyth 16-05-2005 05:37 PM

So does SDL.


The current time is 09:50 PM (GMT)

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.