File tree Expand file tree Collapse file tree 1 file changed +23
-10
lines changed Expand file tree Collapse file tree 1 file changed +23
-10
lines changed Original file line number Diff line number Diff line change @@ -153,21 +153,24 @@ module.exports = {
153153 role : 'style' ,
154154 min : - 1e5 ,
155155 max : 1e5 ,
156- dflt : 1e5
156+ dflt : 1e5 ,
157+ description : 'Numeric vector, representing the X coordinate for each vertex.'
157158 } ,
158159 y : {
159160 valType : 'number' ,
160161 role : 'style' ,
161162 min : - 1e5 ,
162163 max : 1e5 ,
163- dflt : 1e5
164+ dflt : 1e5 ,
165+ description : 'Numeric vector, representing the Y coordinate for each vertex.'
164166 } ,
165167 z : {
166168 valType : 'number' ,
167169 role : 'style' ,
168170 min : - 1e5 ,
169171 max : 1e5 ,
170- dflt : 0
172+ dflt : 0 ,
173+ description : 'Numeric vector, representing the Z coordinate for each vertex.'
171174 }
172175 } ,
173176
@@ -177,49 +180,59 @@ module.exports = {
177180 role : 'style' ,
178181 min : 0.00 ,
179182 max : 1.0 ,
180- dflt : 0.8
183+ dflt : 0.8 ,
184+ description : 'Ambient light increases overall color visibility but can wash out the image.'
181185 } ,
182186 diffuse : {
183187 valType : 'number' ,
184188 role : 'style' ,
185189 min : 0.00 ,
186190 max : 1.00 ,
187- dflt : 0.8
191+ dflt : 0.8 ,
192+ description : 'Represents the extent that incident rays are reflected in a range of angles.'
188193 } ,
189194 specular : {
190195 valType : 'number' ,
191196 role : 'style' ,
192197 min : 0.00 ,
193198 max : 2.00 ,
194- dflt : 0.05
199+ dflt : 0.05 ,
200+ description : 'Represents the level that incident rays are reflected in a single direction, causing shine.'
195201 } ,
196202 roughness : {
197203 valType : 'number' ,
198204 role : 'style' ,
199205 min : 0.00 ,
200206 max : 1.00 ,
201- dflt : 0.5
207+ dflt : 0.5 ,
208+ description : 'Alters specular reflection; the rougher the surface, the wider and less contrasty the shine.'
202209 } ,
203210 fresnel : {
204211 valType : 'number' ,
205212 role : 'style' ,
206213 min : 0.00 ,
207214 max : 5.00 ,
208- dflt : 0.2
215+ dflt : 0.2 ,
216+ description : [
217+ 'Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective' ,
218+ 'when viewing it from the edge of the paper (almost 90 degrees), causing shine.'
219+ ] . join ( ' ' )
209220 } ,
210221 vertexnormalsepsilon : {
211222 valType : 'number' ,
212223 role : 'style' ,
213224 min : 0.00 ,
214225 max : 1 ,
215- dflt : 1e-12 // otherwise finely tessellated things eg. the brain will have no specular light reflection
226+ dflt : 1e-12 , // otherwise finely tessellated things eg. the brain will have no specular light reflection
227+ description : 'Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry.'
216228 } ,
217229 facenormalsepsilon : {
218230 valType : 'number' ,
219231 role : 'style' ,
220232 min : 0.00 ,
221233 max : 1 ,
222- dflt : 1e-6 // even the brain model doesn't appear to need finer than this
234+ dflt : 1e-6 , // even the brain model doesn't appear to need finer than this
235+ description : 'Epsilon for face normals calculation avoids math issues arising from degenerate geometry.'
223236 }
224237 } ,
225238
You can’t perform that action at this time.
0 commit comments