This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| more_dts [2021/12/06 11:45] – [Data Validation] hneg | more_dts [2021/12/06 12:08] (current) – ["Importing" Parameters] hneg | ||
|---|---|---|---|
| Line 255: | Line 255: | ||
| <WRAP important> | <WRAP important> | ||
| ===== " | ===== " | ||
| + | As mentioned in the Export/ | ||
| + | |||
| + | Meaning that you can paste emitter parameters into the " | ||
| + | <WRAP important> | ||
| + | |||
| + | Obviously each parameter " | ||
| + | * parameters for [[https:// | ||
| + | * parameters for [[https:// | ||
| + | * parameters for [[https:// | ||
| + | * parameters for [[https:// | ||
| + | * parameter for [[https:// | ||
| + | |||
| + | And for lights | ||
| + | * parameters for [[https:// | ||
| + | * parameters for [[https:// | ||
| + | * parameters for [[https:// | ||
| + | * parameter for [[https:// | ||
| + | * parameter for [[https:// | ||
| + | * parameter for [[https:// | ||
| + | * parameter for [[https:// | ||
| + | * parameters for [[https:// | ||
| + | * parameter for [[https:// | ||
| + | * parameters for [[https:// | ||
| + | * parameters for [[https:// | ||
| + | |||
| + | This works the same for both particle and light emitters. Let’s say you have something like this in your script: | ||
| + | < | ||
| + | [" | ||
| + | "", | ||
| + | " | ||
| + | 1, | ||
| + | 0.5, | ||
| + | [0, 0, 0], | ||
| + | [0, 0, 0], | ||
| + | 1, | ||
| + | 1.23, | ||
| + | 1, | ||
| + | 0.2, | ||
| + | [0.6, 1.8, 2.5], | ||
| + | [[0.5, 0.5, 0.5, 0.14],[0.6, 0.6, 0.6, 0.06],[0.7, 0.7, 0.7, 0.02],[0.8, 0.8, 0.8, 0.006], | ||
| + | [5], | ||
| + | 0.1, | ||
| + | 0.1, | ||
| + | "", | ||
| + | "", | ||
| + | "", | ||
| + | 0, | ||
| + | false, | ||
| + | 0, | ||
| + | [[0, 0, 0, 0]] | ||
| + | ]; | ||
| + | |||
| + | _p setParticleRandom [ | ||
| + | 0.2, | ||
| + | [0.08, 0.08, 0.08], | ||
| + | [0.3, 0.3, 0.3], | ||
| + | 20, | ||
| + | 0.15, | ||
| + | [0, 0, 0, 0], | ||
| + | 0, | ||
| + | 0, | ||
| + | 1, | ||
| + | 0 | ||
| + | ]; | ||
| + | |||
| + | _p setDropInterval 0.0035;</ | ||
| + | |||
| + | To " | ||
| + | There is already data because the placed emitter by default has some parameters. So wipe those off first (press the **// | ||
| + | <WRAP important> | ||
| + | Then copy paste the parameters only, as in the value after the scripting command (array or number), on their respective fields on the tool and once done press the **//Paste Params//** button. The " | ||
| + | In case of this example the " | ||
| + | {{: | ||
| + | |||
| + | It’s exactly the same method for lights, with the only exception of the export/ | ||
| + | <WRAP important> | ||
| + | - Change setLightBrightness into setLightIntensity and multiply the value with 3000 (brightness x 3000 = intensity) | ||
| + | - just paste the brightness value into the Intensity field and hold down ``CTRL`` while pressing the **// | ||
| + | </ | ||