- Home /
how can i build a spherical wireframe grid in unity?
Actually I am able to develop a wireframe. However, all points are static in this. I want to make it dynamic such that user can input any number of points and would be able to develop spherical wireframe according to that. All meshes are created using code.
When you tell the number of points, it's the subdivision of the sphere?
When I tell the number of points, it uniformly distributes over the sphere.
Drawing a wireframe mesh is a little tricky, but this question has been answered many times before so finding a solution that works for you shouldn't be too hard.
Answer by Chiroculon · Mar 27, 2015 at 06:04 AM
You start with a random set of vertices on the sphere.
Then you iteratively push them apart, but keep them on the sphere.
When the iterations are having too little effect, you stop.
These vertices you then link into triangles using Delaunay triangulation. (Just replace circles on a plane with spheres on a sphere.)
Actually its too late as I already developed it way back but this seemed pretty helpful in that!! Thanks man