@divinevoxel/vlox 0.0.72 → 0.0.74
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/Contexts/Base/Remote/InitDataSync.js +4 -0
- package/Contexts/Base/Remote/InitWorldDataSync.js +1 -1
- package/Contexts/Render/DivineVoxelEngineRender.d.ts +2 -1
- package/Contexts/World/DivineVoxelEngineWorld.d.ts +2 -1
- package/Init/StartConstructor.js +8 -4
- package/Init/StartWorld.d.ts +1 -1
- package/Math/index.d.ts +5 -1
- package/Mesher/Functions/CompactVoxelMesh.d.ts +2 -2
- package/Mesher/Functions/CompactVoxelMesh.js +1 -1
- package/Mesher/Functions/CompactVoxelSectionMesh.d.ts +4 -0
- package/Mesher/Functions/CompactVoxelSectionMesh.js +112 -0
- package/Mesher/Functions/MeshSection.d.ts +1 -1
- package/Mesher/Functions/MeshSection.js +27 -22
- package/Mesher/Functions/MeshTexture.d.ts +1 -1
- package/Mesher/Functions/MeshTexture.js +3 -4
- package/Mesher/Geomtry/CompactedSectionVoxelMesh.d.ts +23 -0
- package/Mesher/Geomtry/CompactedSectionVoxelMesh.js +144 -0
- package/Mesher/Geomtry/Primitives/QuadVertexData.d.ts +12 -10
- package/Mesher/Geomtry/Primitives/QuadVertexData.js +49 -56
- package/Mesher/Geomtry/VoxelGeometryBuilder.d.ts +2 -2
- package/Mesher/Geomtry/VoxelGeometryBuilder.js +120 -199
- package/Mesher/Geomtry/VoxelMesh.d.ts +1 -1
- package/Mesher/Geomtry/VoxelMesh.js +4 -4
- package/Mesher/Geomtry/VoxelMeshBVHBuilder.d.ts +16 -0
- package/Mesher/Geomtry/VoxelMeshBVHBuilder.js +51 -0
- package/Mesher/Geomtry/VoxelMeshBVHStructCursor.d.ts +22 -0
- package/Mesher/Geomtry/VoxelMeshBVHStructCursor.js +78 -0
- package/Mesher/Geomtry/{Buffers.js → VoxelMeshBuffers.js} +2 -2
- package/Mesher/Geomtry/index.d.ts +0 -1
- package/Mesher/Geomtry/index.js +0 -1
- package/Mesher/InitMesher.js +1 -1
- package/Mesher/InitTask.js +9 -23
- package/Mesher/Models/Common/BoxGeometryNode.js +7 -7
- package/Mesher/Models/Common/Calc/CalcConstants.d.ts +1 -1
- package/Mesher/Models/Common/Calc/CalcConstants.js +1 -1
- package/Mesher/Models/Common/Calc/FaceDataCalc.d.ts +2 -2
- package/Mesher/Models/Common/Calc/FaceDataCalc.js +37 -30
- package/Mesher/Models/Common/QuadGeometryNode.js +2 -2
- package/Mesher/Models/Nodes/Custom/Liquid/FlowGradient.d.ts +2 -2
- package/Mesher/Models/Nodes/Custom/Liquid/FlowGradient.js +1 -1
- package/Mesher/Models/Nodes/Custom/Liquid/LiquidGeomtryNode.js +18 -24
- package/Mesher/Models/Nodes/GeometryNode.d.ts +2 -2
- package/Mesher/Models/Nodes/Ruled/BoxVoxelGeometryNode.d.ts +1 -0
- package/Mesher/Models/Nodes/Ruled/BoxVoxelGeometryNode.js +40 -31
- package/Mesher/Models/Nodes/Ruled/QuadVoxelGeometryNode.js +2 -2
- package/Mesher/Models/Nodes/Ruleless/RulelessBoxVoxelGeometryNode.js +2 -2
- package/Mesher/Models/Nodes/Ruleless/RulelessQuadVoxelGeometryNode.js +2 -2
- package/Mesher/{Tools → Models/Protocols}/OutlinedVoxelTool.d.ts +1 -1
- package/Mesher/{Tools → Models/Protocols}/OutlinedVoxelTool.js +1 -1
- package/Mesher/Models/RenderedMaterials.d.ts +6 -0
- package/Mesher/{RenderedMaterials.js → Models/RenderedMaterials.js} +2 -2
- package/Mesher/Models/VoxelConstructor.d.ts +6 -6
- package/Mesher/Models/VoxelConstructor.js +8 -8
- package/Mesher/Models/VoxelGeometryBuilderCacheSpace.d.ts +3 -5
- package/Mesher/Models/VoxelGeometryBuilderCacheSpace.js +8 -32
- package/Mesher/{Tools/VoxelMesherDataTool.d.ts → Models/VoxelModelBuilder.d.ts} +4 -5
- package/Mesher/{Tools/VoxelMesherDataTool.js → Models/VoxelModelBuilder.js} +5 -8
- package/Mesher/Types/Mesher.types.d.ts +1 -0
- package/Models/Defaults/CubeVoxelGeometry.js +4 -0
- package/Models/Defaults/CubeVoxelModels.js +360 -383
- package/Models/Defaults/LiquidVoxelModel.js +5 -5
- package/Models/Defaults/PanelVoxelModels.js +442 -468
- package/Models/Defaults/StairVoxelModel.js +582 -597
- package/Models/Examples.js +490 -498
- package/Models/Rules/Classes/VoxelRulesModel.d.ts +1 -1
- package/Models/Rules/Classes/VoxelRulesModel.js +3 -3
- package/Models/Rules/Functions/BuildFinalInputs.d.ts +1 -1
- package/Models/Rules/Functions/BuildFinalInputs.js +21 -19
- package/Models/Rules/Functions/BuildGeomtryInputs.js +8 -5
- package/Models/Rules/Functions/BuildRules.js +2 -2
- package/Models/Rules/{VoxelModelManager.d.ts → VoxelModelRuleBuilderRegister.d.ts} +1 -1
- package/Models/Rules/VoxelModelRuleBuilderRegister.js +178 -0
- package/Models/VoxelModel.types.d.ts +17 -8
- package/Renderer/Classes/DVESectionMeshes.d.ts +2 -3
- package/Renderer/Classes/SectorMesh.d.ts +3 -4
- package/Renderer/Classes/SectorMesh.js +6 -11
- package/Renderer/InitTasks.js +1 -10
- package/Renderer/MeshManager.d.ts +1 -1
- package/Renderer/MeshManager.js +26 -25
- package/Renderer/MeshRegister.d.ts +5 -5
- package/Renderer/MeshRegister.js +4 -3
- package/Settings/EngineSettings.d.ts +2 -1
- package/Settings/EngineSettings.js +6 -5
- package/Settings/EngineSettings.types.d.ts +24 -39
- package/Settings/EngineSettings.types.js +22 -29
- package/Tasks/Logic/InitTasks.d.ts +1 -0
- package/Tasks/Logic/InitTasks.js +10 -0
- package/Tasks/Logic/VoxelLogicUpdate.d.ts +3 -0
- package/Tasks/Logic/VoxelLogicUpdate.js +71 -0
- package/Tasks/Propagation/Explosion/ExplosionManager.d.ts +2 -2
- package/Tasks/Propagation/Explosion/ExplosionManager.js +1 -2
- package/Tasks/Propagation/Flow/FlowManager.d.ts +4 -4
- package/Tasks/Propagation/Flow/FlowRemove.d.ts +2 -2
- package/Tasks/Propagation/Flow/FlowUpdate.d.ts +2 -2
- package/Tasks/Propagation/Flow/WorldFlow.d.ts +2 -2
- package/Tasks/Propagation/Illumanation/RGBUpdate.d.ts +3 -3
- package/Tasks/Propagation/Illumanation/SunUpdate.d.ts +3 -3
- package/Tasks/Propagation/Illumanation/WorldRGB.d.ts +2 -2
- package/Tasks/Propagation/Illumanation/WorldSun.d.ts +2 -2
- package/Tasks/Propagation/Illumanation/WorldSun.js +8 -15
- package/Tasks/Propagation/InitTasks.js +4 -4
- package/Tasks/Propagation/Power/PowerUpdate.d.ts +3 -0
- package/Tasks/Propagation/Power/PowerUpdate.js +80 -0
- package/Tasks/Tasks.types.d.ts +2 -2
- package/Tasks/TasksIds.d.ts +2 -1
- package/Tasks/TasksIds.js +1 -0
- package/Tasks/Update/Common.d.ts +3 -0
- package/Tasks/Update/Common.js +41 -0
- package/Tasks/Update/EreaseUpdate.d.ts +3 -0
- package/Tasks/Update/EreaseUpdate.js +66 -0
- package/Tasks/Update/InitTasks.d.ts +2 -2
- package/Tasks/Update/InitTasks.js +3 -1
- package/Tasks/Update/PaintUpdate.d.ts +3 -0
- package/Tasks/Update/PaintUpdate.js +89 -0
- package/Tasks/Update/VoxelUpdate.d.ts +2 -5
- package/Tasks/Update/VoxelUpdate.js +7 -143
- package/Tasks/{Update/UpdateTask.d.ts → VoxelUpdateTask.d.ts} +16 -6
- package/Tasks/{Update/UpdateTask.js → VoxelUpdateTask.js} +44 -5
- package/Tasks/WorldGeneration/WorldGenBrush.d.ts +3 -3
- package/Tasks/WorldGeneration/WorldGenBrush.js +3 -3
- package/Tasks/WorldGeneration/WorldGenRegister.d.ts +1 -1
- package/Templates/Cursor/TemplateCursor.d.ts +2 -2
- package/Templates/Cursor/TemplateCursor.js +1 -2
- package/Templates/Functions/CreateTemplate.d.ts +1 -1
- package/Templates/VoxelTemplates.types.d.ts +1 -1
- package/Textures/Classes/CompiledTexture.d.ts +18 -0
- package/Textures/Classes/CompiledTexture.js +50 -0
- package/Textures/Classes/CompiledTextureAnimation.d.ts +12 -0
- package/Textures/Classes/CompiledTextureAnimation.js +27 -0
- package/Textures/Classes/TextureAnimationTexture.d.ts +10 -0
- package/Textures/Classes/TextureAnimationTexture.js +32 -0
- package/Textures/Functions/BuildTextureData.d.ts +10 -0
- package/Textures/Functions/BuildTextureData.js +205 -0
- package/Textures/Texture.types.d.ts +50 -64
- package/Textures/TextureManager.d.ts +8 -19
- package/Textures/TextureManager.js +28 -166
- package/Tools/Brush/AdvancedBrushTool.js +1 -1
- package/Tools/Brush/Brush.d.ts +3 -3
- package/Tools/Brush/Brush.js +40 -8
- package/Tools/Tasks/TasksTool.d.ts +1 -0
- package/Tools/Tasks/TasksTool.js +2 -0
- package/Util/Binary/BinaryArrays.d.ts +6 -0
- package/Util/Binary/BinaryArrays.js +25 -0
- package/Util/Binary/BinaryBuffer.d.ts +35 -0
- package/Util/Binary/BinaryBuffer.js +136 -0
- package/Util/Binary/{BitArray.d.ts → BinaryFunctions.d.ts} +1 -2
- package/Util/Binary/BinaryFunctions.js +11 -0
- package/{Mesher/Tools/VoxelMeshBVHBuilder.d.ts → Util/Binary/BinaryTree.d.ts} +1 -33
- package/Util/Binary/BinaryTree.js +104 -0
- package/Voxels/Cursor/DataCursor.interface.d.ts +5 -0
- package/Voxels/Cursor/VoxelCursor.interface.d.ts +8 -3
- package/Voxels/Cursor/VoxelCursor.interface.js +54 -13
- package/Voxels/Cursor/VoxelLightData.js +1 -1
- package/Voxels/Data/VoxelPalettesRegister.d.ts +0 -5
- package/Voxels/Data/VoxelPalettesRegister.js +0 -9
- package/Voxels/Data/VoxelTag.types.d.ts +17 -2
- package/Voxels/Data/VoxelTag.types.js +6 -1
- package/Voxels/Data/VoxelTagsRegister.js +12 -7
- package/Voxels/Functions/BuildStateData.d.ts +6 -6
- package/Voxels/Functions/BuildStateData.js +37 -37
- package/Voxels/Functions/BuildTagAndPaletteData.js +6 -3
- package/Voxels/Indexes/VoxelIndex.d.ts +2 -2
- package/Voxels/Indexes/VoxelIndex.js +16 -18
- package/Voxels/InitVoxelData.js +24 -21
- package/Voxels/Logic/Classes/Default/Types/VoxelPoweredLogicType.d.ts +5 -0
- package/Voxels/Logic/Classes/Default/Types/VoxelPoweredLogicType.js +6 -0
- package/Voxels/Logic/Classes/VoxelLogic.d.ts +11 -0
- package/Voxels/Logic/Classes/VoxelLogic.js +49 -0
- package/Voxels/Logic/Classes/VoxelLogicType.d.ts +4 -0
- package/Voxels/Logic/Classes/VoxelLogicType.js +2 -0
- package/Voxels/Logic/VoxelLogic.types.d.ts +23 -0
- package/Voxels/Logic/VoxelLogic.types.js +1 -0
- package/Voxels/Logic/VoxelLogicRegister.d.ts +9 -0
- package/Voxels/Logic/VoxelLogicRegister.js +15 -0
- package/Voxels/State/Schema/StateSchema.d.ts +1 -1
- package/Voxels/State/SchemaRegister.js +10 -5
- package/Voxels/State/State.types.d.ts +1 -1
- package/Voxels/State/StateTreeReader.d.ts +1 -1
- package/Voxels/State/StateTreeReader.js +2 -3
- package/Voxels/Types/Voxel.types.d.ts +21 -0
- package/Voxels/Types/Voxel.types.js +6 -2
- package/Voxels/Types/VoxelModelCompiledData.types.d.ts +6 -4
- package/World/Archive/Archive.types.d.ts +65 -42
- package/World/Archive/Classes/ArchiveClasses.d.ts +66 -0
- package/World/Archive/Classes/ArchiveClasses.js +78 -0
- package/World/Archive/Classes/ImportedSection.d.ts +40 -0
- package/World/Archive/Classes/ImportedSection.js +307 -0
- package/World/Archive/Classes/ImportedSector.d.ts +23 -0
- package/World/Archive/Classes/ImportedSector.js +97 -0
- package/World/Archive/Functions/ArchiveArea.d.ts +1 -1
- package/World/Archive/Functions/ArchiveArea.js +49 -54
- package/World/Archive/Functions/ArchiveSector.js +373 -282
- package/World/Archive/Functions/CreateArchivedSection.d.ts +3 -0
- package/World/Archive/Functions/CreateArchivedSection.js +207 -0
- package/World/Archive/Functions/ImportSector.d.ts +2 -4
- package/World/Archive/Functions/ImportSector.js +50 -220
- package/World/Archive/Functions/RemoveDuplicates.d.ts +3 -0
- package/World/Archive/Functions/RemoveDuplicates.js +92 -0
- package/World/Archive/Functions/Shared.d.ts +6 -0
- package/World/Archive/Functions/Shared.js +50 -0
- package/World/Archive/InitTasks.js +37 -23
- package/World/Cursor/SectionCursor.d.ts +3 -3
- package/World/Cursor/SectionCursor.js +2 -3
- package/World/Cursor/SectorCursor.d.ts +3 -3
- package/World/Cursor/SectorCursor.js +1 -2
- package/World/Cursor/WorldCursor.d.ts +6 -5
- package/World/Cursor/WorldCursor.js +17 -15
- package/World/Cursor/WorldVoxelCursor.d.ts +0 -4
- package/World/Cursor/WorldVoxelCursor.js +24 -14
- package/World/Dimension/Dimension.d.ts +4 -1
- package/World/Dimension/Dimension.js +8 -1
- package/World/InitTasks.d.ts +1 -1
- package/World/Lock/WorldLock.d.ts +1 -1
- package/World/Section/Section.d.ts +27 -18
- package/World/Section/Section.js +125 -21
- package/World/Section/SectionState.d.ts +12 -0
- package/World/Section/SectionState.js +13 -0
- package/World/Sector/Sector.d.ts +20 -6
- package/World/Sector/Sector.js +100 -17
- package/World/Sector/SectorHeightMap.js +2 -2
- package/World/Sector/SectorState.d.ts +16 -7
- package/World/Sector/SectorState.js +29 -15
- package/World/Types/WorldData.types.d.ts +2 -7
- package/World/Types/WorldStorage.interface.js +1 -0
- package/World/WorldRegister.d.ts +13 -9
- package/World/WorldRegister.js +24 -9
- package/World/WorldSpaces.d.ts +4 -0
- package/World/WorldSpaces.js +25 -12
- package/{Tasks/IWG → WorldSimulation}/Internal/Classes/DimensionSegment.d.ts +2 -2
- package/{Tasks/IWG → WorldSimulation}/Internal/Classes/Generator.d.ts +10 -3
- package/{Tasks/IWG → WorldSimulation}/Internal/Classes/Generator.js +19 -3
- package/WorldSimulation/Internal/Classes/Queues/BuildQueue.d.ts +5 -0
- package/WorldSimulation/Internal/Classes/Queues/BuildQueue.js +6 -0
- package/WorldSimulation/Internal/Classes/Queues/LogiccQueue.d.ts +5 -0
- package/WorldSimulation/Internal/Classes/Queues/LogiccQueue.js +6 -0
- package/{Tasks/IWG → WorldSimulation}/Internal/Classes/SectorVisistedMap.js +1 -1
- package/WorldSimulation/Internal/Classes/TickQueue.d.ts +12 -0
- package/WorldSimulation/Internal/Classes/TickQueue.js +58 -0
- package/WorldSimulation/Internal/Classes/WorldSimulationTaskBase.d.ts +15 -0
- package/{Tasks/IWG/Internal/Classes/IWGTaskBase.js → WorldSimulation/Internal/Classes/WorldSimulationTaskBase.js} +8 -8
- package/{Tasks/IWG → WorldSimulation}/Internal/Functions/cullSectors.js +9 -9
- package/{Tasks/IWG → WorldSimulation}/Internal/Functions/getSectorState.d.ts +1 -1
- package/{Tasks/IWG → WorldSimulation}/Internal/Functions/getSectorState.js +4 -4
- package/WorldSimulation/Internal/Functions/runTickUpdate.d.ts +2 -0
- package/{Tasks/IWG/Internal/Functions/runBuildUpdate.js → WorldSimulation/Internal/Functions/runTickUpdate.js} +38 -9
- package/{Tasks/IWG → WorldSimulation}/Internal/Functions/runWorldUpdate.js +13 -13
- package/{Tasks/IWG → WorldSimulation}/Internal/TaskRegister.d.ts +2 -2
- package/{Tasks/IWG → WorldSimulation}/Internal/TaskRegister.js +1 -1
- package/WorldSimulation/Internal/WorldSimulationDimensions.d.ts +6 -0
- package/{Tasks/IWG/Internal/IWGDimensions.js → WorldSimulation/Internal/WorldSimulationDimensions.js} +1 -1
- package/WorldSimulation/Internal/WorldSimulationTasks.d.ts +30 -0
- package/{Tasks/IWG/Internal/IWGTasks.js → WorldSimulation/Internal/WorldSimulationTasks.js} +14 -24
- package/WorldSimulation/Internal/WorldSimulationTools.d.ts +8 -0
- package/{Tasks/IWG/Internal/IWGTools.js → WorldSimulation/Internal/WorldSimulationTools.js} +1 -1
- package/{Tasks/IWG → WorldSimulation}/Procedures/InitalLoad.d.ts +1 -1
- package/{Tasks/IWG → WorldSimulation}/Procedures/InitalLoad.js +11 -11
- package/{Tasks/IWG → WorldSimulation}/Procedures/SaveAllSectors.js +7 -5
- package/{Tasks/IWG/IWG.d.ts → WorldSimulation/WorldSimulation.d.ts} +6 -5
- package/{Tasks/IWG/IWG.js → WorldSimulation/WorldSimulation.js} +29 -23
- package/{Tasks/IWG → WorldSimulation}/index.d.ts +1 -1
- package/{Tasks/IWG → WorldSimulation}/index.js +1 -1
- package/package.json +1 -1
- package/Mesher/Functions/CompactMesh.d.ts +0 -2
- package/Mesher/Functions/CompactMesh.js +0 -42
- package/Mesher/Geomtry/GeometryNormals.d.ts +0 -10
- package/Mesher/Geomtry/GeometryNormals.js +0 -52
- package/Mesher/Geomtry/MeshData.types.d.ts +0 -13
- package/Mesher/Geomtry/MeshData.types.js +0 -6
- package/Mesher/Geomtry/Tools/MesherDataTools.d.ts +0 -7
- package/Mesher/Geomtry/Tools/MesherDataTools.js +0 -12
- package/Mesher/Geomtry/Tools/index.d.ts +0 -1
- package/Mesher/Geomtry/Tools/index.js +0 -1
- package/Mesher/RenderedMaterials.d.ts +0 -6
- package/Mesher/Tools/VoxelMeshBVHBuilder.js +0 -216
- package/Models/Rules/VoxelModelManager.js +0 -82
- package/Tasks/IWG/Internal/Classes/IWGTaskBase.d.ts +0 -15
- package/Tasks/IWG/Internal/Functions/runBuildUpdate.d.ts +0 -2
- package/Tasks/IWG/Internal/IWGDimensions.d.ts +0 -6
- package/Tasks/IWG/Internal/IWGTasks.d.ts +0 -34
- package/Tasks/IWG/Internal/IWGTools.d.ts +0 -8
- package/Textures/TextureAnimations.d.ts +0 -4
- package/Textures/TextureAnimations.js +0 -35
- package/Textures/TextureArray.d.ts +0 -47
- package/Textures/TextureArray.js +0 -202
- package/Textures/TextureBuilder.d.ts +0 -13
- package/Textures/TextureBuilder.js +0 -120
- package/Textures/TextureRegister.d.ts +0 -9
- package/Textures/TextureRegister.js +0 -28
- package/Tools/DataCursor.interface.d.ts +0 -5
- package/Tools/DataCursor.interface.js +0 -2
- package/Util/Binary/BitArray.js +0 -16
- package/World/Structs/WorldDataStructProperties.d.ts +0 -8
- package/World/Structs/WorldDataStructProperties.js +0 -9
- /package/Mesher/Geomtry/{Buffers.d.ts → VoxelMeshBuffers.d.ts} +0 -0
- /package/Mesher/{Tools → Geomtry}/VoxelMeshVertexStructCursor.d.ts +0 -0
- /package/Mesher/{Tools → Geomtry}/VoxelMeshVertexStructCursor.js +0 -0
- /package/Mesher/{VoxelShaderData.d.ts → Geomtry/VoxelShaderData.d.ts} +0 -0
- /package/Mesher/{VoxelShaderData.js → Geomtry/VoxelShaderData.js} +0 -0
- /package/{World/Storage/WorldStorage.interface.js → Voxels/Cursor/DataCursor.interface.js} +0 -0
- /package/World/{Storage → Types}/WorldStorage.interface.d.ts +0 -0
- /package/{Tasks/IWG → WorldSimulation}/Internal/Classes/DimensionSegment.js +0 -0
- /package/{Tasks/IWG → WorldSimulation}/Internal/Classes/SectorState.d.ts +0 -0
- /package/{Tasks/IWG → WorldSimulation}/Internal/Classes/SectorState.js +0 -0
- /package/{Tasks/IWG → WorldSimulation}/Internal/Classes/SectorVisistedMap.d.ts +0 -0
- /package/{Tasks/IWG → WorldSimulation}/Internal/Functions/cullSectors.d.ts +0 -0
- /package/{Tasks/IWG → WorldSimulation}/Internal/Functions/runWorldUpdate.d.ts +0 -0
- /package/{Tasks/IWG → WorldSimulation}/Procedures/SaveAllSectors.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const simpleCube = {
|
|
2
2
|
id: "dve_simple_cube",
|
|
3
3
|
relationsSchema: [],
|
|
4
|
-
|
|
4
|
+
stateSchema: [],
|
|
5
5
|
arguments: {
|
|
6
6
|
texture: {
|
|
7
7
|
type: "texture",
|
|
@@ -11,25 +11,25 @@ export const simpleCube = {
|
|
|
11
11
|
default: false,
|
|
12
12
|
},
|
|
13
13
|
},
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
conditonalNodes: {},
|
|
15
|
+
stateNodes: {
|
|
16
16
|
"*": [
|
|
17
17
|
{
|
|
18
18
|
id: "cube",
|
|
19
19
|
geometryId: "dve_cube",
|
|
20
20
|
inputs: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
21
|
+
upTex: "@texture",
|
|
22
|
+
upTexTransparent: "@transparent",
|
|
23
|
+
downTex: "@texture",
|
|
24
|
+
downTexTransparent: "@transparent",
|
|
25
|
+
northTex: "@texture",
|
|
26
|
+
northTexTransparent: "@transparent",
|
|
27
|
+
southTex: "@texture",
|
|
28
|
+
southTexTransparent: "@transparent",
|
|
29
|
+
eastTex: "@texture",
|
|
30
|
+
eastTexTransparent: "@transparent",
|
|
31
|
+
westTex: "@texture",
|
|
32
|
+
westTexTransparent: "@transparent",
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
35
|
],
|
|
@@ -38,28 +38,16 @@ export const simpleCube = {
|
|
|
38
38
|
export const orientedCube = {
|
|
39
39
|
id: "dve_oriented_cube",
|
|
40
40
|
relationsSchema: [],
|
|
41
|
-
|
|
41
|
+
stateSchema: [
|
|
42
42
|
{
|
|
43
43
|
name: "placement",
|
|
44
44
|
type: "string",
|
|
45
|
-
values:
|
|
46
|
-
0: "down",
|
|
47
|
-
1: "up",
|
|
48
|
-
2: "north",
|
|
49
|
-
3: "south",
|
|
50
|
-
4: "east",
|
|
51
|
-
5: "west",
|
|
52
|
-
},
|
|
45
|
+
values: ["down", "up", "north", "south", "east", "west"],
|
|
53
46
|
},
|
|
54
47
|
{
|
|
55
48
|
name: "direction",
|
|
56
49
|
type: "string",
|
|
57
|
-
values:
|
|
58
|
-
0: "north",
|
|
59
|
-
1: "south",
|
|
60
|
-
2: "east",
|
|
61
|
-
3: "west",
|
|
62
|
-
},
|
|
50
|
+
values: ["north", "south", "east", "west"],
|
|
63
51
|
},
|
|
64
52
|
],
|
|
65
53
|
arguments: {
|
|
@@ -82,21 +70,21 @@ export const orientedCube = {
|
|
|
82
70
|
type: "texture",
|
|
83
71
|
},
|
|
84
72
|
},
|
|
85
|
-
|
|
86
|
-
|
|
73
|
+
conditonalNodes: {},
|
|
74
|
+
stateNodes: {
|
|
87
75
|
"placement=down,direction=north": [
|
|
88
76
|
{
|
|
89
77
|
id: "cube",
|
|
90
78
|
geometryId: "dve_cube",
|
|
91
79
|
inputs: {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
80
|
+
upTex: "@upTex",
|
|
81
|
+
upTexRotation: 0,
|
|
82
|
+
downTex: "@downTex",
|
|
83
|
+
downTexRotation: 0,
|
|
84
|
+
northTex: "@northTex",
|
|
85
|
+
southTex: "@southTex",
|
|
86
|
+
eastTex: "@eastTex",
|
|
87
|
+
westTex: "@westTex",
|
|
100
88
|
},
|
|
101
89
|
},
|
|
102
90
|
],
|
|
@@ -105,14 +93,14 @@ export const orientedCube = {
|
|
|
105
93
|
id: "cube",
|
|
106
94
|
geometryId: "dve_cube",
|
|
107
95
|
inputs: {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
96
|
+
upTex: "@upTex",
|
|
97
|
+
upTexRotation: 180,
|
|
98
|
+
downTex: "@downTex",
|
|
99
|
+
downTexRotation: 180,
|
|
100
|
+
northTex: "@northTex",
|
|
101
|
+
southTex: "@southTex",
|
|
102
|
+
eastTex: "@eastTex",
|
|
103
|
+
westTex: "@westTex",
|
|
116
104
|
},
|
|
117
105
|
},
|
|
118
106
|
],
|
|
@@ -121,14 +109,14 @@ export const orientedCube = {
|
|
|
121
109
|
id: "cube",
|
|
122
110
|
geometryId: "dve_cube",
|
|
123
111
|
inputs: {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
112
|
+
upTex: "@upTex",
|
|
113
|
+
upTexRotation: 90,
|
|
114
|
+
downTex: "@downTex",
|
|
115
|
+
downTexRotation: 90,
|
|
116
|
+
northTex: "@eastTex",
|
|
117
|
+
southTex: "@westTex",
|
|
118
|
+
eastTex: "@southTex",
|
|
119
|
+
westTex: "@northTex",
|
|
132
120
|
},
|
|
133
121
|
},
|
|
134
122
|
],
|
|
@@ -137,14 +125,14 @@ export const orientedCube = {
|
|
|
137
125
|
id: "cube",
|
|
138
126
|
geometryId: "dve_cube",
|
|
139
127
|
inputs: {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
128
|
+
upTex: "@upTex",
|
|
129
|
+
upTexRotation: 270,
|
|
130
|
+
downTex: "@downTex",
|
|
131
|
+
downTexRotation: 270,
|
|
132
|
+
northTex: "@westTex",
|
|
133
|
+
southTex: "@eastTex",
|
|
134
|
+
eastTex: "@northTex",
|
|
135
|
+
westTex: "@southTex",
|
|
148
136
|
},
|
|
149
137
|
},
|
|
150
138
|
],
|
|
@@ -153,18 +141,18 @@ export const orientedCube = {
|
|
|
153
141
|
id: "cube",
|
|
154
142
|
geometryId: "dve_cube",
|
|
155
143
|
inputs: {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
144
|
+
upTex: "@downTex",
|
|
145
|
+
upTexRotation: 0,
|
|
146
|
+
downTex: "@upTex",
|
|
147
|
+
downTexRotation: 0,
|
|
148
|
+
northTex: "@northTex",
|
|
149
|
+
southTex: "@southTex",
|
|
150
|
+
eastTex: "@eastTex",
|
|
151
|
+
westTex: "@westTex",
|
|
152
|
+
northTexRotation: 180,
|
|
153
|
+
southTexRotation: 180,
|
|
154
|
+
eastTexRotation: 180,
|
|
155
|
+
westTexRotation: 180,
|
|
168
156
|
},
|
|
169
157
|
},
|
|
170
158
|
],
|
|
@@ -173,18 +161,18 @@ export const orientedCube = {
|
|
|
173
161
|
id: "cube",
|
|
174
162
|
geometryId: "dve_cube",
|
|
175
163
|
inputs: {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
164
|
+
upTex: "@downTex",
|
|
165
|
+
upTexRotation: 180,
|
|
166
|
+
downTex: "@upTex",
|
|
167
|
+
downTexRotation: 180,
|
|
168
|
+
northTex: "@southTex",
|
|
169
|
+
southTex: "@northTex",
|
|
170
|
+
eastTex: "@westTex",
|
|
171
|
+
westTex: "@eastTex",
|
|
172
|
+
northTexRotation: 180,
|
|
173
|
+
southTexRotation: 180,
|
|
174
|
+
eastTexRotation: 180,
|
|
175
|
+
westTexRotation: 180,
|
|
188
176
|
},
|
|
189
177
|
},
|
|
190
178
|
],
|
|
@@ -193,18 +181,18 @@ export const orientedCube = {
|
|
|
193
181
|
id: "cube",
|
|
194
182
|
geometryId: "dve_cube",
|
|
195
183
|
inputs: {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
184
|
+
upTex: "@downTex",
|
|
185
|
+
upTexRotation: 90,
|
|
186
|
+
downTex: "@upTex",
|
|
187
|
+
downTexRotation: 90,
|
|
188
|
+
northTex: "@eastTex",
|
|
189
|
+
southTex: "@westTex",
|
|
190
|
+
eastTex: "@southTex",
|
|
191
|
+
westTex: "@northTex",
|
|
192
|
+
northTexRotation: 180,
|
|
193
|
+
southTexRotation: 180,
|
|
194
|
+
eastTexRotation: 180,
|
|
195
|
+
westTexRotation: 180,
|
|
208
196
|
},
|
|
209
197
|
},
|
|
210
198
|
],
|
|
@@ -213,18 +201,18 @@ export const orientedCube = {
|
|
|
213
201
|
id: "cube",
|
|
214
202
|
geometryId: "dve_cube",
|
|
215
203
|
inputs: {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
204
|
+
upTex: "@downTex",
|
|
205
|
+
upTexRotation: 270,
|
|
206
|
+
downTex: "@upTex",
|
|
207
|
+
downTexRotation: 270,
|
|
208
|
+
northTex: "@westTex",
|
|
209
|
+
southTex: "@eastTex",
|
|
210
|
+
eastTex: "@northTex",
|
|
211
|
+
westTex: "@southTex",
|
|
212
|
+
northTexRotation: 180,
|
|
213
|
+
southTexRotation: 180,
|
|
214
|
+
eastTexRotation: 180,
|
|
215
|
+
westTexRotation: 180,
|
|
228
216
|
},
|
|
229
217
|
},
|
|
230
218
|
],
|
|
@@ -233,18 +221,18 @@ export const orientedCube = {
|
|
|
233
221
|
id: "cube",
|
|
234
222
|
geometryId: "dve_cube",
|
|
235
223
|
inputs: {
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
224
|
+
upTex: "@northTex",
|
|
225
|
+
northTex: "@upTex",
|
|
226
|
+
northTexRotation: 0,
|
|
227
|
+
southTex: "@downTex",
|
|
228
|
+
southTexRotation: 0,
|
|
229
|
+
downTex: "@southTex",
|
|
230
|
+
eastTex: "@eastTex",
|
|
231
|
+
westTex: "@westTex",
|
|
232
|
+
upTexRotation: 0,
|
|
233
|
+
downTexRotation: 0,
|
|
234
|
+
eastTexRotation: 90,
|
|
235
|
+
westTexRotation: 90,
|
|
248
236
|
},
|
|
249
237
|
},
|
|
250
238
|
],
|
|
@@ -253,18 +241,18 @@ export const orientedCube = {
|
|
|
253
241
|
id: "cube",
|
|
254
242
|
geometryId: "dve_cube",
|
|
255
243
|
inputs: {
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
244
|
+
upTex: "@southTex",
|
|
245
|
+
northTex: "@upTex",
|
|
246
|
+
northTexRotation: 180,
|
|
247
|
+
southTex: "@downTex",
|
|
248
|
+
southTexRotation: 180,
|
|
249
|
+
downTex: "@northTex",
|
|
250
|
+
eastTex: "@westTex",
|
|
251
|
+
westTex: "@eastTex",
|
|
252
|
+
upTexRotation: 0,
|
|
253
|
+
downTexRotation: 0,
|
|
254
|
+
eastTexRotation: 90,
|
|
255
|
+
westTexRotation: 90,
|
|
268
256
|
},
|
|
269
257
|
},
|
|
270
258
|
],
|
|
@@ -273,18 +261,18 @@ export const orientedCube = {
|
|
|
273
261
|
id: "cube",
|
|
274
262
|
geometryId: "dve_cube",
|
|
275
263
|
inputs: {
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
264
|
+
upTex: "@westTex",
|
|
265
|
+
northTex: "@upTex",
|
|
266
|
+
northTexRotation: 90,
|
|
267
|
+
southTex: "@downTex",
|
|
268
|
+
southTexRotation: 90,
|
|
269
|
+
downTex: "@eastTex",
|
|
270
|
+
eastTex: "@southTex",
|
|
271
|
+
westTex: "@northTex",
|
|
272
|
+
upTexRotation: 0,
|
|
273
|
+
downTexRotation: 0,
|
|
274
|
+
eastTexRotation: 90,
|
|
275
|
+
westTexRotation: 90,
|
|
288
276
|
},
|
|
289
277
|
},
|
|
290
278
|
],
|
|
@@ -293,18 +281,18 @@ export const orientedCube = {
|
|
|
293
281
|
id: "cube",
|
|
294
282
|
geometryId: "dve_cube",
|
|
295
283
|
inputs: {
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
284
|
+
upTex: "@eastTex",
|
|
285
|
+
northTex: "@upTex",
|
|
286
|
+
northTexRotation: 270,
|
|
287
|
+
southTex: "@downTex",
|
|
288
|
+
southTexRotation: 270,
|
|
289
|
+
downTex: "@westTex",
|
|
290
|
+
eastTex: "@northTex",
|
|
291
|
+
westTex: "@southTex",
|
|
292
|
+
upTexRotation: 0,
|
|
293
|
+
downTexRotation: 0,
|
|
294
|
+
eastTexRotation: 90,
|
|
295
|
+
westTexRotation: 90,
|
|
308
296
|
},
|
|
309
297
|
},
|
|
310
298
|
],
|
|
@@ -313,18 +301,18 @@ export const orientedCube = {
|
|
|
313
301
|
id: "cube",
|
|
314
302
|
geometryId: "dve_cube",
|
|
315
303
|
inputs: {
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
304
|
+
upTex: "@southTex",
|
|
305
|
+
northTex: "@downTex",
|
|
306
|
+
northTexRotation: 180,
|
|
307
|
+
southTex: "@upTex",
|
|
308
|
+
southTexRotation: 180,
|
|
309
|
+
downTex: "@northTex",
|
|
310
|
+
eastTex: "@westTex",
|
|
311
|
+
westTex: "@eastTex",
|
|
312
|
+
upTexRotation: 180,
|
|
313
|
+
downTexRotation: 180,
|
|
314
|
+
eastTexRotation: 270,
|
|
315
|
+
westTexRotation: 270,
|
|
328
316
|
},
|
|
329
317
|
},
|
|
330
318
|
],
|
|
@@ -333,18 +321,18 @@ export const orientedCube = {
|
|
|
333
321
|
id: "cube",
|
|
334
322
|
geometryId: "dve_cube",
|
|
335
323
|
inputs: {
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
324
|
+
upTex: "@northTex",
|
|
325
|
+
northTex: "@downTex",
|
|
326
|
+
northTexRotation: 0,
|
|
327
|
+
southTex: "@upTex",
|
|
328
|
+
southTexRotation: 0,
|
|
329
|
+
downTex: "@southTex",
|
|
330
|
+
eastTex: "@eastTex",
|
|
331
|
+
westTex: "@westTex",
|
|
332
|
+
upTexRotation: 180,
|
|
333
|
+
downTexRotation: 180,
|
|
334
|
+
eastTexRotation: 270,
|
|
335
|
+
westTexRotation: 270,
|
|
348
336
|
},
|
|
349
337
|
},
|
|
350
338
|
],
|
|
@@ -353,18 +341,18 @@ export const orientedCube = {
|
|
|
353
341
|
id: "cube",
|
|
354
342
|
geometryId: "dve_cube",
|
|
355
343
|
inputs: {
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
344
|
+
upTex: "@westTex",
|
|
345
|
+
northTex: "@downTex",
|
|
346
|
+
northTexRotation: 90,
|
|
347
|
+
southTex: "@upTex",
|
|
348
|
+
southTexRotation: 90,
|
|
349
|
+
downTex: "@eastTex",
|
|
350
|
+
eastTex: "@southTex",
|
|
351
|
+
westTex: "@northTex",
|
|
352
|
+
upTexRotation: 180,
|
|
353
|
+
downTexRotation: 180,
|
|
354
|
+
eastTexRotation: 270,
|
|
355
|
+
westTexRotation: 270,
|
|
368
356
|
},
|
|
369
357
|
},
|
|
370
358
|
],
|
|
@@ -373,18 +361,18 @@ export const orientedCube = {
|
|
|
373
361
|
id: "cube",
|
|
374
362
|
geometryId: "dve_cube",
|
|
375
363
|
inputs: {
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
364
|
+
upTex: "@eastTex",
|
|
365
|
+
northTex: "@downTex",
|
|
366
|
+
northTexRotation: 270,
|
|
367
|
+
southTex: "@upTex",
|
|
368
|
+
southTexRotation: 270,
|
|
369
|
+
downTex: "@westTex",
|
|
370
|
+
eastTex: "@northTex",
|
|
371
|
+
westTex: "@southTex",
|
|
372
|
+
upTexRotation: 180,
|
|
373
|
+
downTexRotation: 180,
|
|
374
|
+
eastTexRotation: 270,
|
|
375
|
+
westTexRotation: 270,
|
|
388
376
|
},
|
|
389
377
|
},
|
|
390
378
|
],
|
|
@@ -393,18 +381,18 @@ export const orientedCube = {
|
|
|
393
381
|
id: "cube",
|
|
394
382
|
geometryId: "dve_cube",
|
|
395
383
|
inputs: {
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
384
|
+
upTex: "@northTex",
|
|
385
|
+
upTexRotation: 90,
|
|
386
|
+
downTex: "@southTex",
|
|
387
|
+
downTexRotation: 90,
|
|
388
|
+
northTex: "@eastTex",
|
|
389
|
+
southTex: "@westTex",
|
|
390
|
+
eastTex: "@upTex",
|
|
391
|
+
westTex: "@downTex",
|
|
392
|
+
eastTexRotation: 0,
|
|
393
|
+
westTexRotation: 0,
|
|
394
|
+
northTexRotation: 90,
|
|
395
|
+
southTexRotation: 90,
|
|
408
396
|
},
|
|
409
397
|
},
|
|
410
398
|
],
|
|
@@ -413,18 +401,18 @@ export const orientedCube = {
|
|
|
413
401
|
id: "cube",
|
|
414
402
|
geometryId: "dve_cube",
|
|
415
403
|
inputs: {
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
404
|
+
upTex: "@southTex",
|
|
405
|
+
upTexRotation: 90,
|
|
406
|
+
downTex: "@northTex",
|
|
407
|
+
downTexRotation: 90,
|
|
408
|
+
northTex: "@westTex",
|
|
409
|
+
southTex: "@eastTex",
|
|
410
|
+
eastTex: "@upTex",
|
|
411
|
+
westTex: "@downTex",
|
|
412
|
+
eastTexRotation: 180,
|
|
413
|
+
westTexRotation: 180,
|
|
414
|
+
northTexRotation: 90,
|
|
415
|
+
southTexRotation: 90,
|
|
428
416
|
},
|
|
429
417
|
},
|
|
430
418
|
],
|
|
@@ -433,18 +421,18 @@ export const orientedCube = {
|
|
|
433
421
|
id: "cube",
|
|
434
422
|
geometryId: "dve_cube",
|
|
435
423
|
inputs: {
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
424
|
+
upTex: "@eastTex",
|
|
425
|
+
upTexRotation: 90,
|
|
426
|
+
downTex: "@westTex",
|
|
427
|
+
downTexRotation: 90,
|
|
428
|
+
northTex: "@southTex",
|
|
429
|
+
southTex: "@northTex",
|
|
430
|
+
eastTex: "@upTex",
|
|
431
|
+
westTex: "@downTex",
|
|
432
|
+
eastTexRotation: 270,
|
|
433
|
+
westTexRotation: 270,
|
|
434
|
+
northTexRotation: 90,
|
|
435
|
+
southTexRotation: 90,
|
|
448
436
|
},
|
|
449
437
|
},
|
|
450
438
|
],
|
|
@@ -453,18 +441,18 @@ export const orientedCube = {
|
|
|
453
441
|
id: "cube",
|
|
454
442
|
geometryId: "dve_cube",
|
|
455
443
|
inputs: {
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
444
|
+
upTex: "@westTex",
|
|
445
|
+
upTexRotation: 90,
|
|
446
|
+
downTex: "@eastTex",
|
|
447
|
+
downTexRotation: 90,
|
|
448
|
+
northTex: "@northTex",
|
|
449
|
+
southTex: "@southTex",
|
|
450
|
+
eastTex: "@upTex",
|
|
451
|
+
westTex: "@downTex",
|
|
452
|
+
eastTexRotation: 90,
|
|
453
|
+
westTexRotation: 90,
|
|
454
|
+
northTexRotation: 90,
|
|
455
|
+
southTexRotation: 90,
|
|
468
456
|
},
|
|
469
457
|
},
|
|
470
458
|
],
|
|
@@ -473,18 +461,18 @@ export const orientedCube = {
|
|
|
473
461
|
id: "cube",
|
|
474
462
|
geometryId: "dve_cube",
|
|
475
463
|
inputs: {
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
464
|
+
upTex: "@northTex",
|
|
465
|
+
upTexRotation: 270,
|
|
466
|
+
downTex: "@southTex",
|
|
467
|
+
downTexRotation: 270,
|
|
468
|
+
northTex: "@eastTex",
|
|
469
|
+
southTex: "@westTex",
|
|
470
|
+
eastTex: "@downTex",
|
|
471
|
+
westTex: "@upTex",
|
|
472
|
+
eastTexRotation: 0,
|
|
473
|
+
westTexRotation: 0,
|
|
474
|
+
northTexRotation: 270,
|
|
475
|
+
southTexRotation: 270,
|
|
488
476
|
},
|
|
489
477
|
},
|
|
490
478
|
],
|
|
@@ -493,18 +481,18 @@ export const orientedCube = {
|
|
|
493
481
|
id: "cube",
|
|
494
482
|
geometryId: "dve_cube",
|
|
495
483
|
inputs: {
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
484
|
+
upTex: "@southTex",
|
|
485
|
+
upTexRotation: 270,
|
|
486
|
+
downTex: "@northTex",
|
|
487
|
+
downTexRotation: 270,
|
|
488
|
+
northTex: "@westTex",
|
|
489
|
+
southTex: "@eastTex",
|
|
490
|
+
eastTex: "@downTex",
|
|
491
|
+
westTex: "@upTex",
|
|
492
|
+
eastTexRotation: 180,
|
|
493
|
+
westTexRotation: 180,
|
|
494
|
+
northTexRotation: 270,
|
|
495
|
+
southTexRotation: 270,
|
|
508
496
|
},
|
|
509
497
|
},
|
|
510
498
|
],
|
|
@@ -513,18 +501,18 @@ export const orientedCube = {
|
|
|
513
501
|
id: "cube",
|
|
514
502
|
geometryId: "dve_cube",
|
|
515
503
|
inputs: {
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
504
|
+
upTex: "@eastTex",
|
|
505
|
+
upTexRotation: 270,
|
|
506
|
+
downTex: "@westTex",
|
|
507
|
+
downTexRotation: 270,
|
|
508
|
+
northTex: "@southTex",
|
|
509
|
+
southTex: "@northTex",
|
|
510
|
+
eastTex: "@downTex",
|
|
511
|
+
westTex: "@upTex",
|
|
512
|
+
eastTexRotation: 270,
|
|
513
|
+
westTexRotation: 270,
|
|
514
|
+
northTexRotation: 270,
|
|
515
|
+
southTexRotation: 270,
|
|
528
516
|
},
|
|
529
517
|
},
|
|
530
518
|
],
|
|
@@ -533,18 +521,18 @@ export const orientedCube = {
|
|
|
533
521
|
id: "cube",
|
|
534
522
|
geometryId: "dve_cube",
|
|
535
523
|
inputs: {
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
524
|
+
upTex: "@westTex",
|
|
525
|
+
upTexRotation: 270,
|
|
526
|
+
downTex: "@eastTex",
|
|
527
|
+
downTexRotation: 270,
|
|
528
|
+
northTex: "@northTex",
|
|
529
|
+
southTex: "@southTex",
|
|
530
|
+
eastTex: "@downTex",
|
|
531
|
+
westTex: "@upTex",
|
|
532
|
+
eastTexRotation: 90,
|
|
533
|
+
westTexRotation: 90,
|
|
534
|
+
northTexRotation: 270,
|
|
535
|
+
southTexRotation: 270,
|
|
548
536
|
},
|
|
549
537
|
},
|
|
550
538
|
],
|
|
@@ -553,18 +541,11 @@ export const orientedCube = {
|
|
|
553
541
|
export const simpleHalfCube = {
|
|
554
542
|
id: "dve_simple_half_cube",
|
|
555
543
|
relationsSchema: [],
|
|
556
|
-
|
|
544
|
+
stateSchema: [
|
|
557
545
|
{
|
|
558
546
|
name: "placement",
|
|
559
547
|
type: "string",
|
|
560
|
-
values:
|
|
561
|
-
0: "down",
|
|
562
|
-
1: "up",
|
|
563
|
-
2: "north",
|
|
564
|
-
3: "south",
|
|
565
|
-
4: "east",
|
|
566
|
-
5: "west",
|
|
567
|
-
},
|
|
548
|
+
values: ["down", "up", "north", "south", "east", "west"],
|
|
568
549
|
},
|
|
569
550
|
],
|
|
570
551
|
arguments: {
|
|
@@ -575,19 +556,19 @@ export const simpleHalfCube = {
|
|
|
575
556
|
type: "texture",
|
|
576
557
|
},
|
|
577
558
|
},
|
|
578
|
-
|
|
579
|
-
|
|
559
|
+
conditonalNodes: {},
|
|
560
|
+
stateNodes: {
|
|
580
561
|
"placement=down": [
|
|
581
562
|
{
|
|
582
563
|
id: "half_cube",
|
|
583
564
|
geometryId: "dve_half_cube_down_half",
|
|
584
565
|
inputs: {
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
566
|
+
upTex: "@upDownTextures",
|
|
567
|
+
downTex: "@upDownTextures",
|
|
568
|
+
northTex: "@sideTextures",
|
|
569
|
+
southTex: "@sideTextures",
|
|
570
|
+
eastTex: "@sideTextures",
|
|
571
|
+
westTex: "@sideTextures",
|
|
591
572
|
},
|
|
592
573
|
},
|
|
593
574
|
],
|
|
@@ -597,12 +578,12 @@ export const simpleHalfCube = {
|
|
|
597
578
|
position: [0, 0.5, 0],
|
|
598
579
|
geometryId: "dve_half_cube_down_half",
|
|
599
580
|
inputs: {
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
581
|
+
upTex: "@upDownTextures",
|
|
582
|
+
downTex: "@upDownTextures",
|
|
583
|
+
northTex: "@sideTextures",
|
|
584
|
+
southTex: "@sideTextures",
|
|
585
|
+
eastTex: "@sideTextures",
|
|
586
|
+
westTex: "@sideTextures",
|
|
606
587
|
},
|
|
607
588
|
},
|
|
608
589
|
],
|
|
@@ -611,12 +592,12 @@ export const simpleHalfCube = {
|
|
|
611
592
|
id: "half_cube",
|
|
612
593
|
geometryId: "dve_half_cube_south_half",
|
|
613
594
|
inputs: {
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
595
|
+
upTex: "@sideTextures",
|
|
596
|
+
downTex: "@sideTextures",
|
|
597
|
+
northTex: "@upDownTextures",
|
|
598
|
+
southTex: "@upDownTextures",
|
|
599
|
+
eastTex: "@sideTextures",
|
|
600
|
+
westTex: "@sideTextures",
|
|
620
601
|
},
|
|
621
602
|
},
|
|
622
603
|
],
|
|
@@ -626,12 +607,12 @@ export const simpleHalfCube = {
|
|
|
626
607
|
position: [0, 0, 0.5],
|
|
627
608
|
geometryId: "dve_half_cube_south_half",
|
|
628
609
|
inputs: {
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
610
|
+
upTex: "@sideTextures",
|
|
611
|
+
downTex: "@sideTextures",
|
|
612
|
+
northTex: "@upDownTextures",
|
|
613
|
+
southTex: "@upDownTextures",
|
|
614
|
+
eastTex: "@sideTextures",
|
|
615
|
+
westTex: "@sideTextures",
|
|
635
616
|
},
|
|
636
617
|
},
|
|
637
618
|
],
|
|
@@ -640,12 +621,12 @@ export const simpleHalfCube = {
|
|
|
640
621
|
id: "half_cube",
|
|
641
622
|
geometryId: "dve_half_cube_west_half",
|
|
642
623
|
inputs: {
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
624
|
+
upTex: "@sideTextures",
|
|
625
|
+
downTex: "@sideTextures",
|
|
626
|
+
northTex: "@sideTextures",
|
|
627
|
+
southTex: "@sideTextures",
|
|
628
|
+
eastTex: "@upDownTextures",
|
|
629
|
+
westTex: "@upDownTextures",
|
|
649
630
|
},
|
|
650
631
|
},
|
|
651
632
|
],
|
|
@@ -655,12 +636,12 @@ export const simpleHalfCube = {
|
|
|
655
636
|
position: [0.5, 0, 0],
|
|
656
637
|
geometryId: "dve_half_cube_west_half",
|
|
657
638
|
inputs: {
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
639
|
+
upTex: "@sideTextures",
|
|
640
|
+
downTex: "@sideTextures",
|
|
641
|
+
northTex: "@sideTextures",
|
|
642
|
+
southTex: "@sideTextures",
|
|
643
|
+
eastTex: "@upDownTextures",
|
|
644
|
+
westTex: "@upDownTextures",
|
|
664
645
|
},
|
|
665
646
|
},
|
|
666
647
|
],
|
|
@@ -724,15 +705,11 @@ export const pillarCube = {
|
|
|
724
705
|
],
|
|
725
706
|
},
|
|
726
707
|
],
|
|
727
|
-
|
|
708
|
+
stateSchema: [
|
|
728
709
|
{
|
|
729
710
|
name: "direction",
|
|
730
711
|
type: "string",
|
|
731
|
-
values:
|
|
732
|
-
0: "down-up",
|
|
733
|
-
1: "south-north",
|
|
734
|
-
2: "west-east",
|
|
735
|
-
},
|
|
712
|
+
values: ["down-up", "south-north", "west-east"],
|
|
736
713
|
},
|
|
737
714
|
],
|
|
738
715
|
arguments: {
|
|
@@ -755,19 +732,19 @@ export const pillarCube = {
|
|
|
755
732
|
type: "texture",
|
|
756
733
|
},
|
|
757
734
|
},
|
|
758
|
-
|
|
759
|
-
|
|
735
|
+
conditonalNodes: {},
|
|
736
|
+
stateNodes: {
|
|
760
737
|
"direction=down-up,same-down=false,same-up=false": [
|
|
761
738
|
{
|
|
762
739
|
id: "cube",
|
|
763
740
|
geometryId: "dve_cube",
|
|
764
741
|
inputs: {
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
742
|
+
upTex: "@upTex",
|
|
743
|
+
downTex: "@downTex",
|
|
744
|
+
northTex: "@sideDisconnectedTex",
|
|
745
|
+
southTex: "@sideDisconnectedTex",
|
|
746
|
+
eastTex: "@sideDisconnectedTex",
|
|
747
|
+
westTex: "@sideDisconnectedTex",
|
|
771
748
|
},
|
|
772
749
|
},
|
|
773
750
|
],
|
|
@@ -776,12 +753,12 @@ export const pillarCube = {
|
|
|
776
753
|
id: "cube",
|
|
777
754
|
geometryId: "dve_cube",
|
|
778
755
|
inputs: {
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
756
|
+
upTex: "@upTex",
|
|
757
|
+
downTex: "@downTex",
|
|
758
|
+
northTex: "@sideUpTex",
|
|
759
|
+
southTex: "@sideUpTex",
|
|
760
|
+
eastTex: "@sideUpTex",
|
|
761
|
+
westTex: "@sideUpTex",
|
|
785
762
|
},
|
|
786
763
|
},
|
|
787
764
|
],
|
|
@@ -790,12 +767,12 @@ export const pillarCube = {
|
|
|
790
767
|
id: "cube",
|
|
791
768
|
geometryId: "dve_cube",
|
|
792
769
|
inputs: {
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
770
|
+
upTex: "@upTex",
|
|
771
|
+
downTex: "@downTex",
|
|
772
|
+
northTex: "@sideDownTex",
|
|
773
|
+
southTex: "@sideDownTex",
|
|
774
|
+
eastTex: "@sideDownTex",
|
|
775
|
+
westTex: "@sideDownTex",
|
|
799
776
|
},
|
|
800
777
|
},
|
|
801
778
|
],
|
|
@@ -804,12 +781,12 @@ export const pillarCube = {
|
|
|
804
781
|
id: "cube",
|
|
805
782
|
geometryId: "dve_cube",
|
|
806
783
|
inputs: {
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
784
|
+
upTex: "@upTex",
|
|
785
|
+
downTex: "@downTex",
|
|
786
|
+
northTex: "@sideConnectedTex",
|
|
787
|
+
southTex: "@sideConnectedTex",
|
|
788
|
+
eastTex: "@sideConnectedTex",
|
|
789
|
+
westTex: "@sideConnectedTex",
|
|
813
790
|
},
|
|
814
791
|
},
|
|
815
792
|
],
|