diff options
author | Ton Roosendaal <ton@blender.org> | 2006-01-29 16:10:20 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-01-29 16:10:20 +0300 |
commit | 2d12365f7c18aa280af51665ddca130052c838a6 (patch) | |
tree | 0e162478fdb385c72f5d4b0c9c5526889d5574b8 /release/datafiles/preview.blend | |
parent | abe7e7bc726d180b84b9ff720766a093fe4b6f41 (diff) |
Previewrender (buttons) now supports Lamp, Texture and Sky previews
again. One exception I didn't solve yet... for the Stucci texture.
In a next commit I will add the preview.blend, so people can play with it!
The rules for preview.blend are pretty primitive still... might become
a bit more advanced later. Here's what it uses now:
- If Object has name starting with 'p' it will get the to-be-previewed
Material or Lamp assigned
- If Object has name starting with 't' its Material gets the texture
assigned for Texture previews
The layer codes for current preview options are in DNA_material_types.h;
#define MA_SPHERE 0
#define MA_CUBE 1
#define MA_FLAT 2
#define MA_MONKEY 3
#define MA_SPHERE_A 4
#define MA_TEXTURE 5
#define MA_LAMP 6
#define MA_SKY 7
(SPHERE_A is sphere with alpha for icons)
Diffstat (limited to 'release/datafiles/preview.blend')
0 files changed, 0 insertions, 0 deletions