Interpolation Extension
Version 1 (Jan Schacher, 06/29/2010 11:58 am)
| 1 | 1 | h1. Interpolation Extension |
|
|---|---|---|---|
| 2 | 1 | ||
| 3 | 1 | Any parameter change in a scene description can either be discrete (jump to) or continuous/interpolated (smooth) |
|
| 4 | 1 | ||
| 5 | 1 | h3. interpolation flag |
|
| 6 | 1 | ||
| 7 | 1 | * interpolating on a parameter of an entity (source/sink/speaker) |
|
| 8 | 1 | ||
| 9 | 1 | <pre> |
|
| 10 | 1 | /spatdif/interpolate/source/1/position 1 |
|
| 11 | 1 | ||
| 12 | 1 | /spatdif/interpolate/source/*/position 0 |
|
| 13 | 1 | </pre> |
|
| 14 | 1 | ||
| 15 | 1 | ||
| 16 | 1 | * setting a target time (duration) or imply interpolation to the next occurrence of the parameter |
|
| 17 | 1 | ||
| 18 | 1 | <pre> |
|
| 19 | 1 | /spatdif/interpolate/source/1/time 2.5 |
|
| 20 | 1 | ||
| 21 | 1 | /spatdif/interpolate/source/1/time -1 |
|
| 22 | 1 | </pre> |
|
| 23 | 1 | ||
| 24 | 1 | ||
| 25 | 1 | * interpolation type |
|
| 26 | 1 | ||
| 27 | 1 | <pre> |
|
| 28 | 1 | /spatdif/interpolate/source/1/type linear |
|
| 29 | 1 | ||
| 30 | 1 | /spatdif/interpolate/source/1/type cubic |
|
| 31 | 1 | ||
| 32 | 1 | /spatdif/interpolate/source/1/type quadratic |
|
| 33 | 1 | ||
| 34 | 1 | ||
| 35 | 1 | </pre> |
|
| 36 | 1 | ||
| 37 | 1 | Q: tweening/easing? |
|
| 38 | 1 | ||
| 39 | 1 | ||
| 40 | 1 | ||
| 41 | 1 |