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


  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: