<- previous    index    next ->

Lecture 19, Review 2

Some small special topics.
Review lectures 11 through 19 and homework 3.
With a few retro questions on previous lectures

Same type of quiz as Quiz 1.
Open book, open note, open computer.
       One hour time limit.
       (You may bring your own laptop)
       (Not the "Study Guide" or copies thereof.)
       (Read the instructions and follow the instructions.)
       (Read carefully, answer the question that is asked.)
Online : download 
         edit with libreoffice or Microsoft Word
         submit quiz2 

Key items:


3D rendering may use Z-plane or Ray Trace or other methods.
Povray is one free Ray Trace renderer. Ray casting does
a better job with shadows and transparent objects than
a Z plane renderer. When allowing the user to move
through a 3D image, the world stays stationary and it is
the users eye that moves through the world. For full
freedom, give the user six degrees of freedom.

Scroll Bars are typically used to "pan" across an image.
Typically scroll bars are on the bottom and right.
Some application allow a user to "zoom" in or out, larger or smaller.

In order to make movement realistic, use the equations
of physics. Usually provide some kind of manual or
automatic speed control, in order to account for various
computers having different processing and graphics speeds.

Typically users are given speed controls rather than
acceleration controls. The "accelerator" in a vehicle
is a speed control, in spite of its name. Some applications
may use a force control that is translated into an
acceleration using  Acceleration=Force/Mass.

Do not make users do things faster.
Do not make users change things such as fonts, mouse, or stylus.

Special purpose kinematics may be used in some applications
to compute a path from one location to another. These may
work in either two or three dimensions.

A body in air or space, has six degrees of freedom:
Movement in the three space dimensions, X, Y, Z and
rotation about the three axis through the center of
gravity, roll about the longitudinal axis, pitch about
the lateral axis and yaw about the vertical axis.

Target motion can be generated by using published
equation for curves and surfaces. A vapor trail can
be shown by keeping a few previous coordinates and
drawing increasingly smaller stuff.

Cartoons use squash and stretch and squeeze for humorous
effects. Older 2D cartoons used a hand drawn background
and moved only a mouth or hand for some frames. Each
frame became a frame on the final film. Each frame was
drawn by hand, called "ink and paint". Cartoon characters
do not have to obey the laws of physics.

Fonts are based on a point being 1/72 inch on paper.
Times Roman proportional, Currier fixed spacing.
Word processors can use any font files they can
find on your computer in a format they can read.
Free tools are available for you to create your
own font. Typically fonts are copyrighted because
they required a lot of work to create.

Questions about differences in user interface
for various platforms:
Desktop, Laptop, tablet, smart phone, game console.

    <- previous    index    next ->

Other links

Many web sites on Java GUI, AWT, Swing, etc.
Many web sites on Python wx, tk, qt, etc.

Go to top