@3driseai/3drise-core 1.0.20 → 1.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/dist/autoAnimate/composer.d.ts +6 -0
  2. package/dist/autoAnimate/composer.d.ts.map +1 -1
  3. package/dist/autoAnimate/composer.js +4 -3
  4. package/dist/autoAnimate/describeScene.js +1 -1
  5. package/dist/catalog/catalogInfo.d.ts +22 -0
  6. package/dist/catalog/catalogInfo.d.ts.map +1 -0
  7. package/dist/catalog/catalogInfo.js +204 -0
  8. package/dist/catalog/index.d.ts +3 -0
  9. package/dist/catalog/index.d.ts.map +1 -0
  10. package/dist/catalog/index.js +2 -0
  11. package/dist/catalog/objectCatalog.d.ts +33 -0
  12. package/dist/catalog/objectCatalog.d.ts.map +1 -0
  13. package/dist/catalog/objectCatalog.js +99 -0
  14. package/dist/data/allMaterials.js +2 -2
  15. package/dist/data/environmentDefaults.d.ts +10 -0
  16. package/dist/data/environmentDefaults.d.ts.map +1 -0
  17. package/dist/data/environmentDefaults.js +126 -0
  18. package/dist/data/gridsDefaults.d.ts +2 -0
  19. package/dist/data/gridsDefaults.d.ts.map +1 -1
  20. package/dist/data/gridsDefaults.js +186 -0
  21. package/dist/data/index.d.ts +4 -0
  22. package/dist/data/index.d.ts.map +1 -1
  23. package/dist/data/index.js +4 -0
  24. package/dist/data/landDefaults.d.ts +26 -0
  25. package/dist/data/landDefaults.d.ts.map +1 -0
  26. package/dist/data/landDefaults.js +76 -0
  27. package/dist/data/spaceDefaults.d.ts +10 -0
  28. package/dist/data/spaceDefaults.d.ts.map +1 -0
  29. package/dist/data/spaceDefaults.js +46 -0
  30. package/dist/data/textDefaults.d.ts +16 -0
  31. package/dist/data/textDefaults.d.ts.map +1 -0
  32. package/dist/data/textDefaults.js +199 -0
  33. package/dist/environment/oceanConfigs.d.ts +5 -4
  34. package/dist/environment/oceanConfigs.d.ts.map +1 -1
  35. package/dist/environment/oceanConfigs.js +2 -2
  36. package/dist/environment/terrainConfigs.d.ts +78 -0
  37. package/dist/environment/terrainConfigs.d.ts.map +1 -1
  38. package/dist/environment/terrainConfigs.js +72 -2
  39. package/dist/index.d.ts +3 -1
  40. package/dist/index.d.ts.map +1 -1
  41. package/dist/index.js +3 -1
  42. package/dist/properties/registry.d.ts +10 -1
  43. package/dist/properties/registry.d.ts.map +1 -1
  44. package/dist/properties/registry.js +60 -9
  45. package/dist/properties/tables/environmentProperties.d.ts +9 -0
  46. package/dist/properties/tables/environmentProperties.d.ts.map +1 -0
  47. package/dist/properties/tables/environmentProperties.js +127 -0
  48. package/dist/properties/tables/gridProperties.d.ts.map +1 -1
  49. package/dist/properties/tables/gridProperties.js +184 -82
  50. package/dist/properties/tables/index.d.ts +4 -1
  51. package/dist/properties/tables/index.d.ts.map +1 -1
  52. package/dist/properties/tables/index.js +4 -1
  53. package/dist/properties/tables/landProperties.d.ts +5 -0
  54. package/dist/properties/tables/landProperties.d.ts.map +1 -0
  55. package/dist/properties/tables/landProperties.js +24 -0
  56. package/dist/properties/tables/lightProperties.js +1 -1
  57. package/dist/properties/tables/materialBounds.js +1 -1
  58. package/dist/properties/tables/optionalProperties.d.ts +1 -2
  59. package/dist/properties/tables/optionalProperties.d.ts.map +1 -1
  60. package/dist/properties/tables/optionalProperties.js +21 -0
  61. package/dist/properties/tables/spaceProperties.d.ts +8 -0
  62. package/dist/properties/tables/spaceProperties.d.ts.map +1 -0
  63. package/dist/properties/tables/spaceProperties.js +42 -0
  64. package/dist/properties/tables/textProperties.d.ts +4 -0
  65. package/dist/properties/tables/textProperties.d.ts.map +1 -0
  66. package/dist/properties/tables/textProperties.js +361 -0
  67. package/dist/properties/types.d.ts +1 -1
  68. package/dist/properties/types.d.ts.map +1 -1
  69. package/dist/services/MaterialRegistry.d.ts.map +1 -1
  70. package/dist/services/MaterialRegistry.js +2 -0
  71. package/dist/services/SkySystemManager.d.ts +22 -0
  72. package/dist/services/SkySystemManager.d.ts.map +1 -1
  73. package/dist/services/SkySystemManager.js +50 -18
  74. package/dist/services/TextureResolver.d.ts.map +1 -1
  75. package/dist/services/TextureResolver.js +22 -0
  76. package/dist/services/index.d.ts +1 -1
  77. package/dist/services/index.d.ts.map +1 -1
  78. package/dist/services/index.js +1 -1
  79. package/dist/shaders/ApollonianGridMaterial.d.ts +70 -0
  80. package/dist/shaders/ApollonianGridMaterial.d.ts.map +1 -0
  81. package/dist/shaders/ApollonianGridMaterial.js +289 -0
  82. package/dist/shaders/ConformalGridMaterial.d.ts +91 -0
  83. package/dist/shaders/ConformalGridMaterial.d.ts.map +1 -0
  84. package/dist/shaders/ConformalGridMaterial.js +335 -0
  85. package/dist/shaders/HilbertGridMaterial.d.ts +79 -0
  86. package/dist/shaders/HilbertGridMaterial.d.ts.map +1 -0
  87. package/dist/shaders/HilbertGridMaterial.js +329 -0
  88. package/dist/shaders/LensingGridMaterial.d.ts +73 -0
  89. package/dist/shaders/LensingGridMaterial.d.ts.map +1 -0
  90. package/dist/shaders/LensingGridMaterial.js +253 -0
  91. package/dist/shaders/ParastichyGridMaterial.d.ts +76 -0
  92. package/dist/shaders/ParastichyGridMaterial.d.ts.map +1 -0
  93. package/dist/shaders/ParastichyGridMaterial.js +282 -0
  94. package/dist/shaders/PhyllotaxisGridMaterial.d.ts +85 -0
  95. package/dist/shaders/PhyllotaxisGridMaterial.d.ts.map +1 -0
  96. package/dist/shaders/PhyllotaxisGridMaterial.js +532 -0
  97. package/dist/shaders/SkyboxMaterial.js +3 -3
  98. package/dist/shaders/StarsMaterial.d.ts +5 -0
  99. package/dist/shaders/StarsMaterial.d.ts.map +1 -1
  100. package/dist/shaders/StarsMaterial.js +59 -57
  101. package/dist/shaders/TruchetGridMaterial.d.ts +76 -0
  102. package/dist/shaders/TruchetGridMaterial.d.ts.map +1 -0
  103. package/dist/shaders/TruchetGridMaterial.js +290 -0
  104. package/dist/shaders/index.d.ts +7 -0
  105. package/dist/shaders/index.d.ts.map +1 -1
  106. package/dist/shaders/index.js +7 -0
  107. package/dist/types/actions.d.ts +6 -5
  108. package/dist/types/actions.d.ts.map +1 -1
  109. package/dist/types/commands.d.ts +61 -0
  110. package/dist/types/commands.d.ts.map +1 -0
  111. package/dist/types/commands.js +1 -0
  112. package/dist/types/environment.d.ts +34 -1
  113. package/dist/types/environment.d.ts.map +1 -1
  114. package/dist/types/environment.js +15 -0
  115. package/dist/types/environmentObjects.d.ts +152 -0
  116. package/dist/types/environmentObjects.d.ts.map +1 -0
  117. package/dist/types/environmentObjects.js +10 -0
  118. package/dist/types/index.d.ts +5 -1
  119. package/dist/types/index.d.ts.map +1 -1
  120. package/dist/types/landObjects.d.ts +15 -0
  121. package/dist/types/landObjects.d.ts.map +1 -0
  122. package/dist/types/landObjects.js +1 -0
  123. package/dist/types/objectSettings.d.ts +187 -16
  124. package/dist/types/objectSettings.d.ts.map +1 -1
  125. package/dist/types/objectsConfigs.d.ts +0 -3
  126. package/dist/types/objectsConfigs.d.ts.map +1 -1
  127. package/dist/types/scene3d.d.ts +8 -5
  128. package/dist/types/scene3d.d.ts.map +1 -1
  129. package/dist/types/spaceObjects.d.ts +65 -0
  130. package/dist/types/spaceObjects.d.ts.map +1 -0
  131. package/dist/types/spaceObjects.js +11 -0
  132. package/dist/types/textObjects.d.ts +352 -0
  133. package/dist/types/textObjects.d.ts.map +1 -0
  134. package/dist/types/textObjects.js +14 -0
  135. package/dist/types/types.d.ts +3 -6
  136. package/dist/types/types.d.ts.map +1 -1
  137. package/dist/types/users.d.ts +3 -1
  138. package/dist/types/users.d.ts.map +1 -1
  139. package/dist/types/users.js +2 -0
  140. package/dist/ui/index.d.ts +5 -0
  141. package/dist/ui/index.d.ts.map +1 -0
  142. package/dist/ui/index.js +4 -0
  143. package/dist/ui/uiBindings.d.ts +45 -0
  144. package/dist/ui/uiBindings.d.ts.map +1 -0
  145. package/dist/ui/uiBindings.js +172 -0
  146. package/dist/ui/uiKeys.d.ts +14 -0
  147. package/dist/ui/uiKeys.d.ts.map +1 -0
  148. package/dist/ui/uiKeys.js +22 -0
  149. package/dist/ui/uiSanitize.d.ts +18 -0
  150. package/dist/ui/uiSanitize.d.ts.map +1 -0
  151. package/dist/ui/uiSanitize.js +251 -0
  152. package/dist/ui/uiSpec.d.ts +116 -0
  153. package/dist/ui/uiSpec.d.ts.map +1 -0
  154. package/dist/ui/uiSpec.js +173 -0
  155. package/dist/utils/environmentMigration.d.ts +3 -0
  156. package/dist/utils/environmentMigration.d.ts.map +1 -0
  157. package/dist/utils/environmentMigration.js +50 -0
  158. package/dist/utils/generativeAnimatable.d.ts +1 -1
  159. package/dist/utils/generativeAnimatable.d.ts.map +1 -1
  160. package/dist/utils/generativeAnimatable.js +12 -0
  161. package/dist/utils/getAnimatableProperties.d.ts +1 -1
  162. package/dist/utils/getAnimatableProperties.d.ts.map +1 -1
  163. package/dist/utils/getAnimatableProperties.js +1 -1
  164. package/dist/utils/gridMigration.d.ts +3 -0
  165. package/dist/utils/gridMigration.d.ts.map +1 -0
  166. package/dist/utils/gridMigration.js +34 -0
  167. package/dist/utils/index.d.ts +5 -0
  168. package/dist/utils/index.d.ts.map +1 -1
  169. package/dist/utils/index.js +5 -0
  170. package/dist/utils/objectEffects.d.ts +24 -2
  171. package/dist/utils/objectEffects.d.ts.map +1 -1
  172. package/dist/utils/objectEffects.js +29 -2
  173. package/dist/utils/objectMigration.d.ts +9 -0
  174. package/dist/utils/objectMigration.d.ts.map +1 -0
  175. package/dist/utils/objectMigration.js +12 -0
  176. package/dist/utils/skyPhase.d.ts +61 -0
  177. package/dist/utils/skyPhase.d.ts.map +1 -0
  178. package/dist/utils/skyPhase.js +93 -0
  179. package/dist/utils/spaceMigration.d.ts +3 -0
  180. package/dist/utils/spaceMigration.d.ts.map +1 -0
  181. package/dist/utils/spaceMigration.js +46 -0
  182. package/dist/utils/sunUtils.d.ts +26 -1
  183. package/dist/utils/sunUtils.d.ts.map +1 -1
  184. package/dist/utils/sunUtils.js +37 -6
  185. package/package.json +1 -1
