Code covered by the BSD License
3.0
by Bruno Luong
14 Aug 2009 (Updated 15 Aug 2009)
Generate a cubed-sphere geometry
| Watch this File
Generate a Cartesian coordinates of the cubed-sphere of radius 1 the grid is gnomonic equiangular/equidistance central projection
Inspired from this thread http://www.mathworks.com/matlabcentral/newsreader/view_thread/258457
Maybe we can merge your function and mine:
http://www.mathworks.com/matlabcentral/fileexchange/23959
This way the user can select if return triangular or quad patches... Let me know if you are interested
Small change order of the patch Demo of 3D earth texture object
Contact us at files@mathworks.com