Mercurial > hg > octave-lyh
changeset 7368:68269e42f573
[project @ 2008-01-14 09:18:38 by jwe]
author | jwe |
---|---|
date | Mon, 14 Jan 2008 09:18:38 +0000 |
parents | 600808df131c |
children | 39160daffccb |
files | src/ChangeLog src/graphics.h.in |
diffstat | 2 files changed, 25 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,12 @@ +2008-01-14 Kai Habel <kai.habel@gmx.de> + + * graphics.h.in (class patch::properties): New properties, + cdatamapping, facevertexalphadata, facevertexcdata, vertexnormals, + normalmode, facelighting, edgealpha, edgelighting, + backfacelighting, ambientstrength, diffusestrength, + specularstrength, specularexponent, specularcolorreflectance, + erasemode. + 2008-01-14 Michael Goffioul <michael.goffioul@gmail.com> * genprops.awk (emit_get_callback): Pass user data to execute method.
--- a/src/graphics.h.in +++ b/src/graphics.h.in @@ -2298,15 +2298,30 @@ // properties declarations. BEGIN_PROPERTIES(patch) - data_property xdata l , Matrix () + data_property xdata l , Matrix () data_property ydata l , Matrix () data_property zdata l , Matrix () data_property cdata l , Matrix () + radio_property cdatamapping a , "{scaled}|direct" array_property faces , Matrix () + data_property facevertexalphadata , Matrix () + data_property facevertexcdata , Matrix () array_property vertices , Matrix () + array_property vertexnormals , Matrix () + radio_property normalmode a , "{auto}|manual" color_property facecolor a , "{flat}|none|interp" double_property facealpha , 1.0 + radio_property facelighting a , "{flat}|none|gouraud|phong" color_property edgecolor a , color_property (color_values (0, 0, 0), radio_values ("flat|none|interp")) + double_property edgealpha , 1.0 + radio_property edgelighting a , "{none}|flat|gouraud|phong" + radio_property backfacelighting a , "{reverselit}|unlit|lit" + double_property ambientstrength , 0.3 + double_property diffusestrength , 0.6 + double_property specularstrength , 0.6 + double_property specularexponent , 10.0 + double_property specularcolorreflectance , 1.0 + radio_property erasemode a , "{normal}|background|xor|none" radio_property linestyle , "{-}|--|:|-.|none" double_property linewidth , 0.5 radio_property marker , "{none}|s|o|x|+|.|*|<|>|v|^|d|p|h"