Jun 21 2005, 5:18 pm
I don't get how to do graphics in C++...is that in C or what? Gah, I'm confused.
Jun 21 2005, 5:26 pm
C++ itself doesn't do graphics, you need to use something for it, BYOND uses an older system called BitBlt, it's a Windows-native SIMPLE graphics routine (It was pretty top of the line when DUNG went down that road.).
You'd probably want DirectX (bet you've heard of this one!) or OpenGL.
DirectX is a Windows-native (but there are Linux emulators for it, most don't work all too well.) system, it allows for pretty high-end stuff, but as I said, it's restricted to Windows (if you want it to work 100%).
OpenGL is a cross-platform system that has a pretty high-end engine (it's all based on your skill with it, as is DirectX) that can do some pretty heavy rendering, it's not as fast as DirectX in some cases, but there are other cases where OpenGL will blow DirectX away. And you can't argue with something that'll let you port your C++ source DIRECTLY onto a Linux box and have it compile and run just the same. It works on any UNIX-based system with a XWindows server running (Including Macs) (because a commandline can't handle it!)
I prefer OpenGL myself, I made a small example program of it a while back, it's probably still in the "creations" section of the
site, it includes the source if you want to take a gander.
Jun 21 2005, 5:42 pm
In response to
Oh, cool, thanks Nadrew!
Jun 21 2005, 9:38 pm
In response to
I hate bitblt. Gives me a headache.
Copyright © 2013 BYOND. All rights reserved.
Terms of Service