Unity can create a Plane object or Sphere object. But how to create a piece of surface of Sphere? Just like an area of latitude and longitude on Earth. Then I can paste a map material on it. Is it possible to do it with scripting? or it just can be created in 3D-MAX or Maya?
Thanks!
Mr ivkoni said Mesh class can do it. But I really don’t know how to do. Cut the Sphere? or deform a Plane?
Although it’s not the only way to generate a sphere mesh, a fairly common method is to use spherical coordinates and a nested loop (one loop for latitude, and another for longitude).
To create a portion of a sphere whose edges lie along latitudinal and longitudinal lines, you would do the same thing (essentially), but would set up the loop so that only a portion of the sphere mesh was created.
Thank you very much! I’ll try!