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). Describe different ways in which the texture map can be used for bump mapping.
相关问题
- Direct2D Only Partially Linking in C++ Builder
- SecurityError for same-origin image texImage2D
- Asynchronous threads drawing in Bitmaps Delphi
- Loading texture from Web Worker in Three.js
- Reading a openGL ES texture to a raw array
相关文章
- Behavior of uniforms after glUseProgram() and spee
- MeshLab: How to import XYZRGB file
- How to smooth the blocks of a 3D voxel world?
- Calculating Vertex Normals of a mesh [duplicate]
- myBitmap.RawFormat is something different than any
- anyone can explain the “field of view”
- How to dodge pointrange ggplots on two levels?
- Generating a Voronoi Diagram around 2D Polygons
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 itWhen 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.
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: