Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Geron

GeoSphere

This topic is 6573 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Can anyone here help me out with a problem of mine. In most 3D applications like 3D Studio, Milkshape 3D etc you can render something that is called GeoSpheres. My question is HOW THA HECK do you compute where all the vertex''s and stuff go? I want to be able to do this kind of spheres in a game im doing, but i have no idea how to make them.. Links, Algoritms and other info on how to accomplish this is welcome ! // Geron

Share this post


Link to post
Share on other sites
Advertisement
Geron,

I asked a simular question awhile ago and here is a thread that even shows some code of how to do what you are asking:

http://www.gamedev.net/community/forums/topic.asp?topic_id=19260&forum_id=10&Topic_Title=Texturing+a+Sphere&forum_title=DirectX/OpenGL/Glide/Genesis3D&M=True&S=True

I hope this helps!

Todd

Share this post


Link to post
Share on other sites
Thanks for the URL Todd..
That was ALMOST what i was looking for.
The type of sphere i''m intrested in is called GeoSphere
it is constructet by triangles that (seems to) have equal
size. That URL describes how to do a "normal" sphere with
smaller polygons near the top/bottom.

http://www.hojdpunkten.ac.se/084/Spheres2.jpg
Its the red sphere i want to create, not the green one.

// Geron

Share this post


Link to post
Share on other sites
Hey I forgot how to do it exactly but I can give you a rough idea.. first of all I do not know what the sliced longitude latitude "Disco ball" sphere is called, anyone knows..?

To create a geo sphere, think of two prisms, upside down of each other.. (is that called a polyhedron?) then you subdivide each triangle face into 4 triangles. And normalize each vertex as you go.. I think if you keep doing this you''ll get a geo sphere of higher and higher res.

I like geo spheres better

Share this post


Link to post
Share on other sites
quote:
Original post by jho

Hey I forgot how to do it exactly but I can give you a rough idea.. first of all I do not know what the sliced longitude latitude "Disco ball" sphere is called, anyone knows..?

To create a geo sphere, think of two prisms, upside down of each other.. (is that called a polyhedron?) then you subdivide each triangle face into 4 triangles. And normalize each vertex as you go.. I think if you keep doing this you''ll get a geo sphere of higher and higher res.

I like geo spheres better




I''m not a programmer, but I can answer one of your questions. The "disco ball" as you put it, is called an L-sphere. Geo-sphere''s are used more in games and such because of their lower poly count.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!