Solved

Graphics

Posted on 1997-05-10
1
247 Views
Last Modified: 2013-11-19
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
Comment
Question by:thorndon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
Slarti earned 50 total points
ID: 1163367
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question