- Home /
Normalizing a cube made up of 24 meshes into a Sphere
Having a bit of a issue trying to map 24 meshes into a sphere, I wanted to increase the detail of the sphere this is difficult seeing as there is a vertex limit of 66k (or something) in Unity which stops me from doing so. I then though that I could split each side of a cube into 4 pieces like so:
The code I'm using to turn a cube into a sphere is the same as the code I used when the cube was made up of 6 faces not 24:
TempArray[I] = TempArray[I].normalized * (Radius);
The result however is:
Obviously I'm missing something in the spherical code, It seems like instead of code seeing the 4 meshes as one side of the cube it instead Spheriphy's all 4 separately. So my question is how would I go about doing this? Am I missing something simple like dividing the value of the Spherical code by 4 or is it something on a bigger scale which I'm missing?
Thank you all in advance!! :D
Your answer
Follow this Question
Related Questions
Assigning new Mesh Vertices 2 Answers
How to calculate normal direction for shared vertex position 1 Answer
How to mark the vertices on a mesh and make the markers follow them as you apply transformations 0 Answers
normalising the vertices of a cube mesh 0 Answers
Custom Mesh Vector3's not normalizing 2 Answers