Computer Graphics for Java ProgrammersWiley, 27 de fev. de 2007 - 396 páginas The book covers elementary concepts, from how to produce simple graphical objects using logical coordinates to producing filled regions. The book reinforces concepts with useful and simple examples, then progresses to applied geometry (vectors, polygons) and then onto how to perform rotations and other transformations of graphical objects. In a logical progression of ideas, the reader is introduced to some of the classic graphics algorithms and finally to chapters which cover particular effects such as perspective drawings and hidden-face and hidden-line elimination. The book also provides a host of ready-to-run programs and worked examples to illuminate general principles and geometric techniques for the creation of both 2D and 3D graphical objects. |
Termos e frases comuns
3D object addWindowListener(new WindowAdapter algorithm angle area2 array Bézier curve boolean Bresenham's algorithm circle clicking compute counter-clockwise cube d.width device coordinates dodecahedron double double buffering Dragon curve drawLine edges endpoints Equation example extends Frame face float Fr3D getSize Graphics g HLines.java homogeneous coordinates horizontal HP-GL HPGL icosahedron import java.awt import java.awt.event initgr input file int i=0 int iX(float integer intersection Java Julia set Koch curve line segment logical coordinates Mandelbrot set Math.round(centerX matrix maxX maxY method Obj3D obscure PQ painter's algorithm pixels Point2D polygon Polygon 3D public class public static void public void windowClosing putPixel putPixel(g rotation screen coordinates Section 1.5 shown in Figure static void main(String String System.exit(0 Tools2D Tria triangle ABC variable vector vertex numbers vertices void windowClosing WindowEvent vScr write x){return xmax xmin ymax ymin Z-buffer z-coordinates