Textured spheres without strong distortion

会有一股神秘感。 提交于 2019-12-03 14:17:11

The hairy ball theorem states that it is impossible to define continuous texture coordinates on a sphere without any poles that distort the texture.

Lat/lon "spheres" distort by definition. If you're into programming, start with a [tetrahedron](http://en.wikipedia.org/wiki/Tetrahedron Tetrahedron) and subdivide as much as necessary, by subdividing each triangle into 4 triangles and repositioning midpoints at the given radius from center.

If you're into modeling, the GeoSphere (as previously mentioned) or any similar will solve your problem.

The point is that the triangles will have a constant amount of distortion which is independent of the latitude.

Also note that a (closed) surface subdivision will enable you to have a (C)LOD rather easily.

Texturing is another story, but once you have a good sphere you have less problems.

Hope this sparks your imagination :)

You can use a rectangular map with longitudinal blurring that increases near the poles (from none at the equator to say 60 degrees north). In conjunction with mip-maps this should eradicate some of the effects you are mentioning.

Drew Olbrich came up with a nifty way of tesselating a sphere to produce a nonahedron. If you increase the number of vertices, you'll get a fairly decent spherical tesselation.

MSN

Or you can use a cubemap. That's generally the preferred way to do environment mapping, which is basically what you are describing.

Do not split sphere by longitude and latitude. Instead use what is called the GeoSphere in 3Ds Max. (Actually, a polyhedron, the geodesic sphere.)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!