Asee peer logo

A Course In Programming And Computer Graphics Using Visual C++

Download Paper |


2002 Annual Conference


Montreal, Canada

Publication Date

June 16, 2002

Start Date

June 16, 2002

End Date

June 19, 2002



Conference Session

Programming and DSP Potpourri

Page Count


Page Numbers

7.37.1 - 7.37.14



Permanent URL

Download Count


Request a correction

Paper Authors

author page

Roger Mayne

Download Paper |

NOTE: The first page of text has been automatically extracted and included below in lieu of an abstract

Main Menu Session 3220

A Course in Programming and Computer Graphics Using Visual C++

R.W. Mayne

Professor Department of Mechanical and Aerospace Engineering University at Buffalo State University of New York Buffalo, NY 14260 Phone: 716-645-2593 ext. 2254 Fax: 716-645-3875 Email:


This paper describes a course in computer graphics for seniors and graduate students in mechanical and aerospace engineering at the University at Buffalo. The course involves 3D graphics theory but also focuses on programming for computer graphics. It is taught in a PC Windows environment with Microsoft’s Visual C++. The paper provides a brief history of the course and its relationship to our other computer aided design offerings. We discuss our strategy for introducing students to programming with VC++ including initial object-oriented exercises without graphics and then programming approaches for basic 2D graphics operations in windows. This is followed by an implementation of 3D graphics programming using an object-oriented format and, lastly, our approach to introducing OpenGL for the PC.


For many years, we have taught a computer graphics course for seniors and graduate students in mechanical and aerospace engineering at the University at Buffalo. This course is one in our series of courses in computer aided design and computer graphics. Other courses in the series include a mechanical design course using AutoCad and ProEngineer for design (recently made a requirement for BSME students), a second ProEngineer course considering finite elements, mechanisms and manufacturing, and a virtual reality graphics programming course based on workstation programming and including World Tool Kit. The course we are discussing here is normally a prerequisite for the virtual reality course. Our computer graphics coursework originated in the days of Fortran programming and Tektronix “green screen” computer terminals well before the popularity of CAD packages. This introductory course to computer graphics programming has evolved through various

Proceedings of the 2002 American Society for Engineering Education Annual Conference & Exposition Copyright © 2002, American Society for Engineering Education

Main Menu

Mayne, R. (2002, June), A Course In Programming And Computer Graphics Using Visual C++ Paper presented at 2002 Annual Conference, Montreal, Canada. 10.18260/1-2--10322

ASEE holds the copyright on this document. It may be read by the public free of charge. Authors may archive their work on personal websites or in institutional repositories with the following citation: © 2002 American Society for Engineering Education. Other scholars may excerpt or quote from these materials with the same citation. When excerpting or quoting from Conference Proceedings, authors should, in addition to noting the ASEE copyright, list all the original authors and their institutions and name the host city of the conference. - Last updated April 1, 2015