Assignment Zero
We want to make a Web page with everybody taking the class, so we want
everybody's picture. This helps us get to know you, and it helps you
get to know each other, too.
Follow these steps, and you'll be all set:
- Log into one of the ICGL Indy workstations (E-Quad, room E426).
- Run capture.
- Adjust the camera to get your beautiful mug centered and focused.
You can twist the lens to focus it.
- If you want, you can poke around the control panels and adjust the
colors so whites are white instead of yellow. Try holding a piece
of white paper in front of the camera while hitting the White
Balance button.
- Click on the icon in the lower left and
drag down to the picture of a still camera.
- Make sure the resolution is 640x480 (the largest possible). If it's
lower, you can change it from the Settings... option, on
the Actions menu. You want "Frame Size" to be "Full Size" and
"Crop area" to be "No Crop".
- Punch the Record button when you like the picture. Smile!
This saves a file in your home directory with a name like
capture.rgb at a resolution of 640x480 pixels.
- Save the 640x480 version because you'll need it for Assignment 2.
However, your images for the CS426 homepage should be 160x120, so
you need to shrink the one you have. There are tons of tools
to do this, but here's one way from the shell:
% izoom capture.rgb capture-small.rgb 0.25 0.25 -m
If you couldn't find the izoom program, either you're not
running on a Silicon Graphics or you don't have /usr/sbin
in your path.
- Next, convert to a GIF image and put it in your public_html
directory. Again, there are lots of ways, but here's a simple one:
% togif capture-small.rgb ~/public_html/me.gif
- If you have never set up a WWW home page before, you'll need to
make sure your home directory, public_html directory, and files
in public_html are world readable.
% cd
% chmod 755 . public_html
% chmod 644 public_html/*
- Finally, do the on-line
class registration and fill out all the blanks, including a URL
for your picture!
CS 426 (Computer Graphics), CS Department, Princeton University
Last modified: Tue Aug 20 14:44:03 1996