Geosphere?
-
A sphere with a center (x0,y0,z0) with diameter r
has all points x,y,z like
with


= Latitude
= longitude -
Isn't that a sphere with poles? The points would not be evenly spaced.

I'm looking to generate the points for the sphere on the right. -
@thomthom said:
I'm looking to generate the points for the sphere on the right.
Start with a octahedron, divide each edge into half and thus each face into four equal smaller triangles, move the new vertices to the desired radius, repeat.
-
Note that the above results in just a fairly nice approximation, though. (And I don't know if it matches the subdivision used in your example image.) Only for the (not really sphere-like, as they have so few faces) Platonic solids are the vertices in a strict sense evenly distributed, though. See http://www.cgafaq.info/wiki/Evenly_distributed_points_on_sphere and especially http://www.math.niu.edu/~rusin/known-math/95/sphere.faq .
-
Approximation is ok. Just just want to take a fixed number of points and distribute them approximately evenly. Doesn't matter if they need to be rounded to a number that fit some geometric restriction.
Thanks for the links - I'll look into them.
-
Excellent - the spiral methods works great for my use!

-
Its pretty common to subdivide a cube and then project onto a sphere.
If you want evenly distributed but not a regular mesh, you could use a Hammersley point set.
-
-
@unknownuser said:
A sphere with a center (x0,y0,z0) with diameter r
has all points x,y,z like
with


= Latitude
= longitudeThat is just how I would do it!

-
Me too

-
Google are really quick to index this site!
I did a search for "Hammersley point set sphere" and this thread came up as #3 already.
-
Not busy enough elsewhere, eh tml?
Thank you for your talents, also. -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement