@divinevoxel/vlox 0.0.2 → 0.0.4
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/Archive/Functions/ArchiveColumn.js +17 -17
- package/Archive/Functions/ImportColumn.js +14 -14
- package/Archive/Functions/Palettes.d.ts +1 -1
- package/Cache/Cache.types.d.ts +17 -0
- package/Cache/CacheManager.d.ts +11 -0
- package/Cache/CacheManager.js +17 -0
- package/{Data → Contexts/Base}/DataHooks.d.ts +8 -8
- package/{Data → Contexts/Base}/DataHooks.js +4 -4
- package/Contexts/Base/Main/Generator/DataGenerator.types.d.ts +12 -0
- package/Contexts/Base/Main/Generator/InitDataGenerator.d.ts +3 -0
- package/Contexts/Base/Main/Generator/InitDataGenerator.js +201 -0
- package/Contexts/Base/Main/Generator/Segments/MaterialDataGenerator.d.ts +6 -0
- package/Contexts/Base/Main/Generator/Segments/MaterialDataGenerator.js +12 -0
- package/Contexts/Base/Main/Generator/Segments/SubstanceDataGenerator.d.ts +6 -0
- package/Contexts/Base/Main/Generator/Segments/SubstanceDataGenerator.js +35 -0
- package/Contexts/{World/Data/Generators → Base/Main/Generator/Segments}/VoxelDataGenerator.d.ts +3 -2
- package/Contexts/{World/Data/Generators → Base/Main/Generator/Segments}/VoxelDataGenerator.js +16 -23
- package/Contexts/Base/Remote/Sync/DataSync.types.d.ts +34 -0
- package/Contexts/Base/Remote/Sync/InitDataSync.d.ts +4 -0
- package/Contexts/Base/Remote/Sync/InitDataSync.js +43 -0
- package/Contexts/Base/Remote/Sync/InitWorldDataSync.js +37 -0
- package/{Interfaces/Classes → Contexts/Base}/ThreadManager.d.ts +3 -5
- package/{Interfaces/Classes → Contexts/Base}/ThreadManager.js +3 -3
- package/Contexts/Constructor/{Threads/ConstrcutorTheads.d.ts → ConstrcutorTheads.d.ts} +1 -3
- package/Contexts/Constructor/ConstrcutorTheads.js +14 -0
- package/Contexts/Constructor/DivineVoxelEngineConstructor.d.ts +4 -9
- package/Contexts/Constructor/DivineVoxelEngineConstructor.js +3 -17
- package/Contexts/Constructor/Tasks/DVEConstructorTasksQueues.js +2 -3
- package/Contexts/Nexus/DivineVoxelEngineNexus.d.ts +3 -11
- package/Contexts/Nexus/DivineVoxelEngineNexus.js +2 -12
- package/Contexts/Nexus/{Threads/NexusTheads.d.ts → NexusTheads.d.ts} +1 -3
- package/Contexts/Nexus/NexusTheads.js +15 -0
- package/Contexts/Render/DVERenderThreads.d.ts +1 -1
- package/Contexts/Render/DVERenderThreads.js +1 -28
- package/Contexts/Render/DivineVoxelEngineRender.d.ts +7 -38
- package/Contexts/Render/DivineVoxelEngineRender.js +3 -23
- package/Contexts/Render/Scene/MeshRegister.d.ts +38 -31
- package/Contexts/Render/Scene/MeshRegister.js +207 -184
- package/Contexts/Render/Tasks/RenderTasks.js +5 -9
- package/Contexts/Render/Tasks/RenderTasks.types.d.ts +5 -11
- package/Contexts/World/Data/DataSync.d.ts +3 -25
- package/Contexts/World/Data/DataSync.js +4 -115
- package/Contexts/World/DivineVoxelEngineWorld.d.ts +3 -14
- package/Contexts/World/DivineVoxelEngineWorld.js +11 -28
- package/Contexts/World/Lock/WorldLock.d.ts +2 -2
- package/Contexts/World/Tasks/WorldTasks.js +11 -5
- package/Contexts/World/WorldThreads.d.ts +8 -0
- package/Contexts/World/WorldThreads.js +15 -0
- package/Data/Cursor/Interfaces/DataCursor.interface.d.ts +5 -0
- package/Data/Cursor/Interfaces/DataCursor.interface.js +2 -0
- package/Data/Cursor/Interfaces/VoxelCursor.interface.d.ts +63 -0
- package/Data/Cursor/Interfaces/VoxelCursor.interface.js +233 -0
- package/Data/Cursor/Template/TemplateCursor.d.ts +11 -0
- package/Data/Cursor/Template/TemplateCursor.js +20 -0
- package/Data/Cursor/Template/TemplateVoxelCursor.d.ts +13 -0
- package/Data/Cursor/Template/TemplateVoxelCursor.js +31 -0
- package/Data/Cursor/VoxelCursor.d.ts +12 -0
- package/Data/Cursor/VoxelCursor.js +25 -0
- package/Data/Cursor/World/ChunkCursor.d.ts +16 -0
- package/Data/Cursor/World/ChunkCursor.js +59 -0
- package/Data/Cursor/World/ColumnCursor.d.ts +16 -0
- package/Data/Cursor/World/ColumnCursor.js +57 -0
- package/Data/Cursor/World/WorldCursor.d.ts +12 -0
- package/Data/Cursor/World/WorldCursor.js +50 -0
- package/Data/Cursor/World/WorldSectionCursor.interface.d.ts +7 -0
- package/Data/Cursor/World/WorldVoxelCursor.d.ts +22 -0
- package/Data/Cursor/World/WorldVoxelCursor.js +55 -0
- package/Data/Palettes/MaterialPalette.d.ts +9 -0
- package/Data/Palettes/MaterialPalette.js +11 -0
- package/Data/Palettes/SubstancePalette.d.ts +9 -0
- package/Data/Palettes/SubstancePalette.js +11 -0
- package/Data/Palettes/VoxelPalette.d.ts +11 -0
- package/Data/Palettes/VoxelPalette.js +15 -0
- package/Data/Register/MappedDataRegister.js +1 -0
- package/{Contexts/World/Data/Classes → Data/Structs/Builder}/StructBuilder.d.ts +3 -2
- package/{Contexts/World/Data/Classes → Data/Structs/Builder}/StructBuilder.js +11 -27
- package/Data/Structs/Builder/SubstanceStructBuilder.d.ts +2 -0
- package/Data/Structs/Builder/SubstanceStructBuilder.js +42 -0
- package/Data/Structs/Builder/VoxelStructBuilder.d.ts +2 -0
- package/{Contexts/World/Data/StructBuilders → Data/Structs/Builder}/VoxelStructBuilder.js +22 -17
- package/Data/Structs/ChunkStruct.d.ts +1 -0
- package/{Contexts/World/Data → Data}/Structs/ChunkStruct.js +4 -4
- package/Data/Structs/ColumnStruct.d.ts +1 -0
- package/{Contexts/World/Data → Data}/Structs/ColumnStruct.js +13 -13
- package/Data/Structs/Constants/ChunkStructProperties.d.ts +10 -0
- package/Data/Structs/Constants/ChunkStructProperties.js +11 -0
- package/Data/Structs/Constants/SubstanceStructIds.d.ts +0 -0
- package/Data/Structs/Constants/SubstanceStructIds.js +1 -0
- package/Data/Structs/Constants/WorldDataStructProperties.d.ts +8 -0
- package/Data/Structs/Constants/WorldDataStructProperties.js +9 -0
- package/{Contexts/World/Data → Data}/Structs/RegionStruct.d.ts +0 -1
- package/{Contexts/World/Data → Data}/Structs/RegionStruct.js +9 -9
- package/Data/Structs/SubstanceStruct.d.ts +16 -0
- package/Data/{Substance → Structs}/SubstanceStruct.js +3 -3
- package/Data/Structs/VoxelStruct.d.ts +27 -0
- package/Data/{Voxel → Structs}/VoxelStruct.js +2 -2
- package/Data/Types/WorldData.types.d.ts +2 -2
- package/Data/Types/WorldData.types.js +2 -2
- package/Data/World/Classes/Chunk.d.ts +8 -3
- package/Data/World/Classes/Chunk.js +48 -19
- package/Data/World/Classes/Column.d.ts +5 -3
- package/Data/World/Classes/Column.js +10 -6
- package/Data/World/Classes/Region.js +1 -1
- package/Data/World/DimensionsRegister.js +1 -1
- package/Data/{RegionHeaderRegister.d.ts → World/RegionHeaderRegister.d.ts} +1 -1
- package/Data/{RegionHeaderRegister.js → World/RegionHeaderRegister.js} +2 -2
- package/Data/World/WorldBounds.d.ts +1 -0
- package/Data/World/WorldBounds.js +15 -0
- package/Data/World/WorldPainter.d.ts +6 -5
- package/Data/World/WorldPainter.js +30 -45
- package/Data/World/WorldRegister.js +21 -13
- package/Data/World/WorldRegisterCache.js +1 -1
- package/Data/World/WorldSpaces.d.ts +1 -1
- package/Init/StartConstructor.d.ts +2 -2
- package/Init/StartConstructor.js +51 -6
- package/Init/StartNexus.d.ts +2 -0
- package/Init/StartNexus.js +29 -0
- package/Init/StartRenderer.d.ts +15 -0
- package/Init/StartRenderer.js +84 -0
- package/Init/StartWorld.d.ts +3 -6
- package/Init/StartWorld.js +130 -6
- package/Math/Constants/Faces.d.ts +1 -1
- package/Mesher/Functions/CompactMesh.d.ts +3 -0
- package/Mesher/Functions/CompactMesh.js +37 -0
- package/Mesher/Functions/CompactVoxelMesh.d.ts +3 -0
- package/Mesher/Functions/CompactVoxelMesh.js +111 -0
- package/Mesher/Geometry/VoxelGeometry.d.ts +1 -1
- package/Mesher/Geometry/VoxelGeometry.js +13 -9
- package/Mesher/Mesher.d.ts +5 -69
- package/Mesher/Mesher.js +28 -46
- package/Mesher/Meshers/MesherInterface.d.ts +5 -0
- package/Mesher/Meshers/MesherManager.d.ts +3 -3
- package/Mesher/Meshers/MesherManager.js +2 -2
- package/Mesher/Meshers/{Meshers/TextureMesher.d.ts → TextureMesher.d.ts} +5 -3
- package/Mesher/Meshers/{Meshers/TextureMesher.js → TextureMesher.js} +18 -13
- package/Mesher/Meshers/VoxelMesher.d.ts +15 -0
- package/Mesher/Meshers/VoxelMesher.js +47 -0
- package/Mesher/Models/Common/BoundsFunctions.d.ts +4 -0
- package/Mesher/Models/Common/BoundsFunctions.js +56 -0
- package/Mesher/Models/Common/BoxGeometryNode.d.ts +10 -0
- package/Mesher/Models/Common/BoxGeometryNode.js +74 -0
- package/Mesher/{Calc → Models/Common/Calc}/CalcConstants.d.ts +3 -4
- package/Mesher/{Calc → Models/Common/Calc}/CalcConstants.js +3 -3
- package/Mesher/{Calc/Light → Models/Common/Calc}/FaceDataCalc.d.ts +2 -2
- package/Mesher/{Calc/Light → Models/Common/Calc}/FaceDataCalc.js +8 -10
- package/Mesher/Models/Common/QuadGeometryNode.d.ts +11 -0
- package/Mesher/Models/Common/QuadGeometryNode.js +51 -0
- package/Mesher/Models/Nodes/Custom/Liquid/FlowGradient.d.ts +6 -0
- package/Mesher/{Calc/Flow → Models/Nodes/Custom/Liquid}/FlowGradient.js +12 -15
- package/Mesher/Models/Nodes/Custom/Liquid/LiquidGeomtryNode.d.ts +15 -0
- package/Mesher/Models/Nodes/Custom/Liquid/LiquidGeomtryNode.js +269 -0
- package/Mesher/Models/Nodes/Custom/index.d.ts +0 -0
- package/Mesher/Models/Nodes/Custom/index.js +1 -0
- package/Mesher/Models/Nodes/GeometryNode.d.ts +22 -0
- package/{VoxelModels/Constructor → Mesher/Models}/Nodes/GeometryNode.js +5 -1
- package/Mesher/Models/Nodes/Ruled/BoxVoxelGeometryNode.d.ts +25 -0
- package/{VoxelModels/Constructor → Mesher/Models}/Nodes/Ruled/BoxVoxelGeometryNode.js +20 -83
- package/Mesher/Models/Nodes/Ruled/QuadVoxelGeometryNode.d.ts +21 -0
- package/{VoxelModels/Constructor → Mesher/Models}/Nodes/Ruled/QuadVoxelGeometryNode.js +21 -51
- package/Mesher/Models/Nodes/Ruleless/RulelessBoxVoxelGeometryNode.d.ts +19 -0
- package/Mesher/Models/Nodes/Ruleless/RulelessBoxVoxelGeometryNode.js +75 -0
- package/Mesher/Models/Nodes/Ruleless/RulelessQuadVoxelGeometryNode.d.ts +20 -0
- package/{VoxelModels/Constructor → Mesher/Models}/Nodes/Ruleless/RulelessQuadVoxelGeometryNode.js +18 -48
- package/Mesher/Models/Nodes/VoxelGeometryConstructor.d.ts +13 -0
- package/Mesher/Models/Nodes/VoxelGeometryConstructor.js +68 -0
- package/Mesher/Models/VoxelConstructor.d.ts +30 -0
- package/{VoxelModels/Constructor/VoxelModelVoxelConstructor.js → Mesher/Models/VoxelConstructor.js} +34 -20
- package/{VoxelModels/Constructor → Mesher/Models}/VoxelGeometryLookUp.d.ts +6 -5
- package/{VoxelModels/Constructor → Mesher/Models}/VoxelGeometryLookUp.js +28 -25
- package/Mesher/Models/VoxelModelConstructorRegister.d.ts +21 -0
- package/Mesher/Models/VoxelModelConstructorRegister.js +53 -0
- package/Mesher/Models/VoxelModelEffect.d.ts +13 -0
- package/Mesher/Models/VoxelModelEffect.js +43 -0
- package/Mesher/Processors/ChunkProcessor.d.ts +6 -2
- package/Mesher/Processors/ChunkProcessor.js +68 -30
- package/Mesher/{Rules → Substances}/RenderedSubstances.d.ts +0 -1
- package/Mesher/Substances/RenderedSubstances.js +7 -0
- package/Mesher/Tasks/BuidlerTasks.types.d.ts +2 -2
- package/Mesher/Tools/OutlinedVoxelTool.js +46 -29
- package/Mesher/Tools/VoxelMeshBVHBuilder.d.ts +85 -0
- package/Mesher/Tools/VoxelMeshBVHBuilder.js +233 -0
- package/Mesher/Tools/VoxelMeshVertexStructCursor.d.ts +54 -0
- package/Mesher/Tools/VoxelMeshVertexStructCursor.js +145 -0
- package/Mesher/Tools/VoxelMesherDataTool.d.ts +22 -11
- package/Mesher/Tools/VoxelMesherDataTool.js +44 -62
- package/Mesher/Tools/VoxelTemplateDataTool.d.ts +2 -2
- package/Mesher/Tools/VoxelTemplateDataTool.js +1 -1
- package/Mesher/Types/Mesher.types.d.ts +21 -0
- package/Mesher/Types/VoxelMesh.types.d.ts +5 -0
- package/Mesher/Types/VoxelMesh.types.js +14 -0
- package/Mesher/Types/index.d.ts +2 -1
- package/Mesher/Types/index.js +2 -1
- package/Models/Defaults/LiquidVoxelModel.d.ts +7 -0
- package/Models/Defaults/LiquidVoxelModel.js +47 -0
- package/{VoxelModels → Models}/Examples.d.ts +4 -0
- package/{VoxelModels → Models}/Examples.js +369 -99
- package/{VoxelModels → Models}/Input/BoxVoxelGometryInputs.js +4 -1
- package/{VoxelModels → Models}/Rules/Classes/OcclusionFace.js +2 -2
- package/Models/Rules/Classes/VoxelRulesGeometry.d.ts +15 -0
- package/{VoxelModels → Models}/Rules/Classes/VoxelRulesGeometry.js +9 -12
- package/{VoxelModels → Models}/Rules/Classes/VoxelRulesModel.d.ts +1 -1
- package/{VoxelModels → Models}/Rules/Functions/BuildGeomtryInputs.js +20 -2
- package/{VoxelModels → Models}/Rules/Functions/BuildRules.d.ts +1 -1
- package/{VoxelModels → Models}/Rules/Functions/GetOcclusionFaces.d.ts +1 -1
- package/{VoxelModels → Models}/Rules/Functions/GetOcclusionFaces.js +1 -1
- package/{VoxelModels → Models}/Rules/VoxelModelManager.d.ts +1 -1
- package/{VoxelModels → Models}/Rules/VoxelModelManager.js +9 -7
- package/{VoxelModels → Models}/Shared/Transform.d.ts +2 -2
- package/{VoxelModels → Models}/Shared/Transform.js +1 -1
- package/{VoxelModels → Models}/VoxelModel.types.d.ts +13 -26
- package/Renderer/Classes/ChunkMesh.d.ts +10 -0
- package/Renderer/Classes/ChunkMesh.js +13 -0
- package/Renderer/Classes/MeshRegisterColumn.d.ts +7 -0
- package/Renderer/Classes/MeshRegisterColumn.js +7 -0
- package/Renderer/Classes/MushRegisterRegion.d.ts +4 -0
- package/Renderer/Classes/MushRegisterRegion.js +3 -0
- package/Renderer/DVEChunkMeshInterface.d.ts +3 -0
- package/Renderer/DVEChunkMeshes.d.ts +6 -0
- package/Renderer/DVEChunkMeshes.js +2 -0
- package/{Interfaces/Render/Nodes → Renderer}/DVERenderNode.types.d.ts +3 -3
- package/Renderer/DVERenderer.d.ts +6 -0
- package/Renderer/MeshManager.d.ts +11 -0
- package/Renderer/MeshManager.js +79 -0
- package/Renderer/MeshRegister.d.ts +39 -0
- package/Renderer/MeshRegister.js +218 -0
- package/{Data/Settings → Settings}/EngineSettings.d.ts +1 -1
- package/{Data/Settings → Settings}/EngineSettings.js +5 -5
- package/{Types → Settings}/EngineSettings.types.d.ts +5 -5
- package/{Types → Settings}/EngineSettings.types.js +3 -5
- package/Tasks/Analyzer/Analyzer.d.ts +19 -0
- package/Tasks/Analyzer/Analyzer.js +156 -0
- package/{Analyzer → Tasks/Analyzer}/AnalyzerUpdater.d.ts +2 -2
- package/Tasks/Analyzer/InitTasks.js +16 -0
- package/{DataLoader → Tasks/DataLoader}/Broswer/DataHandler.d.ts +2 -2
- package/{DataLoader → Tasks/DataLoader}/Broswer/DataHandler.js +1 -1
- package/{DataLoader → Tasks/DataLoader}/Broswer/WorldDataTool.d.ts +2 -2
- package/{DataLoader → Tasks/DataLoader}/Broswer/WorldDataTool.js +1 -1
- package/{DataLoader → Tasks/DataLoader}/Constructor/WorldDataSerializer.d.ts +5 -5
- package/{DataLoader → Tasks/DataLoader}/Constructor/WorldDataSerializer.js +3 -3
- package/{DataLoader → Tasks/DataLoader}/Node/DivineVoxelEngineData.d.ts +1 -1
- package/{DataLoader → Tasks/DataLoader}/Node/DivineVoxelEngineData.js +1 -1
- package/{DataLoader → Tasks/DataLoader}/Node/System/RegionSystem.d.ts +1 -1
- package/{DataLoader → Tasks/DataLoader}/Node/Tools/NodeRegionTool.d.ts +1 -1
- package/{DataLoader → Tasks/DataLoader}/Node/Util/DVED.util.js +3 -3
- package/{Interfaces/DataLoader → Tasks/DataLoader/Types}/DVEDataHandler.d.ts +1 -1
- package/{Interfaces/DataLoader → Tasks/DataLoader/Types}/DVEDataHandler.js +1 -1
- package/{DataLoader → Tasks/DataLoader}/World/DataHandlerWrapper.d.ts +3 -5
- package/{DataLoader → Tasks/DataLoader}/World/DataHandlerWrapper.js +5 -32
- package/{DataLoader → Tasks/DataLoader}/World/DataLoaderTasks.js +2 -2
- package/{DataLoader → Tasks/DataLoader}/World/DivineVoxelEngineDataLoaderWorld.d.ts +1 -1
- package/{DataLoader → Tasks/DataLoader}/World/Tools/DataLoaderTool.d.ts +2 -2
- package/{DataLoader → Tasks/DataLoader}/World/Tools/DataLoaderTool.js +7 -7
- package/{DataLoader → Tasks/DataLoader}/World/Tools/DataSerializerTool.d.ts +2 -2
- package/{DataLoader → Tasks/DataLoader}/World/Tools/DataSerializerTool.js +1 -1
- package/{DataLoader → Tasks/DataLoader}/World/Tools/LoaderRegister.d.ts +1 -1
- package/{DataLoader → Tasks/DataLoader}/World/Tools/LoaderRegister.js +1 -1
- package/Tasks/IWG/Constants/ColumnState.d.ts +6 -0
- package/Tasks/IWG/Constants/ColumnState.js +7 -0
- package/{IWG → Tasks/IWG}/World/Classes/DebouncedTasks.d.ts +1 -1
- package/{IWG → Tasks/IWG}/World/Classes/DebouncedTasks.js +1 -1
- package/{IWG → Tasks/IWG}/World/Classes/Generator.d.ts +5 -7
- package/{IWG → Tasks/IWG}/World/Classes/Generator.js +19 -22
- package/{IWG → Tasks/IWG}/World/Classes/Tasks/IWGBatchTask.d.ts +1 -1
- package/{IWG → Tasks/IWG}/World/Classes/Tasks/IWGTaskBase.d.ts +1 -1
- package/{IWG → Tasks/IWG}/World/Classes/Tasks/IWGTaskBase.js +1 -1
- package/{IWG → Tasks/IWG}/World/IWG.js +1 -1
- package/{IWG → Tasks/IWG}/World/Load/SafeExit.js +0 -1
- package/{IWG → Tasks/IWG}/World/Load/Teleport.d.ts +1 -1
- package/{IWG → Tasks/IWG}/World/Tasks/Rendering/IWGBuildTasks.js +1 -1
- package/{IWG → Tasks/IWG}/World/Tasks/Saving/IWGSaveAndUnloadTasks.js +1 -1
- package/{IWG → Tasks/IWG}/World/Tasks/Saving/IWGSaveTasks.js +1 -1
- package/{IWG → Tasks/IWG}/World/Tasks/WorldGen/IWGDecorateTasks.js +3 -3
- package/{IWG → Tasks/IWG}/World/Tasks/WorldGen/IWGGenerateTasks.js +3 -3
- package/{IWG → Tasks/IWG}/World/Tasks/WorldGen/IWGLoadTasks.js +1 -1
- package/{IWG → Tasks/IWG}/World/Tasks/WorldGen/IWGPropagationTasks.js +3 -3
- package/{IWG → Tasks/IWG}/World/Tasks/WorldGen/IWGWorldSunTasks.js +3 -3
- package/Tasks/Mesher/InitTasks.d.ts +2 -0
- package/Tasks/Mesher/InitTasks.js +46 -0
- package/Tasks/Propagation/Explosion/ExplosionManager.d.ts +4 -0
- package/{Propagation → Tasks/Propagation}/Explosion/ExplosionManager.js +11 -14
- package/{Propagation → Tasks/Propagation}/Flow/FlowManager.d.ts +7 -7
- package/{Propagation → Tasks/Propagation}/Flow/FlowManager.js +10 -10
- package/Tasks/Propagation/Flow/Functions/FlowRemove.d.ts +2 -0
- package/{Propagation → Tasks/Propagation}/Flow/Functions/FlowRemove.js +20 -20
- package/Tasks/Propagation/Flow/Functions/FlowUpdate.d.ts +2 -0
- package/{Propagation → Tasks/Propagation}/Flow/Functions/FlowUpdate.js +10 -10
- package/Tasks/Propagation/Illumanation/Functions/RGBUpdate.d.ts +3 -0
- package/Tasks/Propagation/Illumanation/Functions/RGBUpdate.js +82 -0
- package/Tasks/Propagation/Illumanation/Functions/SunUpdate.d.ts +3 -0
- package/Tasks/Propagation/Illumanation/Functions/SunUpdate.js +116 -0
- package/Tasks/Propagation/Illumanation/Functions/WorldSun.d.ts +2 -0
- package/Tasks/Propagation/Illumanation/Functions/WorldSun.js +115 -0
- package/{Propagation → Tasks/Propagation}/Illumanation/IlluminationManager.d.ts +1 -1
- package/{Propagation → Tasks/Propagation}/Illumanation/IlluminationManager.js +2 -2
- package/Tasks/Propagation/InitTasks.d.ts +1 -0
- package/Tasks/Propagation/InitTasks.js +23 -0
- package/Tasks/Propagation/Propagation.d.ts +13 -0
- package/{Propagation → Tasks/Propagation}/Propagation.js +3 -2
- package/{Types → Tasks}/Tasks.types.d.ts +2 -1
- package/{Contexts/Constructor/Tasks/ConstructorTasksIds.d.ts → Tasks/TasksIds.d.ts} +1 -1
- package/Tasks/TasksIds.js +22 -0
- package/Tasks/Update/InitTasks.d.ts +4 -0
- package/Tasks/Update/InitTasks.js +38 -0
- package/Tasks/Update/UpdateTask.d.ts +53 -0
- package/Tasks/Update/UpdateTask.js +136 -0
- package/{Contexts/Constructor/Tasks → Tasks/Update}/VoxelUpdate.d.ts +5 -4
- package/Tasks/Update/VoxelUpdate.js +164 -0
- package/Tasks/WorldGeneration/InitTasks.d.ts +1 -0
- package/Tasks/WorldGeneration/InitTasks.js +15 -0
- package/{Interfaces/WorldGen → Tasks/WorldGeneration}/WorldGen.types.d.ts +1 -1
- package/Tasks/WorldGeneration/WorldGenBrush.d.ts +16 -0
- package/Tasks/WorldGeneration/WorldGenBrush.js +115 -0
- package/{WorldGeneration → Tasks/WorldGeneration}/WorldGenRegister.d.ts +2 -2
- package/{WorldGeneration → Tasks/WorldGeneration}/WorldGenRegister.js +16 -17
- package/{WorldGeneration → Tasks/WorldGeneration}/WorldGeneration.d.ts +3 -3
- package/{WorldGeneration → Tasks/WorldGeneration}/WorldGeneration.js +1 -13
- package/Templates/FullVoxelTemplate.d.ts +13 -0
- package/Templates/FullVoxelTemplate.js +54 -0
- package/Templates/Functions/CreateTemplate.js +2 -2
- package/Templates/VoxelTemplate.d.ts +3 -3
- package/Templates/VoxelTemplate.js +6 -6
- package/Templates/VoxelTemplates.types.d.ts +8 -0
- package/Textures/Texture.types.d.ts +1 -5
- package/Textures/TextureAnimations.d.ts +2 -2
- package/Textures/TextureAnimations.js +26 -126
- package/Textures/TextureArray.d.ts +47 -0
- package/Textures/TextureArray.js +202 -0
- package/Textures/TextureBuilder.d.ts +3 -6
- package/Textures/TextureBuilder.js +53 -178
- package/Textures/TextureManager.d.ts +7 -7
- package/Textures/TextureManager.js +77 -58
- package/Textures/TextureRegister.d.ts +1 -1
- package/Textures/TextureRegister.js +3 -8
- package/Tools/Brush/AdvancedBrushTool.d.ts +3 -0
- package/Tools/Brush/AdvancedBrushTool.js +19 -8
- package/Tools/Brush/Brush.d.ts +22 -15
- package/Tools/Brush/Brush.js +94 -55
- package/Tools/Classes/DataToolBase.js +1 -1
- package/Tools/Data/DataTool.d.ts +9 -8
- package/Tools/Data/DataTool.js +37 -38
- package/Tools/Data/SubstanceDataTool.d.ts +3 -7
- package/Tools/Data/SubstanceDataTool.js +13 -25
- package/Tools/Data/WorldData/ChunkDataTool.d.ts +1 -1
- package/Tools/Data/WorldData/ColumnDataTool.js +15 -15
- package/Tools/Data/WorldData/HeightMapTool.js +1 -1
- package/Tools/Tasks/TasksTool.d.ts +2 -2
- package/Tools/Tasks/TasksTool.js +17 -17
- package/Voxels/Effects/VoxelEffect.d.ts +12 -0
- package/Voxels/Effects/VoxelEffect.js +6 -0
- package/Voxels/Effects/VoxelEffectRegister.d.ts +6 -0
- package/Voxels/Effects/VoxelEffectRegister.js +15 -0
- package/Voxels/Effects/VoxelEffects.types.d.ts +21 -0
- package/{VoxelModels/Rules → Voxels}/Functions/BuildStateData.d.ts +5 -3
- package/{VoxelModels/Rules → Voxels}/Functions/BuildStateData.js +49 -5
- package/Voxels/Indexes/VoxelIndex.d.ts +39 -0
- package/Voxels/Indexes/VoxelIndex.js +133 -0
- package/Voxels/Indexes/VoxelModelIndex.d.ts +18 -0
- package/Voxels/Indexes/VoxelModelIndex.js +59 -0
- package/Voxels/Indexes/VoxelTextureIndex.d.ts +8 -0
- package/Voxels/Indexes/VoxelTextureIndex.js +40 -0
- package/Voxels/InitVoxelData.d.ts +9 -0
- package/{VoxelModels/InitVoxelModels.js → Voxels/InitVoxelData.js} +53 -23
- package/{VoxelModels → Voxels}/State/CondiotnalTreeReader.d.ts +1 -1
- package/{VoxelModels → Voxels}/State/CondiotnalTreeReader.js +3 -2
- package/{VoxelModels → Voxels}/State/LogicStatementReader.d.ts +2 -1
- package/{VoxelModels → Voxels}/State/LogicStatementReader.js +2 -2
- package/{VoxelModels → Voxels}/State/Schema/BinarySchema.d.ts +3 -1
- package/Voxels/State/Schema/BinarySchema.js +103 -0
- package/{VoxelModels → Voxels}/State/Schema/BinarySchemaNode.d.ts +1 -1
- package/{VoxelModels → Voxels}/State/Schema/BinarySchemaNode.js +1 -1
- package/{VoxelModels → Voxels}/State/Schema/Conditions/SameVoxelConditions.d.ts +1 -1
- package/Voxels/State/Schema/Conditions/SameVoxelConditions.js +17 -0
- package/{VoxelModels → Voxels}/State/Schema/StateSchema.d.ts +6 -3
- package/{VoxelModels → Voxels}/State/Schema/StateSchema.js +4 -3
- package/Voxels/State/Schema/VoxelSchema.d.ts +7 -0
- package/Voxels/State/Schema/VoxelSchema.js +10 -0
- package/{VoxelModels → Voxels}/State/SchemaRegister.d.ts +5 -5
- package/Voxels/State/SchemaRegister.js +56 -0
- package/{VoxelModels → Voxels}/State/State.types.d.ts +25 -2
- package/{VoxelModels → Voxels}/State/StateTreeReader.d.ts +1 -1
- package/{VoxelModels → Voxels}/State/StateTreeReader.js +3 -0
- package/Voxels/State/VoxelTagStates.d.ts +22 -0
- package/Voxels/State/VoxelTagStates.js +47 -0
- package/Voxels/Voxel.types.d.ts +94 -0
- package/Voxels/Voxel.types.js +16 -0
- package/Voxels/VoxelMaterial.types.d.ts +8 -0
- package/Voxels/VoxelSubstances.types.d.ts +21 -0
- package/Voxels/VoxelSubstances.types.js +9 -0
- package/{VoxelModels/VoxelModelRules.types.d.ts → Voxels/VoxelSyncData.d.ts} +15 -11
- package/Voxels/VoxelSyncData.js +1 -0
- package/Voxels/index.d.ts +3 -0
- package/Voxels/index.js +3 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +9 -7
- package/Analyzer/Analyzer.d.ts +0 -18
- package/Analyzer/Analyzer.js +0 -91
- package/Analyzer/AnalyzerProcessor.d.ts +0 -6
- package/Analyzer/AnalyzerProcessor.js +0 -39
- package/Contexts/Constructor/InitWorker.d.ts +0 -2
- package/Contexts/Constructor/InitWorker.js +0 -20
- package/Contexts/Constructor/Tasks/ConstructorTasks.d.ts +0 -2
- package/Contexts/Constructor/Tasks/ConstructorTasks.js +0 -82
- package/Contexts/Constructor/Tasks/ConstructorTasksIds.js +0 -22
- package/Contexts/Constructor/Tasks/TasksRequest.d.ts +0 -141
- package/Contexts/Constructor/Tasks/TasksRequest.js +0 -218
- package/Contexts/Constructor/Tasks/VoxelUpdate.js +0 -151
- package/Contexts/Constructor/Threads/ConstrcutorTheads.js +0 -22
- package/Contexts/Constructor/Threads/ConstructorThreadState.d.ts +0 -5
- package/Contexts/Constructor/Threads/ConstructorThreadState.js +0 -16
- package/Contexts/Nexus/InitWorker.d.ts +0 -2
- package/Contexts/Nexus/InitWorker.js +0 -15
- package/Contexts/Nexus/Threads/NexusTheads.js +0 -25
- package/Contexts/Nexus/Threads/NexusThreadState.d.ts +0 -7
- package/Contexts/Nexus/Threads/NexusThreadState.js +0 -10
- package/Contexts/Render/InitThreads.d.ts +0 -2
- package/Contexts/Render/InitThreads.js +0 -53
- package/Contexts/Render/Scene/MeshManager.d.ts +0 -15
- package/Contexts/Render/Scene/MeshManager.js +0 -105
- package/Contexts/Render/Scene/MeshRegister.types.d.ts +0 -13
- package/Contexts/RichWorld/DivineVoxelEngineRichWorld.d.ts +0 -21
- package/Contexts/RichWorld/DivineVoxelEngineRichWorld.js +0 -33
- package/Contexts/RichWorld/InitWorker.d.ts +0 -2
- package/Contexts/RichWorld/InitWorker.js +0 -15
- package/Contexts/RichWorld/RichDataRegister.d.ts +0 -24
- package/Contexts/RichWorld/RichDataRegister.js +0 -110
- package/Contexts/RichWorld/RichWorldTasks.d.ts +0 -2
- package/Contexts/RichWorld/RichWorldTasks.js +0 -58
- package/Contexts/RichWorld/Threads/RichWorldThreadState.d.ts +0 -7
- package/Contexts/RichWorld/Threads/RichWorldThreadState.js +0 -10
- package/Contexts/RichWorld/Threads/RichWorldThreads.d.ts +0 -10
- package/Contexts/RichWorld/Threads/RichWorldThreads.js +0 -22
- package/Contexts/RichWorld/Tools/RichColumnDataTool.d.ts +0 -7
- package/Contexts/RichWorld/Tools/RichColumnDataTool.js +0 -18
- package/Contexts/RichWorld/Tools/RichDataTool.d.ts +0 -14
- package/Contexts/RichWorld/Tools/RichDataTool.js +0 -71
- package/Contexts/RichWorld/index.d.ts +0 -1
- package/Contexts/RichWorld/index.js +0 -1
- package/Contexts/World/Data/Classes/RegisterDataManager.d.ts +0 -8
- package/Contexts/World/Data/Classes/RegisterDataManager.js +0 -22
- package/Contexts/World/Data/DataRegister.d.ts +0 -8
- package/Contexts/World/Data/DataRegister.js +0 -9
- package/Contexts/World/Data/DataStructBuilders.d.ts +0 -12
- package/Contexts/World/Data/DataStructBuilders.js +0 -23
- package/Contexts/World/Data/Generators/SubstanceDataGenerator.d.ts +0 -5
- package/Contexts/World/Data/Generators/SubstanceDataGenerator.js +0 -36
- package/Contexts/World/Data/Generators/WorldDataGenerator.d.ts +0 -12
- package/Contexts/World/Data/Generators/WorldDataGenerator.js +0 -24
- package/Contexts/World/Data/Managers/DataManagers.d.ts +0 -5
- package/Contexts/World/Data/Managers/DataManagers.js +0 -126
- package/Contexts/World/Data/StructBuilders/SubstanceStructBuilder.d.ts +0 -2
- package/Contexts/World/Data/StructBuilders/SubstanceStructBuilder.js +0 -57
- package/Contexts/World/Data/StructBuilders/VoxelStructBuilder.d.ts +0 -2
- package/Contexts/World/Data/Structs/ChunkStruct.d.ts +0 -3
- package/Contexts/World/Data/Structs/ColumnStruct.d.ts +0 -3
- package/Contexts/World/Data/WorldDataHooks.js +0 -96
- package/Contexts/World/InitWorker.d.ts +0 -2
- package/Contexts/World/InitWorker.js +0 -35
- package/Contexts/World/Threads/WorldThreadState.d.ts +0 -4
- package/Contexts/World/Threads/WorldThreadState.js +0 -6
- package/Contexts/World/Threads/WorldThreads.d.ts +0 -14
- package/Contexts/World/Threads/WorldThreads.js +0 -36
- package/Data/Constants/Structs/ChunkStructProperties.d.ts +0 -10
- package/Data/Constants/Structs/ChunkStructProperties.js +0 -10
- package/Data/Constants/Structs/SubstanceStructProperties.d.ts +0 -8
- package/Data/Constants/Structs/SubstanceStructProperties.js +0 -8
- package/Data/Constants/Structs/VoxelStructProperties.d.ts +0 -11
- package/Data/Constants/Structs/VoxelStructProperties.js +0 -11
- package/Data/Constants/Structs/WorldDataStructProperties.d.ts +0 -8
- package/Data/Constants/Structs/WorldDataStructProperties.js +0 -8
- package/Data/Constants/SubstanceTagIds.d.ts +0 -12
- package/Data/Constants/SubstanceTagIds.js +0 -13
- package/Data/Constants/VoxelTagIds.d.ts +0 -14
- package/Data/Constants/VoxelTagIds.js +0 -15
- package/Data/DVEDataCore.d.ts +0 -6
- package/Data/DVEDataCore.js +0 -6
- package/Data/DVEDataManager.d.ts +0 -31
- package/Data/DVEDataManager.js +0 -23
- package/Data/DVEDataSyncNode.d.ts +0 -20
- package/Data/DVEDataSyncNode.js +0 -53
- package/Data/Substance/SubstancePalette.d.ts +0 -9
- package/Data/Substance/SubstancePalette.js +0 -16
- package/Data/Substance/SubstanceStruct.d.ts +0 -20
- package/Data/Types/DataSync.types.d.ts +0 -3
- package/Data/Types/VoxelData.types.d.ts +0 -7
- package/Data/Voxel/VoxelPalette.d.ts +0 -12
- package/Data/Voxel/VoxelPalette.js +0 -22
- package/Data/Voxel/VoxelStruct.d.ts +0 -26
- package/IWG/Constants/ColumnState.d.ts +0 -6
- package/IWG/Constants/ColumnState.js +0 -7
- package/Interfaces/Anaylzer/DVEAnaylzer.d.ts +0 -5
- package/Interfaces/Anaylzer/DVEAnaylzer.js +0 -2
- package/Interfaces/Classes/ThreadState.d.ts +0 -7
- package/Interfaces/Classes/ThreadState.js +0 -7
- package/Interfaces/Data/DataManager.d.ts +0 -13
- package/Interfaces/Data/DataManager.js +0 -14
- package/Interfaces/Data/RemoteDataSyncNode.d.ts +0 -16
- package/Interfaces/Data/RemoteDataSyncNode.js +0 -36
- package/Interfaces/Render/DVEFOManager.d.ts +0 -7
- package/Interfaces/Render/DVEFOManager.js +0 -6
- package/Interfaces/Render/DVEMeshCuller.d.ts +0 -7
- package/Interfaces/Render/DVEMeshCuller.js +0 -8
- package/Interfaces/Render/DVERenderer.d.ts +0 -14
- package/Interfaces/Render/Nodes/DVENodeManager.d.ts +0 -6
- package/Interfaces/Render/Nodes/DVENodeManager.js +0 -2
- package/Interfaces/Render/Nodes/Materials/DVENodeMaterialManager.d.ts +0 -5
- package/Interfaces/Render/Nodes/Materials/DVENodeMaterialManager.js +0 -2
- package/Interfaces/Render/Nodes/Meshes/DVENodeMesh.d.ts +0 -13
- package/Interfaces/Render/Nodes/Meshes/DVENodeMesh.js +0 -6
- package/Interfaces/Render/Nodes/Meshes/DVENodeMeshManager.d.ts +0 -5
- package/Interfaces/Render/Nodes/Meshes/DVENodeMeshManager.js +0 -2
- package/Mesher/Calc/Flow/FlowGradient.d.ts +0 -5
- package/Mesher/Calc/Light/LightGradient.d.ts +0 -13
- package/Mesher/Calc/Light/LightGradient.js +0 -255
- package/Mesher/Constructors/Voxel/Classes/Cube/ModCube.constructor.d.ts +0 -13
- package/Mesher/Constructors/Voxel/Classes/Cube/ModCube.constructor.js +0 -77
- package/Mesher/Constructors/Voxel/Classes/Cube/PillarCube.constructor.d.ts +0 -27
- package/Mesher/Constructors/Voxel/Classes/Cube/PillarCube.constructor.js +0 -75
- package/Mesher/Constructors/Voxel/Classes/Cube/SimpleCube.constructor.d.ts +0 -13
- package/Mesher/Constructors/Voxel/Classes/Cube/SimpleCube.constructor.js +0 -56
- package/Mesher/Constructors/Voxel/Classes/HalfCube/ModHalfCube.constructor.d.ts +0 -13
- package/Mesher/Constructors/Voxel/Classes/HalfCube/ModHalfCube.constructor.js +0 -80
- package/Mesher/Constructors/Voxel/Classes/HalfCube/SimpleHalfCube.constructor.d.ts +0 -16
- package/Mesher/Constructors/Voxel/Classes/HalfCube/SimpleHalfCube.constructor.js +0 -58
- package/Mesher/Constructors/Voxel/Classes/Liquid/SimpleLiquid.constructor.d.ts +0 -12
- package/Mesher/Constructors/Voxel/Classes/Liquid/SimpleLiquid.constructor.js +0 -46
- package/Mesher/Constructors/Voxel/Classes/Panel/SimpleCrossedPanel.constructor.d.ts +0 -12
- package/Mesher/Constructors/Voxel/Classes/Panel/SimpleCrossedPanel.constructor.js +0 -23
- package/Mesher/Constructors/Voxel/Classes/Panel/SimplePanel.constructor.d.ts +0 -12
- package/Mesher/Constructors/Voxel/Classes/Panel/SimplePanel.constructor.js +0 -23
- package/Mesher/Constructors/Voxel/Classes/Stair/ModStair.constructor.d.ts +0 -12
- package/Mesher/Constructors/Voxel/Classes/Stair/ModStair.constructor.js +0 -50
- package/Mesher/Constructors/Voxel/Classes/Stair/SimpleStair.constructor.d.ts +0 -12
- package/Mesher/Constructors/Voxel/Classes/Stair/SimpleStair.constructor.js +0 -45
- package/Mesher/Constructors/Voxel/Classes/VoxelConstructor.d.ts +0 -7
- package/Mesher/Constructors/Voxel/Classes/VoxelConstructor.js +0 -3
- package/Mesher/Constructors/Voxel/VoxelConstructorsRegister.d.ts +0 -44
- package/Mesher/Constructors/Voxel/VoxelConstructorsRegister.js +0 -75
- package/Mesher/Meshers/Classes/Mesher.d.ts +0 -6
- package/Mesher/Meshers/Classes/Mesher.js +0 -6
- package/Mesher/Meshers/Meshers/VoxelMesher.d.ts +0 -11
- package/Mesher/Meshers/Meshers/VoxelMesher.js +0 -47
- package/Mesher/Processors/TemplateProcessor.d.ts +0 -16
- package/Mesher/Processors/TemplateProcessor.js +0 -71
- package/Mesher/Rules/Overrides/OverrideBase.d.ts +0 -8
- package/Mesher/Rules/Overrides/OverrideBase.js +0 -20
- package/Mesher/Rules/Overrides/OverridesManager.d.ts +0 -10
- package/Mesher/Rules/Overrides/OverridesManager.js +0 -10
- package/Mesher/Rules/RenderedSubstances.js +0 -13
- package/Mesher/Rules/SubstanceRules.d.ts +0 -7
- package/Mesher/Rules/SubstanceRules.js +0 -60
- package/Mesher/Shapes/ShapeTool.d.ts +0 -8
- package/Mesher/Shapes/ShapeTool.js +0 -9
- package/Mesher/Shapes/VoxelShapeBase.d.ts +0 -5
- package/Mesher/Shapes/VoxelShapeBase.js +0 -3
- package/Mesher/Shapes/VoxelShapeManager.d.ts +0 -10
- package/Mesher/Shapes/VoxelShapeManager.js +0 -37
- package/Mesher/Shapes/default/Cube/Cube.voxel.shape.d.ts +0 -15
- package/Mesher/Shapes/default/Cube/Cube.voxel.shape.js +0 -234
- package/Mesher/Shapes/default/Cube/HalfCube.voxel.shape.d.ts +0 -24
- package/Mesher/Shapes/default/Cube/HalfCube.voxel.shape.js +0 -231
- package/Mesher/Shapes/default/Liquid/Liquid.voxel.shape.d.ts +0 -16
- package/Mesher/Shapes/default/Liquid/Liquid.voxel.shape.js +0 -250
- package/Mesher/Shapes/default/Panel/CrossedPanels.voxel.shape.d.ts +0 -8
- package/Mesher/Shapes/default/Panel/CrossedPanels.voxel.shape.js +0 -67
- package/Mesher/Shapes/default/Panel/FlatPanel.voxel.shape.d.ts +0 -8
- package/Mesher/Shapes/default/Panel/FlatPanel.voxel.shape.js +0 -68
- package/Mesher/Shapes/default/Panel/PanelStates.d.ts +0 -8
- package/Mesher/Shapes/default/Panel/PanelStates.js +0 -9
- package/Mesher/Shapes/default/RegisterDefaultShapes.js +0 -10
- package/Mesher/Shapes/default/Stairs/Stair.voxel.shape.d.ts +0 -15
- package/Mesher/Shapes/default/Stairs/Stair.voxel.shape.js +0 -31
- package/Mesher/Shapes/default/Stairs/StairOverrides.d.ts +0 -17
- package/Mesher/Shapes/default/Stairs/StairOverrides.js +0 -151
- package/Mesher/Shapes/default/Stairs/StairShapes.d.ts +0 -2
- package/Mesher/Shapes/default/Stairs/StairShapes.js +0 -546
- package/Mesher/Shapes/default/Stairs/StairStates.d.ts +0 -19
- package/Mesher/Shapes/default/Stairs/StairStates.js +0 -37
- package/Mesher/Shapes/default/index.d.ts +0 -6
- package/Mesher/Shapes/default/index.js +0 -6
- package/Mesher/Tools/BuilderDataTool.d.ts +0 -4
- package/Mesher/Tools/BuilderDataTool.js +0 -7
- package/Mesher/Types/Override.types.d.ts +0 -8
- package/Propagation/Explosion/ExplosionManager.d.ts +0 -4
- package/Propagation/Flow/Functions/FlowRemove.d.ts +0 -2
- package/Propagation/Flow/Functions/FlowUpdate.d.ts +0 -2
- package/Propagation/Illumanation/Functions/RGBUpdate.d.ts +0 -3
- package/Propagation/Illumanation/Functions/RGBUpdate.js +0 -169
- package/Propagation/Illumanation/Functions/SunUpdate.d.ts +0 -3
- package/Propagation/Illumanation/Functions/SunUpdate.js +0 -187
- package/Propagation/Illumanation/Functions/WorldSun.d.ts +0 -2
- package/Propagation/Illumanation/Functions/WorldSun.js +0 -190
- package/Propagation/Propagation.d.ts +0 -13
- package/Shaders/Code/Functions/FogShaders.d.ts +0 -2
- package/Shaders/Code/Functions/FogShaders.js +0 -59
- package/Shaders/Code/Functions/FragmentFunctions.d.ts +0 -2
- package/Shaders/Code/Functions/FragmentFunctions.js +0 -155
- package/Shaders/Code/Functions/UtilShaders.d.ts +0 -2
- package/Shaders/Code/Functions/UtilShaders.js +0 -209
- package/Shaders/Code/Functions/VertexFunctions.d.ts +0 -2
- package/Shaders/Code/Functions/VertexFunctions.js +0 -73
- package/Shaders/Code/Snippets/FragmentSnippets.d.ts +0 -2
- package/Shaders/Code/Snippets/FragmentSnippets.js +0 -93
- package/Shaders/Code/Snippets/VertexSnippets.d.ts +0 -2
- package/Shaders/Code/Snippets/VertexSnippets.js +0 -28
- package/Shaders/Code/Snippets/VoxelSnippets.d.ts +0 -2
- package/Shaders/Code/Snippets/VoxelSnippets.js +0 -137
- package/Shaders/DVEShaderRegister.d.ts +0 -42
- package/Shaders/DVEShaderRegister.js +0 -15
- package/Shaders/DVEShaders.d.ts +0 -55
- package/Shaders/DVEShaders.js +0 -369
- package/Shaders/Types/Shader.types.d.ts +0 -14
- package/Textures/TextureType.d.ts +0 -63
- package/Textures/TextureType.js +0 -287
- package/Tools/Data/RichDataTool.d.ts +0 -25
- package/Tools/Data/RichDataTool.js +0 -121
- package/Types/DataSync.types.d.ts +0 -25
- package/Types/Substances.types.d.ts +0 -4
- package/Types/Voxel.types.d.ts +0 -12
- package/Types/index.d.ts +0 -2
- package/Types/index.js +0 -2
- package/VoxelModels/Constructor/InitVoxelModelsConstructor.d.ts +0 -2
- package/VoxelModels/Constructor/InitVoxelModelsConstructor.js +0 -20
- package/VoxelModels/Constructor/Nodes/GeometryNode.d.ts +0 -15
- package/VoxelModels/Constructor/Nodes/Ruled/BoxVoxelGeometryNode.d.ts +0 -22
- package/VoxelModels/Constructor/Nodes/Ruled/QuadVoxelGeometryNode.d.ts +0 -23
- package/VoxelModels/Constructor/Nodes/Ruleless/RulelessBoxVoxelGeometryNode.d.ts +0 -21
- package/VoxelModels/Constructor/Nodes/Ruleless/RulelessBoxVoxelGeometryNode.js +0 -138
- package/VoxelModels/Constructor/Nodes/Ruleless/RulelessQuadVoxelGeometryNode.d.ts +0 -22
- package/VoxelModels/Constructor/Nodes/RulelessGeometryNode.d.ts +0 -15
- package/VoxelModels/Constructor/Nodes/RulelessGeometryNode.js +0 -14
- package/VoxelModels/Constructor/Register/VoxelGeometryConstructor.d.ts +0 -13
- package/VoxelModels/Constructor/Register/VoxelGeometryConstructor.js +0 -33
- package/VoxelModels/Constructor/Register/VoxelGeometryRulelessConstructor.d.ts +0 -9
- package/VoxelModels/Constructor/Register/VoxelGeometryRulelessConstructor.js +0 -27
- package/VoxelModels/Constructor/Register/VoxelModelConstructorRegister.d.ts +0 -14
- package/VoxelModels/Constructor/Register/VoxelModelConstructorRegister.js +0 -31
- package/VoxelModels/Constructor/Register/VoxelModelsConstructor.d.ts +0 -13
- package/VoxelModels/Constructor/Register/VoxelModelsConstructor.js +0 -21
- package/VoxelModels/Constructor/VoxelModelVoxelConstructor.d.ts +0 -24
- package/VoxelModels/InitVoxelModels.d.ts +0 -10
- package/VoxelModels/Rules/Classes/VoxelRulesGeometry.d.ts +0 -19
- package/VoxelModels/State/Schema/BinarySchema.js +0 -52
- package/VoxelModels/State/Schema/Conditions/SameVoxelConditions.js +0 -13
- package/VoxelModels/State/SchemaRegister.js +0 -50
- package/VoxelModels/Tags/TagsOverrides.d.ts +0 -5
- package/VoxelModels/Tags/TagsOverrides.js +0 -4
- package/VoxelModels/World/InitVoxelModelsWorld.d.ts +0 -2
- package/VoxelModels/World/InitVoxelModelsWorld.js +0 -11
- package/WorldGeneration/WorldGenBrush.d.ts +0 -75
- package/WorldGeneration/WorldGenBrush.js +0 -136
- /package/{Contexts/Render/Scene/MeshRegister.types.js → Cache/Cache.types.js} +0 -0
- /package/{Data/Types/DataSync.types.js → Contexts/Base/Main/Generator/DataGenerator.types.js} +0 -0
- /package/{Types → Contexts/Base/Remote/Sync}/DataSync.types.js +0 -0
- /package/{Interfaces/Common → Contexts/Base/Remote/Sync}/DataSyncIds.d.ts +0 -0
- /package/{Interfaces/Common → Contexts/Base/Remote/Sync}/DataSyncIds.js +0 -0
- /package/Contexts/{World/Data/WorldDataHooks.d.ts → Base/Remote/Sync/InitWorldDataSync.d.ts} +0 -0
- /package/Data/{Types/VoxelData.types.js → Cursor/World/WorldSectionCursor.interface.js} +0 -0
- /package/{Types → Data/Types}/StructBuilder.types.d.ts +0 -0
- /package/{Types → Data/Types}/StructBuilder.types.js +0 -0
- /package/{DataLoader/Types/DVED.types.js → Mesher/Meshers/MesherInterface.js} +0 -0
- /package/{Interfaces/Render/Nodes/DVERenderNode.types.js → Mesher/Types/Mesher.types.js} +0 -0
- /package/{VoxelModels → Models}/Defaults/CubeVoxelGeometry.d.ts +0 -0
- /package/{VoxelModels → Models}/Defaults/CubeVoxelGeometry.js +0 -0
- /package/{VoxelModels → Models}/Defaults/CubeVoxelModels.d.ts +0 -0
- /package/{VoxelModels → Models}/Defaults/CubeVoxelModels.js +0 -0
- /package/{VoxelModels → Models}/Defaults/PanelVoxelGeometry.d.ts +0 -0
- /package/{VoxelModels → Models}/Defaults/PanelVoxelGeometry.js +0 -0
- /package/{VoxelModels → Models}/Defaults/PanelVoxelModels.d.ts +0 -0
- /package/{VoxelModels → Models}/Defaults/PanelVoxelModels.js +0 -0
- /package/{VoxelModels → Models}/Defaults/StairVoxelModel.d.ts +0 -0
- /package/{VoxelModels → Models}/Defaults/StairVoxelModel.js +0 -0
- /package/{VoxelModels → Models}/Indexing/VoxelAOResultsIndex.d.ts +0 -0
- /package/{VoxelModels → Models}/Indexing/VoxelAOResultsIndex.js +0 -0
- /package/{VoxelModels → Models}/Indexing/VoxelFaceCullResultsIndex.d.ts +0 -0
- /package/{VoxelModels → Models}/Indexing/VoxelFaceCullResultsIndex.js +0 -0
- /package/{VoxelModels → Models}/Indexing/VoxelFaceTransparentResultsIndex.d.ts +0 -0
- /package/{VoxelModels → Models}/Indexing/VoxelFaceTransparentResultsIndex.js +0 -0
- /package/{VoxelModels → Models}/Indexing/VoxelRelativeCubeIndex.d.ts +0 -0
- /package/{VoxelModels → Models}/Indexing/VoxelRelativeCubeIndex.js +0 -0
- /package/{VoxelModels → Models}/Input/BoxVoxelGometryInputs.d.ts +0 -0
- /package/{VoxelModels → Models}/Input/QuadVoxelGometryInputs.d.ts +0 -0
- /package/{VoxelModels → Models}/Input/QuadVoxelGometryInputs.js +0 -0
- /package/{VoxelModels → Models}/Rules/Classes/OcclusionFace.d.ts +0 -0
- /package/{VoxelModels → Models}/Rules/Classes/VoxelRulesModel.js +0 -0
- /package/{VoxelModels → Models}/Rules/Functions/BuildFinalInputs.d.ts +0 -0
- /package/{VoxelModels → Models}/Rules/Functions/BuildFinalInputs.js +0 -0
- /package/{VoxelModels → Models}/Rules/Functions/BuildGeomtryInputs.d.ts +0 -0
- /package/{VoxelModels → Models}/Rules/Functions/BuildRules.js +0 -0
- /package/{VoxelModels → Models}/VoxelModel.types.js +0 -0
- /package/{Interfaces/WorldGen/WorldGen.types.js → Renderer/DVEChunkMeshInterface.js} +0 -0
- /package/{Mesher/Types/Override.types.js → Renderer/DVERenderNode.types.js} +0 -0
- /package/{Interfaces/Render → Renderer}/DVERenderer.js +0 -0
- /package/{Analyzer → Tasks/Analyzer}/AnalyzerUpdater.js +0 -0
- /package/{Mesher/Shapes/default/RegisterDefaultShapes.d.ts → Tasks/Analyzer/InitTasks.d.ts} +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Broswer/WorldDataBase.d.ts +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Broswer/WorldDataBase.js +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Broswer/WorldDataBaseManager.d.ts +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Broswer/WorldDataBaseManager.js +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Broswer/index.d.ts +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Broswer/index.js +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Constructor/DataLoaderTasks.d.ts +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Constructor/DataLoaderTasks.js +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Constructor/DivineVoxelEngineDataLoaderConstructor.d.ts +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Constructor/DivineVoxelEngineDataLoaderConstructor.js +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Constructor/index.d.ts +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Constructor/index.js +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Node/System/RegionSystem.js +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Node/System/System.d.ts +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Node/System/System.js +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Node/System/SystemPath.d.ts +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Node/System/SystemPath.js +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Node/Tools/NodeRegionTool.js +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Node/Util/DVED.util.d.ts +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Node/index.d.ts +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Node/index.js +0 -0
- /package/{DataLoader → Tasks/DataLoader}/Types/DVED.types.d.ts +0 -0
- /package/{Shaders/Types/Shader.types.js → Tasks/DataLoader/Types/DVED.types.js} +0 -0
- /package/{DataLoader → Tasks/DataLoader}/World/DataLoaderTasks.d.ts +0 -0
- /package/{DataLoader → Tasks/DataLoader}/World/DivineVoxelEngineDataLoaderWorld.js +0 -0
- /package/{IWG → Tasks/IWG}/World/Classes/Tasks/IWGBatchTask.js +0 -0
- /package/{IWG → Tasks/IWG}/World/Classes/Tasks/IWGSingleTask.d.ts +0 -0
- /package/{IWG → Tasks/IWG}/World/Classes/Tasks/IWGSingleTask.js +0 -0
- /package/{IWG → Tasks/IWG}/World/Classes/Tasks/IWGTaskRegister.d.ts +0 -0
- /package/{IWG → Tasks/IWG}/World/Classes/Tasks/IWGTaskRegister.js +0 -0
- /package/{IWG → Tasks/IWG}/World/IWG.d.ts +0 -0
- /package/{IWG → Tasks/IWG}/World/Load/InitLoad.d.ts +0 -0
- /package/{IWG → Tasks/IWG}/World/Load/InitLoad.js +0 -0
- /package/{IWG → Tasks/IWG}/World/Load/LoaderBase.d.ts +0 -0
- /package/{IWG → Tasks/IWG}/World/Load/LoaderBase.js +0 -0
- /package/{IWG → Tasks/IWG}/World/Load/SafeExit.d.ts +0 -0
- /package/{IWG → Tasks/IWG}/World/Load/Teleport.js +0 -0
- /package/{IWG → Tasks/IWG}/World/Tasks/RegisterDefaultTasks.d.ts +0 -0
- /package/{IWG → Tasks/IWG}/World/Tasks/RegisterDefaultTasks.js +0 -0
- /package/{IWG → Tasks/IWG}/World/Tasks/Rendering/IWGBuildTasks.d.ts +0 -0
- /package/{IWG → Tasks/IWG}/World/Tasks/Saving/IWGSaveAndUnloadTasks.d.ts +0 -0
- /package/{IWG → Tasks/IWG}/World/Tasks/Saving/IWGSaveTasks.d.ts +0 -0
- /package/{IWG → Tasks/IWG}/World/Tasks/WorldGen/IWGDecorateTasks.d.ts +0 -0
- /package/{IWG → Tasks/IWG}/World/Tasks/WorldGen/IWGGenerateTasks.d.ts +0 -0
- /package/{IWG → Tasks/IWG}/World/Tasks/WorldGen/IWGLoadTasks.d.ts +0 -0
- /package/{IWG → Tasks/IWG}/World/Tasks/WorldGen/IWGPropagationTasks.d.ts +0 -0
- /package/{IWG → Tasks/IWG}/World/Tasks/WorldGen/IWGWorldSunTasks.d.ts +0 -0
- /package/{IWG → Tasks/IWG}/World/Types/IWG.types.d.ts +0 -0
- /package/{IWG → Tasks/IWG}/World/Types/IWG.types.js +0 -0
- /package/{IWG → Tasks/IWG}/World/index.d.ts +0 -0
- /package/{IWG → Tasks/IWG}/World/index.js +0 -0
- /package/{IWG → Tasks/IWG}/index.d.ts +0 -0
- /package/{IWG → Tasks/IWG}/index.js +0 -0
- /package/{Propagation → Tasks/Propagation}/index.d.ts +0 -0
- /package/{Propagation → Tasks/Propagation}/index.js +0 -0
- /package/{Types → Tasks}/Tasks.types.js +0 -0
- /package/{Types/Substances.types.js → Tasks/WorldGeneration/WorldGen.types.js} +0 -0
- /package/{Interfaces/Data → Tools/Classes}/LocationBoundToolBase.d.ts +0 -0
- /package/{Interfaces/Data → Tools/Classes}/LocationBoundToolBase.js +0 -0
- /package/{Interfaces/Data → Util}/NumberPalette.d.ts +0 -0
- /package/{Interfaces/Data → Util}/NumberPalette.js +0 -0
- /package/{Interfaces/Data → Util}/StringPalette.d.ts +0 -0
- /package/{Interfaces/Data → Util}/StringPalette.js +0 -0
- /package/{Types → Util}/Util.types.d.ts +0 -0
- /package/{Types → Util}/Util.types.js +0 -0
- /package/{Types/Voxel.types.js → Voxels/Effects/VoxelEffects.types.js} +0 -0
- /package/{Data → Voxels}/LightData.d.ts +0 -0
- /package/{Data → Voxels}/LightData.js +0 -0
- /package/{VoxelModels → Voxels}/State/Schema/Conditions/ShapeStateSchemaRelationsCondition.d.ts +0 -0
- /package/{VoxelModels → Voxels}/State/Schema/Conditions/ShapeStateSchemaRelationsCondition.js +0 -0
- /package/{VoxelModels → Voxels}/State/Schema/ShapeStateRelationsNode.d.ts +0 -0
- /package/{VoxelModels → Voxels}/State/Schema/ShapeStateRelationsNode.js +0 -0
- /package/{VoxelModels → Voxels}/State/State.types.js +0 -0
- /package/{VoxelModels/VoxelModelRules.types.js → Voxels/VoxelMaterial.types.js} +0 -0
- /package/{Data → Voxels}/VoxelShaderData.d.ts +0 -0
- /package/{Data → Voxels}/VoxelShaderData.js +0 -0
- /package/{Data → Voxels}/VoxelStateReader.d.ts +0 -0
- /package/{Data → Voxels}/VoxelStateReader.js +0 -0
|
@@ -1,3 +1,162 @@
|
|
|
1
|
+
export const chainGeometry = {
|
|
2
|
+
id: "dve_chain",
|
|
3
|
+
doNotBuildRules: true,
|
|
4
|
+
arguments: {
|
|
5
|
+
texture: {
|
|
6
|
+
type: "texture",
|
|
7
|
+
},
|
|
8
|
+
},
|
|
9
|
+
nodes: [
|
|
10
|
+
{
|
|
11
|
+
type: "quad",
|
|
12
|
+
points: [
|
|
13
|
+
[5 / 16, 1, 11 / 16],
|
|
14
|
+
[11 / 16, 1, 5 / 16],
|
|
15
|
+
[11 / 16, 0, 5 / 16],
|
|
16
|
+
[5 / 16, 0, 11 / 16],
|
|
17
|
+
],
|
|
18
|
+
uv: [0, 0, 6 / 16, 1],
|
|
19
|
+
texture: "@texture",
|
|
20
|
+
doubleSided: true,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
type: "quad",
|
|
24
|
+
points: [
|
|
25
|
+
[11 / 16, 1, 11 / 16],
|
|
26
|
+
[5 / 16, 1, 5 / 16],
|
|
27
|
+
[5 / 16, 0, 5 / 16],
|
|
28
|
+
[11 / 16, 0, 11 / 16],
|
|
29
|
+
],
|
|
30
|
+
uv: [0, 0, 6 / 16, 1],
|
|
31
|
+
texture: "@texture",
|
|
32
|
+
doubleSided: true,
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
};
|
|
36
|
+
export const chainModel = {
|
|
37
|
+
id: "dve_chain",
|
|
38
|
+
arguments: {
|
|
39
|
+
texture: {
|
|
40
|
+
type: "texture",
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
relationsSchema: [],
|
|
44
|
+
shapeStateSchema: [
|
|
45
|
+
{
|
|
46
|
+
name: "axis",
|
|
47
|
+
type: "string",
|
|
48
|
+
values: {
|
|
49
|
+
0: "y",
|
|
50
|
+
1: "x",
|
|
51
|
+
2: "z",
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
shapeStatesConditonalNodes: {},
|
|
56
|
+
shapeStatesNodes: {
|
|
57
|
+
"axis=y": [
|
|
58
|
+
{
|
|
59
|
+
id: "main",
|
|
60
|
+
geometryId: "dve_chain",
|
|
61
|
+
inputs: {
|
|
62
|
+
"@texture": "@texture",
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
"axis=x": [
|
|
67
|
+
{
|
|
68
|
+
id: "main",
|
|
69
|
+
geometryId: "dve_chain",
|
|
70
|
+
rotation: [Math.PI / 2, 0, 0],
|
|
71
|
+
inputs: {
|
|
72
|
+
"@texture": "@texture",
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
"axis=z": [
|
|
77
|
+
{
|
|
78
|
+
id: "main",
|
|
79
|
+
geometryId: "dve_chain",
|
|
80
|
+
rotation: [0, 0, Math.PI / 2],
|
|
81
|
+
inputs: {
|
|
82
|
+
"@texture": "@texture",
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
},
|
|
87
|
+
};
|
|
88
|
+
export const carpetGeometry = {
|
|
89
|
+
id: "dve_carpet",
|
|
90
|
+
arguments: {
|
|
91
|
+
topBottomTex: {
|
|
92
|
+
type: "texture",
|
|
93
|
+
},
|
|
94
|
+
sideTex: {
|
|
95
|
+
type: "texture",
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
nodes: [
|
|
99
|
+
{
|
|
100
|
+
type: "box",
|
|
101
|
+
points: [
|
|
102
|
+
[0, 0, 0],
|
|
103
|
+
[1, 1 / 16, 1],
|
|
104
|
+
],
|
|
105
|
+
faces: {
|
|
106
|
+
up: {
|
|
107
|
+
texture: "@topBottomTex",
|
|
108
|
+
uv: [0, 0, 1, 1],
|
|
109
|
+
},
|
|
110
|
+
down: {
|
|
111
|
+
texture: "@topBottomTex",
|
|
112
|
+
uv: [0, 0, 1, 1],
|
|
113
|
+
},
|
|
114
|
+
north: {
|
|
115
|
+
texture: "@sideTex",
|
|
116
|
+
uv: [0, 0, 1, 1 / 16],
|
|
117
|
+
},
|
|
118
|
+
south: {
|
|
119
|
+
texture: "@sideTex",
|
|
120
|
+
uv: [0, 0, 1, 1 / 16],
|
|
121
|
+
},
|
|
122
|
+
east: {
|
|
123
|
+
texture: "@sideTex",
|
|
124
|
+
uv: [0, 0, 1, 1 / 16],
|
|
125
|
+
},
|
|
126
|
+
west: {
|
|
127
|
+
texture: "@sideTex",
|
|
128
|
+
uv: [0, 0, 1, 1 / 16],
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
};
|
|
134
|
+
export const carpetModel = {
|
|
135
|
+
id: "dve_carpet",
|
|
136
|
+
arguments: {
|
|
137
|
+
topBottomTex: {
|
|
138
|
+
type: "texture",
|
|
139
|
+
},
|
|
140
|
+
sideTex: {
|
|
141
|
+
type: "texture",
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
relationsSchema: [],
|
|
145
|
+
shapeStateSchema: [],
|
|
146
|
+
shapeStatesConditonalNodes: {},
|
|
147
|
+
shapeStatesNodes: {
|
|
148
|
+
"*": [
|
|
149
|
+
{
|
|
150
|
+
id: "main",
|
|
151
|
+
geometryId: "dve_carpet",
|
|
152
|
+
inputs: {
|
|
153
|
+
"@topBottomTex": "@topBottomTex",
|
|
154
|
+
"@sideTex": "@sideTex",
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
],
|
|
158
|
+
},
|
|
159
|
+
};
|
|
1
160
|
export const fencePost = {
|
|
2
161
|
id: "dve_fence_post",
|
|
3
162
|
arguments: {
|
|
@@ -383,66 +542,63 @@ export const candlesGeometry1 = {
|
|
|
383
542
|
candleTexture: {
|
|
384
543
|
type: "texture",
|
|
385
544
|
},
|
|
386
|
-
wickTexture: {
|
|
387
|
-
type: "texture",
|
|
388
|
-
},
|
|
389
545
|
},
|
|
390
546
|
nodes: [
|
|
391
547
|
{
|
|
392
548
|
type: "box",
|
|
393
549
|
points: [
|
|
394
550
|
[7 / 16, 0, 7 / 16],
|
|
395
|
-
[
|
|
551
|
+
[9 / 16, 6 / 16, 9 / 16],
|
|
396
552
|
],
|
|
397
553
|
faces: {
|
|
398
554
|
up: {
|
|
399
555
|
texture: "@candleTexture",
|
|
400
|
-
uv: [
|
|
556
|
+
uv: [10 / 16, 13 / 16, 11 / 16, 15 / 16],
|
|
401
557
|
},
|
|
402
558
|
down: {
|
|
403
559
|
texture: "@candleTexture",
|
|
404
|
-
uv: [
|
|
560
|
+
uv: [9 / 16, 12 / 16, 12 / 16, 1],
|
|
405
561
|
},
|
|
406
562
|
north: {
|
|
407
563
|
texture: "@candleTexture",
|
|
408
|
-
uv: [
|
|
564
|
+
uv: [0 / 16, 10 / 16, 2 / 16, 1],
|
|
409
565
|
},
|
|
410
566
|
south: {
|
|
411
567
|
texture: "@candleTexture",
|
|
412
|
-
uv: [
|
|
568
|
+
uv: [3 / 16, 10 / 16, 5 / 16, 1],
|
|
413
569
|
},
|
|
414
570
|
east: {
|
|
415
571
|
texture: "@candleTexture",
|
|
416
|
-
uv: [
|
|
572
|
+
uv: [6 / 16, 10 / 16, 8 / 16, 1],
|
|
417
573
|
},
|
|
418
574
|
west: {
|
|
419
575
|
texture: "@candleTexture",
|
|
420
|
-
uv: [
|
|
576
|
+
uv: [0 / 16, 10 / 16, 2 / 16, 1],
|
|
421
577
|
},
|
|
422
578
|
},
|
|
423
579
|
},
|
|
424
580
|
{
|
|
425
581
|
type: "quad",
|
|
426
582
|
points: [
|
|
427
|
-
[7 / 16,
|
|
428
|
-
[
|
|
429
|
-
[
|
|
430
|
-
[7 / 16, 6 / 16,
|
|
583
|
+
[7 / 16, 8 / 16, 9 / 16],
|
|
584
|
+
[9 / 16, 8 / 16, 7 / 16],
|
|
585
|
+
[9 / 16, 6 / 16, 7 / 16],
|
|
586
|
+
[7 / 16, 6 / 16, 9 / 16],
|
|
431
587
|
],
|
|
432
|
-
uv: [
|
|
433
|
-
texture: "@
|
|
588
|
+
uv: [14 / 16, 14 / 16, 1, 1],
|
|
589
|
+
texture: "@candleTexture",
|
|
434
590
|
doubleSided: true,
|
|
435
591
|
},
|
|
436
592
|
{
|
|
437
593
|
type: "quad",
|
|
438
594
|
points: [
|
|
439
|
-
[
|
|
440
|
-
[7 / 16,
|
|
595
|
+
[9 / 16, 8 / 16, 9 / 16],
|
|
596
|
+
[7 / 16, 8 / 16, 7 / 16],
|
|
441
597
|
[7 / 16, 6 / 16, 7 / 16],
|
|
442
|
-
[
|
|
598
|
+
[9 / 16, 6 / 16, 9 / 16],
|
|
443
599
|
],
|
|
444
|
-
uv: [
|
|
445
|
-
texture: "@
|
|
600
|
+
uv: [14 / 16, 14 / 16, 1, 1],
|
|
601
|
+
texture: "@candleTexture",
|
|
446
602
|
doubleSided: true,
|
|
447
603
|
},
|
|
448
604
|
],
|
|
@@ -454,66 +610,63 @@ export const candlesGeometry2 = {
|
|
|
454
610
|
candleTexture: {
|
|
455
611
|
type: "texture",
|
|
456
612
|
},
|
|
457
|
-
wickTexture: {
|
|
458
|
-
type: "texture",
|
|
459
|
-
},
|
|
460
613
|
},
|
|
461
614
|
nodes: [
|
|
462
615
|
{
|
|
463
616
|
type: "box",
|
|
464
617
|
points: [
|
|
465
618
|
[7 / 16, 0, 7 / 16],
|
|
466
|
-
[
|
|
619
|
+
[9 / 16, 5 / 16, 9 / 16],
|
|
467
620
|
],
|
|
468
621
|
faces: {
|
|
469
622
|
up: {
|
|
470
623
|
texture: "@candleTexture",
|
|
471
|
-
uv: [
|
|
624
|
+
uv: [10 / 16, 13 / 16, 11 / 16, 15 / 16],
|
|
472
625
|
},
|
|
473
626
|
down: {
|
|
474
627
|
texture: "@candleTexture",
|
|
475
|
-
uv: [
|
|
628
|
+
uv: [9 / 16, 12 / 16, 12 / 16, 1],
|
|
476
629
|
},
|
|
477
630
|
north: {
|
|
478
631
|
texture: "@candleTexture",
|
|
479
|
-
uv: [
|
|
632
|
+
uv: [0 / 16, 11 / 16, 2 / 16, 1],
|
|
480
633
|
},
|
|
481
634
|
south: {
|
|
482
635
|
texture: "@candleTexture",
|
|
483
|
-
uv: [
|
|
636
|
+
uv: [3 / 16, 11 / 16, 5 / 16, 1],
|
|
484
637
|
},
|
|
485
638
|
east: {
|
|
486
639
|
texture: "@candleTexture",
|
|
487
|
-
uv: [
|
|
640
|
+
uv: [6 / 16, 11 / 16, 8 / 16, 1],
|
|
488
641
|
},
|
|
489
642
|
west: {
|
|
490
643
|
texture: "@candleTexture",
|
|
491
|
-
uv: [
|
|
644
|
+
uv: [0 / 16, 11 / 16, 2 / 16, 1],
|
|
492
645
|
},
|
|
493
646
|
},
|
|
494
647
|
},
|
|
495
648
|
{
|
|
496
649
|
type: "quad",
|
|
497
650
|
points: [
|
|
498
|
-
[7 / 16,
|
|
499
|
-
[
|
|
500
|
-
[
|
|
501
|
-
[7 / 16, 5 / 16,
|
|
651
|
+
[7 / 16, 7 / 16, 9 / 16],
|
|
652
|
+
[9 / 16, 7 / 16, 7 / 16],
|
|
653
|
+
[9 / 16, 5 / 16, 7 / 16],
|
|
654
|
+
[7 / 16, 5 / 16, 9 / 16],
|
|
502
655
|
],
|
|
503
|
-
uv: [
|
|
504
|
-
texture: "@
|
|
656
|
+
uv: [14 / 16, 14 / 16, 1, 1],
|
|
657
|
+
texture: "@candleTexture",
|
|
505
658
|
doubleSided: true,
|
|
506
659
|
},
|
|
507
660
|
{
|
|
508
661
|
type: "quad",
|
|
509
662
|
points: [
|
|
510
|
-
[
|
|
511
|
-
[7 / 16,
|
|
663
|
+
[9 / 16, 7 / 16, 9 / 16],
|
|
664
|
+
[7 / 16, 7 / 16, 7 / 16],
|
|
512
665
|
[7 / 16, 5 / 16, 7 / 16],
|
|
513
|
-
[
|
|
666
|
+
[9 / 16, 5 / 16, 9 / 16],
|
|
514
667
|
],
|
|
515
|
-
uv: [
|
|
516
|
-
texture: "@
|
|
668
|
+
uv: [14 / 16, 14 / 16, 1, 1],
|
|
669
|
+
texture: "@candleTexture",
|
|
517
670
|
doubleSided: true,
|
|
518
671
|
},
|
|
519
672
|
],
|
|
@@ -525,66 +678,63 @@ export const candlesGeometry3 = {
|
|
|
525
678
|
candleTexture: {
|
|
526
679
|
type: "texture",
|
|
527
680
|
},
|
|
528
|
-
wickTexture: {
|
|
529
|
-
type: "texture",
|
|
530
|
-
},
|
|
531
681
|
},
|
|
532
682
|
nodes: [
|
|
533
683
|
{
|
|
534
684
|
type: "box",
|
|
535
685
|
points: [
|
|
536
686
|
[7 / 16, 0, 7 / 16],
|
|
537
|
-
[
|
|
687
|
+
[9 / 16, 4 / 16, 9 / 16],
|
|
538
688
|
],
|
|
539
689
|
faces: {
|
|
540
690
|
up: {
|
|
541
691
|
texture: "@candleTexture",
|
|
542
|
-
uv: [
|
|
692
|
+
uv: [10 / 16, 13 / 16, 11 / 16, 15 / 16],
|
|
543
693
|
},
|
|
544
694
|
down: {
|
|
545
695
|
texture: "@candleTexture",
|
|
546
|
-
uv: [
|
|
696
|
+
uv: [9 / 16, 12 / 16, 12 / 16, 1],
|
|
547
697
|
},
|
|
548
698
|
north: {
|
|
549
699
|
texture: "@candleTexture",
|
|
550
|
-
uv: [
|
|
700
|
+
uv: [0 / 16, 12 / 16, 2 / 16, 1],
|
|
551
701
|
},
|
|
552
702
|
south: {
|
|
553
703
|
texture: "@candleTexture",
|
|
554
|
-
uv: [
|
|
704
|
+
uv: [3 / 16, 12 / 16, 5 / 16, 1],
|
|
555
705
|
},
|
|
556
706
|
east: {
|
|
557
707
|
texture: "@candleTexture",
|
|
558
|
-
uv: [
|
|
708
|
+
uv: [6 / 16, 12 / 16, 8 / 16, 1],
|
|
559
709
|
},
|
|
560
710
|
west: {
|
|
561
711
|
texture: "@candleTexture",
|
|
562
|
-
uv: [
|
|
712
|
+
uv: [0 / 16, 12 / 16, 2 / 16, 1],
|
|
563
713
|
},
|
|
564
714
|
},
|
|
565
715
|
},
|
|
566
716
|
{
|
|
567
717
|
type: "quad",
|
|
568
718
|
points: [
|
|
569
|
-
[7 / 16,
|
|
570
|
-
[
|
|
571
|
-
[
|
|
572
|
-
[7 / 16, 4 / 16,
|
|
719
|
+
[7 / 16, 6 / 16, 9 / 16],
|
|
720
|
+
[9 / 16, 6 / 16, 7 / 16],
|
|
721
|
+
[9 / 16, 4 / 16, 7 / 16],
|
|
722
|
+
[7 / 16, 4 / 16, 9 / 16],
|
|
573
723
|
],
|
|
574
|
-
uv: [
|
|
575
|
-
texture: "@
|
|
724
|
+
uv: [14 / 16, 14 / 16, 1, 1],
|
|
725
|
+
texture: "@candleTexture",
|
|
576
726
|
doubleSided: true,
|
|
577
727
|
},
|
|
578
728
|
{
|
|
579
729
|
type: "quad",
|
|
580
730
|
points: [
|
|
581
|
-
[
|
|
582
|
-
[7 / 16,
|
|
731
|
+
[9 / 16, 6 / 16, 9 / 16],
|
|
732
|
+
[7 / 16, 6 / 16, 7 / 16],
|
|
583
733
|
[7 / 16, 4 / 16, 7 / 16],
|
|
584
|
-
[
|
|
734
|
+
[9 / 16, 4 / 16, 9 / 16],
|
|
585
735
|
],
|
|
586
|
-
uv: [
|
|
587
|
-
texture: "@
|
|
736
|
+
uv: [14 / 16, 14 / 16, 1, 1],
|
|
737
|
+
texture: "@candleTexture",
|
|
588
738
|
doubleSided: true,
|
|
589
739
|
},
|
|
590
740
|
],
|
|
@@ -596,66 +746,63 @@ export const candlesGeometry4 = {
|
|
|
596
746
|
candleTexture: {
|
|
597
747
|
type: "texture",
|
|
598
748
|
},
|
|
599
|
-
wickTexture: {
|
|
600
|
-
type: "texture",
|
|
601
|
-
},
|
|
602
749
|
},
|
|
603
750
|
nodes: [
|
|
604
751
|
{
|
|
605
752
|
type: "box",
|
|
606
753
|
points: [
|
|
607
754
|
[7 / 16, 0, 7 / 16],
|
|
608
|
-
[
|
|
755
|
+
[9 / 16, 3 / 16, 9 / 16],
|
|
609
756
|
],
|
|
610
757
|
faces: {
|
|
611
758
|
up: {
|
|
612
759
|
texture: "@candleTexture",
|
|
613
|
-
uv: [
|
|
760
|
+
uv: [10 / 16, 13 / 16, 11 / 16, 15 / 16],
|
|
614
761
|
},
|
|
615
762
|
down: {
|
|
616
763
|
texture: "@candleTexture",
|
|
617
|
-
uv: [
|
|
764
|
+
uv: [9 / 16, 12 / 16, 12 / 16, 1],
|
|
618
765
|
},
|
|
619
766
|
north: {
|
|
620
767
|
texture: "@candleTexture",
|
|
621
|
-
uv: [
|
|
768
|
+
uv: [0 / 16, 13 / 16, 2 / 16, 1],
|
|
622
769
|
},
|
|
623
770
|
south: {
|
|
624
771
|
texture: "@candleTexture",
|
|
625
|
-
uv: [
|
|
772
|
+
uv: [3 / 16, 13 / 16, 5 / 16, 1],
|
|
626
773
|
},
|
|
627
774
|
east: {
|
|
628
775
|
texture: "@candleTexture",
|
|
629
|
-
uv: [
|
|
776
|
+
uv: [6 / 16, 13 / 16, 8 / 16, 1],
|
|
630
777
|
},
|
|
631
778
|
west: {
|
|
632
779
|
texture: "@candleTexture",
|
|
633
|
-
uv: [
|
|
780
|
+
uv: [0 / 16, 13 / 16, 2 / 16, 1],
|
|
634
781
|
},
|
|
635
782
|
},
|
|
636
783
|
},
|
|
637
784
|
{
|
|
638
785
|
type: "quad",
|
|
639
786
|
points: [
|
|
640
|
-
[7 / 16,
|
|
641
|
-
[
|
|
642
|
-
[
|
|
643
|
-
[7 / 16, 3 / 16,
|
|
787
|
+
[7 / 16, 5 / 16, 9 / 16],
|
|
788
|
+
[9 / 16, 5 / 16, 7 / 16],
|
|
789
|
+
[9 / 16, 3 / 16, 7 / 16],
|
|
790
|
+
[7 / 16, 3 / 16, 9 / 16],
|
|
644
791
|
],
|
|
645
|
-
uv: [
|
|
646
|
-
texture: "@
|
|
792
|
+
uv: [14 / 16, 14 / 16, 1, 1],
|
|
793
|
+
texture: "@candleTexture",
|
|
647
794
|
doubleSided: true,
|
|
648
795
|
},
|
|
649
796
|
{
|
|
650
797
|
type: "quad",
|
|
651
798
|
points: [
|
|
652
|
-
[
|
|
653
|
-
[7 / 16,
|
|
799
|
+
[9 / 16, 5 / 16, 9 / 16],
|
|
800
|
+
[7 / 16, 5 / 16, 7 / 16],
|
|
654
801
|
[7 / 16, 3 / 16, 7 / 16],
|
|
655
|
-
[
|
|
802
|
+
[9 / 16, 3 / 16, 9 / 16],
|
|
656
803
|
],
|
|
657
|
-
uv: [
|
|
658
|
-
texture: "@
|
|
804
|
+
uv: [14 / 16, 14 / 16, 1, 1],
|
|
805
|
+
texture: "@candleTexture",
|
|
659
806
|
doubleSided: true,
|
|
660
807
|
},
|
|
661
808
|
],
|
|
@@ -666,7 +813,7 @@ export const candlesModel = {
|
|
|
666
813
|
candleTexture: {
|
|
667
814
|
type: "texture",
|
|
668
815
|
},
|
|
669
|
-
|
|
816
|
+
candleLitTexture: {
|
|
670
817
|
type: "texture",
|
|
671
818
|
},
|
|
672
819
|
},
|
|
@@ -677,27 +824,71 @@ export const candlesModel = {
|
|
|
677
824
|
type: "number",
|
|
678
825
|
maxValue: 3,
|
|
679
826
|
},
|
|
827
|
+
{
|
|
828
|
+
name: "lit",
|
|
829
|
+
type: "string",
|
|
830
|
+
values: {
|
|
831
|
+
0: "false",
|
|
832
|
+
1: "true",
|
|
833
|
+
},
|
|
834
|
+
},
|
|
835
|
+
],
|
|
836
|
+
effects: [
|
|
837
|
+
{
|
|
838
|
+
type: "fx-points",
|
|
839
|
+
effectId: "candle_particles",
|
|
840
|
+
values: {
|
|
841
|
+
"num_candles=0,lit=true": [[8 / 16, 8.5 / 16, 8 / 16]],
|
|
842
|
+
"num_candles=1,lit=true": [
|
|
843
|
+
[8 / 16 + -2 / 16, 8.5 / 16, 8 / 16],
|
|
844
|
+
[8 / 16 + 2 / 16, 8.5 / 16, 8 / 16],
|
|
845
|
+
],
|
|
846
|
+
"num_candles=2,lit=true": [
|
|
847
|
+
[8 / 16 + -2 / 16, 8.5 / 16, 8 / 16 + 2 / 16],
|
|
848
|
+
[8 / 16 + 2 / 16, 7.5 / 16, 8 / 16 + 2 / 16],
|
|
849
|
+
[8 / 16 + 2 / 16, 6.5 / 16, 8 / 16 + -2 / 16],
|
|
850
|
+
],
|
|
851
|
+
"num_candles=3,lit=true": [
|
|
852
|
+
[8 / 16 + -2 / 16, 8.5 / 16, 8 / 16 + 2 / 16],
|
|
853
|
+
[8 / 16 + 2 / 16, 7.5 / 16, 8 / 16 + 2 / 16],
|
|
854
|
+
[8 / 16 + 2 / 16, 6.5 / 16, 8 / 16 + -2 / 16],
|
|
855
|
+
[8 / 16 + -2 / 16, 5.5 / 16, 8 / 16 + -2 / 16],
|
|
856
|
+
],
|
|
857
|
+
},
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
type: "tag",
|
|
861
|
+
tagId: "dve_is_light_source",
|
|
862
|
+
values: {
|
|
863
|
+
"num_candles=0,lit=false": false,
|
|
864
|
+
"num_candles=0,lit=true": true,
|
|
865
|
+
"num_candles=1,lit=false": false,
|
|
866
|
+
"num_candles=1,lit=true": true,
|
|
867
|
+
"num_candles=2,lit=false": false,
|
|
868
|
+
"num_candles=2,lit=true": true,
|
|
869
|
+
"num_candles=3,lit=false": false,
|
|
870
|
+
"num_candles=3,lit=true": true,
|
|
871
|
+
},
|
|
872
|
+
},
|
|
680
873
|
],
|
|
681
874
|
shapeStatesConditonalNodes: {},
|
|
682
875
|
shapeStatesNodes: {
|
|
683
|
-
"num_candles=0": [
|
|
876
|
+
"num_candles=0,lit=false": [
|
|
684
877
|
{
|
|
685
878
|
id: "candel_1",
|
|
686
879
|
geometryId: "dve_candle_state_1",
|
|
687
880
|
inputs: {
|
|
688
881
|
"@candleTexture": "@candleTexture",
|
|
689
|
-
"@wickTexture": "@wickTexture",
|
|
690
882
|
},
|
|
691
883
|
},
|
|
692
884
|
],
|
|
693
|
-
"num_candles=1": [
|
|
885
|
+
"num_candles=1,lit=false": [
|
|
694
886
|
{
|
|
695
887
|
id: "candel_1",
|
|
696
888
|
geometryId: "dve_candle_state_1",
|
|
697
889
|
position: [-2 / 16, 0, 0],
|
|
698
890
|
inputs: {
|
|
699
891
|
"@candleTexture": "@candleTexture",
|
|
700
|
-
"@wickTexture": "@wickTexture",
|
|
701
892
|
},
|
|
702
893
|
},
|
|
703
894
|
{
|
|
@@ -706,18 +897,16 @@ export const candlesModel = {
|
|
|
706
897
|
position: [2 / 16, 0, 0],
|
|
707
898
|
inputs: {
|
|
708
899
|
"@candleTexture": "@candleTexture",
|
|
709
|
-
"@wickTexture": "@wickTexture",
|
|
710
900
|
},
|
|
711
901
|
},
|
|
712
902
|
],
|
|
713
|
-
"num_candles=2": [
|
|
903
|
+
"num_candles=2,lit=false": [
|
|
714
904
|
{
|
|
715
905
|
id: "candel_1",
|
|
716
906
|
geometryId: "dve_candle_state_1",
|
|
717
907
|
position: [-2 / 16, 0, 2 / 16],
|
|
718
908
|
inputs: {
|
|
719
909
|
"@candleTexture": "@candleTexture",
|
|
720
|
-
"@wickTexture": "@wickTexture",
|
|
721
910
|
},
|
|
722
911
|
},
|
|
723
912
|
{
|
|
@@ -726,7 +915,6 @@ export const candlesModel = {
|
|
|
726
915
|
position: [2 / 16, 0, 2 / 16],
|
|
727
916
|
inputs: {
|
|
728
917
|
"@candleTexture": "@candleTexture",
|
|
729
|
-
"@wickTexture": "@wickTexture",
|
|
730
918
|
},
|
|
731
919
|
},
|
|
732
920
|
{
|
|
@@ -735,18 +923,16 @@ export const candlesModel = {
|
|
|
735
923
|
position: [2 / 16, 0, -2 / 16],
|
|
736
924
|
inputs: {
|
|
737
925
|
"@candleTexture": "@candleTexture",
|
|
738
|
-
"@wickTexture": "@wickTexture",
|
|
739
926
|
},
|
|
740
927
|
},
|
|
741
928
|
],
|
|
742
|
-
"num_candles=3": [
|
|
929
|
+
"num_candles=3,lit=false": [
|
|
743
930
|
{
|
|
744
931
|
id: "candel_1",
|
|
745
932
|
geometryId: "dve_candle_state_1",
|
|
746
933
|
position: [-2 / 16, 0, 2 / 16],
|
|
747
934
|
inputs: {
|
|
748
935
|
"@candleTexture": "@candleTexture",
|
|
749
|
-
"@wickTexture": "@wickTexture",
|
|
750
936
|
},
|
|
751
937
|
},
|
|
752
938
|
{
|
|
@@ -755,7 +941,6 @@ export const candlesModel = {
|
|
|
755
941
|
position: [2 / 16, 0, 2 / 16],
|
|
756
942
|
inputs: {
|
|
757
943
|
"@candleTexture": "@candleTexture",
|
|
758
|
-
"@wickTexture": "@wickTexture",
|
|
759
944
|
},
|
|
760
945
|
},
|
|
761
946
|
{
|
|
@@ -764,7 +949,6 @@ export const candlesModel = {
|
|
|
764
949
|
position: [2 / 16, 0, -2 / 16],
|
|
765
950
|
inputs: {
|
|
766
951
|
"@candleTexture": "@candleTexture",
|
|
767
|
-
"@wickTexture": "@wickTexture",
|
|
768
952
|
},
|
|
769
953
|
},
|
|
770
954
|
{
|
|
@@ -773,7 +957,93 @@ export const candlesModel = {
|
|
|
773
957
|
position: [-2 / 16, 0, -2 / 16],
|
|
774
958
|
inputs: {
|
|
775
959
|
"@candleTexture": "@candleTexture",
|
|
776
|
-
|
|
960
|
+
},
|
|
961
|
+
},
|
|
962
|
+
],
|
|
963
|
+
"num_candles=0,lit=true": [
|
|
964
|
+
{
|
|
965
|
+
id: "candel_1",
|
|
966
|
+
geometryId: "dve_candle_state_1",
|
|
967
|
+
inputs: {
|
|
968
|
+
"@candleTexture": "@candleLitTexture",
|
|
969
|
+
},
|
|
970
|
+
},
|
|
971
|
+
],
|
|
972
|
+
"num_candles=1,lit=true": [
|
|
973
|
+
{
|
|
974
|
+
id: "candel_1",
|
|
975
|
+
geometryId: "dve_candle_state_1",
|
|
976
|
+
position: [-2 / 16, 0, 0],
|
|
977
|
+
inputs: {
|
|
978
|
+
"@candleTexture": "@candleLitTexture",
|
|
979
|
+
},
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
id: "candel_2",
|
|
983
|
+
geometryId: "dve_candle_state_2",
|
|
984
|
+
position: [2 / 16, 0, 0],
|
|
985
|
+
inputs: {
|
|
986
|
+
"@candleTexture": "@candleLitTexture",
|
|
987
|
+
},
|
|
988
|
+
},
|
|
989
|
+
],
|
|
990
|
+
"num_candles=2,lit=true": [
|
|
991
|
+
{
|
|
992
|
+
id: "candel_1",
|
|
993
|
+
geometryId: "dve_candle_state_1",
|
|
994
|
+
position: [-2 / 16, 0, 2 / 16],
|
|
995
|
+
inputs: {
|
|
996
|
+
"@candleTexture": "@candleLitTexture",
|
|
997
|
+
},
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
id: "candel_2",
|
|
1001
|
+
geometryId: "dve_candle_state_2",
|
|
1002
|
+
position: [2 / 16, 0, 2 / 16],
|
|
1003
|
+
inputs: {
|
|
1004
|
+
"@candleTexture": "@candleLitTexture",
|
|
1005
|
+
},
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
id: "candel_3",
|
|
1009
|
+
geometryId: "dve_candle_state_3",
|
|
1010
|
+
position: [2 / 16, 0, -2 / 16],
|
|
1011
|
+
inputs: {
|
|
1012
|
+
"@candleTexture": "@candleLitTexture",
|
|
1013
|
+
},
|
|
1014
|
+
},
|
|
1015
|
+
],
|
|
1016
|
+
"num_candles=3,lit=true": [
|
|
1017
|
+
{
|
|
1018
|
+
id: "candel_1",
|
|
1019
|
+
geometryId: "dve_candle_state_1",
|
|
1020
|
+
position: [-2 / 16, 0, 2 / 16],
|
|
1021
|
+
inputs: {
|
|
1022
|
+
"@candleTexture": "@candleLitTexture",
|
|
1023
|
+
},
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
id: "candel_2",
|
|
1027
|
+
geometryId: "dve_candle_state_2",
|
|
1028
|
+
position: [2 / 16, 0, 2 / 16],
|
|
1029
|
+
inputs: {
|
|
1030
|
+
"@candleTexture": "@candleLitTexture",
|
|
1031
|
+
},
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
id: "candel_3",
|
|
1035
|
+
geometryId: "dve_candle_state_3",
|
|
1036
|
+
position: [2 / 16, 0, -2 / 16],
|
|
1037
|
+
inputs: {
|
|
1038
|
+
"@candleTexture": "@candleLitTexture",
|
|
1039
|
+
},
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
id: "candel_4",
|
|
1043
|
+
geometryId: "dve_candle_state_4",
|
|
1044
|
+
position: [-2 / 16, 0, -2 / 16],
|
|
1045
|
+
inputs: {
|
|
1046
|
+
"@candleTexture": "@candleLitTexture",
|
|
777
1047
|
},
|
|
778
1048
|
},
|
|
779
1049
|
],
|