Objective:
- This image was generated using a ray tracer (POV-Ray)
for an introduction to graphics couse at DePaul University.
- The assignment was to reproduce the photograph on the
right as closely as possible using POV-Ray.
|
Analysis:
- This assignment was much more difficult than it looks,
because as you will notice, the camera angle relative
to the nuts is slanted, which forced me to elevate the
nuts in the back (top) of the image on the left and set
them on an angled plane in order to match the camera in
the photograph on the right.
- The nuts were created using a hexegon which was then
subtracted from a "squashed" sphere in order
to create the rounded corners of the nut. Again, this
was more difficult than it looked and the corners on my
image drop much more sharply than in those in the photograph.
- All of the nuts in my image are basically the same nut,
with altered dimensions. Getting this correct also proved
difficult, since some nuts had to be drammatically increased
in size depending on their distance from the camera and
elevation from the ground plane.
- Unfortunately, I wasn't able to find a metal texture
that worked for my image, so I used a grey color and added
a slightly reflective quality.
- The center of each nut was intersected with a cylinder
to hollow it out. A "spiraling" function (provided
to us by the instructor) was used to cut the "threads"
inside each nut.
|