|
61 | 61 | Editor: Larry Gritz \\ |
62 | 62 | \emph{lg@imageworks.com} |
63 | 63 | } |
64 | | -\date{{\large Date: 14 Nov, 2014 \\ |
| 64 | +\date{{\large Date: 3 Dec, 2014 \\ |
65 | 65 | %~ (with corrections, 2 Oct 2014) |
66 | 66 | } |
67 | 67 | \bigskip |
@@ -3363,14 +3363,12 @@ \section{Pattern generation} |
3363 | 3363 |
|
3364 | 3364 | \apiitem{"simplex"} |
3365 | 3365 | \vspace{12pt} |
3366 | | -\NEW % 1.4 |
3367 | 3366 | A signed simplex noise with an output range of $[-1,1]$, |
3368 | 3367 | approximate average value of $0$. |
3369 | 3368 | \apiend |
3370 | 3369 |
|
3371 | 3370 | \apiitem{"usimplex"} |
3372 | 3371 | \vspace{12pt} |
3373 | | -\NEW % 1.4 |
3374 | 3372 | An unsigned simplex noise with an output range of $[0,1]$, |
3375 | 3373 | approximate average value of $0.5$. |
3376 | 3374 | \apiend |
@@ -3921,7 +3919,6 @@ \section{Texture} |
3921 | 3919 | \apiend |
3922 | 3920 | \vspace{-16pt} |
3923 | 3921 |
|
3924 | | -\NEW |
3925 | 3922 | \apiitem{"missingcolor", <color>, "missingalpha", <float>} |
3926 | 3923 | \vspace{12pt} |
3927 | 3924 | If present, supplies a missing color (and alpha value) that will |
@@ -4024,7 +4021,6 @@ \section{Texture} |
4024 | 4021 | \apiend |
4025 | 4022 | \vspace{-16pt} |
4026 | 4023 |
|
4027 | | -\NEW |
4028 | 4024 | \apiitem{"missingcolor", <color>, "missingalpha", <float>} |
4029 | 4025 | \vspace{12pt} |
4030 | 4026 | If present, supplies a missing color (and alpha value) that will |
@@ -4106,7 +4102,6 @@ \section{Texture} |
4106 | 4102 | \apiend |
4107 | 4103 | \vspace{-16pt} |
4108 | 4104 |
|
4109 | | -\NEW |
4110 | 4105 | \apiitem{"missingcolor", <color>, "missingalpha", <float>} |
4111 | 4106 | \vspace{12pt} |
4112 | 4107 | If present, supplies a missing color (and alpha value) that will |
@@ -4192,6 +4187,13 @@ \section{Texture} |
4192 | 4187 | %matrix that transforms points from \commonspace to a 2D coordinate |
4193 | 4188 | %system where $x$ and $y$ range from -1 to 1. \\[0.75ex] |
4194 | 4189 |
|
| 4190 | +\qkw{averagecolor} & {\cf color} & |
| 4191 | +\NEW % 1.6 |
| 4192 | +Retrieves the average color (first three channels) of the texture. \\[0.75ex] |
| 4193 | + |
| 4194 | +\qkw{averagealpha} & {\cf float} & |
| 4195 | +Retrieves the average alpha (the channel with \qkw{A} name) of the texture. \\[0.75ex] |
| 4196 | + |
4195 | 4197 | \emph{anything else} & \emph{any} & Searches for matching name and |
4196 | 4198 | type in the metadata or other header information of the texture file. |
4197 | 4199 | %\hline |
|
0 commit comments