CPSC 120, Fall 2002 Information About the Third Test ---------------------------------------------------------------------- The third test in this course will be given in class on Wednesday, November 20. It will cover all the material that we have done since the second test. Since we worked on xTurtle during this time, you'll also need to remember the basic material on xTurtle that we covered previously. The test covers Chapters 7 and 11 from the text and Labs 8, 9, and 10. We did not cover Section 4 in Chapter 7. You should be able to write your own xTurtle subroutines as well as use subroutines that are given to you. You will not be asked to write a recursive subroutine, but you should be able to trace the execution of a recursive subroutine to determine what it does. In addition to knowing the theory of computer graphics from the textbook, you should know the basics of the xModels language. Here are some of the things you should know (these lists are taken pretty much intact from the class Web page): subroutine module subroutine declaration black box using SUB...END SUB implementation and interface dummy parameter software life cycle actual parameter top-down design local variable bottom-up design recursion software engineering recursive subroutine coding Koch curve randomness in recursion computer graphics From xModels: animation line, circle, square painting programs cube drawing program rotate, scale, translate rendering animate geometric modeling DEFINE transformations color-changing commands scaling, rotation, and translation value ranges such as 5:10 coordinate system origin scene description language frames of an animation key frame animation object definitions in xModels xyz-coordinate system on 3D space rotations in three dimensions axis of rotation projection from 3D to 2D wireframe model specular reflection and diffuse reflection color textures and bump map light sources ambient light hidden surface ray tracing and radiosity lathing and extrusion scaling and translation in 3D rotations about the x-axis, the y-axis, and the z-axis