TileOBJSphere:

Path: SCPro/ProTools

% Creates a segmented unit sphere Wavefront obj and mtl files.

   The texture files must be in directory d and must be of the form

   name- n longitude- n latititude .tga

   The resulting files will be name.obj and name.mtl.

   Type TileOBJSphere for a demo with one segment.

   Since version 8.
--------------------------------------------------------------------------
   Form:
   TileOBJSphere( d, nLat, nLon )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   d         (1,:)  Target directory
   nLat      (1,1)  Number of latitude points per segment
   nLon      (1,1)  Number of longitude points per segment

   -------
   Outputs
   -------
   None

--------------------------------------------------------------------------

Back to the SCPro Module page