Montreal, Canada
June 16, 2002
June 16, 2002
June 19, 2002
2153-5965
14
7.37.1 - 7.37.14
10.18260/1-2--10322
https://peer.asee.org/10322
10168
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: mayne@eng.buffalo.edu
Abstract
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.
Introduction
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