BuildSphere

A handy Matlab plugin that returns the triangulated model of a sphere
Download

BuildSphere Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Luigi Giaccari
  • Operating Systems:
  • Windows All
  • File Size:
  • 3 KB

BuildSphere Tags


BuildSphere Description

BuildSphere is a small Matlab plugin that returns the triangulated model of a sphere using the icosaedron subdivision method. INPUT: n (integer number) indicates the number of subdivisions, it can assumes values between 0-inf. The greater n the better will look the surface but the more time will be spent in surface costruction and more triangles will be put in the output model. OUTPUT: In p (n x 3) and t(m x 3) we can find points and triangles indexes of the model. The sphere is supposed to be of unit radius and centered in (0,0,0). To obtain spheres centered in different location, or with different radius, is just necessary a translation and a scaling transformation. These operation are not performed by this code because it is extremely convenient, in order of time performances, to do them out of the function avoiding to call the costruction step each time.


BuildSphere Related Software