|
312 | 312 | }, |
313 | 313 | "CustomGlass": { |
314 | 314 | "curveGenerationError": "Curve generation error: f(x) > g(x) at x = {{x}}" |
| 315 | + }, |
| 316 | + "BaseCustomSurface": { |
| 317 | + "info": { |
| 318 | + "angles": "{{theta_0}} and {{theta_j}} are the angles of the incident and jth outgoing rays, respectively, in radians and relative to the normal direction.", |
| 319 | + "brightnesses": "{{P_0}} and {{P_j}} are the brightnesses of the incident and jth outgoing rays, respectively, in the same unit as the detector tool.", |
| 320 | + "previousFormulas": "A formula can refer to the result of previous formulas. If a formula gives an invalid value, that outgoing ray is ignored and its brightness is treated as 0.", |
| 321 | + "otherParams": "Other parameters of the incident rays that can be used are {{lambda}} (wavelength in nm) and {{p}} (0 for s-polarized, 1 for p-polarized). They remain the same for the outgoing rays.", |
| 322 | + "coating": "This object can act as a coating of glass objects by overlapping with their surfaces. In this case, the refraction itself also needs to be handled by the formulas of this object. The refractive indices of the material attached to the same and opposite sides of the incident ray can be referred to as {{n_0}} and {{n_1}}, respectively. If this object is inside a glass object, the values are relative to it.", |
| 323 | + "twoSides": "If you want the two sides of this surface to have different formulas, you can overlap two single-sided surfaces with opposite orientations.", |
| 324 | + "module": "To have custom parameters, complicated formulas, or a large number of outgoing rays, you can create a custom module. See Tools -> Other -> Import Modules -> Make custom modules for more information." |
| 325 | + }, |
| 326 | + "twoSided": "Two-sided", |
| 327 | + "addOutgoingRay": "Add outgoing ray", |
| 328 | + "removeOutgoingRay": "Remove outgoing ray" |
| 329 | + }, |
| 330 | + "CustomSurface": { |
| 331 | + "info": { |
| 332 | + "incidentPos": "The position of the incident point can be referred to as {{t}}, which interpolates linearly from -1 to 1 between the two endpoints of the line-segment." |
| 333 | + } |
| 334 | + }, |
| 335 | + "CustomArcSurface": { |
| 336 | + "info": { |
| 337 | + "incidentPos": "The position of the incident point can be referred to as {{t}}, which interpolates uniformly (with respect to angle) from -1 to 1 between the two endpoints of the arc." |
| 338 | + } |
315 | 339 | } |
316 | 340 | }, |
317 | 341 | "saveModal": { |
|
469 | 493 | "handleArrow": { |
470 | 494 | "title": "Handle arrow" |
471 | 495 | }, |
| 496 | + "customSurface": { |
| 497 | + "title": "Custom surface style" |
| 498 | + }, |
472 | 499 | "import": { |
473 | 500 | "title": "Import", |
474 | 501 | "description": "Import theme from a scene JSON file.", |
|
0 commit comments