I'd like to thank everyone for responding to my request for
a sign of life (course participation). Everyone that was
on the registration list responded in some way, and so no
one was marked not attending.
During class today some students brought up the possibility that
the distortion equation described in the Homework 1 handout does not
correspond to the distortion shown in the screenshot in the handout.
I've double-checked the solution, which was used to generate the
screenshots in the handout, and it does appear to match the equation
in the handout. Though the equation shown is correct, the handout will
be has been updated with more screenshots.
If your code exits with an abort error it may be because
the index used for fb_dup is out of range. To check
whether that is the case, and if so, to look at how the index
is computed run hw01-debug under gdb and when it
prints the error message first type where to get
a call stack (back trace). Then locate the frame where your
code is (look for "hw01.cc:LINE" at the end of a frame entry). Then
type frame X where X is the frame where your code
executed. Use up and down to move up and down.
You can print variable values and expressions using the command p,
for example, p x or p y*win_width. To get the size
of fb_dup type p fb_dup.size().
6 September 2025, 16:53:21 CDT
The deadline for Homework 1 changed
to Tuesday evening. In Problem 2 be careful about keeping
the index to fb_dup in the correct range (see the
end of the homework handout). If an out-of-range index
is use execution will exit with an error.
3 September 2025, 18:34:24 CDT
Homework 1 assigned, due Monday, 8
Tuesday, 9 September 2025.