@3driseai/3drise-viewer 0.1.26 → 0.1.28
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.
- package/dist/animationsV2/ClipPlayer.d.ts +3 -0
- package/dist/animationsV2/ClipPlayer.d.ts.map +1 -1
- package/dist/animationsV2/ClipPlayer.js +67 -8
- package/dist/animationsV2/ClipsRuntime.d.ts +39 -0
- package/dist/animationsV2/ClipsRuntime.d.ts.map +1 -1
- package/dist/animationsV2/ClipsRuntime.js +245 -14
- package/dist/animationsV2/appliers.d.ts +5 -0
- package/dist/animationsV2/appliers.d.ts.map +1 -1
- package/dist/animationsV2/appliers.js +25 -7
- package/dist/animationsV2/index.d.ts +1 -1
- package/dist/animationsV2/index.d.ts.map +1 -1
- package/dist/animationsV2/normalize.d.ts.map +1 -1
- package/dist/animationsV2/normalize.js +18 -7
- package/dist/animationsV2/sequenceUtils.d.ts +42 -1
- package/dist/animationsV2/sequenceUtils.d.ts.map +1 -1
- package/dist/animationsV2/sequenceUtils.js +103 -3
- package/dist/animationsV2/types.d.ts +20 -0
- package/dist/animationsV2/types.d.ts.map +1 -1
- package/dist/components/AdvancedGrid.d.ts +8 -2
- package/dist/components/AdvancedGrid.d.ts.map +1 -1
- package/dist/components/AdvancedGrid.js +31 -14
- package/dist/components/AnimatedObject.d.ts.map +1 -1
- package/dist/components/AnimatedObject.js +7 -5
- package/dist/components/ApollonianGrid.d.ts +25 -0
- package/dist/components/ApollonianGrid.d.ts.map +1 -0
- package/dist/components/ApollonianGrid.js +80 -0
- package/dist/components/Bubbles.d.ts +7 -1
- package/dist/components/Bubbles.d.ts.map +1 -1
- package/dist/components/Bubbles.js +42 -22
- package/dist/components/ChladniGrid.d.ts +8 -4
- package/dist/components/ChladniGrid.d.ts.map +1 -1
- package/dist/components/ChladniGrid.js +31 -13
- package/dist/components/CircuitGrid.d.ts +8 -11
- package/dist/components/CircuitGrid.d.ts.map +1 -1
- package/dist/components/CircuitGrid.js +31 -13
- package/dist/components/CloudsGenerator.d.ts +1 -1
- package/dist/components/CloudsGenerator.js +1 -1
- package/dist/components/ConformalGrid.d.ts +25 -0
- package/dist/components/ConformalGrid.d.ts.map +1 -0
- package/dist/components/ConformalGrid.js +97 -0
- package/dist/components/ContourGrid.d.ts +8 -14
- package/dist/components/ContourGrid.d.ts.map +1 -1
- package/dist/components/ContourGrid.js +31 -13
- package/dist/components/EffectsGenerator.d.ts +7 -1
- package/dist/components/EffectsGenerator.d.ts.map +1 -1
- package/dist/components/EffectsGenerator.js +39 -38
- package/dist/components/EnvironmentManager.d.ts +4 -4
- package/dist/components/EnvironmentManager.d.ts.map +1 -1
- package/dist/components/FlowNetGrid.d.ts +8 -4
- package/dist/components/FlowNetGrid.d.ts.map +1 -1
- package/dist/components/FlowNetGrid.js +31 -13
- package/dist/components/FractalGrid.d.ts +8 -12
- package/dist/components/FractalGrid.d.ts.map +1 -1
- package/dist/components/FractalGrid.js +31 -13
- package/dist/components/GirihGrid.d.ts +8 -1
- package/dist/components/GirihGrid.d.ts.map +1 -1
- package/dist/components/GirihGrid.js +31 -13
- package/dist/components/Glyphs.d.ts +7 -1
- package/dist/components/Glyphs.d.ts.map +1 -1
- package/dist/components/Glyphs.js +40 -34
- package/dist/components/GravWaveGrid.d.ts +8 -1
- package/dist/components/GravWaveGrid.d.ts.map +1 -1
- package/dist/components/GravWaveGrid.js +31 -13
- package/dist/components/GridsGenerator.d.ts +9 -3
- package/dist/components/GridsGenerator.d.ts.map +1 -1
- package/dist/components/GridsGenerator.js +41 -18
- package/dist/components/HexGrid.d.ts +8 -10
- package/dist/components/HexGrid.d.ts.map +1 -1
- package/dist/components/HexGrid.js +31 -13
- package/dist/components/HilbertGrid.d.ts +25 -0
- package/dist/components/HilbertGrid.d.ts.map +1 -0
- package/dist/components/HilbertGrid.js +93 -0
- package/dist/components/HyperbolicGrid.d.ts +8 -4
- package/dist/components/HyperbolicGrid.d.ts.map +1 -1
- package/dist/components/HyperbolicGrid.js +31 -13
- package/dist/components/LandscapeBuilder.d.ts +1 -1
- package/dist/components/LandscapeBuilder.d.ts.map +1 -1
- package/dist/components/LandscapeBuilder.js +1 -1
- package/dist/components/LandscapeObject.d.ts +1 -1
- package/dist/components/LandscapeObject.d.ts.map +1 -1
- package/dist/components/LandscapeObject.js +1 -1
- package/dist/components/LensingGrid.d.ts +25 -0
- package/dist/components/LensingGrid.d.ts.map +1 -0
- package/dist/components/LensingGrid.js +81 -0
- package/dist/components/MoireGrid.d.ts +8 -12
- package/dist/components/MoireGrid.d.ts.map +1 -1
- package/dist/components/MoireGrid.js +31 -13
- package/dist/components/ObjectNode.d.ts.map +1 -1
- package/dist/components/ObjectNode.js +2 -2
- package/dist/components/ObjectsRenderer.d.ts.map +1 -1
- package/dist/components/ObjectsRenderer.js +37 -3
- package/dist/components/OceanBuilder.d.ts +1 -1
- package/dist/components/OceanBuilder.js +1 -1
- package/dist/components/ParastichyGrid.d.ts +25 -0
- package/dist/components/ParastichyGrid.d.ts.map +1 -0
- package/dist/components/ParastichyGrid.js +82 -0
- package/dist/components/ParticlesGenerator.d.ts.map +1 -1
- package/dist/components/ParticlesGenerator.js +6 -0
- package/dist/components/PhyllotaxisGrid.d.ts +25 -0
- package/dist/components/PhyllotaxisGrid.d.ts.map +1 -0
- package/dist/components/PhyllotaxisGrid.js +95 -0
- package/dist/components/QuasiGrid.d.ts +8 -11
- package/dist/components/QuasiGrid.d.ts.map +1 -1
- package/dist/components/QuasiGrid.js +31 -13
- package/dist/components/RadarGrid.d.ts +8 -13
- package/dist/components/RadarGrid.d.ts.map +1 -1
- package/dist/components/RadarGrid.js +31 -13
- package/dist/components/ReactionDiffusionGrid.d.ts +8 -1
- package/dist/components/ReactionDiffusionGrid.d.ts.map +1 -1
- package/dist/components/ReactionDiffusionGrid.js +33 -139
- package/dist/components/SceneBuilder.js +1 -1
- package/dist/components/SkySystem.d.ts +1 -1
- package/dist/components/SparklesBurst.d.ts +7 -1
- package/dist/components/SparklesBurst.d.ts.map +1 -1
- package/dist/components/SparklesBurst.js +31 -28
- package/dist/components/TerrainBuilder.d.ts +1 -1
- package/dist/components/TerrainBuilder.d.ts.map +1 -1
- package/dist/components/TerrainBuilder.js +1 -1
- package/dist/components/TruchetGrid.d.ts +25 -0
- package/dist/components/TruchetGrid.d.ts.map +1 -0
- package/dist/components/TruchetGrid.js +82 -0
- package/dist/components/VoronoiGrid.d.ts +8 -10
- package/dist/components/VoronoiGrid.d.ts.map +1 -1
- package/dist/components/VoronoiGrid.js +31 -13
- package/dist/components/WallpaperGrid.d.ts +8 -1
- package/dist/components/WallpaperGrid.d.ts.map +1 -1
- package/dist/components/WallpaperGrid.js +33 -210
- package/dist/components/effects/AuraEffect.d.ts +8 -3
- package/dist/components/effects/AuraEffect.d.ts.map +1 -1
- package/dist/components/effects/AuraEffect.js +49 -24
- package/dist/components/effects/AuroraEffect.d.ts +8 -3
- package/dist/components/effects/AuroraEffect.d.ts.map +1 -1
- package/dist/components/effects/AuroraEffect.js +45 -25
- package/dist/components/effects/BlackHoleEffect.d.ts +8 -3
- package/dist/components/effects/BlackHoleEffect.d.ts.map +1 -1
- package/dist/components/effects/BlackHoleEffect.js +42 -21
- package/dist/components/effects/ConstellationEffect.d.ts +8 -3
- package/dist/components/effects/ConstellationEffect.d.ts.map +1 -1
- package/dist/components/effects/ConstellationEffect.js +49 -23
- package/dist/components/effects/DandelionSeedsEffect.d.ts +7 -2
- package/dist/components/effects/DandelionSeedsEffect.d.ts.map +1 -1
- package/dist/components/effects/DandelionSeedsEffect.js +19 -9
- package/dist/components/effects/DataStreamEffect.d.ts +8 -3
- package/dist/components/effects/DataStreamEffect.d.ts.map +1 -1
- package/dist/components/effects/DataStreamEffect.js +54 -26
- package/dist/components/effects/DnaHelixEffect.d.ts +8 -3
- package/dist/components/effects/DnaHelixEffect.d.ts.map +1 -1
- package/dist/components/effects/DnaHelixEffect.js +62 -30
- package/dist/components/effects/FallingLeavesEffect.d.ts +7 -2
- package/dist/components/effects/FallingLeavesEffect.d.ts.map +1 -1
- package/dist/components/effects/FallingLeavesEffect.js +19 -9
- package/dist/components/effects/FieldLinesEffect.d.ts +8 -3
- package/dist/components/effects/FieldLinesEffect.d.ts.map +1 -1
- package/dist/components/effects/FieldLinesEffect.js +30 -20
- package/dist/components/effects/Fire.d.ts +8 -3
- package/dist/components/effects/Fire.d.ts.map +1 -1
- package/dist/components/effects/Fire.js +47 -10
- package/dist/components/effects/FireflySwarmEffect.d.ts +7 -2
- package/dist/components/effects/FireflySwarmEffect.d.ts.map +1 -1
- package/dist/components/effects/FireflySwarmEffect.js +19 -9
- package/dist/components/effects/Flares.d.ts +10 -3
- package/dist/components/effects/Flares.d.ts.map +1 -1
- package/dist/components/effects/Flares.js +53 -56
- package/dist/components/effects/ForcefieldEffect.d.ts +8 -3
- package/dist/components/effects/ForcefieldEffect.d.ts.map +1 -1
- package/dist/components/effects/ForcefieldEffect.js +52 -33
- package/dist/components/effects/GalaxyEffect.d.ts +7 -2
- package/dist/components/effects/GalaxyEffect.d.ts.map +1 -1
- package/dist/components/effects/GalaxyEffect.js +19 -9
- package/dist/components/effects/HarmonicShellEffect.d.ts +8 -3
- package/dist/components/effects/HarmonicShellEffect.d.ts.map +1 -1
- package/dist/components/effects/HarmonicShellEffect.js +30 -22
- package/dist/components/effects/HologramEffect.d.ts +8 -3
- package/dist/components/effects/HologramEffect.d.ts.map +1 -1
- package/dist/components/effects/HologramEffect.js +52 -23
- package/dist/components/effects/IceCrystalsEffect.d.ts +8 -3
- package/dist/components/effects/IceCrystalsEffect.d.ts.map +1 -1
- package/dist/components/effects/IceCrystalsEffect.js +36 -21
- package/dist/components/effects/IceHaloEffect.d.ts +7 -2
- package/dist/components/effects/IceHaloEffect.d.ts.map +1 -1
- package/dist/components/effects/IceHaloEffect.js +19 -9
- package/dist/components/effects/LichtenbergEffect.d.ts +7 -2
- package/dist/components/effects/LichtenbergEffect.d.ts.map +1 -1
- package/dist/components/effects/LichtenbergEffect.js +19 -9
- package/dist/components/effects/LightningEffect.d.ts +8 -3
- package/dist/components/effects/LightningEffect.d.ts.map +1 -1
- package/dist/components/effects/LightningEffect.js +54 -32
- package/dist/components/effects/MoleculesEffect.d.ts +8 -3
- package/dist/components/effects/MoleculesEffect.d.ts.map +1 -1
- package/dist/components/effects/MoleculesEffect.js +31 -21
- package/dist/components/effects/MurmurationEffect.d.ts +7 -2
- package/dist/components/effects/MurmurationEffect.d.ts.map +1 -1
- package/dist/components/effects/MurmurationEffect.js +19 -9
- package/dist/components/effects/NeuralNetworkEffect.d.ts +8 -3
- package/dist/components/effects/NeuralNetworkEffect.d.ts.map +1 -1
- package/dist/components/effects/NeuralNetworkEffect.js +66 -33
- package/dist/components/effects/OrbEffect.d.ts +8 -3
- package/dist/components/effects/OrbEffect.d.ts.map +1 -1
- package/dist/components/effects/OrbEffect.js +89 -42
- package/dist/components/effects/PlanetaryRingsEffect.d.ts +7 -2
- package/dist/components/effects/PlanetaryRingsEffect.d.ts.map +1 -1
- package/dist/components/effects/PlanetaryRingsEffect.js +19 -9
- package/dist/components/effects/PortalEffect.d.ts +8 -3
- package/dist/components/effects/PortalEffect.d.ts.map +1 -1
- package/dist/components/effects/PortalEffect.js +41 -25
- package/dist/components/effects/ShockwaveEffect.d.ts +7 -2
- package/dist/components/effects/ShockwaveEffect.d.ts.map +1 -1
- package/dist/components/effects/ShockwaveEffect.js +19 -9
- package/dist/components/effects/SmokePlumeEffect.d.ts +8 -3
- package/dist/components/effects/SmokePlumeEffect.d.ts.map +1 -1
- package/dist/components/effects/SmokePlumeEffect.js +30 -20
- package/dist/components/effects/SmokeRibbon.d.ts +8 -2
- package/dist/components/effects/SmokeRibbon.d.ts.map +1 -1
- package/dist/components/effects/SmokeRibbon.js +34 -24
- package/dist/components/effects/SmokeRingEffect.d.ts +8 -3
- package/dist/components/effects/SmokeRingEffect.d.ts.map +1 -1
- package/dist/components/effects/SmokeRingEffect.js +33 -21
- package/dist/components/effects/StrangeAttractorEffect.d.ts +8 -3
- package/dist/components/effects/StrangeAttractorEffect.d.ts.map +1 -1
- package/dist/components/effects/StrangeAttractorEffect.js +30 -20
- package/dist/components/effects/VolumetricFogEffect.d.ts +8 -3
- package/dist/components/effects/VolumetricFogEffect.d.ts.map +1 -1
- package/dist/components/effects/VolumetricFogEffect.js +38 -20
- package/dist/components/effects/WaterCausticsEffect.d.ts +7 -2
- package/dist/components/effects/WaterCausticsEffect.d.ts.map +1 -1
- package/dist/components/effects/WaterCausticsEffect.js +19 -9
- package/dist/components/effects/index.d.ts +0 -1
- package/dist/components/effects/index.d.ts.map +1 -1
- package/dist/components/effects/index.js +0 -1
- package/dist/components/index.d.ts +14 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +7 -1
- package/dist/components/landscape/LandscapeMesh.js +1 -1
- package/dist/components/landscape/types.d.ts +1 -1
- package/dist/components/landscape/types.d.ts.map +1 -1
- package/dist/components/particles/MagneticBottleParticles.d.ts +17 -0
- package/dist/components/particles/MagneticBottleParticles.d.ts.map +1 -0
- package/dist/components/particles/MagneticBottleParticles.js +618 -0
- package/dist/components/particles/ShapeBurstParticles.d.ts +17 -0
- package/dist/components/particles/ShapeBurstParticles.d.ts.map +1 -0
- package/dist/components/particles/ShapeBurstParticles.js +588 -0
- package/dist/components/particles/ShapeFlowParticles.d.ts +17 -0
- package/dist/components/particles/ShapeFlowParticles.d.ts.map +1 -0
- package/dist/components/particles/ShapeFlowParticles.js +755 -0
- package/dist/components/particles/index.d.ts +6 -0
- package/dist/components/particles/index.d.ts.map +1 -1
- package/dist/components/particles/index.js +3 -0
- package/dist/components/terrain/types.d.ts +1 -1
- package/dist/components/terrain/types.d.ts.map +1 -1
- package/dist/components/volumetricClouds/VolumetricCloudsPass.d.ts +1 -1
- package/dist/components/volumetricClouds/VolumetricCloudsPass.d.ts.map +1 -1
- package/dist/components/volumetricClouds/types.d.ts +1 -1
- package/dist/components/volumetricClouds/types.d.ts.map +1 -1
- package/dist/components/water/types.d.ts +1 -1
- package/dist/components/water/types.d.ts.map +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +1 -0
- package/dist/hooks/useConfigDriver.d.ts +22 -0
- package/dist/hooks/useConfigDriver.d.ts.map +1 -0
- package/dist/hooks/useConfigDriver.js +43 -0
- package/dist/hooks/useConfigLive.d.ts +1 -1
- package/dist/hooks/useConfigLive.d.ts.map +1 -1
- package/dist/hooks/useLandscapeMaps.d.ts +1 -1
- package/dist/hooks/useLandscapeMaps.d.ts.map +1 -1
- package/dist/hooks/useOceanMaterial.d.ts +1 -1
- package/dist/hooks/useThunder.d.ts +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/interactions/index.d.ts +2 -1
- package/dist/interactions/index.d.ts.map +1 -1
- package/dist/interactions/index.js +1 -1
- package/dist/interactions/runner.d.ts +18 -3
- package/dist/interactions/runner.d.ts.map +1 -1
- package/dist/interactions/runner.js +25 -2
- package/dist/operations/catalogue/curlSmoke.d.ts +3 -0
- package/dist/operations/catalogue/curlSmoke.d.ts.map +1 -0
- package/dist/operations/catalogue/curlSmoke.js +178 -0
- package/dist/operations/catalogue/displayImage.d.ts.map +1 -1
- package/dist/operations/catalogue/displayImage.js +1 -0
- package/dist/operations/catalogue/dissolve.d.ts +3 -0
- package/dist/operations/catalogue/dissolve.d.ts.map +1 -0
- package/dist/operations/catalogue/dissolve.js +57 -0
- package/dist/operations/catalogue/emberAsh.d.ts +3 -0
- package/dist/operations/catalogue/emberAsh.d.ts.map +1 -0
- package/dist/operations/catalogue/emberAsh.js +171 -0
- package/dist/operations/catalogue/fade.d.ts.map +1 -1
- package/dist/operations/catalogue/fade.js +1 -0
- package/dist/operations/catalogue/flip.d.ts +3 -0
- package/dist/operations/catalogue/flip.d.ts.map +1 -0
- package/dist/operations/catalogue/flip.js +69 -0
- package/dist/operations/catalogue/flock.d.ts +3 -0
- package/dist/operations/catalogue/flock.d.ts.map +1 -0
- package/dist/operations/catalogue/flock.js +163 -0
- package/dist/operations/catalogue/focus.d.ts.map +1 -1
- package/dist/operations/catalogue/focus.js +1 -0
- package/dist/operations/catalogue/frame.d.ts +3 -0
- package/dist/operations/catalogue/frame.d.ts.map +1 -0
- package/dist/operations/catalogue/frame.js +44 -0
- package/dist/operations/catalogue/frost.d.ts +3 -0
- package/dist/operations/catalogue/frost.d.ts.map +1 -0
- package/dist/operations/catalogue/frost.js +111 -0
- package/dist/operations/catalogue/fxInstances.d.ts +21 -0
- package/dist/operations/catalogue/fxInstances.d.ts.map +1 -0
- package/dist/operations/catalogue/fxInstances.js +47 -0
- package/dist/operations/catalogue/fxPoints.d.ts +22 -0
- package/dist/operations/catalogue/fxPoints.d.ts.map +1 -0
- package/dist/operations/catalogue/fxPoints.js +70 -0
- package/dist/operations/catalogue/glow.d.ts.map +1 -1
- package/dist/operations/catalogue/glow.js +2 -1
- package/dist/operations/catalogue/heatCracks.d.ts +3 -0
- package/dist/operations/catalogue/heatCracks.d.ts.map +1 -0
- package/dist/operations/catalogue/heatCracks.js +134 -0
- package/dist/operations/catalogue/hologram.d.ts +3 -0
- package/dist/operations/catalogue/hologram.d.ts.map +1 -0
- package/dist/operations/catalogue/hologram.js +118 -0
- package/dist/operations/catalogue/inkBloom.d.ts +3 -0
- package/dist/operations/catalogue/inkBloom.d.ts.map +1 -0
- package/dist/operations/catalogue/inkBloom.js +156 -0
- package/dist/operations/catalogue/ivy.d.ts +13 -0
- package/dist/operations/catalogue/ivy.d.ts.map +1 -0
- package/dist/operations/catalogue/ivy.js +469 -0
- package/dist/operations/catalogue/jelly.d.ts +3 -0
- package/dist/operations/catalogue/jelly.d.ts.map +1 -0
- package/dist/operations/catalogue/jelly.js +50 -0
- package/dist/operations/catalogue/kintsugi.d.ts +3 -0
- package/dist/operations/catalogue/kintsugi.d.ts.map +1 -0
- package/dist/operations/catalogue/kintsugi.js +173 -0
- package/dist/operations/catalogue/lidarScan.d.ts +3 -0
- package/dist/operations/catalogue/lidarScan.d.ts.map +1 -0
- package/dist/operations/catalogue/lidarScan.js +240 -0
- package/dist/operations/catalogue/liquidMetal.d.ts +3 -0
- package/dist/operations/catalogue/liquidMetal.d.ts.map +1 -0
- package/dist/operations/catalogue/liquidMetal.js +122 -0
- package/dist/operations/catalogue/metalize.d.ts +3 -0
- package/dist/operations/catalogue/metalize.d.ts.map +1 -0
- package/dist/operations/catalogue/metalize.js +135 -0
- package/dist/operations/catalogue/moveToFront.d.ts.map +1 -1
- package/dist/operations/catalogue/moveToFront.js +1 -0
- package/dist/operations/catalogue/orbit.d.ts +3 -0
- package/dist/operations/catalogue/orbit.d.ts.map +1 -0
- package/dist/operations/catalogue/orbit.js +29 -0
- package/dist/operations/catalogue/particleSwarm.d.ts +3 -0
- package/dist/operations/catalogue/particleSwarm.d.ts.map +1 -0
- package/dist/operations/catalogue/particleSwarm.js +138 -0
- package/dist/operations/catalogue/petalPeel.d.ts +3 -0
- package/dist/operations/catalogue/petalPeel.d.ts.map +1 -0
- package/dist/operations/catalogue/petalPeel.js +137 -0
- package/dist/operations/catalogue/petrify.d.ts +3 -0
- package/dist/operations/catalogue/petrify.d.ts.map +1 -0
- package/dist/operations/catalogue/petrify.js +94 -0
- package/dist/operations/catalogue/portal.d.ts +3 -0
- package/dist/operations/catalogue/portal.d.ts.map +1 -0
- package/dist/operations/catalogue/portal.js +224 -0
- package/dist/operations/catalogue/print3d.d.ts +3 -0
- package/dist/operations/catalogue/print3d.d.ts.map +1 -0
- package/dist/operations/catalogue/print3d.js +275 -0
- package/dist/operations/catalogue/rainBeads.d.ts +3 -0
- package/dist/operations/catalogue/rainBeads.d.ts.map +1 -0
- package/dist/operations/catalogue/rainBeads.js +223 -0
- package/dist/operations/catalogue/restPose.d.ts +21 -0
- package/dist/operations/catalogue/restPose.d.ts.map +1 -0
- package/dist/operations/catalogue/restPose.js +55 -0
- package/dist/operations/catalogue/rimLight.d.ts +3 -0
- package/dist/operations/catalogue/rimLight.d.ts.map +1 -0
- package/dist/operations/catalogue/rimLight.js +72 -0
- package/dist/operations/catalogue/sandErosion.d.ts +3 -0
- package/dist/operations/catalogue/sandErosion.d.ts.map +1 -0
- package/dist/operations/catalogue/sandErosion.js +167 -0
- package/dist/operations/catalogue/shaderLayers.d.ts +74 -0
- package/dist/operations/catalogue/shaderLayers.d.ts.map +1 -0
- package/dist/operations/catalogue/shaderLayers.js +322 -0
- package/dist/operations/catalogue/shatter.d.ts +3 -0
- package/dist/operations/catalogue/shatter.d.ts.map +1 -0
- package/dist/operations/catalogue/shatter.js +267 -0
- package/dist/operations/catalogue/silkDrape.d.ts +3 -0
- package/dist/operations/catalogue/silkDrape.d.ts.map +1 -0
- package/dist/operations/catalogue/silkDrape.js +340 -0
- package/dist/operations/catalogue/spin.d.ts +3 -0
- package/dist/operations/catalogue/spin.d.ts.map +1 -0
- package/dist/operations/catalogue/spin.js +42 -0
- package/dist/operations/catalogue/surfaceSample.d.ts +17 -0
- package/dist/operations/catalogue/surfaceSample.d.ts.map +1 -0
- package/dist/operations/catalogue/surfaceSample.js +187 -0
- package/dist/operations/catalogue/swirl.d.ts +3 -0
- package/dist/operations/catalogue/swirl.d.ts.map +1 -0
- package/dist/operations/catalogue/swirl.js +69 -0
- package/dist/operations/catalogue/teleport.d.ts +3 -0
- package/dist/operations/catalogue/teleport.d.ts.map +1 -0
- package/dist/operations/catalogue/teleport.js +213 -0
- package/dist/operations/catalogue/transitionField.d.ts +124 -0
- package/dist/operations/catalogue/transitionField.d.ts.map +1 -0
- package/dist/operations/catalogue/transitionField.js +278 -0
- package/dist/operations/catalogue/unweave.d.ts +3 -0
- package/dist/operations/catalogue/unweave.d.ts.map +1 -0
- package/dist/operations/catalogue/unweave.js +233 -0
- package/dist/operations/catalogue/visibility.d.ts.map +1 -1
- package/dist/operations/catalogue/visibility.js +1 -0
- package/dist/operations/catalogue/voxelize.d.ts +3 -0
- package/dist/operations/catalogue/voxelize.d.ts.map +1 -0
- package/dist/operations/catalogue/voxelize.js +148 -0
- package/dist/operations/catalogue/warmup.d.ts +22 -0
- package/dist/operations/catalogue/warmup.d.ts.map +1 -0
- package/dist/operations/catalogue/warmup.js +106 -0
- package/dist/operations/catalogue/zoom.d.ts.map +1 -1
- package/dist/operations/catalogue/zoom.js +1 -0
- package/dist/operations/index.d.ts +4 -2
- package/dist/operations/index.d.ts.map +1 -1
- package/dist/operations/index.js +4 -2
- package/dist/operations/objectEffects.d.ts +46 -0
- package/dist/operations/objectEffects.d.ts.map +1 -0
- package/dist/operations/objectEffects.js +136 -0
- package/dist/operations/registry.d.ts +7 -2
- package/dist/operations/registry.d.ts.map +1 -1
- package/dist/operations/registry.js +45 -3
- package/dist/operations/runtime.d.ts +40 -2
- package/dist/operations/runtime.d.ts.map +1 -1
- package/dist/operations/runtime.js +164 -8
- package/dist/operations/types.d.ts +29 -3
- package/dist/operations/types.d.ts.map +1 -1
- package/dist/operations/types.js +6 -0
- package/dist/operations/useObjectEffectLayers.d.ts +4 -0
- package/dist/operations/useObjectEffectLayers.d.ts.map +1 -0
- package/dist/operations/useObjectEffectLayers.js +42 -0
- package/dist/operations/useOperationsRuntime.d.ts.map +1 -1
- package/dist/operations/useOperationsRuntime.js +42 -4
- package/dist/presets/landscapePresets.d.ts +1 -1
- package/dist/presets/landscapePresets.d.ts.map +1 -1
- package/dist/presets/landscapePresets.js +1 -1
- package/dist/presets/landscapeTypes.d.ts +1 -1
- package/dist/presets/landscapeTypes.d.ts.map +1 -1
- package/dist/presets/landscapeTypes.js +1 -1
- package/dist/presets/oceanSurfacePresets.d.ts +1 -1
- package/dist/presets/terrainPresets.d.ts +1 -1
- package/dist/presets/terrainPresets.d.ts.map +1 -1
- package/dist/presets/volumetricCloudPresets.d.ts +1 -1
- package/dist/types/cloudConfigs.d.ts +2 -309
- package/dist/types/cloudConfigs.d.ts.map +1 -1
- package/dist/types/cloudConfigs.js +2 -339
- package/dist/types/gridConfigs.d.ts +103 -0
- package/dist/types/gridConfigs.d.ts.map +1 -1
- package/dist/types/index.d.ts +9 -9
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +4 -4
- package/dist/types/landscapeConfigs.d.ts +2 -217
- package/dist/types/landscapeConfigs.d.ts.map +1 -1
- package/dist/types/landscapeConfigs.js +2 -256
- package/dist/types/oceanConfigs.d.ts +2 -289
- package/dist/types/oceanConfigs.d.ts.map +1 -1
- package/dist/types/oceanConfigs.js +2 -380
- package/dist/types/terrainConfigs.d.ts +2 -250
- package/dist/types/terrainConfigs.d.ts.map +1 -1
- package/dist/types/terrainConfigs.js +2 -292
- package/dist/utils/cloudUniforms.d.ts +1 -1
- package/dist/utils/configAnimations.d.ts +6 -0
- package/dist/utils/configAnimations.d.ts.map +1 -1
- package/dist/utils/configAnimations.js +14 -0
- package/dist/utils/gridConfig.d.ts +19 -0
- package/dist/utils/gridConfig.d.ts.map +1 -0
- package/dist/utils/gridConfig.js +52 -0
- package/dist/utils/handleCloudsAnimations.d.ts +1 -1
- package/dist/utils/handleCloudsAnimations.js +1 -1
- package/dist/utils/hasHoverAnimation.d.ts.map +1 -1
- package/dist/utils/hasHoverAnimation.js +0 -2
- package/dist/utils/landscapeUniforms.d.ts +1 -1
- package/dist/utils/landscapeUniforms.d.ts.map +1 -1
- package/dist/utils/oceanUniforms.d.ts +1 -1
- package/dist/utils/particleShape.d.ts +33 -0
- package/dist/utils/particleShape.d.ts.map +1 -0
- package/dist/utils/particleShape.js +207 -0
- package/dist/utils/particleTrails.d.ts.map +1 -1
- package/dist/utils/particleTrails.js +29 -14
- package/dist/utils/terrainUniforms.d.ts +1 -1
- package/dist/utils/terrainUniforms.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,290 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Declared locally rather than in `@3driseai/3drise-core`, alongside
|
|
5
|
-
* `terrainConfigs.ts` and `cloudConfigs.ts`, because the material and the
|
|
6
|
-
* renderer are here and nothing outside the viewer needs to construct these by
|
|
7
|
-
* hand.
|
|
8
|
-
*
|
|
9
|
-
* Core's `OceanSettings` is the retired shape — a flat plane with a
|
|
10
|
-
* `materialSettings` block picked out of the water material registry — and is
|
|
11
|
-
* deliberately left alone: a saved project still carries one. Unlike terrain,
|
|
12
|
-
* where a legacy blob normalises to NOTHING, a legacy ocean normalises to a real
|
|
13
|
-
* ocean: a project saved before this system existed very possibly had water, and
|
|
14
|
-
* dropping it would delete it. See `normalizeOcean` at the bottom.
|
|
15
|
-
*
|
|
16
|
-
* An ocean is ONE wave model in two containers, not two renderers — the same way
|
|
17
|
-
* three of the four cloud types share one marcher and all four landforms share
|
|
18
|
-
* one height field. `waterType` shapes the spectrum; `host` chooses the mesh.
|
|
19
|
-
*/
|
|
20
|
-
/** The four water bodies the spectrum is shaped for. */
|
|
21
|
-
export type WaterType = 'sea' | 'lake' | 'storm' | 'shore';
|
|
22
|
-
/**
|
|
23
|
-
* Where the water lives.
|
|
24
|
-
*
|
|
25
|
-
* `world` is the sea: a camera-following clipmap at `seaLevel`, one per scene,
|
|
26
|
-
* mounted by the environment. `object` is a placed body of water — a pool, a
|
|
27
|
-
* pond, a canal — a bounded grid with its own transform, any number of them,
|
|
28
|
-
* mounted as ordinary scene objects. The clouds' `object` / `layer` split, and
|
|
29
|
-
* for the same reason: a deck that stops at a sphere is not a deck, and a pool
|
|
30
|
-
* that follows the camera is not a pool.
|
|
31
|
-
*/
|
|
32
|
-
export type WaterHost = 'world' | 'object';
|
|
33
|
-
/** Gerstner today; the FFT cascades land behind the same interface. */
|
|
34
|
-
export type WaveModel = 'gerstner' | 'fft';
|
|
35
|
-
export type ReflectionMode = 'planar' | 'env' | 'off';
|
|
36
|
-
export type TerrainInteraction = 'auto' | 'on' | 'off';
|
|
37
|
-
/** Fields every water body shares, whatever its type or host. */
|
|
38
|
-
export interface OceanSurfaceConfig {
|
|
39
|
-
enabled: boolean;
|
|
40
|
-
host: WaterHost;
|
|
41
|
-
/** `gerstner` sums analytic trochoids in the vertex shader. `fft` swaps the
|
|
42
|
-
* height field for Tessendorf cascades and changes nothing above it — the
|
|
43
|
-
* material, the shading, the panel and the saved shape are identical. */
|
|
44
|
-
waveModel: WaveModel;
|
|
45
|
-
/** World Y the surface sits at. **World host only** — a placed body takes its
|
|
46
|
-
* level from its own transform, which is what makes two water bodies at
|
|
47
|
-
* different heights in one scene work without either knowing about the
|
|
48
|
-
* other. Nothing here is tied to the terrain's `seaLevel`: the shoreline is
|
|
49
|
-
* computed from the difference, never configured. */
|
|
50
|
-
seaLevel: number;
|
|
51
|
-
/** Extent of a placed body, in world units. **Object host only.** */
|
|
52
|
-
size: [number, number];
|
|
53
|
-
/** Grid resolution of a placed body. **Object host only.** */
|
|
54
|
-
segments: number;
|
|
55
|
-
/** Fraction of the half-extent over which displacement tapers to zero at the
|
|
56
|
-
* rim of a placed body. **Object host only.** Without it the boundary is a
|
|
57
|
-
* sawn-off cliff of water. */
|
|
58
|
-
edgeFade: number;
|
|
59
|
-
/** Wind speed at 10 m, in m/s. The whole sea state comes off this: peak
|
|
60
|
-
* wavelength goes as U squared and significant wave height with it, so this
|
|
61
|
-
* is the one knob that decides whether this is a millpond or a gale. */
|
|
62
|
-
windSpeed: number;
|
|
63
|
-
/** Compass bearing the wind blows toward, in degrees. Waves travel with it. */
|
|
64
|
-
windBearing: number;
|
|
65
|
-
/** Open water upwind, in km. Short fetch means small, short, steep waves
|
|
66
|
-
* however hard it blows — which is exactly why a lake in a storm does not
|
|
67
|
-
* look like an ocean in one. */
|
|
68
|
-
fetch: number;
|
|
69
|
-
/** Angular spread of the wave train about the wind bearing, in degrees. Zero
|
|
70
|
-
* gives a corduroy of parallel crests; real seas run 25-40. */
|
|
71
|
-
directionalSpread: number;
|
|
72
|
-
/** Number of trochoidal components summed. Cost is linear in it, and every
|
|
73
|
-
* component is a sin and a cos per vertex. */
|
|
74
|
-
waveComponents: number;
|
|
75
|
-
/** Artistic multiplier over the physically derived wave height. 1 is the
|
|
76
|
-
* Pierson-Moskowitz fit for the given wind and fetch. */
|
|
77
|
-
amplitudeScale: number;
|
|
78
|
-
/** Horizontal displacement, as a fraction of the limit where a crest folds
|
|
79
|
-
* through itself. This is what makes crests peaked rather than sinusoidal —
|
|
80
|
-
* and it is what generates the Jacobian that foam is read from, so at 0
|
|
81
|
-
* there are no whitecaps to find. */
|
|
82
|
-
choppiness: number;
|
|
83
|
-
/** Energy pushed toward the long, low, narrow-band end of the spectrum.
|
|
84
|
-
* Swell is what has travelled out of the weather that made it. */
|
|
85
|
-
swell: number;
|
|
86
|
-
/** Extra steepening of the shorter components. Above ~1 the surface starts to
|
|
87
|
-
* self-intersect and the wave folds inside out; clamped in the uniforms. */
|
|
88
|
-
steepness: number;
|
|
89
|
-
/** How much of the compressing surface reads as whitecap. */
|
|
90
|
-
foamAmount: number;
|
|
91
|
-
/** How far foam trails behind the crest that made it. A real whitecap
|
|
92
|
-
* persists after the crest has moved on; at 0 it flickers on and off with
|
|
93
|
-
* the crest and reads as sparkle rather than as foam. */
|
|
94
|
-
foamDecay: number;
|
|
95
|
-
/** Size of the break-up noise in the foam, in world units. */
|
|
96
|
-
foamSize: number;
|
|
97
|
-
/** Water seen at depth — the body colour. */
|
|
98
|
-
deepColor: string;
|
|
99
|
-
/** Water seen over something close behind it. Until the refraction grab
|
|
100
|
-
* exists this is the grazing tint; after it, it is the shallow end of the
|
|
101
|
-
* absorption ramp. */
|
|
102
|
-
shallowColor: string;
|
|
103
|
-
foamColor: string;
|
|
104
|
-
/** Beer-Lambert absorption per metre. Higher swallows the bottom sooner. */
|
|
105
|
-
absorption: number;
|
|
106
|
-
/** Suspended matter. Lifts the shallow colour and softens the refraction. */
|
|
107
|
-
clarity: number;
|
|
108
|
-
/** Widens the specular lobe. Water is smooth; this is fine detail below the
|
|
109
|
-
* mesh, not surface finish. */
|
|
110
|
-
roughness: number;
|
|
111
|
-
/** Specular strength. The sun glitter path from horizon to camera is most of
|
|
112
|
-
* what says "water" at distance, and it comes from here. */
|
|
113
|
-
specular: number;
|
|
114
|
-
/** Sun scattering through the body of a wave — crests glowing when the sun is
|
|
115
|
-
* behind them. The second-most recognisable water cue after glitter. */
|
|
116
|
-
sssStrength: number;
|
|
117
|
-
sssColor: string;
|
|
118
|
-
/** High-frequency normal detail added per fragment, below mesh resolution.
|
|
119
|
-
* This is where the energy lost to the per-ring wave LOD goes. */
|
|
120
|
-
detailStrength: number;
|
|
121
|
-
/** Size of that detail, in world units. */
|
|
122
|
-
detailSize: number;
|
|
123
|
-
reflection: ReflectionMode;
|
|
124
|
-
/** Strength of the refracted (see-through) term once the grab exists. */
|
|
125
|
-
refraction: number;
|
|
126
|
-
/** Sky-dome fill, from the same atmosphere the sky and clouds use. */
|
|
127
|
-
ambient: number;
|
|
128
|
-
/** Rate distant water fades into the sky behind it. Water needs more of this
|
|
129
|
-
* than ground, because most of what you see looking at the sea IS the sky. */
|
|
130
|
-
aerialPerspective: number;
|
|
131
|
-
/** Radiance scale, so water sits at the same exposure as sky, clouds and
|
|
132
|
-
* terrain whether or not the cloud composite is tonemapping the frame. */
|
|
133
|
-
exposure: number;
|
|
134
|
-
/** `auto` turns on when the scene has terrain enabled. Off costs nothing:
|
|
135
|
-
* every terrain branch in the shader early-outs on one uniform. */
|
|
136
|
-
terrainInteraction: TerrainInteraction;
|
|
137
|
-
/** Strength of the terrain shadow marched down the sun vector. Terrain does
|
|
138
|
-
* not write into the scene shadow map — its shadow camera is framed around
|
|
139
|
-
* objects — so this is the only way a headland shadows the water beside it. */
|
|
140
|
-
terrainShadow: number;
|
|
141
|
-
/** Depth over which the shallow colour and the shore foam ramp in. */
|
|
142
|
-
shoreDepth: number;
|
|
143
|
-
/** Strength of the foam line where the ground comes up through the surface. */
|
|
144
|
-
shoreFoam: number;
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* A water body, as stored.
|
|
148
|
-
*
|
|
149
|
-
* `type` is 'ocean' — the OBJECT type anything routing on object type reads —
|
|
150
|
-
* with the model kept separately in `waterType` and the container in `host`,
|
|
151
|
-
* exactly as the clouds keep `deckType` and the terrain keeps `terrainType` apart
|
|
152
|
-
* from `type`.
|
|
153
|
-
*/
|
|
154
|
-
export type OceanConfig = OceanSurfaceConfig & {
|
|
155
|
-
type: 'ocean';
|
|
156
|
-
waterType: WaterType;
|
|
157
|
-
/** Name of the preset the numbers came from, or '' once any of them is
|
|
158
|
-
* edited. Purely a UI bookmark — the renderer never reads it. */
|
|
159
|
-
preset?: string;
|
|
160
|
-
};
|
|
161
|
-
/** Cost and extent knobs. World-host geometry lives here; a placed body sizes
|
|
162
|
-
* itself from its own config, because its extent is a design decision rather
|
|
163
|
-
* than a performance one. */
|
|
164
|
-
export interface OceanQualityConfig {
|
|
165
|
-
/** Clipmap ring count. Each doubles its cell size, so visible radius is
|
|
166
|
-
* roughly `cellSize * segments * 2^(levels-1)`. */
|
|
167
|
-
levels: number;
|
|
168
|
-
/** Grid resolution per ring side. */
|
|
169
|
-
segments: number;
|
|
170
|
-
/** Finest cell, in world units, at the camera. Water is smooth, so this
|
|
171
|
-
* matters more than reach: waves are metres, not kilometres. */
|
|
172
|
-
cellSize: number;
|
|
173
|
-
/** 1/(2R). Drops the surface away with the square of distance so the sea
|
|
174
|
-
* meets a real horizon instead of running flat to the far plane. */
|
|
175
|
-
curvature: number;
|
|
176
|
-
/** Resolution of the planar reflection target, as a fraction of the frame.
|
|
177
|
-
* 0 disables the pass and falls back to `scene.environment`. */
|
|
178
|
-
reflectionScale: number;
|
|
179
|
-
/** Resolution of the refraction/depth grab, as a fraction of the frame. */
|
|
180
|
-
refractionScale: number;
|
|
181
|
-
/** Steps in the terrain shadow march, nearest the camera. 0 disables it. */
|
|
182
|
-
terrainShadowSteps: number;
|
|
183
|
-
/** Range over which that march fades out. It runs per vertex, so lowering
|
|
184
|
-
* this drops whole clipmap rings out of it. */
|
|
185
|
-
terrainShadowDistance: number;
|
|
186
|
-
/** Distance over which the fragment-stage ripple detail fades out. */
|
|
187
|
-
detailFadeDistance: number;
|
|
188
|
-
/** Receive the scene's directional shadow map, so objects cast onto water. */
|
|
189
|
-
receiveShadows: boolean;
|
|
190
|
-
wireframe: boolean;
|
|
191
|
-
}
|
|
192
|
-
/** Open ocean. The reference case: long swell under a wind sea, deep colour. */
|
|
193
|
-
export declare const defaultSeaConfig: OceanConfig;
|
|
194
|
-
/**
|
|
195
|
-
* Inland water. Short fetch is doing all the work here — a lake in a gale still
|
|
196
|
-
* has small, short, steep waves, because there is no room upwind to build
|
|
197
|
-
* anything longer. Greener and murkier, because inland water is.
|
|
198
|
-
*/
|
|
199
|
-
export declare const defaultLakeConfig: OceanConfig;
|
|
200
|
-
/** Storm sea. Steep, broken, and mostly foam at the top of the range. */
|
|
201
|
-
export declare const defaultStormConfig: OceanConfig;
|
|
202
|
-
/**
|
|
203
|
-
* Coastal water. Narrow spread, because waves refract into alignment with the
|
|
204
|
-
* beach as they shoal, and a much stronger shoreline because that is the whole
|
|
205
|
-
* point of the type.
|
|
206
|
-
*/
|
|
207
|
-
export declare const defaultShoreConfig: OceanConfig;
|
|
208
|
-
export declare const defaultOceanQuality: OceanQualityConfig;
|
|
209
|
-
/** Per-type defaults, for the controller's type switcher. */
|
|
210
|
-
export declare const OCEAN_DEFAULTS: Record<WaterType, OceanConfig>;
|
|
211
|
-
/** Object-host bodies are small, still and shallow by default — a pool, not a
|
|
212
|
-
* shrunken sea. Applied on top of the type when the host is switched. */
|
|
213
|
-
export declare const OBJECT_HOST_OVERRIDES: Partial<OceanSurfaceConfig>;
|
|
214
|
-
export type OceanPropertyGroup = 'form' | 'waves' | 'surface' | 'shore' | 'quality';
|
|
215
|
-
/**
|
|
216
|
-
* Everything the controller needs to build a row and everything the AI context
|
|
217
|
-
* builder needs to know what a knob does and where it is safe. The runtime never
|
|
218
|
-
* reads this — defaults live in the config objects above.
|
|
219
|
-
*
|
|
220
|
-
* `kind` exists here and not in the terrain schema because the ocean exposes
|
|
221
|
-
* colours and choices, not only numbers.
|
|
222
|
-
*/
|
|
223
|
-
export interface OceanPropertySchema {
|
|
224
|
-
key: string;
|
|
225
|
-
label: string;
|
|
226
|
-
group: OceanPropertyGroup;
|
|
227
|
-
/** How the value is edited and what can carry it. Absent means a ranged
|
|
228
|
-
* number, which is the common case. Anything that is not a number cannot
|
|
229
|
-
* ride in the agent's numeric changes list, so the agent filters on this
|
|
230
|
-
* too — see the ocean catalog in aiAgent. */
|
|
231
|
-
kind?: 'number' | 'color' | 'boolean' | 'select' | 'vector2';
|
|
232
|
-
options?: string[];
|
|
233
|
-
min?: number;
|
|
234
|
-
max?: number;
|
|
235
|
-
step?: number;
|
|
236
|
-
unit?: string;
|
|
237
|
-
description: string;
|
|
238
|
-
advanced?: boolean;
|
|
239
|
-
/** Only show for these water types. Absent means all. */
|
|
240
|
-
types?: WaterType[];
|
|
241
|
-
/** Only show on these hosts. A placed pool has no sea level and the sea has
|
|
242
|
-
* no size; showing either is worse than hiding it, because a row that does
|
|
243
|
-
* nothing reads as a bug in the renderer. */
|
|
244
|
-
hosts?: WaterHost[];
|
|
245
|
-
}
|
|
246
|
-
export declare const OCEAN_SCHEMA: OceanPropertySchema[];
|
|
247
|
-
export declare const OCEAN_QUALITY_SCHEMA: OceanPropertySchema[];
|
|
248
|
-
/** Transform of a placed body. Same shape the rest of the app uses. */
|
|
249
|
-
export interface OceanMeshSettings {
|
|
250
|
-
name?: string;
|
|
251
|
-
visible: boolean;
|
|
252
|
-
position: [number, number, number];
|
|
253
|
-
rotation: [number, number, number];
|
|
254
|
-
scale: [number, number, number];
|
|
255
|
-
}
|
|
256
|
-
/**
|
|
257
|
-
* A water body, as stored.
|
|
258
|
-
*
|
|
259
|
-
* Named `OceanWaterSettings` because core already exports an `OceanSettings` —
|
|
260
|
-
* the retired flat-plane-plus-material shape — and a saved project may still
|
|
261
|
-
* carry one. Same reason `ProceduralTerrainSettings` is not `TerrainSettings`.
|
|
262
|
-
*
|
|
263
|
-
* `meshSettings` is present only on the object host. The world ocean has no
|
|
264
|
-
* transform to edit: its clipmap follows the camera, and its one positional
|
|
265
|
-
* degree of freedom is `config.seaLevel`.
|
|
266
|
-
*/
|
|
267
|
-
export interface OceanWaterSettings {
|
|
268
|
-
id: string;
|
|
269
|
-
type: 'ocean';
|
|
270
|
-
parentid?: string;
|
|
271
|
-
config: OceanConfig;
|
|
272
|
-
quality: OceanQualityConfig;
|
|
273
|
-
/** Object host only. */
|
|
274
|
-
meshSettings?: OceanMeshSettings;
|
|
275
|
-
/** Per-domain keyframes. Object host only, like any other scene object. */
|
|
276
|
-
animations?: unknown;
|
|
277
|
-
/** Per-domain pointer interactions. Object host only. */
|
|
278
|
-
mouseMove?: unknown;
|
|
279
|
-
}
|
|
280
|
-
export declare const defaultOceanWaterSettings: OceanWaterSettings;
|
|
281
|
-
/**
|
|
282
|
-
* Surface block merged over its type's defaults, or null when there is nothing
|
|
283
|
-
* to render. Unlike the terrain, a legacy blob is mapped rather than dropped —
|
|
284
|
-
* see the note above.
|
|
285
|
-
*/
|
|
286
|
-
export declare function normalizeOcean(raw: unknown, whole?: unknown): OceanConfig | null;
|
|
287
|
-
export declare function normalizeOceanQuality(raw: unknown): OceanQualityConfig;
|
|
288
|
-
/** A whole settings blob, from a project of any age. */
|
|
289
|
-
export declare function normalizeOceanSettings(raw: unknown): OceanWaterSettings;
|
|
1
|
+
export type { OceanConfig, OceanMeshSettings, OceanPropertyGroup, OceanPropertySchema, OceanQualityConfig, OceanSurfaceConfig, OceanWaterSettings, ReflectionMode, TerrainInteraction, WaterHost, WaterType, WaveModel, } from '@3driseai/3drise-core';
|
|
2
|
+
export { OBJECT_HOST_OVERRIDES, OCEAN_DEFAULTS, OCEAN_QUALITY_SCHEMA, OCEAN_SCHEMA, defaultLakeConfig, defaultOceanQuality, defaultOceanWaterSettings, defaultSeaConfig, defaultShoreConfig, defaultStormConfig, normalizeOcean, normalizeOceanQuality, normalizeOceanSettings, } from '@3driseai/3drise-core';
|
|
290
3
|
//# sourceMappingURL=oceanConfigs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oceanConfigs.d.ts","sourceRoot":"","sources":["../../src/types/oceanConfigs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"oceanConfigs.d.ts","sourceRoot":"","sources":["../../src/types/oceanConfigs.ts"],"names":[],"mappings":"AAEA,YAAY,EACV,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,SAAS,EACT,SAAS,EACT,SAAS,GACV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,qBAAqB,EACrB,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,uBAAuB,CAAC"}
|