CGDemo is a companion of the textbook for L. Ammeraal and K. Zhang, Computer Graphics for Java Programmers, 2nd Edition, Wiley, 2006. Copyright (C) 2006 Janis Schubert, Kang Zhang, Leen Ammeraal . This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Sof…
Java
Switch branches/tags
Nothing to show
Clone or download
Hengxiugao
Latest commit 4b301a4 Oct 25, 2014
Permalink
Failed to load latest commit information.
.gitignore Initial commit Oct 25, 2014
BresenhamLineDrawingDemo.java Create BresenhamLineDrawingDemo.java Oct 25, 2014
CGDemo.java Create CGDemo.java Oct 25, 2014
CohenSutherlandLineClipping.java Create CohenSutherlandLineClipping.java Oct 25, 2014
DemoDisplay.java DemoDisplay.java: Displays the graphics demo. Oct 25, 2014
DemoDisplayFrame.java Sets up the display frame for the demo. Oct 25, 2014
DoubleStepLineDrawingDemo.java Update DoubleStepLineDrawingDemo.java Oct 25, 2014
HiddenLineDemo2Lines.java Contains static method for drawing dashed lines. Oct 25, 2014
HiddenLineElimination.java Perspective drawing with hidden-line elimination. Oct 25, 2014
Input.java A class to read numbers and characters from txt Oct 25, 2014
LICENSE Initial commit Oct 25, 2014
Obj3D.java A 3D object and its 2D representation. Oct 25, 2014
Point2D.java Class for points in logical coordinates. Oct 25, 2014
Point3D.java Representation of a point in 3D space. Oct 25, 2014
Polygon3D.java Polygon in 3D Oct 25, 2014
PolygonClip.java Polygon Clipping Oct 25, 2014
README.md Update README.md Oct 25, 2014
SplashWindow.java Create SplashWindow.java Oct 25, 2014
Tools2D.java Class to be used in other program files. Oct 25, 2014
Tria.java Triangle represented by its vertex numbers. Oct 25, 2014
Triangle.java Class to store a triangle; Oct 25, 2014
ViewTrans.java The view transformation exposed. Oct 25, 2014
displayGraphicsDemo.java Creates the GraphicsDemo object. Oct 25, 2014

README.md

CGDemo

CGDemo is a companion of the textbook for L. Ammeraal and K. Zhang, Computer Graphics for Java Programmers, 2nd Edition, Wiley, 2006. Copyright (C) 2006 Janis Schubert, Kang Zhang, Leen Ammeraal.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

More information please see: http://www.utdallas.edu/~kzhang/