This image shows all the quadrics that you'll have to implement. The rib file that produced this picture is below.
# Begin showquads.rib # # Original Author: Scott Iverson [email protected] # Modified by Tim Purcell [email protected] # for cs348b, Spring 2000 Option "display" "imageviewer" "xv" Option "render" "integrator" "raycast" Format 400 400 1 PixelSamples 1 1 Display "showquads.tiff" "file" "rgb" Projection "perspective" "fov" 15 ShadingInterpolation "smooth" Declare "v" "float" WorldBegin Color 1 1 1 LightSource "distantlight" 1 Surface "plastic" Translate 0.0 0.0 14.0 Rotate -90.0 1.0 0.0 0.0 Translate -1.2 0.0 0.6 Sphere 0.5 -0.5 0.5 360.0 Translate 1.2 0.0 0.0 Translate 0.0 0.0 -0.5 Cone 1.0 0.5 360.0 Translate 0.0 0.0 0.5 Translate 1.2 0.0 0.0 Cylinder 0.5 -0.5 0.5 360.0 Translate -2.4 0.0 -1.2 Hyperboloid 0.4 -0.4 -0.4 0.4 0.4 0.4 360.0 Translate 1.2 0.0 -0.5 Paraboloid 0.5 0.0 0.9 360.0 Translate 1.2 0.0 0.5 Rotate 90 1 0 0 Disk 0 0.5 360 WorldEnd # End showquads.rib
Copyright © 2000 Pat Hanrahan