Bump-map a sphere with a texture map

前端 未结 1 894
一个人的身影
一个人的身影 2020-12-07 06:52

We would like to bump-map a sphere with a texture map. However, the surface of the sphere has an area that is 10 times the area of the texture map(area for both in pixels).

相关标签:
1条回答
  • 2020-12-07 07:16
    1. usually rectangle texture is used for spheres

      texture (u,v) coordinates are used as angles for spherical coordinates. The result is that texels are bigger near equator and smaller near poles. At poles all the texels merge to single pixel. This is how to do it

      • texturing spheres
      • normal/bump mapping

      When you use these maps (color,normal,light,clouds):

      when combined with single light source (Sun) I got this result:

      On the left side with atmospheric scattering and on the right without it. If you zoom a bit you can see the mountains.

    2. There are more ways then just rectangular sphere maps

      You can use non linear sphere maps with different properties like eqisurface/distance etc. Here some examples of sphere maps (from google):

      rectangular:

      equidistant/paper model:

      equidistant:

    0 讨论(0)
提交回复
热议问题