Skip to content

dli7319/unity-mesh-generators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unity Mesh Generators

A collection of scripts to generate meshes in Unity
The meshes created by these have the same uv orientation as the default Unity meshes.
They've been tested to work on Unity 2019.1.0f2.
Note that meshes generated with more than 65k vertices may cause issues when built for certain platforms.

How to use these

  • Clone or download this to somewhere in Assets folder.
  • Restart your Unity Editor.
  • Create an asset from your Unity Editor by selecting a wizard under Assets/Create in the toolbar.

Generators Included

  • Octahedron Sphere
    • Allows you to select the level to divide.
  • UVSphere
    • Allows you to select the number of width and height segments.
  • Layered Sphere
    • A multi-layered version of the Octahedron Sphere for simulating volumes.
    • Allows you to select the number of layers and the radius.
  • Circle
    • A simple 2D circle.
    • Options: Segments and radius
    • Has (2 * segments + 1) vertices and (segments) triangles.

Known bugs

  • Octohedron Sphere UV values are not in the range of [0, 1].

Credits

About

A collection of scripts to generate meshes in Unity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages