Homework 4: vtk

due: 2/26

Problems

Do exercises: 3.1, 4.6

Programs

  1. Use vtk to render a Sphere. Call your file Sphere.tcl
  2. Create two spheres side by side. For the sphere on the left transform it so it is oblong. The sphere on the right should be filtered through a vtkShrinkPolyData filter. Set the shrink factor to 0.5. Call the file TwoSpheres.tcl
  3. Visualize a quardic as you saw in class, but include a plane for each axis. The data on the planes should be contours rather than solid colors. Call the file QuadricPlanes.tcl

Note: If you wish to use a language other than tcl, you may. The extension on the required file name should change appropriately e.g. Sphere.cxx or Sphere.java


Submission

Turn in the problems at the beginning of class either on paper or by email. Submission procedure for the programs will be announced.
Clif Presser<cpresser@gettysburg.edu>
Last modified: Tue Feb 24 06:47:27 2004