Please read the standard instructions for all assignments.
Feel free to use the template pen as a starting point.
The main goal of this programming assignment is to help you feel comfortable with building an arbitrary thing out of “raw” geometry. We’ll soon be building stuff out of spheres and boxes and such, and that will be a powerful building technique, but we need to have lots of tools in our toolbox. When you get to your project, I want you to feel you can build anything you want.
Note that the obelisk is not an enormously challenging object, but it illustrates all the important concepts.
Build a polyhedron that looks roughly like the Washington monument. Some key dimensions of the Washington Monument:
This should help you get something that looks approximately like the Washington monument. Exactness is not necessary, and indeed, you should make your code appropriately parameterized.
Some additional requirements.
TW.createMesh()
when it is just given a GeometryConsider building your solution incrementally, for example:
TW.createMesh()
functionHere is a model obelisk solution. (Note that camera settings in this solution do not accommodate the full range of the main height that the user can set in the GUI, but in your solution, it should.)
I give you this to clarify what I’m looking for. I expect that you will not try to reverse-engineer the solution. I have made it difficult (so you won’t accidentally see the solution), but it would not be impossible. Please don’t try.
Submit the URL to your pen via the dropbox on blackboard. Do not change your code after the deadline.
Grading will be broken down into two parts, basic functionality and style and documentation
Rating | Actual Points | |
---|---|---|
Basic functionality (80%) | ||
a good start | 50 | |
significant progress | 60 | |
good | 70 | |
excellent | 80 | |
Style and documentation (20%) | ||
missing | 0 | |
fair | 10 | |
good | 15 | |
excellent | 20 | |
Total (100%) |
Grading of the basic functionality will be in terms of the following requirements:
This page is based on https://cs.wellesley.edu/~cs307/assignments/hwk1-obelisk.html. Copyright © Scott D. Anderson. This work is licensed under a Creative Commons License.