Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home

[Licence| Download | New Version Template] abtm_v1_0.gz(28 Kbytes)
Manuscript Title: 3D isovalue surface plots.
Authors: K. Srikameswaran, R. Wallace
Program title: DC3DRAW
Catalogue identifier: ABTM_v1_0
Distribution format: gz
Journal reference: Comput. Phys. Commun. 62(1991)80
Programming language: Fortran.
Computer: IBM PC/AT.
Operating system: DOS 3.0 OR HIGHER.
Word size: 8
Keywords: 3d graphics, Isovalue surface, General purpose, Plot.
Classification: 14.

Nature of problem:
While it is common to plot functions f(x,y) as 2D grid plots or contour maps, a more useful representation of a multidimensional function for many purposes is that which depicts surfaces satisfying the equation of constraint f(x,y,z) = K. Such surfaces have been referred to as isovalue surfaces and have been employed in fields as diverse as quantum mechanics and imaging technology.

Solution method:
One dimensional arrays of cartesian coordinate triplets provided by the user as an ASCII file are read by the program, sorted and grouped, scaled and converted to proportional integers, connected in a manner depicting surface polyhedra, arranged in plotting sequence and written to an output discfile. These output data are used by DesignCAD 3-D software for drawing the solid on screen, printer or plotter.

Restrictions:
Presently, the program handles only surfaces without bifurcations. To display 3-D surfaces, it is necessary that the input number of points on each connected section of the surface be the same. If this condition is not met, a collection of sections along the third coordinate can be drawn, thereby providing some perspective information regarding the 3D surface.

Running time:
60 secs.