[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 258
  • Last Modified:

Graphics

How can you scan images onto a computer to use as images in games using C++.
Also what is the best program for editing graphics for C++ games.

Thanks for any help.
0
thorndon
Asked:
thorndon
1 Solution
 
SlartiCommented:
I recommend that you use Photoshop for painting, and 3D Studio Max for 3D graphics, although Corel Draw 7 has both painting and 3d components and is almost as good in many respects.

About the scanning: all reasonable Windows-based paint programs have a scanning component. (Photoshop and Corel Draw included). Usually the option is in File menu and is called Acquire. As for converting it to a file format that you can use, depending on how much disk space you are willing to waste on graphics, how hard you want the program to be to crack, and how much you are willing to invest in coding, your three most common formats are:

1. bitmap - real easy to read, supports all graphics modes, but also wastes a lot of disk space. You can find information on the bitmap file format in http://www.wotsit.demon.co.uk/formats/bmp/bmp.txt

2. PCX - somewhat more compact that bitmap, especially for hand-drawn images. supports up to 256 colors. pretty easy to code. More information about the format can be found here: http://www.wotsit.demon.co.uk/formats/pcx/pcx.txt

3. GIF - considered the best graphics compression for 256-color files and below. pretty difficult to code, though, and not very fast to display. The specs are found in http://www.wotsit.demon.co.uk/formats/gif/gif89a.txt
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now