@@ -2,7 +2,14 @@ import type { MaterialSettings } from "./materials";
2
2
  import type { CustomHandlers } from "./handlerSettings";
3
3
  import type { GridSettings } from "./scene3d";
4
4
  import type { MouseMoveInteraction, MouseMoveInteractions, ObjectAnimations } from "./objectSettings";
5
+ /** Scene id of the sky. It is the sky mesh's id too, so findById('3drise-sky')
6
+ * reaches the mesh, its uniforms and the live handle the controllers drive. */
7
+ export declare const SKY_ID = "3drise-sky";
5
8
  export interface SkySettings {
9
+ /** Always SKY_ID. Optional so an older save (which has none) still types. */
10
+ id?: string;
11
+ /** Discriminator the animation / mouse-move panels and the registry key off. */
12
+ type?: 'sky';
6
13
  visible: boolean;
7
14
  turbidity: number;
8
15
  rayleigh: number;
@@ -10,9 +17,35 @@ export interface SkySettings {
10
17
  mieDirectionalG: number;
11
18
  elevation: number;
12
19
  azimuth: number;
13
- handlers?: CustomHandlers;
20
+ /** Per-domain keyframes; the `sky` domain drives the six Preetham / sun knobs. */
21
+ animations?: ObjectAnimations;
22
+ /** Per-domain pointer bindings; same `sky` domain. */
23
+ mouseMove?: MouseMoveInteractions;
14
24
  sunSystem: any;
25
+ /** Built-in night sky (SkyStars). Absent = on. */
26
+ stars?: SkyStarsSettings;
27
+ }
28
+ /** The built-in night sky (viewer SkyStars). Every field optional: an older save
29
+ * fills in from SKY_STARS_DEFAULTS (normalizeSkyStars). */
30
+ export interface SkyStarsSettings {
31
+ visible?: boolean;
32
+ /** Multiplier on star brightness, default 1. */
33
+ brightness?: number;
34
+ /** Number of stars (structural: rebuilds the dome). */
35
+ count?: number;
36
+ /** Point size multiplier. */
37
+ size?: number;
38
+ /** Twinkle depth, 0 = steady. */
39
+ twinkle?: number;
40
+ /** Fraction of the stars gathered into a Milky Way band, 0 = none (structural). */
41
+ milkyWay?: number;
42
+ /** Colour spread: 0 = all white, 1 = full blue / orange temperature range. */
43
+ warmth?: number;
15
44
  }
45
+ export declare const SKY_STARS_DEFAULTS: Required<SkyStarsSettings>;
46
+ /** Merge a saved stars block over the defaults — absent block = default stars (they
47
+ * were always on before the block existed). */
48
+ export declare const normalizeSkyStars: (stars?: SkyStarsSettings | null) => Required<SkyStarsSettings>;
16
49
  export interface MoonSettings {
17
50
  visible: boolean;
18
51
  position: [number, number, number];
@@ -1 +1 @@
1
- {"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../src/types/environment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,KAAK,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACtG,MAAM,WAAW,WAAW;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,SAAS,EAAE,GAAG,CAAC;CAClB;AAED,MAAM,WAAW,YAAY;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,MAAM,WAAW,GAAG;IACtB,SAAS,CAAC,EAAE,CAAC,MAAM,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,QAAQ,GAAG,KAAK,GAAG,OAAO,CAAC;AAEvE,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,WAAW,CAAC;AAEvI,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG,YAAY,GAAG,cAAc,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAG5L,eAAO,MAAM,mBAAmB,EAAE,YASjC,CAAC"}
@@ -1,3 +1,18 @@
1
+ /** Scene id of the sky. It is the sky mesh's id too, so findById('3drise-sky')
2
+ * reaches the mesh, its uniforms and the live handle the controllers drive. */
3
+ export const SKY_ID = '3drise-sky';
4
+ export const SKY_STARS_DEFAULTS = {
5
+ visible: true,
6
+ brightness: 1,
7
+ count: 4000,
8
+ size: 1,
9
+ twinkle: 0.5,
10
+ milkyWay: 0,
11
+ warmth: 0.5,
12
+ };
13
+ /** Merge a saved stars block over the defaults — absent block = default stars (they
14
+ * were always on before the block existed). */
15
+ export const normalizeSkyStars = (stars) => ({ ...SKY_STARS_DEFAULTS, ...(stars ?? {}) });
1
16
  export const defaultMoonSettings = {
2
17
  visible: true,
3
18
  position: [0, 5, 0],
@@ -0,0 +1,152 @@
1
+ export type EnvironmentObjectType = 'snow' | 'sandstorm' | 'rainbow' | 'tornado' | 'thunderstorm' | 'rain';
2
+ export type EnvironmentQuality = 'low' | 'medium' | 'high';
3
+ export interface BaseEnvironmentObjectConfig {
4
+ enabled: boolean;
5
+ intensity: number;
6
+ /** Time scale of the whole phenomenon (integrated, so animating it never jumps). */
7
+ speed: number;
8
+ color: string;
9
+ opacity: number;
10
+ /** How much of it there is (structural: rebuilds). */
11
+ density: number;
12
+ /** Detail level, scales counts and volume samples (structural). */
13
+ quality: EnvironmentQuality;
14
+ /** Random layout (structural). */
15
+ seed: number;
16
+ /** Wrap the volume around the camera instead of the object's box (in the shader; the object never moves). */
17
+ followCamera?: boolean;
18
+ /** Mean wind, 0..1 (Rain's range; 1 = 8 m/s). */
19
+ windStrength?: number;
20
+ /** Compass direction the wind blows toward, degrees. */
21
+ windDirection?: number;
22
+ /** Eddies on top of the wind, 0..1. */
23
+ turbulence?: number;
24
+ /** What the cursor is; 'none' = off. */
25
+ pointerMode: string;
26
+ pointerStrength: number;
27
+ pointerRadius: number;
28
+ pointerColor: string;
29
+ /** Shade / storm-light colour. */
30
+ shadeColor: string;
31
+ }
32
+ export interface SnowEnvironmentConfig extends BaseEnvironmentObjectConfig {
33
+ pointerMode: 'none' | 'gust' | 'shelter' | 'warmth';
34
+ /** Mean flake diameter; bigger flakes fall faster (0.01..0.12 m). */
35
+ flakeSize: number;
36
+ /** Side-to-side spiral of the falling flakes (0..1). */
37
+ flutter: number;
38
+ /** How much the crystals rock and flip as they fall (0..1). */
39
+ tumble: number;
40
+ /** Sparkle of sunlight off the tumbling crystals (0..2). */
41
+ glint: number;
42
+ /** Strength of the gust waves that sweep downwind (0..1). */
43
+ gustiness: number;
44
+ /** How strongly the gusts gather the snow into sweeping curtains (0..1). */
45
+ bands: number;
46
+ /** Sky-lit shade on the side away from the sun. */
47
+ shadeColor: string;
48
+ }
49
+ export interface SandstormEnvironmentConfig extends BaseEnvironmentObjectConfig {
50
+ pointerMode: 'none' | 'windbreak' | 'devil' | 'gust';
51
+ /** Scale height of the dust, as a share of the volume height (0.05..1). */
52
+ height: number;
53
+ /** Strength of the gust fronts: towering walls of dust rolling downwind (0..1). */
54
+ walls: number;
55
+ /** Fine dust hanging everywhere between the walls (0..1). */
56
+ haze: number;
57
+ /** Sand grains hopping along the ground (0..2). */
58
+ grains: number;
59
+ /** Size and hop length of the grains (0.3..3). */
60
+ grainSize: number;
61
+ /** Sky-lit colour of the dust in shadow. */
62
+ shadeColor: string;
63
+ }
64
+ /** A single rainbow on its own, seen through the object's volume. Its own small knob set: no weather around it (the shower is the mist object). */
65
+ export interface RainbowEnvironmentConfig {
66
+ enabled: boolean;
67
+ pointerMode: 'none' | 'spray' | 'clear' | 'polarizer';
68
+ /** Brightness of the bow (0..2). */
69
+ intensity: number;
70
+ /** Overall opacity (0..1). */
71
+ opacity: number;
72
+ /** Raindrop diameter: big drops give a narrow, vivid bow; small ones pale fringes inside it; fog drops a white fogbow (0.03..3 mm). */
73
+ dropSize: number;
74
+ /** Strength of the secondary bow outside the primary (reversed colours, ~51°); 0 = a single rainbow (0..1). */
75
+ secondary: number;
76
+ /** Tint of the bow (white = the pure spectrum). */
77
+ color: string;
78
+ /** Brightness of the sprayed stretch, depth of the clearing, strength of the filter (0..3). */
79
+ pointerStrength: number;
80
+ /** Reach of the spray or clearing (1 = 6 m) (0.2..3). */
81
+ pointerRadius: number;
82
+ /** Tint of the bow in the sprayed mist. */
83
+ pointerColor: string;
84
+ }
85
+ export interface TornadoEnvironmentConfig extends BaseEnvironmentObjectConfig {
86
+ pointerMode: 'none' | 'steer' | 'feed' | 'gust';
87
+ /** Spin rate of the vortex (0..3). */
88
+ rotation: number;
89
+ /** Radius of the core, and so the width of the funnel (0.3..3). */
90
+ coreRadius: number;
91
+ /** How far down the condensation funnel reaches (1 = touchdown) (0..1). */
92
+ reach: number;
93
+ /** How much the axis wanders and bends like a rope (0..1). */
94
+ wander: number;
95
+ /** Updraft: how fast the streaks and dust climb (0..3). */
96
+ lift: number;
97
+ /** Ground dust drawn in and swirled up around the funnel (0..2). */
98
+ dust: number;
99
+ /** How far out the dust swirls (0.2..3). */
100
+ dustSpread: number;
101
+ /** Storm-light colour in shadow. */
102
+ shadeColor: string;
103
+ /** Colour of the swirling dust. */
104
+ dustColor: string;
105
+ }
106
+ export interface ThunderstormEnvironmentConfig extends BaseEnvironmentObjectConfig {
107
+ pointerMode: 'none' | 'strike' | 'clear';
108
+ /** Visibility of the dark storm curtains (0..1). */
109
+ shafts: number;
110
+ /** Lightning flashes per minute (random intervals) (0..30). */
111
+ flashRate: number;
112
+ /** Brightness of a flash, on the curtains and on the scene (0..3). */
113
+ flashIntensity: number;
114
+ /** Storm-dark tint of the curtains. */
115
+ shadeColor: string;
116
+ /** Colour of the lightning. */
117
+ flashColor: string;
118
+ }
119
+ /** Rain: streaks falling through the object's volume at a steady rate, carried by the wind and scattered by turbulence. Its own small knob set (no pointer modes, quality or seed). */
120
+ export interface RainEnvironmentConfig {
121
+ enabled: boolean;
122
+ /** Colour of the drops. */
123
+ color: string;
124
+ /** Streak size (0.01..1). */
125
+ size: number;
126
+ /** Opacity of the drops (0..1). */
127
+ opacity: number;
128
+ /** Fall speed multiplier (0.1..5; 1 = 60 m/s across the volume's own metres). */
129
+ speed: number;
130
+ /** Drops in the volume, in hundreds (1..200; rebuilds). */
131
+ density: number;
132
+ /** Sideways push of the wind (0..1). */
133
+ windStrength: number;
134
+ /** Compass direction the wind blows toward (0..360°). */
135
+ windDirection: number;
136
+ /** Random sway of the drops (0..1). */
137
+ turbulence: number;
138
+ }
139
+ export type EnvironmentObjectConfig = ({
140
+ type: 'snow';
141
+ } & SnowEnvironmentConfig) | ({
142
+ type: 'sandstorm';
143
+ } & SandstormEnvironmentConfig) | ({
144
+ type: 'rainbow';
145
+ } & RainbowEnvironmentConfig) | ({
146
+ type: 'tornado';
147
+ } & TornadoEnvironmentConfig) | ({
148
+ type: 'thunderstorm';
149
+ } & ThunderstormEnvironmentConfig) | ({
150
+ type: 'rain';
151
+ } & RainEnvironmentConfig);
152
+ //# sourceMappingURL=environmentObjects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environmentObjects.d.ts","sourceRoot":"","sources":["../../src/types/environmentObjects.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,cAAc,GAAG,MAAM,CAAC;AAE3G,MAAM,MAAM,kBAAkB,GAAG,KAAK,G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CAAC,GAC1D,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,qBAAqB,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ // =============================================================================
2
+ // ENVIRONMENT OBJECTS — world-scale weather / atmosphere that fills a volume
3
+ // =============================================================================
4
+ //
5
+ // Object type 'environment'; config.type picks the variant. The volume is the
6
+ // object's transform: x / z span the scale, y rises from the object's origin
7
+ // (the ground) to scale.y. Knobs describe the weather, never the box.
8
+ // Generated from Claude outputs/environment-lab (gen_family.mjs).
9
+ //
10
+ export {};
@@ -3,6 +3,10 @@ export type * from './effects';
3
3
  export type * from './gallery';
4
4
  export type * from './generativeEffects';
5
5
  export type * from './generativeParticles';
6
+ export type * from './environmentObjects';
7
+ export type * from './spaceObjects';
8
+ export type * from './landObjects';
9
+ export type * from './textObjects';
6
10
  export type * from './handlerSettings';
7
11
  export type * from './lights';
8
12
  export type * from './materials';
@@ -12,13 +16,13 @@ export type * from './particles';
12
16
  export type * from './scene3d';
13
17
  export type * from './text';
14
18
  export type * from './actions';
19
+ export type * from './commands';
15
20
  export type * from './cursor';
16
21
  export type * from './shaderEffects';
17
22
  export type * from './environment';
18
23
  export type * from './objectManager';
19
24
  export type * from './postprocessing';
20
25
  export type * from './types';
21
- export type * from './uiController';
22
26
  export type * from './users';
23
27
  export type * from './objectsConfigs';
24
28
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,cAAc,CAAC;AAElC,mBAAmB,WAAW,CAAC;AAE/B,mBAAmB,WAAW,CAAC;AAE/B,mBAAmB,qBAAqB,CAAC;AAEzC,mBAAmB,uBAAuB,CAAC;AAE3C,mBAAmB,mBAAmB,CAAC;AAEvC,mBAAmB,UAAU,CAAC;AAE9B,mBAAmB,aAAa,CAAC;AAEjC,mBAAmB,QAAQ,CAAC;AAE5B,mBAAmB,kBAAkB,CAAC;AAEtC,mBAAmB,aA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CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { TerrainConfig, TerrainType } from '../environment/terrainConfigs';
2
+ export type LandObjectType = TerrainType;
3
+ export type LandQuality = 'low' | 'medium' | 'high';
4
+ export type LandObjectConfig = Omit<TerrainConfig, 'type' | 'terrainType' | 'seaLevel' | 'preset'> & {
5
+ /** The landform. Picking a shape of another landform switches it. */
6
+ type: LandObjectType;
7
+ /** Which piece of the endless field this patch shows (structural). */
8
+ seed: number;
9
+ /** How far in from the border the land eases down to its base, as a fraction
10
+ * of the shorter side. 0 ends in a cliff. */
11
+ edgeFade: number;
12
+ /** Grid resolution: low 128, medium 256, high 384 cells a side (structural). */
13
+ quality: LandQuality;
14
+ };
15
+ //# sourceMappingURL=landObjects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"landObjects.d.ts","sourceRoot":"","sources":["../../src/types/landObjects.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAEhF,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC;AAEzC,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEpD,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,aAAa,EAAE,MAAM,GAAG,aAAa,GAAG,UAAU,GAAG,QAAQ,CAAC,GAAG;IACjG,qEAAqE;IACrE,IAAI,EAAE,cAAc,CAAC;IACrB,sEAAsE;IACtE,IAAI,EAAE,MAAM,CAAC;IACb;kDAC8C;IAC9C,QAAQ,EAAE,MAAM,CAAC;IACjB,gFAAgF;IAChF,OAAO,EAAE,WAAW,CAAC;CACxB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,5 @@
1
1
  import type { AnimationOptions, Vector3 } from "./scene3d";
2
+ import type { SceneCommand } from "./commands";
2
3
  import type { MaterialSettings } from "./materials";
3
4
  import type { ShaderEffect } from "./shaderEffects";
4
5
  import type { ColorEffectType, EffectTriggerMode, TransformEffectType } from "./effects";
@@ -71,6 +72,34 @@ export interface GridConfigEffects {
71
72
  /** Keyframe animations for a grid object's config properties (type 'grid'). */
72
73
  animations?: AnimationOptions[];
73
74
  }
75
+ /** Keyframe animations for the sky's Preetham / sun knobs (SkySettings, root level). */
76
+ export interface SkyEffects {
77
+ animations?: AnimationOptions[];
78
+ }
79
+ /** Keyframe animations for the water's own config knobs (OceanWaterSettings.config). */
80
+ export interface OceanEffects {
81
+ animations?: AnimationOptions[];
82
+ }
83
+ /** Keyframe animations for the terrain surface's lighting / colour knobs (ProceduralTerrainSettings.config). */
84
+ export interface TerrainEffects {
85
+ animations?: AnimationOptions[];
86
+ }
87
+ /** Keyframe animations for an environment object's config knobs (type 'environment': snow…). */
88
+ export interface EnvironmentObjectEffects {
89
+ animations?: AnimationOptions[];
90
+ }
91
+ /** Keyframe animations for a land object's surface knobs (type 'land'). */
92
+ export interface LandObjectEffects {
93
+ animations?: AnimationOptions[];
94
+ }
95
+ /** Keyframe animations for a space object's config knobs (type 'space': stars, earth, solarSystem, shootingStars). */
96
+ export interface SpaceObjectEffects {
97
+ animations?: AnimationOptions[];
98
+ }
99
+ /** Keyframe animations for a text look's config knobs (type 'text', config.type set: handwriting, neonTube, fourierSketch). */
100
+ export interface TextObjectEffects {
101
+ animations?: AnimationOptions[];
102
+ }
74
103
  export interface RainEffects {
75
104
  /** Keyframe animations for rain config properties */
76
105
  animations?: AnimationOptions[];
@@ -95,6 +124,20 @@ export interface ObjectAnimations {
95
124
  effect?: EffectConfigEffects;
96
125
  /** Grid domain: a grid object's own config knobs (type 'grid'). */
97
126
  grid?: GridConfigEffects;
127
+ /** Environment domain: a weather object's own config knobs (type 'environment': snow…). */
128
+ environment?: EnvironmentObjectEffects;
129
+ /** Space domain: a space object's own config knobs (type 'space': stars, earth…). */
130
+ space?: SpaceObjectEffects;
131
+ /** Land domain: a land object's surface knobs (type 'land': mountains, hills, dunes, canyon). */
132
+ land?: LandObjectEffects;
133
+ /** Text domain: an animated text look's own config knobs (type 'text', config.type set). */
134
+ text?: TextObjectEffects;
135
+ /** Sky domain: the sky's turbidity / rayleigh / mie / elevation / azimuth. */
136
+ sky?: SkyEffects;
137
+ /** Ocean domain: the water's config knobs (OceanWaterSettings). */
138
+ ocean?: OceanEffects;
139
+ /** Terrain domain: the surface's lighting and colour knobs. */
140
+ terrain?: TerrainEffects;
98
141
  }
99
142
  export interface PropertyMutation {
100
143
  /** Property path: 'position' | 'rotation' | 'scale' | 'material.color' | ... */
@@ -118,13 +161,14 @@ export type InteractionTrigger = 'click' | 'mouseEnter' | 'mouseLeave';
118
161
  * An operation's name. The built-ins are listed; the viewer's operations registry
119
162
  * (packages/viewer/src/operations) is the source of truth and can grow.
120
163
  */
121
- export type OperationName = 'jelly' | 'flip' | 'spin' | 'swirl' | 'moveToFront' | 'glow' | 'rimLight' | 'dissolve' | 'emberAsh' | 'particleSwarm' | 'hologram' | 'shatter' | 'sandErosion' | 'teleport' | 'inkBloom' | 'flock' | 'metalize' | 'liquidMetal' | 'frost' | 'heatCracks' | 'petrify' | 'portal' | 'voxelize' | 'unweave' | 'petalPeel' | 'fade' | 'visibility' | 'displayImage' | 'zoom' | 'frame' | 'focus' | 'orbit' | (string & {});
164
+ export type OperationName = 'jelly' | 'flip' | 'spin' | 'swirl' | 'moveToFront' | 'float' | 'sway' | 'bounce' | 'wobble' | 'pulse' | 'shake' | 'rotate' | 'grow' | 'glow' | 'rimLight' | 'dissolve' | 'emberAsh' | 'particleSwarm' | 'hologram' | 'shatter' | 'sandErosion' | 'teleport' | 'inkBloom' | 'flock' | 'metalize' | 'liquidMetal' | 'frost' | 'heatCracks' | 'petrify' | 'portal' | 'voxelize' | 'unweave' | 'petalPeel' | 'fade' | 'visibility' | 'displayImage' | 'zoom' | 'frame' | 'focus' | 'orbit' | (string & {});
122
165
  /**
123
166
  * What an operation acts on. An interaction holds at most one effect per channel,
124
167
  * so effects in one card never fight over the same thing.
125
168
  * transform the object's own position / rotation / scale
126
169
  * visual how the object is drawn (material, shader, visibility) — never its transform
127
170
  * camera the camera (zoom, look at)
171
+ * effects the object's own effects (its Effects tab): play / stop / toggle them
128
172
  */
129
173
  export type OperationChannel = 'transform' | 'visual' | 'camera';
130
174
  /** A value of an operation parameter (duration, distance, colour…). */
@@ -144,6 +188,13 @@ export interface OperationEffect {
144
188
  meshNames?: Record<string, string[]>;
145
189
  /** Overrides of the operation's parameter defaults. */
146
190
  params?: Record<string, OperationParamValue>;
191
+ /**
192
+ * Reverse / loop / yoyo, for operations that can also be object effects (the object's effects
193
+ * controller runs them). Autoplay and visible do not apply to a triggered effect.
194
+ */
195
+ playback?: EffectPlayback;
196
+ /** Targeting a group: a physical effect moves the whole group ('group', default) or each child on its own spot ('each'). Visual effects on a group always go to each child. */
197
+ scope?: 'group' | 'each';
147
198
  }
148
199
  /**
149
200
  * An effect that stays on the object (`CreatedObject.effects`) — the same
@@ -154,37 +205,143 @@ export interface OperationEffect {
154
205
  * (the viewer's definitions list 'object' in `usableIn`). Always on the object
155
206
  * itself — no targets, no channel.
156
207
  */
208
+ /**
209
+ * How an effect plays. All optional; with none set it plays in once and holds.
210
+ * autoplay plays when the scene starts / the effect is switched on (default true).
211
+ * Off: it waits at its start until something plays it.
212
+ * reverse starts at its end and plays back to the original
213
+ * loop when a pass ends, jumps back to its start and plays again
214
+ * yoyo plays there and back (once, or over and over with loop)
215
+ */
216
+ export interface EffectPlayback {
217
+ autoplay?: boolean;
218
+ reverse?: boolean;
219
+ loop?: boolean;
220
+ yoyo?: boolean;
221
+ }
157
222
  export interface ObjectEffect {
158
223
  id: string;
159
224
  operation: OperationName;
160
225
  enabled: boolean;
226
+ /** Autoplay / reverse / loop / yoyo — see EffectPlayback. */
227
+ playback?: EffectPlayback;
161
228
  /** Narrows a model to named nodes. */
162
229
  meshNames?: string[];
163
230
  /** Overrides of the operation's parameter defaults. */
164
231
  params?: Record<string, OperationParamValue>;
232
+ /**
233
+ * On a group, a physical effect moves the whole group as one piece ('group', the default) or
234
+ * every child on its own spot ('each', staggered by the clip's `spread`). Visual effects on a
235
+ * group always go to each child.
236
+ */
237
+ scope?: 'group' | 'each';
165
238
  }
166
- export type InteractionAnimationCommand = 'play' | 'pause' | 'stop' | 'toggle';
167
- export interface InteractionAnimation {
239
+ /**
240
+ * How a group's effects reach its children one after another (see claude/group-effects-plan.md).
241
+ * Defaults: core `DEFAULT_EFFECT_SPREAD`.
242
+ */
243
+ export interface EffectSpread {
244
+ /** Who goes first: scene-tree order, along an axis of the group, centre → out, or random (seeded by the group). */
245
+ order?: 'tree' | 'x' | 'y' | 'z' | 'radial' | 'random';
246
+ /** Seconds from the first child to the last (a fixed total, whatever the number of children). 0 = together. */
247
+ total?: number;
248
+ /** Going off: last in, first out ('reverse'), or the same order. */
249
+ out?: 'reverse' | 'same';
250
+ }
251
+ /**
252
+ * Effects that take turns on an object. The object's own `effects` run the whole time; on top
253
+ * of them one step is on at a time. A step holds effects that go together and owns the timing.
254
+ */
255
+ export interface EffectStep {
168
256
  id: string;
169
- kind: 'clip' | 'sequence';
170
- /** Clip or sequence id. */
171
- ref: string;
172
- command: InteractionAnimationCommand;
257
+ /** Effects that go together (one take-over at most). Their own playback is not used: looks play in and hold, motions run while the step is on. */
258
+ effects: ObjectEffect[];
259
+ /** Seconds the step's looks take to play in — and out, when the step ends. Default 1. */
260
+ in?: number;
261
+ /** Seconds the step stays once its looks are on. Default 1. */
262
+ hold?: number;
263
+ /**
264
+ * How the step ends. Default: directly — the next step's take-over sweeps over this one,
265
+ * the plain object never shows. True: this step plays out first, back to the object, and
266
+ * only then does the next step start.
267
+ */
268
+ playOut?: boolean;
173
269
  }
174
- /** toggle: apply, then revert, … */
175
- export type InteractionActionCommand = 'apply' | 'revert' | 'toggle';
176
- export interface InteractionAction {
270
+ export interface EffectSteps {
271
+ steps: EffectStep[];
272
+ /** After the last step, start again from the first. Off: it stays on the last step. */
273
+ loop?: boolean;
274
+ /** Through the steps there and back. */
275
+ yoyo?: boolean;
276
+ }
277
+ /**
278
+ * What an object's Effects tab holds — the object's own effect clip, stored as one value in
279
+ * `CreatedObject.effects`: Base effects (on the whole time), steps that take turns, the model
280
+ * parts they apply to, and the saved template it came from. Same shape as a template (EffectClip)
281
+ * plus what only an object has (parts, source). Read it with core `objectEffectClipOf`.
282
+ */
283
+ export interface ObjectEffectClip {
284
+ /** Base: on the whole time. */
285
+ effects: ObjectEffect[];
286
+ /** Effects that take turns on top of the Base ones. */
287
+ steps?: EffectStep[];
288
+ loop?: boolean;
289
+ yoyo?: boolean;
290
+ /**
291
+ * The effects (Base and steps) follow the object's visibility: shown → they play in (the steps
292
+ * from the first), hidden → they play out first and then the object goes. Off: hiding cuts them.
293
+ */
294
+ visible?: boolean;
295
+ /** Groups: how the effects reach the children one after another. */
296
+ spread?: EffectSpread;
297
+ /** Model parts (node names) the effects apply to; none = the whole object. */
298
+ parts?: string[];
299
+ /** The saved effect clip (template) these effects were copied from / saved to. */
300
+ source?: {
301
+ id: string;
302
+ };
303
+ }
304
+ /**
305
+ * A saved effect clip — a TEMPLATE: always-on effects and steps, with no target inside.
306
+ * What an object's Effects tab holds is that object's own clip (ObjectEffectClip);
307
+ * importing a template copies it into the object. Interactions and actions point at a
308
+ * template by id and apply it to their targets (EffectClipUse).
309
+ */
310
+ export interface EffectClip {
177
311
  id: string;
178
- /** Action sequence id. */
179
- ref: string;
180
- command: InteractionActionCommand;
312
+ name: string;
313
+ effects: ObjectEffect[];
314
+ steps?: EffectStep[];
315
+ loop?: boolean;
316
+ yoyo?: boolean;
317
+ /** Imported into an object, its effects follow the object's visibility (applied by a command: not used). */
318
+ visible?: boolean;
319
+ /** Imported into a group: how its effects reach the children. */
320
+ spread?: EffectSpread;
321
+ /** Preview image (the asset's url), when one was taken. */
322
+ previewUrl?: string;
323
+ /** The asset's owner and privacy (only a private clip of your own is updated in place). */
324
+ creatorId?: string;
325
+ privacy?: string;
181
326
  }
327
+ /** A template applied to targets: by an action (applied / reverted with it) or an interaction. */
328
+ export interface EffectClipUse {
329
+ id: string;
330
+ /** EffectClip id. */
331
+ clip: string;
332
+ /** Scene object ids; interactions may also use 'self'. */
333
+ targets: string[];
334
+ /** Narrows a `model` target to named nodes, keyed by that model's object id. */
335
+ meshNames?: Record<string, string[]>;
336
+ }
337
+ export type InteractionAnimationCommand = 'play' | 'pause' | 'stop' | 'toggle';
338
+ /** toggle: apply, then revert, … */
339
+ export type InteractionActionCommand = 'apply' | 'revert' | 'toggle';
182
340
  export interface Interaction {
183
341
  mouseEvent: InteractionTrigger;
184
342
  enabled: boolean;
185
- effects: OperationEffect[];
186
- animations: InteractionAnimation[];
187
- actions: InteractionAction[];
343
+ /** What happens, in order — run by the viewer's triggers engine. */
344
+ commands: SceneCommand[];
188
345
  }
189
346
  export interface ClickInteraction {
190
347
  interactions: Interaction[];
@@ -224,6 +381,20 @@ export interface MouseMoveInteractions {
224
381
  effect?: MouseMoveDomain;
225
382
  /** Grid domain: a grid object's own config knobs. */
226
383
  grid?: MouseMoveDomain;
384
+ /** Environment domain: a weather object's own config knobs. */
385
+ environment?: MouseMoveDomain;
386
+ /** Space domain: a space object's own config knobs. */
387
+ space?: MouseMoveDomain;
388
+ /** Land domain: a land object's surface knobs. */
389
+ land?: MouseMoveDomain;
390
+ /** Text domain: an animated text look's own config knobs. */
391
+ text?: MouseMoveDomain;
392
+ /** Sky domain: the sky's Preetham / sun knobs. */
393
+ sky?: MouseMoveDomain;
394
+ /** Ocean domain: the water's config knobs. */
395
+ ocean?: MouseMoveDomain;
396
+ /** Terrain domain: the surface's lighting and colour knobs. */
397
+ terrain?: MouseMoveDomain;
227
398
  }
228
399
  /**
229
400
  * Check if settings use the new structure