|
-
Sep 16th, 2010, 02:42 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] Sphere from triangles question.
I am working on making a sphere located at (0,0,0) from triangles in such a way that all triangles have identical size, cover the sphere entirely and are uniformly distributed. This has turned out to be a bit more complex than I initially imagined.
My current solution will take an icosahedron and use recursive subdivision on edges to turn each triangle into 4 smaller ones (currently 6 steps og subdivision yielding a total of 81920 triangles). This solution, although acceptable, has some annoying inconsistancies - the original points in the icosahedron will have 5 outgoing edges while all other points have 6 causing the triangles near these original points to look somewhat skewed. I can't think of another solution though, which is why I posted this. I don't need a detailed solution; an idea or some thoughts will suffice, since I'm a bit stuck atm. Due to the nature of spheres and triangles, a better solution may not exist, but since this forum has helped me alot in the past, I thought I'd give it a shot.
Regards Tom
In truth, a mature man who uses hair-oil, unless medicinally , that man has probably got a quoggy spot in him somewhere. As a general rule, he can't amount to much in his totality. (Melville: Moby Dick)
-
Sep 16th, 2010, 03:00 PM
#2
Re: Sphere from triangles question.
You might try the game forum, as well, since the problem you describe is one encountered fairly often in 3D rendering. There may even be a common solution, though, considering the shape of heads in some 3D games, it may not be a good solution.
My usual boring signature: Nothing
 
-
Sep 16th, 2010, 03:12 PM
#3
Re: Sphere from triangles question.
I don't know how to go about doing it, but if you look at a picture of the Missouri Botanical Garden's Climatron structure, it uses hexagons shapes. Since each hexagon can be divided into 6 equilibrium triangles, this may be an approach for you.
http://commons.wikimedia.org/wiki/Fi...al_Gardens.jpg
Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
- Abraham Lincoln -
-
Sep 16th, 2010, 03:14 PM
#4
Re: Sphere from triangles question.
Spherical tessellation. When I did it, I used an octohedron. You want to look here and when you are trying to texture map it, here.
-
Sep 16th, 2010, 03:26 PM
#5
Thread Starter
Fanatic Member
Re: Sphere from triangles question.
Last edited by ThomasJohnsen; Sep 16th, 2010 at 03:35 PM.
In truth, a mature man who uses hair-oil, unless medicinally , that man has probably got a quoggy spot in him somewhere. As a general rule, he can't amount to much in his totality. (Melville: Moby Dick)
-
Sep 16th, 2010, 04:55 PM
#6
Thread Starter
Fanatic Member
Re: Sphere from triangles question.

Results produced from a octahedron yield similar abnormalities as those produced by an icosahedron (ie. some points have 4 edges whereas others have 6) although they are less obvious to the eye. An approximation of a sphere with hexagons (as Stanav suggested) or a dodecahedron seems like the only viable choices - pity both are difficult to model; will have to wait until tomorrow 
Thanks for the help guys.
Tom
In truth, a mature man who uses hair-oil, unless medicinally , that man has probably got a quoggy spot in him somewhere. As a general rule, he can't amount to much in his totality. (Melville: Moby Dick)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|