diff options
author | Ton Roosendaal <ton@blender.org> | 2004-05-07 22:03:40 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-05-07 22:03:40 +0400 |
commit | 16c783d950868baceb4b3909dd18ecdf7ee66629 (patch) | |
tree | 707d72382b189066b4e74398ab1f6b308e99036c /source/blender/makesdna/DNA_world_types.h | |
parent | d835cc8f1656df8ac3bab150fcf02490d184e10a (diff) |
Added two more mapping types to World buttons for sky render.
"Sphere": spherical mapping for a 360 degree panorama
"Tube": cylindrical mapping for a 360 degree panorama
Both mappings by default do only the sky (upper) hemisphere. The color
below is same as regular Horiz and Zenith colors, useful for setting
an AO effect.
Sample pics:
http://www.1000skies.com/fullpanos/index.htm (commercial)
Diffstat (limited to 'source/blender/makesdna/DNA_world_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_world_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_world_types.h b/source/blender/makesdna/DNA_world_types.h index cda544df1d1..30cb6071d78 100644 --- a/source/blender/makesdna/DNA_world_types.h +++ b/source/blender/makesdna/DNA_world_types.h @@ -140,6 +140,8 @@ typedef struct World { /* texco (also in DNA_material_types.h) */ #define TEXCO_ANGMAP 64 +#define TEXCO_H_SPHEREMAP 256 +#define TEXCO_H_TUBEMAP 1024 /* mapto */ #define WOMAP_BLEND 1 |