diff options
author | Ton Roosendaal <ton@blender.org> | 2005-12-30 14:25:15 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-12-30 14:25:15 +0300 |
commit | d921d6be6f3b06cc49923d3546b4105ec9a247f4 (patch) | |
tree | 338f76791accc95999e2d94e2eabc85406389a59 /source/blender/include/BIF_interface.h | |
parent | 10d67f254c6ed61b395402294b91ffb3389c41a8 (diff) |
Orange: daily noodle updates;
- Texture Node: now displays 'intensity values' in node too, and has input,
and shows in buttons when activated in Node editor. (no browsing buttons
yet...)
- New: "Normal Node". This uses a new UI button, which allows to quickly
input a normal vector, based on spherical coordinates.
The Normal Node has optional vector input, and delivers a dot product
then. This can be used as a blending factor between nodes, or for fake
extra light in a certain direction.
- New: "Geometry Node". This actually replaces the Input node. It offers
all coordinates (vectors) as being the starting point for shading and
for textures. Note: for preview render this doesn't give much different
results yet... this is the start for real render support!
- http://www.blender.org/bf/rt5.jpg
The two new nodes in action
- Bugfix: the "Block" button (which delivers popups) did not return a
correct event when nothing happened (mouse moved out), which could
cause mouse clicks to be passed on to the queue.
Diffstat (limited to 'source/blender/include/BIF_interface.h')
-rw-r--r-- | source/blender/include/BIF_interface.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/source/blender/include/BIF_interface.h b/source/blender/include/BIF_interface.h index 9ddab3305c8..3ead46c8afd 100644 --- a/source/blender/include/BIF_interface.h +++ b/source/blender/include/BIF_interface.h @@ -114,7 +114,13 @@ struct ScrArea; #define UI_BUT_ALIGN_DOWN (1<<15) -/* Button types */ +/* Button types, bits stored in 1 value... and a short even! +- bits 0-4: bitnr (0-31) +- bits 5-7: pointer type +- bit 8: for 'bit' +- bit 9-15: button type (now 6 bits, 64 types) +*/ + #define CHA 32 #define SHO 64 #define INT 96 @@ -154,8 +160,9 @@ struct ScrArea; #define ROUNDBOX (28<<9) #define CHARTAB (29<<9) #define BUT_COLORBAND (30<<9) +#define BUT_NORMAL (31<<9) -#define BUTTYPE (31<<9) +#define BUTTYPE (63<<9) |