Re: rendering spheres

Hi Ibrahim,

> Is there a class in VisAD which can be used to create spheres easily... 
> something like, if I define the co-oridnates of the centre and the
> length of diamter, it should render a spherical volume. How else can you 
> create spheres? To use octahedra seems to me to make rendering
> spheres more difficult then it should be.

No. You may be able to find a routine on the web for
approximating a sphere as a set of triangles. It is a
general geometry problem.

Good luck,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html