This page demonstrates some applets related to Java applications discussed in Chapter 6 of Computer Graphics for Java Programmers, 2nd Edition.

Hidden-line models of 3D objects.


Section 6.4. Solid letter A



Section 6.6. A possibly hollow cylinder
n = number of vertices on each circle
D = diameter of outer circle
d = diameter of inner circle, or 0 is the cylinder is not hollow
The height of the cylinder is 1.
Check or change the values of n, D and d below and click on the OK button.




Exercise 6.9. Two tori
n = number of small circles on each torus
r = radius of center circle of each torus (at least 2)
Each small circle has radius 1.
Check or change the values of n and r below and click on the OK button.