diff --git a/src/app/babylon/controller/config-manager.ts b/src/app/babylon/controller/config-manager.ts index 169f167..16cd13d 100644 --- a/src/app/babylon/controller/config-manager.ts +++ b/src/app/babylon/controller/config-manager.ts @@ -131,12 +131,10 @@ export class ConfigManager { [MarkType.DT, "歹徒"], [MarkType.LYX, "漏油(小)"], [MarkType.LYD, "漏油(大)"], - [MarkType.H, "火"], - [MarkType.TPH, "突破火"], - [MarkType.SNH, "室内火"], - [MarkType.YWA, "烟雾"], - [MarkType.YWB, "烟雾"], - [MarkType.YWC, "烟雾"], + [MarkType.H, "火(大)"], + [MarkType.SNH, "火(小)"], + [MarkType.YWA, "烟雾(大)"], + [MarkType.YWB, "烟雾(小)"], [MarkType.MHF, "消防员"], [MarkType.PMC, "泡沫车"], [MarkType.GA, "公安"], diff --git a/src/app/babylon/controller/inputController.ts b/src/app/babylon/controller/inputController.ts index 3fea861..2811549 100644 --- a/src/app/babylon/controller/inputController.ts +++ b/src/app/babylon/controller/inputController.ts @@ -289,11 +289,9 @@ export class InputController { // 可以旋转 public CanRotateSelf(): boolean { return this.markType != MarkType.H - && this.markType != MarkType.TPH && this.markType != MarkType.SNH && this.markType != MarkType.YWA && this.markType != MarkType.YWB - && this.markType != MarkType.YWC && this.markType != MarkType.JJX // && this.markType != MarkType.SD && this.markType != MarkType.JGLX diff --git a/src/app/babylon/controller/mode-manager.ts b/src/app/babylon/controller/mode-manager.ts index 2898592..92eb799 100644 --- a/src/app/babylon/controller/mode-manager.ts +++ b/src/app/babylon/controller/mode-manager.ts @@ -28,7 +28,7 @@ export class ModeManager { /** * 调试模式 */ - public static isDebug = false; + public static isDebug = true; diff --git a/src/app/babylon/controller/scene-manager.ts b/src/app/babylon/controller/scene-manager.ts index 9a3fc03..6194e96 100644 --- a/src/app/babylon/controller/scene-manager.ts +++ b/src/app/babylon/controller/scene-manager.ts @@ -516,11 +516,9 @@ export class SceneManager { modelInfo = new ModelInfo_mark_multiArrow(modelData as MarkData, null, defaultMesh, null, isNew); break; case MarkType.H: - case MarkType.TPH: case MarkType.SNH: case MarkType.YWA: case MarkType.YWB: - case MarkType.YWC: modelInfo = new ModelInfo_mark_particle(modelData as MarkData, null, defaultMesh, null, isNew); break; diff --git a/src/app/babylon/model/data/mark/all-mark-data.ts b/src/app/babylon/model/data/mark/all-mark-data.ts index 2440663..eb551fa 100644 --- a/src/app/babylon/model/data/mark/all-mark-data.ts +++ b/src/app/babylon/model/data/mark/all-mark-data.ts @@ -48,12 +48,10 @@ export class AllMarkData { AllMarkData.newMarkData(MarkType.DT, MarkKindType.Persion, tagPos, result); AllMarkData.newMarkData(MarkType.LYX, MarkKindType.Goods, tagPos, result); AllMarkData.newMarkData(MarkType.LYD, MarkKindType.Goods, tagPos, result); - AllMarkData.newMarkData(MarkType.H, MarkKindType.Effect, tagPos, result, undefined, false); - AllMarkData.newMarkData(MarkType.TPH, MarkKindType.Effect, tagPos, result, undefined, false); AllMarkData.newMarkData(MarkType.SNH, MarkKindType.Effect, tagPos, result, undefined, false); - AllMarkData.newMarkData(MarkType.YWA, MarkKindType.Effect, tagPos, result, undefined, false); + AllMarkData.newMarkData(MarkType.H, MarkKindType.Effect, tagPos, result, undefined, false); AllMarkData.newMarkData(MarkType.YWB, MarkKindType.Effect, tagPos, result, undefined, false); - AllMarkData.newMarkData(MarkType.YWC, MarkKindType.Effect, tagPos, result, undefined, false); + AllMarkData.newMarkData(MarkType.YWA, MarkKindType.Effect, tagPos, result, undefined, false); //外部力量 tagPos = MarkTagPos.Outside; diff --git a/src/app/babylon/model/data/mark/mark-data.ts b/src/app/babylon/model/data/mark/mark-data.ts index 5635c0c..6c256d3 100644 --- a/src/app/babylon/model/data/mark/mark-data.ts +++ b/src/app/babylon/model/data/mark/mark-data.ts @@ -178,35 +178,25 @@ export enum MarkType { LYX = "LYX", /** - * 火 + * 火(大) */ H = "H", /** - * 突破火 - */ - TPH = "TPH", - - /** - * 室内火 + * 火(小) */ SNH = "SNH", /** - * 烟雾A + * 烟雾A(大) */ YWA = "YWA", /** - * 烟雾B + * 烟雾(小) */ YWB = "YWB", - /** - * 烟雾C - */ - YWC = "YWC", - //==================外部力量================ /** diff --git a/src/app/babylon/model/data/mark/mark-plan-data.ts b/src/app/babylon/model/data/mark/mark-plan-data.ts index 2613eaa..bc0687c 100644 --- a/src/app/babylon/model/data/mark/mark-plan-data.ts +++ b/src/app/babylon/model/data/mark/mark-plan-data.ts @@ -236,10 +236,14 @@ export class MarkNodeData { describe: string; /** - * 图片(或视频?) + * 图片地址 */ texture: string; + /** + * 视频地址 + */ + video: string; constructor(id: number, name: string) { this.id = id; diff --git a/src/app/babylon/model/info/mark/other/mark-plan-particle-info.ts b/src/app/babylon/model/info/mark/other/mark-plan-particle-info.ts index 0a1a9ce..473a8e4 100644 --- a/src/app/babylon/model/info/mark/other/mark-plan-particle-info.ts +++ b/src/app/babylon/model/info/mark/other/mark-plan-particle-info.ts @@ -34,39 +34,25 @@ export class ModelInfo_mark_particle extends ModelInfo_mark { switch (this.markData.type) { case MarkType.H: particleJsonPath.push("assets/particlesystem/fire/fire_h_1.json"); - particleJsonPath.push("assets/particlesystem/fire/fire_h_2.json"); - particleJsonPath.push("assets/particlesystem/fire/fire_h_3.json"); particleJsonPath.push("assets/particlesystem/smoke/smoke_a.json"); - instance.modelBox.scaling = new Vector3(300, 300, 300); - posOffset.y = 2.9 / instance.modelBox.scaling.y; - break; - case MarkType.TPH: - particleJsonPath.push("assets/particlesystem/fire/fire_tph_1.json"); - particleJsonPath.push("assets/particlesystem/fire/fire_tph_2.json"); - particleJsonPath.push("assets/particlesystem/fire/fire_tph_3.json"); - particleJsonPath.push("assets/particlesystem/smoke/smoke_b.json"); - instance.modelBox.scaling = new Vector3(300, 300, 300); - posOffset.y = 2.9 / instance.modelBox.scaling.y; + instance.modelBox.scaling = new Vector3(5, 1, 5); + posOffset.y = 0.7 / instance.modelBox.scaling.y; break; case MarkType.SNH: particleJsonPath.push("assets/particlesystem/fire/fire_snh_1.json"); - particleJsonPath.push("assets/particlesystem/fire/fire_snh_2.json"); - particleJsonPath.push("assets/particlesystem/fire/fire_snh_3.json"); particleJsonPath.push("assets/particlesystem/smoke/smoke_snh.json"); - instance.modelBox.scaling = new Vector3(300, 100, 300); - posOffset.y = 1 / instance.modelBox.scaling.y; + instance.modelBox.scaling = new Vector3(3, 1, 3); + posOffset.y = 0.2 / instance.modelBox.scaling.y; break; case MarkType.YWA: particleJsonPath.push("assets/particlesystem/smoke/smoke_a.json"); - instance.modelBox.scaling = new Vector3(500, 100, 500); + instance.modelBox.scaling = new Vector3(5, 1, 5); + posOffset.y = 0.1 / instance.modelBox.scaling.y; break; case MarkType.YWB: - particleJsonPath.push("assets/particlesystem/smoke/smoke_b.json"); - instance.modelBox.scaling = new Vector3(300, 600, 300); - break; - case MarkType.YWC: - particleJsonPath.push("assets/particlesystem/smoke/smoke_c.json"); - instance.modelBox.scaling = new Vector3(100, 100, 100); + particleJsonPath.push("assets/particlesystem/smoke/smoke_snh.json"); + instance.modelBox.scaling = new Vector3(3, 1, 3); + posOffset.y = 0.2 / instance.modelBox.scaling.y; break; } diff --git a/src/app/babylon/model/info/model/facilityinfo-tool/facility-area.ts b/src/app/babylon/model/info/model/facilityinfo-tool/facility-area.ts index 6c96074..b7d30c1 100644 --- a/src/app/babylon/model/info/model/facilityinfo-tool/facility-area.ts +++ b/src/app/babylon/model/info/model/facilityinfo-tool/facility-area.ts @@ -166,6 +166,7 @@ export class AreaInfo { showPoint(show: boolean) { for (let i = 0; i < this.pointMesh.length; i++) { this.pointMesh[i].showUI(show); + this.pointMesh[i].showPoint(show); } } @@ -365,6 +366,19 @@ export class PolygonMeshPoint { if (this.uiRoot != null) { this.uiRoot.isVisible = show; } + } + + /** + * 展示编辑节点 + * @param show + */ + showPoint(show: boolean) { + if (this.area == null) { + return; + } + for (let i = 0; i < this.area.pointMesh.length; i++) { + this.area.pointMesh[i].mesh.setEnabled(show); + } } diff --git a/src/app/babylon/model/info/model/model-info-building.ts b/src/app/babylon/model/info/model/model-info-building.ts index 68345d8..a9d9005 100644 --- a/src/app/babylon/model/info/model/model-info-building.ts +++ b/src/app/babylon/model/info/model/model-info-building.ts @@ -16,7 +16,7 @@ import { FacilityWindow } from "src/app/babylon/view/facility-window/facility-wi import { BuildingType } from "../../data/institution/building/building-data"; -import { FacilityPosType, ModelData_facility } from "../../data/model-data/model-data-facility"; +import { FacilityPosType, FacilityType, ModelData_facility } from "../../data/model-data/model-data-facility"; import { ModelInfo_mark } from "../mark/model-info-mark"; import { ModelInfo } from "./model-info"; import { FacilityInfoByType, ModelInfo_facility } from "./model-info-facility"; @@ -113,7 +113,7 @@ export class ModelInfo_building extends ModelInfo { border.addControl(this.uiIconBtn); this.uiIconBtn.width = '100px'; this.uiIconBtn.height = '22px'; - this.uiIconBtn.background = "#415094"; + this.uiIconBtn.background = BabylonUIStyleTool.c_color_blueBtnBg; this.uiIconBtn.color = "white"; this.uiIconBtn.thickness = 0; this.uiIconBtn.textBlock.fontSize = 12; @@ -270,5 +270,19 @@ export class ModelInfo_building extends ModelInfo { } } + /** + * 查询某类设备 + * @param type + */ + getFacilityInfoByType(type: FacilityType) { + let result: ModelInfo_facility[] = []; + for (let i = 0; i < this.facilityInfos.length; i++) { + if (this.facilityInfos[i].type == type) { + result = this.facilityInfos[i].facilityInfo; + } + + } + return result; + } } diff --git a/src/app/babylon/model/info/model/model-info-facility.ts b/src/app/babylon/model/info/model/model-info-facility.ts index 29e5b8d..a89bbd2 100644 --- a/src/app/babylon/model/info/model/model-info-facility.ts +++ b/src/app/babylon/model/info/model/model-info-facility.ts @@ -1,7 +1,8 @@ import { AbstractMesh, Color3, EventState, Mesh } from "@babylonjs/core"; -import { Button, Control, Ellipse, Rectangle, Vector2WithInfo } from "@babylonjs/gui"; +import { Button, Control, Ellipse, Rectangle, TextBlock, Vector2WithInfo } from "@babylonjs/gui"; import { ConfigManager } from "src/app/babylon/controller/config-manager"; import { SceneManager } from "src/app/babylon/controller/scene-manager"; +import { UIManager } from "src/app/babylon/controller/ui-manager"; import { BabylonUIStyleTool } from "src/app/babylon/tool/babylon-ui-style-tool"; import { SpeakingTool } from "src/app/babylon/tool/speaking-tool"; import { TsTool } from "src/app/babylon/tool/ts-tool"; @@ -27,6 +28,9 @@ export class ModelInfo_facility extends ModelInfo { areaInfo: AreaInfo;//区域信息 isNew: boolean;//是否是新建 + nameUIRoot: Rectangle; + nameText: TextBlock; + constructor( key: string, @@ -62,8 +66,8 @@ export class ModelInfo_facility extends ModelInfo { this.uiFollowRoot.addControl(this.ui_select); this.ui_select.background = BabylonUIStyleTool.c_color_3d_blue; this.ui_select.thickness = 0; - this.ui_select.width = 0.95; - this.ui_select.height = 0.95; + this.ui_select.width = 0.8; + this.ui_select.height = 0.8; this.ui_select.shadowColor = BabylonUIStyleTool.c_color_3d_blue; this.ui_select.shadowBlur = 3; this.ui_select.isVisible = false; @@ -104,6 +108,43 @@ export class ModelInfo_facility extends ModelInfo { + } + + /** + * 显示名称UI + * @param show + */ + showNameUI(show: boolean) { + let data = this.modelData as ModelData_facility; + if (this.nameUIRoot == null) { + this.nameUIRoot = new Rectangle("nameRoot"); + this.nameUIRoot.thickness = 0; + this.nameUIRoot.background = BabylonUIStyleTool.c_color_blueBtnBg; + this.nameUIRoot.color = BabylonUIStyleTool.c_color_blue;//"#0CB7F7"; + this.nameUIRoot.alpha = 0.9; + UIManager.Instance.uiRoot.addControl(this.nameUIRoot); + this.nameUIRoot.width = '50px'; + this.nameUIRoot.height = '26px'; + this.nameUIRoot.thickness = 2; + this.nameUIRoot.linkWithMesh(this.head); + + this.nameText = new TextBlock("name", ""); + this.nameUIRoot.addControl(this.nameText); + this.nameText.color = "white"; + this.nameText.resizeToFit = true; + this.nameText.top = "2px"; + this.nameText.fontSize = 16; + this.nameText.textVerticalAlignment = Control.VERTICAL_ALIGNMENT_CENTER; + } + this.nameText.text = data.propertyData.name; + this.nameUIRoot.isVisible = show; + + let instance = this; + setTimeout(() => { + instance.nameUIRoot.widthInPixels = instance.nameText.widthInPixels + 10; + instance.nameUIRoot.heightInPixels = instance.nameText.heightInPixels + 5; + }, 100); + } @@ -165,7 +206,6 @@ export class ModelInfo_facility extends ModelInfo { setIconEnable(enable: boolean) { this.showFollowUI(enable); - if (!enable)//还原选中状态 { this.setSelectEnable(false); @@ -207,6 +247,13 @@ export class ModelInfo_facility extends ModelInfo { this.areaInfo.dispose(); } + + if (this.nameUIRoot != null) { + this.nameUIRoot.dispose(); + this.nameUIRoot = null; + this.nameText = null; + } + super.dispose(disposeMesh); } } diff --git a/src/app/babylon/tool/babylon-ui-style-tool.ts b/src/app/babylon/tool/babylon-ui-style-tool.ts index 2fd9e82..16e4f41 100644 --- a/src/app/babylon/tool/babylon-ui-style-tool.ts +++ b/src/app/babylon/tool/babylon-ui-style-tool.ts @@ -11,6 +11,7 @@ import { MyInputText } from "./babylon-tool"; export class BabylonUIStyleTool { static c_color_blue: string = "#0080FF";//普通蓝色,用于选中、确定等正面风格 + static c_color_blueBtnBg: string = "#415094";//深蓝色,用于文本按钮背景色 static c_color_gray: string = "#E8ECF1";//普通灰色,用于取消、后退、输入背景等 static c_color_black: string = "black";//黑色 static c_color_blueBg: string = "#001121";//深蓝,用于长存界面的背景 diff --git a/src/app/babylon/view/building-window/building-window.ts b/src/app/babylon/view/building-window/building-window.ts index 1b852b2..9285571 100644 --- a/src/app/babylon/view/building-window/building-window.ts +++ b/src/app/babylon/view/building-window/building-window.ts @@ -20,7 +20,7 @@ import { BuildingInfo_ChemicalPlant } from "../../model/info/building/building-i import { BuildingInfo_Environment } from "../../model/info/building/building-info-environment"; import { BuildingInfo_Normal } from "../../model/info/building/building-info-normal"; import { ModelInfo_building } from "../../model/info/model/model-info-building"; -import { FacilityInfoByType } from "../../model/info/model/model-info-facility"; +import { FacilityInfoByType, ModelInfo_facility } from "../../model/info/model/model-info-facility"; import { BabylonTool } from "../../tool/babylon-tool"; import { TsTool } from "../../tool/ts-tool"; import { FacilityInfoInSceneWindow } from "../facilityinfoinscene-window/facilityinfoinscene-window"; @@ -374,6 +374,7 @@ export class BuildingWindow extends UIBase { } // console.log("选中建筑", modelInfo); + this.showJYZModules(JYZInfoMoudleType.JBXX, false); this.showJYZModules(JYZInfoMoudleType.AQSS, false); this.showJYZModules(JYZInfoMoudleType.YQHSGX, false); this.showJYZModules(JYZInfoMoudleType.SYG, false); @@ -792,6 +793,18 @@ export class BuildingWindow extends UIBase { } } + /** + * 在输油管和油气回收模块, 要展示油罐和加油机的名字UI + */ + let isShowNameUI_JYJ_YG = show && (type == JYZInfoMoudleType.SYG || type == JYZInfoMoudleType.YQHSGX); + let showNameFacilitys: ModelInfo_facility[] = []; + showNameFacilitys = showNameFacilitys.concat(this.currentBuidngItem.buildingInfo.ModelInfo.getFacilityInfoByType(FacilityType.JY_JYJ)); + showNameFacilitys = showNameFacilitys.concat(this.currentBuidngItem.buildingInfo.ModelInfo.getFacilityInfoByType(FacilityType.JY_YG)); + for (let i = 0; i < showNameFacilitys.length; i++) { + showNameFacilitys[i].showNameUI(isShowNameUI_JYJ_YG); + } + + if (show) { this.currentJYZInfoMoudleType = type; } diff --git a/src/app/babylon/view/facility-window/facility-window.ts b/src/app/babylon/view/facility-window/facility-window.ts index a430a89..8d68f96 100644 --- a/src/app/babylon/view/facility-window/facility-window.ts +++ b/src/app/babylon/view/facility-window/facility-window.ts @@ -259,7 +259,11 @@ export class FacilityWindow extends UIBase { } } else { //右键取消 - instance.three.unSelectBottomIcon(); + if (!SceneManager.s_isPointerDrag)//不是拖拽 + { + instance.three.unSelectBottomIcon(); + } + } break; diff --git a/src/app/babylon/view/mark-window/mark-window.ts b/src/app/babylon/view/mark-window/mark-window.ts index 3c51050..45cada3 100644 --- a/src/app/babylon/view/mark-window/mark-window.ts +++ b/src/app/babylon/view/mark-window/mark-window.ts @@ -832,15 +832,14 @@ export class MarkWindow extends UIBase { break; } - if (pickMesh != null) { + //创建标绘物 + if (readyCreateMark) { + instance.createNewMark(pickPos, instance.currentMarkDataPrefab, true); + } + else if (pickMesh != null) { //是标绘物 let l_markInfo = instance.getMarkInfoFromMesh(eventData.pickInfo.pickedMesh); if (l_markInfo != null) { - if (readyCreateMark == true) //水带的起点是可以在分水器上的 - { - readyCreateMark = false; - } - if (eventData.type == PointerEventTypes.POINTERDOUBLETAP) { //双击标绘物,打开任务界面 console.log("打开属性面板"); @@ -878,9 +877,6 @@ export class MarkWindow extends UIBase { } } - if (readyCreateMark) { - instance.createNewMark(pickPos, instance.currentMarkDataPrefab, true); - } } diff --git a/src/assets/particlesystem/fire/fire_h_1.json b/src/assets/particlesystem/fire/fire_h_1.json index 2e6ad17..8978722 100644 --- a/src/assets/particlesystem/fire/fire_h_1.json +++ b/src/assets/particlesystem/fire/fire_h_1.json @@ -1,221 +1 @@ -{ - "name": "fireSystem", - "id": "fireSystem", - "capacity": 5, - "disposeOnStop": false, - "manualEmitCount": -1, - "emitter": [ - 0, - 0, - 0 - ], - "particleEmitterType": { - "type": "CylinderParticleEmitter", - "radius": 1.01, - "height": 1, - "radiusRange": 1, - "directionRandomizer": 0 - }, - "texture": { - "tags": null, - "url": "assets/particlesystem/fire/fire_8x8_1.png", - "uOffset": 0, - "vOffset": 0, - "uScale": 1, - "vScale": 1, - "uAng": 0, - "vAng": 0, - "wAng": 0, - "uRotationCenter": 0.5, - "vRotationCenter": 0.5, - "wRotationCenter": 0.5, - "homogeneousRotationInUVTransform": false, - "isBlocking": true, - "name": "assets/particlesystem/fire/fire_8x8_1.png", - "hasAlpha": false, - "getAlphaFromRGB": false, - "level": 1, - "coordinatesIndex": 0, - "coordinatesMode": 0, - "wrapU": 1, - "wrapV": 1, - "wrapR": 1, - "anisotropicFilteringLevel": 4, - "isCube": false, - "is3D": false, - "is2DArray": false, - "gammaSpace": true, - "invertZ": false, - "lodLevelInAlpha": false, - "lodGenerationOffset": 0, - "lodGenerationScale": 0, - "linearSpecularLOD": false, - "isRenderTarget": false, - "animations": [], - "invertY": false, - "samplingMode": 3, - "_useSRGBBuffer": false - }, - "isLocal": true, - "animations": [], - "startDelay": 0, - "renderingGroupId": 0, - "isBillboardBased": true, - "billboardMode": 2, - "minAngularSpeed": 0, - "maxAngularSpeed": 0, - "minSize": 6, - "maxSize": 8, - "minScaleX": 1, - "maxScaleX": 1, - "minScaleY": 1, - "maxScaleY": 1, - "minEmitPower": 0, - "maxEmitPower": 0, - "minLifeTime": 2, - "maxLifeTime": 5, - "emitRate": 10, - "gravity": [ - 0, - 0, - 0 - ], - "noiseStrength": [ - 10, - 10, - 10 - ], - "color1": [ - 1, - 1, - 1, - 1 - ], - "color2": [ - 1, - 1, - 1, - 1 - ], - "colorDead": [ - 1, - 1, - 1, - 0 - ], - "updateSpeed": 0.016666666666666666, - "targetStopDuration": 0, - "blendMode": 4, - "preWarmCycles": 100, - "preWarmStepOffset": 10, - "minInitialRotation": -0.1, - "maxInitialRotation": 0.1, - "startSpriteCellID": 0, - "endSpriteCellID": 63, - "spriteCellChangeSpeed": 1, - "spriteCellWidth": 128, - "spriteCellHeight": 128, - "spriteRandomStartCell": true, - "isAnimationSheetEnabled": true, - "colorGradients": [ - { - "gradient": 0, - "color1": [ - 1, - 1, - 1, - 0 - ], - "color2": [ - 1, - 1, - 1, - 0 - ] - }, - { - "gradient": 0.1, - "color1": [ - 1, - 1, - 1, - 0.6 - ], - "color2": [ - 1, - 1, - 1, - 0.6 - ] - }, - { - "gradient": 0.9, - "color1": [ - 1, - 1, - 1, - 0.6 - ], - "color2": [ - 1, - 1, - 1, - 0.6 - ] - }, - { - "gradient": 1, - "color1": [ - 1, - 1, - 1, - 0 - ], - "color2": [ - 1, - 1, - 1, - 0 - ] - } - ], - "rampGradients": [ - { - "gradient": 0, - "color": [ - 1, - 1, - 1 - ] - }, - { - "gradient": 1, - "color": [ - 0.7968, - 0.3685, - 0.1105 - ] - } - ], - "useRampGradients": true, - "colorRemapGradients": [ - { - "gradient": 0, - "factor1": 0.2, - "factor2": 1 - }, - { - "gradient": 1, - "factor1": 0.2, - "factor2": 1 - } - ], - "textureMask": [ - 1, - 1, - 1, - 1 - ], - "customShader": null, - "preventAutoStart": true -} \ No newline at end of file +{"name":"fireSystem","id":"fireSystem","capacity":5,"emitterId":"psRoot","particleEmitterType":{"type":"PointParticleEmitter","direction1":[0,0,0],"direction2":[0,0,0]},"texture":{"tags":null,"url":"assets/particlesystem/fire/fire_8x8_1.png","uOffset":0,"vOffset":0,"uScale":1,"vScale":1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/particlesystem/fire/fire_8x8_1.png","hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":0,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":true,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":false,"samplingMode":3},"isLocal":true,"animations":[],"startDelay":0,"renderingGroupId":0,"isBillboardBased":true,"billboardMode":2,"minAngularSpeed":0,"maxAngularSpeed":0,"minSize":1,"maxSize":1,"minScaleX":2,"maxScaleX":2,"minScaleY":2,"maxScaleY":2,"minEmitPower":0,"maxEmitPower":0,"minLifeTime":2,"maxLifeTime":3,"emitRate":5,"gravity":[0,0,0],"noiseStrength":[10,10,10],"color1":[1,1,1,1],"color2":[1,1,1,1],"colorDead":[1,1,1,0],"updateSpeed":0.012,"targetStopDuration":0,"blendMode":4,"preWarmCycles":100,"preWarmStepOffset":10,"minInitialRotation":-0.1,"maxInitialRotation":0.1,"startSpriteCellID":0,"endSpriteCellID":63,"spriteCellChangeSpeed":1,"spriteCellWidth":128,"spriteCellHeight":128,"spriteRandomStartCell":true,"isAnimationSheetEnabled":true,"colorGradients":[{"gradient":0,"color1":[1,1,1,0],"color2":[1,1,1,0]},{"gradient":0.1,"color1":[1,1,1,0.6],"color2":[1,1,1,0.6]},{"gradient":0.9,"color1":[1,1,1,0.6],"color2":[1,1,1,0.6]},{"gradient":1,"color1":[1,1,1,0],"color2":[1,1,1,0]}],"rampGradients":[{"gradient":0,"color":[1,1,1]},{"gradient":1,"color":[0.7968,0.3685,0.1105]}],"useRampGradients":true,"colorRemapGradients":[{"gradient":0,"factor1":0.2,"factor2":1},{"gradient":1,"factor1":0.2,"factor2":1}],"textureMask":[1,1,1,1],"customShader":null,"preventAutoStart":true} \ No newline at end of file diff --git a/src/assets/particlesystem/fire/fire_h_2.json b/src/assets/particlesystem/fire/fire_h_2.json deleted file mode 100644 index d9a08a6..0000000 --- a/src/assets/particlesystem/fire/fire_h_2.json +++ /dev/null @@ -1,237 +0,0 @@ -{ - "name": "fireSystem2", - "id": "fireSystem2", - "capacity": 3, - "disposeOnStop": false, - "manualEmitCount": -1, - "emitter": [ - 0, - 0, - 0 - ], - "particleEmitterType": { - "type": "BoxParticleEmitter", - "direction1": [ - 0, - 1, - 0 - ], - "direction2": [ - 0, - 1, - 0 - ], - "minEmitBox": [ - -0.5, - 0, - -0.5 - ], - "maxEmitBox": [ - 0.5, - 0, - 0.5 - ] - }, - "texture": { - "tags": null, - "url": "assets/particlesystem/fire/fire_8x8_2.png", - "uOffset": 0, - "vOffset": 0, - "uScale": 1, - "vScale": 1, - "uAng": 0, - "vAng": 0, - "wAng": 0, - "uRotationCenter": 0.5, - "vRotationCenter": 0.5, - "wRotationCenter": 0.5, - "homogeneousRotationInUVTransform": false, - "isBlocking": true, - "name": "assets/particlesystem/fire/fire_8x8_2.png", - "hasAlpha": false, - "getAlphaFromRGB": false, - "level": 1, - "coordinatesIndex": 0, - "coordinatesMode": 0, - "wrapU": 1, - "wrapV": 1, - "wrapR": 1, - "anisotropicFilteringLevel": 4, - "isCube": false, - "is3D": false, - "is2DArray": false, - "gammaSpace": true, - "invertZ": false, - "lodLevelInAlpha": false, - "lodGenerationOffset": 0, - "lodGenerationScale": 0, - "linearSpecularLOD": false, - "isRenderTarget": false, - "animations": [], - "invertY": false, - "samplingMode": 3, - "_useSRGBBuffer": false - }, - "isLocal": true, - "animations": [], - "startDelay": 0, - "renderingGroupId": 0, - "isBillboardBased": true, - "billboardMode": 2, - "minAngularSpeed": 0, - "maxAngularSpeed": 0, - "minSize": 5, - "maxSize": 6, - "minScaleX": 1, - "maxScaleX": 1, - "minScaleY": 1, - "maxScaleY": 1, - "minEmitPower": 0, - "maxEmitPower": 0, - "minLifeTime": 2, - "maxLifeTime": 5, - "emitRate": 2, - "gravity": [ - 0, - 0, - 0 - ], - "noiseStrength": [ - 10, - 10, - 10 - ], - "color1": [ - 1, - 1, - 1, - 1 - ], - "color2": [ - 1, - 1, - 1, - 1 - ], - "colorDead": [ - 1, - 1, - 1, - 0 - ], - "updateSpeed": 0.016666666666666666, - "targetStopDuration": 0, - "blendMode": 4, - "preWarmCycles": 100, - "preWarmStepOffset": 10, - "minInitialRotation": -0.1, - "maxInitialRotation": 0.1, - "startSpriteCellID": 0, - "endSpriteCellID": 63, - "spriteCellChangeSpeed": 0.9, - "spriteCellWidth": 128, - "spriteCellHeight": 128, - "spriteRandomStartCell": true, - "isAnimationSheetEnabled": true, - "colorGradients": [ - { - "gradient": 0, - "color1": [ - 1, - 1, - 1, - 0 - ], - "color2": [ - 1, - 1, - 1, - 0 - ] - }, - { - "gradient": 0.1, - "color1": [ - 1, - 1, - 1, - 0.6 - ], - "color2": [ - 1, - 1, - 1, - 0.6 - ] - }, - { - "gradient": 0.9, - "color1": [ - 1, - 1, - 1, - 0.6 - ], - "color2": [ - 1, - 1, - 1, - 0.6 - ] - }, - { - "gradient": 1, - "color1": [ - 1, - 1, - 1, - 0 - ], - "color2": [ - 1, - 1, - 1, - 0 - ] - } - ], - "rampGradients": [ - { - "gradient": 0, - "color": [ - 1, - 1, - 1 - ] - }, - { - "gradient": 1, - "color": [ - 0.7968, - 0.3685, - 0.1105 - ] - } - ], - "useRampGradients": true, - "colorRemapGradients": [ - { - "gradient": 0, - "factor1": 0.2, - "factor2": 1 - }, - { - "gradient": 1, - "factor1": 0.2, - "factor2": 1 - } - ], - "textureMask": [ - 1, - 1, - 1, - 1 - ], - "customShader": null, - "preventAutoStart": true -} \ No newline at end of file diff --git a/src/assets/particlesystem/fire/fire_h_3.json b/src/assets/particlesystem/fire/fire_h_3.json deleted file mode 100644 index 52ea02a..0000000 --- a/src/assets/particlesystem/fire/fire_h_3.json +++ /dev/null @@ -1,237 +0,0 @@ -{ - "name": "fireSystem3", - "id": "fireSystem3", - "capacity": 3, - "disposeOnStop": false, - "manualEmitCount": -1, - "emitter": [ - 0, - 0, - 0 - ], - "particleEmitterType": { - "type": "BoxParticleEmitter", - "direction1": [ - 0, - 1, - 0 - ], - "direction2": [ - 0, - 1, - 0 - ], - "minEmitBox": [ - -0.5, - 0, - -0.5 - ], - "maxEmitBox": [ - 0.5, - 0, - 0.5 - ] - }, - "texture": { - "tags": null, - "url": "assets/particlesystem/fire/fire_8x8_3.png", - "uOffset": 0, - "vOffset": 0, - "uScale": 1, - "vScale": 1, - "uAng": 0, - "vAng": 0, - "wAng": 0, - "uRotationCenter": 0.5, - "vRotationCenter": 0.5, - "wRotationCenter": 0.5, - "homogeneousRotationInUVTransform": false, - "isBlocking": true, - "name": "assets/particlesystem/fire/fire_8x8_3.png", - "hasAlpha": false, - "getAlphaFromRGB": false, - "level": 1, - "coordinatesIndex": 0, - "coordinatesMode": 0, - "wrapU": 1, - "wrapV": 1, - "wrapR": 1, - "anisotropicFilteringLevel": 4, - "isCube": false, - "is3D": false, - "is2DArray": false, - "gammaSpace": true, - "invertZ": false, - "lodLevelInAlpha": false, - "lodGenerationOffset": 0, - "lodGenerationScale": 0, - "linearSpecularLOD": false, - "isRenderTarget": false, - "animations": [], - "invertY": false, - "samplingMode": 3, - "_useSRGBBuffer": false - }, - "isLocal": true, - "animations": [], - "startDelay": 0, - "renderingGroupId": 0, - "isBillboardBased": true, - "billboardMode": 2, - "minAngularSpeed": 0, - "maxAngularSpeed": 0, - "minSize": 5, - "maxSize": 6, - "minScaleX": 1, - "maxScaleX": 1, - "minScaleY": 1, - "maxScaleY": 1, - "minEmitPower": 0, - "maxEmitPower": 0, - "minLifeTime": 2, - "maxLifeTime": 5, - "emitRate": 2, - "gravity": [ - 0, - 0, - 0 - ], - "noiseStrength": [ - 10, - 10, - 10 - ], - "color1": [ - 1, - 1, - 1, - 1 - ], - "color2": [ - 1, - 1, - 1, - 1 - ], - "colorDead": [ - 1, - 1, - 1, - 0 - ], - "updateSpeed": 0.016666666666666666, - "targetStopDuration": 0, - "blendMode": 4, - "preWarmCycles": 100, - "preWarmStepOffset": 10, - "minInitialRotation": -0.1, - "maxInitialRotation": 0.1, - "startSpriteCellID": 0, - "endSpriteCellID": 63, - "spriteCellChangeSpeed": 0.9, - "spriteCellWidth": 128, - "spriteCellHeight": 128, - "spriteRandomStartCell": true, - "isAnimationSheetEnabled": true, - "colorGradients": [ - { - "gradient": 0, - "color1": [ - 1, - 1, - 1, - 0 - ], - "color2": [ - 1, - 1, - 1, - 0 - ] - }, - { - "gradient": 0.1, - "color1": [ - 1, - 1, - 1, - 0.6 - ], - "color2": [ - 1, - 1, - 1, - 0.6 - ] - }, - { - "gradient": 0.9, - "color1": [ - 1, - 1, - 1, - 0.6 - ], - "color2": [ - 1, - 1, - 1, - 0.6 - ] - }, - { - "gradient": 1, - "color1": [ - 1, - 1, - 1, - 0 - ], - "color2": [ - 1, - 1, - 1, - 0 - ] - } - ], - "rampGradients": [ - { - "gradient": 0, - "color": [ - 1, - 1, - 1 - ] - }, - { - "gradient": 1, - "color": [ - 0.7968, - 0.3685, - 0.1105 - ] - } - ], - "useRampGradients": true, - "colorRemapGradients": [ - { - "gradient": 0, - "factor1": 0.2, - "factor2": 1 - }, - { - "gradient": 1, - "factor1": 0.2, - "factor2": 1 - } - ], - "textureMask": [ - 1, - 1, - 1, - 1 - ], - "customShader": null, - "preventAutoStart": true -} \ No newline at end of file diff --git a/src/assets/particlesystem/fire/fire_snh_1.json b/src/assets/particlesystem/fire/fire_snh_1.json index f4bd785..7ee9a4e 100644 --- a/src/assets/particlesystem/fire/fire_snh_1.json +++ b/src/assets/particlesystem/fire/fire_snh_1.json @@ -1,220 +1 @@ -{ - "name": "fireSystem", - "id": "fireSystem", - "capacity": 5, - "disposeOnStop": false, - "manualEmitCount": -1, - "emitter": [ - 0, - 3.25, - 0 - ], - "particleEmitterType": { - "type": "HemisphericParticleEmitter", - "radius": 0.5, - "radiusRange": 1, - "directionRandomizer": 0 - }, - "texture": { - "tags": null, - "url": "assets/particlesystem/fire/fire_8x8_1.png", - "uOffset": 0, - "vOffset": 0, - "uScale": 1, - "vScale": 1, - "uAng": 0, - "vAng": 0, - "wAng": 0, - "uRotationCenter": 0.5, - "vRotationCenter": 0.5, - "wRotationCenter": 0.5, - "homogeneousRotationInUVTransform": false, - "isBlocking": true, - "name": "assets/particlesystem/fire/fire_8x8_1.png", - "hasAlpha": false, - "getAlphaFromRGB": false, - "level": 1, - "coordinatesIndex": 0, - "coordinatesMode": 0, - "wrapU": 1, - "wrapV": 1, - "wrapR": 1, - "anisotropicFilteringLevel": 4, - "isCube": false, - "is3D": false, - "is2DArray": false, - "gammaSpace": true, - "invertZ": false, - "lodLevelInAlpha": false, - "lodGenerationOffset": 0, - "lodGenerationScale": 0, - "linearSpecularLOD": false, - "isRenderTarget": false, - "animations": [], - "invertY": false, - "samplingMode": 3, - "_useSRGBBuffer": false - }, - "isLocal": true, - "animations": [], - "startDelay": 0, - "renderingGroupId": 0, - "isBillboardBased": true, - "billboardMode": 2, - "minAngularSpeed": 0, - "maxAngularSpeed": 0, - "minSize": 6, - "maxSize": 8, - "minScaleX": 1, - "maxScaleX": 1, - "minScaleY": 0.2, - "maxScaleY": 0.5, - "minEmitPower": 0, - "maxEmitPower": 0, - "minLifeTime": 2, - "maxLifeTime": 3, - "emitRate": 10, - "gravity": [ - 0, - 0, - 0 - ], - "noiseStrength": [ - 10, - 10, - 10 - ], - "color1": [ - 1, - 1, - 1, - 1 - ], - "color2": [ - 1, - 1, - 1, - 1 - ], - "colorDead": [ - 1, - 1, - 1, - 0 - ], - "updateSpeed": 0.016666666666666666, - "targetStopDuration": 0, - "blendMode": 4, - "preWarmCycles": 100, - "preWarmStepOffset": 10, - "minInitialRotation": -0.1, - "maxInitialRotation": 0.1, - "startSpriteCellID": 0, - "endSpriteCellID": 63, - "spriteCellChangeSpeed": 1, - "spriteCellWidth": 128, - "spriteCellHeight": 128, - "spriteRandomStartCell": true, - "isAnimationSheetEnabled": true, - "colorGradients": [ - { - "gradient": 0, - "color1": [ - 1, - 1, - 1, - 0 - ], - "color2": [ - 1, - 1, - 1, - 0 - ] - }, - { - "gradient": 0.1, - "color1": [ - 1, - 1, - 1, - 0.6 - ], - "color2": [ - 1, - 1, - 1, - 0.6 - ] - }, - { - "gradient": 0.9, - "color1": [ - 1, - 1, - 1, - 0.6 - ], - "color2": [ - 1, - 1, - 1, - 0.6 - ] - }, - { - "gradient": 1, - "color1": [ - 1, - 1, - 1, - 0 - ], - "color2": [ - 1, - 1, - 1, - 0 - ] - } - ], - "rampGradients": [ - { - "gradient": 0, - "color": [ - 1, - 1, - 1 - ] - }, - { - "gradient": 1, - "color": [ - 0.7968, - 0.3685, - 0.1105 - ] - } - ], - "useRampGradients": true, - "colorRemapGradients": [ - { - "gradient": 0, - "factor1": 0.2, - "factor2": 1 - }, - { - "gradient": 1, - "factor1": 0.2, - "factor2": 1 - } - ], - "textureMask": [ - 1, - 1, - 1, - 1 - ], - "customShader": null, - "preventAutoStart": true -} \ No newline at end of file +{"name":"fireSystem","id":"fireSystem","capacity":5,"emitterId":"psRoot","particleEmitterType":{"type":"HemisphericParticleEmitter","radius":0.1,"radiusRange":0,"directionRandomizer":0},"texture":{"tags":null,"url":"assets/particlesystem/fire/fire_8x8_1.png","uOffset":0,"vOffset":0,"uScale":1,"vScale":1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/particlesystem/fire/fire_8x8_1.png","hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":0,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":true,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":false,"samplingMode":3},"isLocal":true,"animations":[],"startDelay":0,"renderingGroupId":0,"isBillboardBased":true,"billboardMode":2,"minAngularSpeed":0,"maxAngularSpeed":0,"minSize":1,"maxSize":1,"minScaleX":0.5,"maxScaleX":0.5,"minScaleY":0.5,"maxScaleY":0.5,"minEmitPower":0,"maxEmitPower":0,"minLifeTime":2,"maxLifeTime":3,"emitRate":10,"gravity":[0,0,0],"noiseStrength":[10,10,10],"color1":[1,1,1,1],"color2":[1,1,1,1],"colorDead":[1,1,1,0],"updateSpeed":0.012,"targetStopDuration":0,"blendMode":4,"preWarmCycles":100,"preWarmStepOffset":10,"minInitialRotation":-0.1,"maxInitialRotation":0.1,"startSpriteCellID":0,"endSpriteCellID":63,"spriteCellChangeSpeed":1,"spriteCellWidth":128,"spriteCellHeight":128,"spriteRandomStartCell":true,"isAnimationSheetEnabled":true,"colorGradients":[{"gradient":0,"color1":[1,1,1,0],"color2":[1,1,1,0]},{"gradient":0.1,"color1":[1,1,1,0.6],"color2":[1,1,1,0.6]},{"gradient":0.9,"color1":[1,1,1,0.6],"color2":[1,1,1,0.6]},{"gradient":1,"color1":[1,1,1,0],"color2":[1,1,1,0]}],"rampGradients":[{"gradient":0,"color":[1,1,1]},{"gradient":1,"color":[0.7968,0.3685,0.1105]}],"useRampGradients":true,"colorRemapGradients":[{"gradient":0,"factor1":0.2,"factor2":1},{"gradient":1,"factor1":0.2,"factor2":1}],"textureMask":[1,1,1,1],"customShader":null,"preventAutoStart":true} \ No newline at end of file diff --git a/src/assets/particlesystem/fire/fire_snh_2.json b/src/assets/particlesystem/fire/fire_snh_2.json deleted file mode 100644 index 48e7e9f..0000000 --- a/src/assets/particlesystem/fire/fire_snh_2.json +++ /dev/null @@ -1,220 +0,0 @@ -{ - "name": "fireSystem2", - "id": "fireSystem2", - "capacity": 3, - "disposeOnStop": false, - "manualEmitCount": -1, - "emitter": [ - 0, - 2.25, - 0 - ], - "particleEmitterType": { - "type": "HemisphericParticleEmitter", - "radius": 0.5, - "radiusRange": 1, - "directionRandomizer": 0 - }, - "texture": { - "tags": null, - "url": "assets/particlesystem/fire/fire_8x8_2.png", - "uOffset": 0, - "vOffset": 0, - "uScale": 1, - "vScale": 1, - "uAng": 0, - "vAng": 0, - "wAng": 0, - "uRotationCenter": 0.5, - "vRotationCenter": 0.5, - "wRotationCenter": 0.5, - "homogeneousRotationInUVTransform": false, - "isBlocking": true, - "name": "assets/particlesystem/fire/fire_8x8_2.png", - "hasAlpha": false, - "getAlphaFromRGB": false, - "level": 1, - "coordinatesIndex": 0, - "coordinatesMode": 0, - "wrapU": 1, - "wrapV": 1, - "wrapR": 1, - "anisotropicFilteringLevel": 4, - "isCube": false, - "is3D": false, - "is2DArray": false, - "gammaSpace": true, - "invertZ": false, - "lodLevelInAlpha": false, - "lodGenerationOffset": 0, - "lodGenerationScale": 0, - "linearSpecularLOD": false, - "isRenderTarget": false, - "animations": [], - "invertY": false, - "samplingMode": 3, - "_useSRGBBuffer": false - }, - "isLocal": true, - "animations": [], - "startDelay": 0, - "renderingGroupId": 0, - "isBillboardBased": true, - "billboardMode": 2, - "minAngularSpeed": 0, - "maxAngularSpeed": 0, - "minSize": 5, - "maxSize": 6, - "minScaleX": 1, - "maxScaleX": 1, - "minScaleY": 0.2, - "maxScaleY": 0.5, - "minEmitPower": 0, - "maxEmitPower": 0, - "minLifeTime": 2, - "maxLifeTime": 3, - "emitRate": 10, - "gravity": [ - 0, - 0, - 0 - ], - "noiseStrength": [ - 10, - 10, - 10 - ], - "color1": [ - 1, - 1, - 1, - 1 - ], - "color2": [ - 1, - 1, - 1, - 1 - ], - "colorDead": [ - 1, - 1, - 1, - 0 - ], - "updateSpeed": 0.016666666666666666, - "targetStopDuration": 0, - "blendMode": 4, - "preWarmCycles": 100, - "preWarmStepOffset": 10, - "minInitialRotation": -0.1, - "maxInitialRotation": 0.1, - "startSpriteCellID": 0, - "endSpriteCellID": 63, - "spriteCellChangeSpeed": 0.9, - "spriteCellWidth": 128, - "spriteCellHeight": 128, - "spriteRandomStartCell": true, - "isAnimationSheetEnabled": true, - "colorGradients": [ - { - "gradient": 0, - "color1": [ - 1, - 1, - 1, - 0 - ], - "color2": [ - 1, - 1, - 1, - 0 - ] - }, - { - "gradient": 0.1, - "color1": [ - 1, - 1, - 1, - 0.6 - ], - "color2": [ - 1, - 1, - 1, - 0.6 - ] - }, - { - "gradient": 0.9, - "color1": [ - 1, - 1, - 1, - 0.6 - ], - "color2": [ - 1, - 1, - 1, - 0.6 - ] - }, - { - "gradient": 1, - "color1": [ - 1, - 1, - 1, - 0 - ], - "color2": [ - 1, - 1, - 1, - 0 - ] - } - ], - "rampGradients": [ - { - "gradient": 0, - "color": [ - 1, - 1, - 1 - ] - }, - { - "gradient": 1, - "color": [ - 0.7968, - 0.3685, - 0.1105 - ] - } - ], - "useRampGradients": true, - "colorRemapGradients": [ - { - "gradient": 0, - "factor1": 0.2, - "factor2": 1 - }, - { - "gradient": 1, - "factor1": 0.2, - "factor2": 1 - } - ], - "textureMask": [ - 1, - 1, - 1, - 1 - ], - "customShader": null, - "preventAutoStart": true -} \ No newline at end of file diff --git a/src/assets/particlesystem/fire/fire_snh_3.json b/src/assets/particlesystem/fire/fire_snh_3.json deleted file mode 100644 index 89347e9..0000000 --- a/src/assets/particlesystem/fire/fire_snh_3.json +++ /dev/null @@ -1,220 +0,0 @@ -{ - "name": "fireSystem3", - "id": "fireSystem3", - "capacity": 3, - "disposeOnStop": false, - "manualEmitCount": -1, - "emitter": [ - 0, - 2.25, - 0 - ], - "particleEmitterType": { - "type": "HemisphericParticleEmitter", - "radius": 0.5, - "radiusRange": 1, - "directionRandomizer": 0 - }, - "texture": { - "tags": null, - "url": "assets/particlesystem/fire/fire_8x8_3.png", - "uOffset": 0, - "vOffset": 0, - "uScale": 1, - "vScale": 1, - "uAng": 0, - "vAng": 0, - "wAng": 0, - "uRotationCenter": 0.5, - "vRotationCenter": 0.5, - "wRotationCenter": 0.5, - "homogeneousRotationInUVTransform": false, - "isBlocking": true, - "name": "assets/particlesystem/fire/fire_8x8_3.png", - "hasAlpha": false, - "getAlphaFromRGB": false, - "level": 1, - "coordinatesIndex": 0, - "coordinatesMode": 0, - "wrapU": 1, - "wrapV": 1, - "wrapR": 1, - "anisotropicFilteringLevel": 4, - "isCube": false, - "is3D": false, - "is2DArray": false, - "gammaSpace": true, - "invertZ": false, - "lodLevelInAlpha": false, - "lodGenerationOffset": 0, - "lodGenerationScale": 0, - "linearSpecularLOD": false, - "isRenderTarget": false, - "animations": [], - "invertY": false, - "samplingMode": 3, - "_useSRGBBuffer": false - }, - "isLocal": true, - "animations": [], - "startDelay": 0, - "renderingGroupId": 0, - "isBillboardBased": true, - "billboardMode": 2, - "minAngularSpeed": 0, - "maxAngularSpeed": 0, - "minSize": 5, - "maxSize": 6, - "minScaleX": 1, - "maxScaleX": 1, - "minScaleY": 0.2, - "maxScaleY": 0.5, - "minEmitPower": 0, - "maxEmitPower": 0, - "minLifeTime": 3, - "maxLifeTime": 10, - "emitRate": 10, - "gravity": [ - 0, - 0, - 0 - ], - "noiseStrength": [ - 10, - 10, - 10 - ], - "color1": [ - 1, - 1, - 1, - 1 - ], - "color2": [ - 1, - 1, - 1, - 1 - ], - "colorDead": [ - 1, - 1, - 1, - 0 - ], - "updateSpeed": 0.016666666666666666, - "targetStopDuration": 0, - "blendMode": 4, - "preWarmCycles": 100, - "preWarmStepOffset": 10, - "minInitialRotation": -0.1, - "maxInitialRotation": 0.1, - "startSpriteCellID": 0, - "endSpriteCellID": 63, - "spriteCellChangeSpeed": 0.9, - "spriteCellWidth": 128, - "spriteCellHeight": 128, - "spriteRandomStartCell": true, - "isAnimationSheetEnabled": true, - "colorGradients": [ - { - "gradient": 0, - "color1": [ - 1, - 1, - 1, - 0 - ], - "color2": [ - 1, - 1, - 1, - 0 - ] - }, - { - "gradient": 0.1, - "color1": [ - 1, - 1, - 1, - 0.6 - ], - "color2": [ - 1, - 1, - 1, - 0.6 - ] - }, - { - "gradient": 0.9, - "color1": [ - 1, - 1, - 1, - 0.6 - ], - "color2": [ - 1, - 1, - 1, - 0.6 - ] - }, - { - "gradient": 1, - "color1": [ - 1, - 1, - 1, - 0 - ], - "color2": [ - 1, - 1, - 1, - 0 - ] - } - ], - "rampGradients": [ - { - "gradient": 0, - "color": [ - 1, - 1, - 1 - ] - }, - { - "gradient": 1, - "color": [ - 0.7968, - 0.3685, - 0.1105 - ] - } - ], - "useRampGradients": true, - "colorRemapGradients": [ - { - "gradient": 0.1, - "factor1": 0.2, - "factor2": 1 - }, - { - "gradient": 1, - "factor1": 0.2, - "factor2": 1 - } - ], - "textureMask": [ - 1, - 1, - 1, - 1 - ], - "customShader": null, - "preventAutoStart": true -} \ No newline at end of file diff --git a/src/assets/particlesystem/fire/fire_tph_1.json b/src/assets/particlesystem/fire/fire_tph_1.json deleted file mode 100644 index 02ebfe4..0000000 --- a/src/assets/particlesystem/fire/fire_tph_1.json +++ /dev/null @@ -1,220 +0,0 @@ -{ - "name": "fireSystem", - "id": "fireSystem", - "capacity": 5, - "disposeOnStop": false, - "manualEmitCount": -1, - "emitter": [ - 0, - 3.25, - 0 - ], - "particleEmitterType": { - "type": "HemisphericParticleEmitter", - "radius": 2, - "radiusRange": 1, - "directionRandomizer": 0 - }, - "texture": { - "tags": null, - "url": "assets/particlesystem/fire/fire_8x8_1.png", - "uOffset": 0, - "vOffset": 0, - "uScale": 1, - "vScale": 1, - "uAng": 0, - "vAng": 0, - "wAng": 0, - "uRotationCenter": 0.5, - "vRotationCenter": 0.5, - "wRotationCenter": 0.5, - "homogeneousRotationInUVTransform": false, - "isBlocking": true, - "name": "assets/particlesystem/fire/fire_8x8_1.png", - "hasAlpha": false, - "getAlphaFromRGB": false, - "level": 1, - "coordinatesIndex": 0, - "coordinatesMode": 0, - "wrapU": 1, - "wrapV": 1, - "wrapR": 1, - "anisotropicFilteringLevel": 4, - "isCube": false, - "is3D": false, - "is2DArray": false, - "gammaSpace": true, - "invertZ": false, - "lodLevelInAlpha": false, - "lodGenerationOffset": 0, - "lodGenerationScale": 0, - "linearSpecularLOD": false, - "isRenderTarget": false, - "animations": [], - "invertY": false, - "samplingMode": 3, - "_useSRGBBuffer": false - }, - "isLocal": true, - "animations": [], - "startDelay": 0, - "renderingGroupId": 0, - "isBillboardBased": true, - "billboardMode": 2, - "minAngularSpeed": 0, - "maxAngularSpeed": 0, - "minSize": 6, - "maxSize": 8, - "minScaleX": 1, - "maxScaleX": 1, - "minScaleY": 1, - "maxScaleY": 5, - "minEmitPower": 0, - "maxEmitPower": 0, - "minLifeTime": 2, - "maxLifeTime": 3, - "emitRate": 10, - "gravity": [ - 0, - 0, - 0 - ], - "noiseStrength": [ - 10, - 10, - 10 - ], - "color1": [ - 1, - 1, - 1, - 1 - ], - "color2": [ - 1, - 1, - 1, - 1 - ], - "colorDead": [ - 1, - 1, - 1, - 0 - ], - "updateSpeed": 0.016666666666666666, - "targetStopDuration": 0, - "blendMode": 4, - "preWarmCycles": 100, - "preWarmStepOffset": 10, - "minInitialRotation": -0.1, - "maxInitialRotation": 0.1, - "startSpriteCellID": 0, - "endSpriteCellID": 63, - "spriteCellChangeSpeed": 1, - "spriteCellWidth": 128, - "spriteCellHeight": 128, - "spriteRandomStartCell": true, - "isAnimationSheetEnabled": true, - "colorGradients": [ - { - "gradient": 0, - "color1": [ - 1, - 1, - 1, - 0 - ], - "color2": [ - 1, - 1, - 1, - 0 - ] - }, - { - "gradient": 0.1, - "color1": [ - 1, - 1, - 1, - 0.6 - ], - "color2": [ - 1, - 1, - 1, - 0.6 - ] - }, - { - "gradient": 0.9, - "color1": [ - 1, - 1, - 1, - 0.6 - ], - "color2": [ - 1, - 1, - 1, - 0.6 - ] - }, - { - "gradient": 1, - "color1": [ - 1, - 1, - 1, - 0 - ], - "color2": [ - 1, - 1, - 1, - 0 - ] - } - ], - "rampGradients": [ - { - "gradient": 0, - "color": [ - 1, - 1, - 1 - ] - }, - { - "gradient": 1, - "color": [ - 0.7968, - 0.3685, - 0.1105 - ] - } - ], - "useRampGradients": true, - "colorRemapGradients": [ - { - "gradient": 0, - "factor1": 0.2, - "factor2": 1 - }, - { - "gradient": 1, - "factor1": 0.2, - "factor2": 1 - } - ], - "textureMask": [ - 1, - 1, - 1, - 1 - ], - "customShader": null, - "preventAutoStart": true -} \ No newline at end of file diff --git a/src/assets/particlesystem/fire/fire_tph_2.json b/src/assets/particlesystem/fire/fire_tph_2.json deleted file mode 100644 index 3d507d7..0000000 --- a/src/assets/particlesystem/fire/fire_tph_2.json +++ /dev/null @@ -1,220 +0,0 @@ -{ - "name": "fireSystem2", - "id": "fireSystem2", - "capacity": 3, - "disposeOnStop": false, - "manualEmitCount": -1, - "emitter": [ - 0, - 2.25, - 0 - ], - "particleEmitterType": { - "type": "HemisphericParticleEmitter", - "radius": 2, - "radiusRange": 1, - "directionRandomizer": 0 - }, - "texture": { - "tags": null, - "url": "assets/particlesystem/fire/fire_8x8_2.png", - "uOffset": 0, - "vOffset": 0, - "uScale": 1, - "vScale": 1, - "uAng": 0, - "vAng": 0, - "wAng": 0, - "uRotationCenter": 0.5, - "vRotationCenter": 0.5, - "wRotationCenter": 0.5, - "homogeneousRotationInUVTransform": false, - "isBlocking": true, - "name": "assets/particlesystem/fire/fire_8x8_2.png", - "hasAlpha": false, - "getAlphaFromRGB": false, - "level": 1, - "coordinatesIndex": 0, - "coordinatesMode": 0, - "wrapU": 1, - "wrapV": 1, - "wrapR": 1, - "anisotropicFilteringLevel": 4, - "isCube": false, - "is3D": false, - "is2DArray": false, - "gammaSpace": true, - "invertZ": false, - "lodLevelInAlpha": false, - "lodGenerationOffset": 0, - "lodGenerationScale": 0, - "linearSpecularLOD": false, - "isRenderTarget": false, - "animations": [], - "invertY": false, - "samplingMode": 3, - "_useSRGBBuffer": false - }, - "isLocal": true, - "animations": [], - "startDelay": 0, - "renderingGroupId": 0, - "isBillboardBased": true, - "billboardMode": 2, - "minAngularSpeed": 0, - "maxAngularSpeed": 0, - "minSize": 5, - "maxSize": 6, - "minScaleX": 1, - "maxScaleX": 1, - "minScaleY": 1, - "maxScaleY": 5, - "minEmitPower": 0, - "maxEmitPower": 0, - "minLifeTime": 2, - "maxLifeTime": 3, - "emitRate": 10, - "gravity": [ - 0, - 0, - 0 - ], - "noiseStrength": [ - 10, - 10, - 10 - ], - "color1": [ - 1, - 1, - 1, - 1 - ], - "color2": [ - 1, - 1, - 1, - 1 - ], - "colorDead": [ - 1, - 1, - 1, - 0 - ], - "updateSpeed": 0.016666666666666666, - "targetStopDuration": 0, - "blendMode": 4, - "preWarmCycles": 100, - "preWarmStepOffset": 10, - "minInitialRotation": -0.1, - "maxInitialRotation": 0.1, - "startSpriteCellID": 0, - "endSpriteCellID": 63, - "spriteCellChangeSpeed": 0.9, - "spriteCellWidth": 128, - "spriteCellHeight": 128, - "spriteRandomStartCell": true, - "isAnimationSheetEnabled": true, - "colorGradients": [ - { - "gradient": 0, - "color1": [ - 1, - 1, - 1, - 0 - ], - "color2": [ - 1, - 1, - 1, - 0 - ] - }, - { - "gradient": 0.1, - "color1": [ - 1, - 1, - 1, - 0.6 - ], - "color2": [ - 1, - 1, - 1, - 0.6 - ] - }, - { - "gradient": 0.9, - "color1": [ - 1, - 1, - 1, - 0.6 - ], - "color2": [ - 1, - 1, - 1, - 0.6 - ] - }, - { - "gradient": 1, - "color1": [ - 1, - 1, - 1, - 0 - ], - "color2": [ - 1, - 1, - 1, - 0 - ] - } - ], - "rampGradients": [ - { - "gradient": 0, - "color": [ - 1, - 1, - 1 - ] - }, - { - "gradient": 1, - "color": [ - 0.7968, - 0.3685, - 0.1105 - ] - } - ], - "useRampGradients": true, - "colorRemapGradients": [ - { - "gradient": 0, - "factor1": 0.2, - "factor2": 1 - }, - { - "gradient": 1, - "factor1": 0.2, - "factor2": 1 - } - ], - "textureMask": [ - 1, - 1, - 1, - 1 - ], - "customShader": null, - "preventAutoStart": true -} \ No newline at end of file diff --git a/src/assets/particlesystem/fire/fire_tph_3.json b/src/assets/particlesystem/fire/fire_tph_3.json deleted file mode 100644 index 44e7f40..0000000 --- a/src/assets/particlesystem/fire/fire_tph_3.json +++ /dev/null @@ -1,220 +0,0 @@ -{ - "name": "fireSystem3", - "id": "fireSystem3", - "capacity": 3, - "disposeOnStop": false, - "manualEmitCount": -1, - "emitter": [ - 0, - 2.25, - 0 - ], - "particleEmitterType": { - "type": "HemisphericParticleEmitter", - "radius": 2, - "radiusRange": 1, - "directionRandomizer": 0 - }, - "texture": { - "tags": null, - "url": "assets/particlesystem/fire/fire_8x8_3.png", - "uOffset": 0, - "vOffset": 0, - "uScale": 1, - "vScale": 1, - "uAng": 0, - "vAng": 0, - "wAng": 0, - "uRotationCenter": 0.5, - "vRotationCenter": 0.5, - "wRotationCenter": 0.5, - "homogeneousRotationInUVTransform": false, - "isBlocking": true, - "name": "assets/particlesystem/fire/fire_8x8_3.png", - "hasAlpha": false, - "getAlphaFromRGB": false, - "level": 1, - "coordinatesIndex": 0, - "coordinatesMode": 0, - "wrapU": 1, - "wrapV": 1, - "wrapR": 1, - "anisotropicFilteringLevel": 4, - "isCube": false, - "is3D": false, - "is2DArray": false, - "gammaSpace": true, - "invertZ": false, - "lodLevelInAlpha": false, - "lodGenerationOffset": 0, - "lodGenerationScale": 0, - "linearSpecularLOD": false, - "isRenderTarget": false, - "animations": [], - "invertY": false, - "samplingMode": 3, - "_useSRGBBuffer": false - }, - "isLocal": true, - "animations": [], - "startDelay": 0, - "renderingGroupId": 0, - "isBillboardBased": true, - "billboardMode": 2, - "minAngularSpeed": 0, - "maxAngularSpeed": 0, - "minSize": 5, - "maxSize": 6, - "minScaleX": 1, - "maxScaleX": 1, - "minScaleY": 1, - "maxScaleY": 5, - "minEmitPower": 0, - "maxEmitPower": 0, - "minLifeTime": 3, - "maxLifeTime": 10, - "emitRate": 10, - "gravity": [ - 0, - 0, - 0 - ], - "noiseStrength": [ - 10, - 10, - 10 - ], - "color1": [ - 1, - 1, - 1, - 1 - ], - "color2": [ - 1, - 1, - 1, - 1 - ], - "colorDead": [ - 1, - 1, - 1, - 0 - ], - "updateSpeed": 0.016666666666666666, - "targetStopDuration": 0, - "blendMode": 4, - "preWarmCycles": 100, - "preWarmStepOffset": 10, - "minInitialRotation": -0.1, - "maxInitialRotation": 0.1, - "startSpriteCellID": 0, - "endSpriteCellID": 63, - "spriteCellChangeSpeed": 0.9, - "spriteCellWidth": 128, - "spriteCellHeight": 128, - "spriteRandomStartCell": true, - "isAnimationSheetEnabled": true, - "colorGradients": [ - { - "gradient": 0, - "color1": [ - 1, - 1, - 1, - 0 - ], - "color2": [ - 1, - 1, - 1, - 0 - ] - }, - { - "gradient": 0.1, - "color1": [ - 1, - 1, - 1, - 0.6 - ], - "color2": [ - 1, - 1, - 1, - 0.6 - ] - }, - { - "gradient": 0.9, - "color1": [ - 1, - 1, - 1, - 0.6 - ], - "color2": [ - 1, - 1, - 1, - 0.6 - ] - }, - { - "gradient": 1, - "color1": [ - 1, - 1, - 1, - 0 - ], - "color2": [ - 1, - 1, - 1, - 0 - ] - } - ], - "rampGradients": [ - { - "gradient": 0, - "color": [ - 1, - 1, - 1 - ] - }, - { - "gradient": 1, - "color": [ - 0.7968, - 0.3685, - 0.1105 - ] - } - ], - "useRampGradients": true, - "colorRemapGradients": [ - { - "gradient": 0.1, - "factor1": 0.2, - "factor2": 1 - }, - { - "gradient": 1, - "factor1": 0.2, - "factor2": 1 - } - ], - "textureMask": [ - 1, - 1, - 1, - 1 - ], - "customShader": null, - "preventAutoStart": true -} \ No newline at end of file diff --git a/src/assets/particlesystem/smoke/smoke_a.json b/src/assets/particlesystem/smoke/smoke_a.json index 275321c..c9e3680 100644 --- a/src/assets/particlesystem/smoke/smoke_a.json +++ b/src/assets/particlesystem/smoke/smoke_a.json @@ -1,211 +1 @@ -{ - "name": "default system", - "id": "default system", - "capacity": 500, - "disposeOnStop": false, - "manualEmitCount": -1, - "emitter": [ - 0, - 0, - 0 - ], - "particleEmitterType": { - "type": "HemisphericParticleEmitter", - "radius": 1, - "radiusRange": 1, - "directionRandomizer": 0 - }, - "texture": { - "tags": null, - "url": "assets/particlesystem/smoke/smoke_8x8.png", - "uOffset": 0, - "vOffset": 0, - "uScale": 1, - "vScale": 1, - "uAng": 0, - "vAng": 0, - "wAng": 0, - "uRotationCenter": 0.5, - "vRotationCenter": 0.5, - "wRotationCenter": 0.5, - "homogeneousRotationInUVTransform": false, - "isBlocking": true, - "name": "assets/particlesystem/smoke/smoke_8x8.png", - "hasAlpha": false, - "getAlphaFromRGB": false, - "level": 1, - "coordinatesIndex": 0, - "coordinatesMode": 0, - "wrapU": 1, - "wrapV": 1, - "wrapR": 1, - "anisotropicFilteringLevel": 4, - "isCube": false, - "is3D": false, - "is2DArray": false, - "gammaSpace": true, - "invertZ": false, - "lodLevelInAlpha": false, - "lodGenerationOffset": 0, - "lodGenerationScale": 0, - "linearSpecularLOD": false, - "isRenderTarget": false, - "animations": [], - "invertY": true, - "samplingMode": 3, - "_useSRGBBuffer": false - }, - "isLocal": true, - "animations": [], - "startDelay": 0, - "renderingGroupId": 0, - "isBillboardBased": true, - "billboardMode": 7, - "minAngularSpeed": 0, - "maxAngularSpeed": 0, - "minSize": 3, - "maxSize": 5, - "minScaleX": 1, - "maxScaleX": 1, - "minScaleY": 1, - "maxScaleY": 1, - "minEmitPower": 1.2, - "maxEmitPower": 1.4, - "minLifeTime": 5, - "maxLifeTime": 3, - "emitRate": 3, - "gravity": [ - 0, - 0, - 0 - ], - "noiseStrength": [ - 0.2, - 0, - 0.15 - ], - "color1": [ - 1, - 1, - 1, - 1 - ], - "color2": [ - 1, - 1, - 1, - 1 - ], - "colorDead": [ - 1, - 1, - 1, - 0 - ], - "updateSpeed": 0.016666666666666666, - "targetStopDuration": 0, - "blendMode": 1, - "preWarmCycles": 0, - "preWarmStepOffset": 1, - "minInitialRotation": -0.7, - "maxInitialRotation": 0.7, - "startSpriteCellID": 0, - "endSpriteCellID": 63, - "spriteCellChangeSpeed": 2.5, - "spriteCellWidth": 128, - "spriteCellHeight": 128, - "spriteRandomStartCell": true, - "isAnimationSheetEnabled": true, - "colorGradients": [ - { - "gradient": 0, - "color1": [ - 0.5, - 0.5, - 0.5, - 0 - ], - "color2": [ - 0.5, - 0.5, - 0.5, - 0 - ] - }, - { - "gradient": 0.3, - "color1": [ - 0.3, - 0.3, - 0.3, - 0.5 - ], - "color2": [ - 0.3, - 0.3, - 0.3, - 0.5 - ] - }, - { - "gradient": 0.7, - "color1": [ - 0.2, - 0.2, - 0.2, - 0.3 - ], - "color2": [ - 0.2, - 0.2, - 0.2, - 0.3 - ] - }, - { - "gradient": 1, - "color1": [ - 0.1, - 0.1, - 0.1, - 0 - ], - "color2": [ - 0.1, - 0.1, - 0.1, - 0 - ] - } - ], - "sizeGradients": [ - { - "gradient": 0, - "factor1": 1, - "factor2": 1 - }, - { - "gradient": 0.09, - "factor1": 6, - "factor2": 6 - } - ], - "noiseTexture": { - "customType": "BABYLON.NoiseProceduralTexture", - "brightness": 0.5, - "octaves": 4, - "persistence": 0.2, - "animationSpeedFactor": 5, - "size": 256, - "generateMipMaps": true, - "time": 2729.4365999997644 - }, - "textureMask": [ - 1, - 1, - 1, - 1 - ], - "customShader": null, - "preventAutoStart": true -} \ No newline at end of file +{"name":"default system","id":"default system","capacity":500,"emitterId":"psRoot","particleEmitterType":{"type":"PointParticleEmitter","direction1":[0,1,0],"direction2":[0,1,0]},"texture":{"tags":null,"url":"assets/particlesystem/smoke/smoke_8x8.png","uOffset":0,"vOffset":0,"uScale":1,"vScale":1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/particlesystem/smoke/smoke_8x8.png","hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":0,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":true,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":true,"samplingMode":3},"isLocal":true,"animations":[],"startDelay":0,"renderingGroupId":0,"isBillboardBased":true,"billboardMode":7,"minAngularSpeed":0,"maxAngularSpeed":0,"minSize":3,"maxSize":5,"minScaleX":0.2,"maxScaleX":0.2,"minScaleY":0.2,"maxScaleY":0.2,"minEmitPower":1,"maxEmitPower":0.5,"minLifeTime":5,"maxLifeTime":3,"emitRate":3,"gravity":[0,0,0],"noiseStrength":[0.2,0,0.15],"color1":[1,1,1,1],"color2":[1,1,1,1],"colorDead":[1,1,1,0],"updateSpeed":0.016666666666666666,"targetStopDuration":0,"blendMode":1,"preWarmCycles":0,"preWarmStepOffset":1,"minInitialRotation":-0.7,"maxInitialRotation":0.7,"startSpriteCellID":0,"endSpriteCellID":63,"spriteCellChangeSpeed":2.5,"spriteCellWidth":128,"spriteCellHeight":128,"spriteRandomStartCell":true,"isAnimationSheetEnabled":true,"colorGradients":[{"gradient":0,"color1":[0.5,0.5,0.5,0],"color2":[0.5,0.5,0.5,0]},{"gradient":0.3,"color1":[0.3,0.3,0.3,0.5],"color2":[0.3,0.3,0.3,0.5]},{"gradient":0.7,"color1":[0.2,0.2,0.2,0.3],"color2":[0.2,0.2,0.2,0.3]},{"gradient":1,"color1":[0.1,0.1,0.1,0],"color2":[0.1,0.1,0.1,0]}],"sizeGradients":[{"gradient":0,"factor1":1,"factor2":1},{"gradient":0.24,"factor1":6,"factor2":6}],"noiseTexture":{"customType":"BABYLON.NoiseProceduralTexture","brightness":0.5,"octaves":4,"persistence":0.2,"animationSpeedFactor":5,"size":256,"generateMipMaps":true,"time":10339.515299999644},"textureMask":[1,1,1,1],"customShader":null,"preventAutoStart":true} \ No newline at end of file diff --git a/src/assets/particlesystem/smoke/smoke_b.json b/src/assets/particlesystem/smoke/smoke_b.json deleted file mode 100644 index 5c5d906..0000000 --- a/src/assets/particlesystem/smoke/smoke_b.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "name": "default system", - "id": "default system", - "capacity": 500, - "disposeOnStop": false, - "manualEmitCount": -1, - "emitter": [ - 0, - 0, - 0 - ], - "particleEmitterType": { - "type": "ConeParticleEmitter", - "radius": 0.1, - "angle": 0.6, - "directionRandomizer": 0, - "radiusRange": 1, - "heightRange": 1, - "emitFromSpawnPointOnly": false - }, - "texture": { - "tags": null, - "url": "assets/particlesystem/smoke/smoke_8x8.png", - "uOffset": 0, - "vOffset": 0, - "uScale": 1, - "vScale": 1, - "uAng": 0, - "vAng": 0, - "wAng": 0, - "uRotationCenter": 0.5, - "vRotationCenter": 0.5, - "wRotationCenter": 0.5, - "homogeneousRotationInUVTransform": false, - "isBlocking": true, - "name": "assets/particlesystem/smoke/smoke_8x8.png", - "hasAlpha": false, - "getAlphaFromRGB": false, - "level": 1, - "coordinatesIndex": 0, - "coordinatesMode": 0, - "wrapU": 1, - "wrapV": 1, - "wrapR": 1, - "anisotropicFilteringLevel": 4, - "isCube": false, - "is3D": false, - "is2DArray": false, - "gammaSpace": true, - "invertZ": false, - "lodLevelInAlpha": false, - "lodGenerationOffset": 0, - "lodGenerationScale": 0, - "linearSpecularLOD": false, - "isRenderTarget": false, - "animations": [], - "invertY": true, - "samplingMode": 3, - "_useSRGBBuffer": false - }, - "isLocal": true, - "animations": [], - "startDelay": 0, - "renderingGroupId": 0, - "isBillboardBased": true, - "billboardMode": 7, - "minAngularSpeed": 0, - "maxAngularSpeed": 0, - "minSize": 3, - "maxSize": 5, - "minScaleX": 1, - "maxScaleX": 1, - "minScaleY": 1, - "maxScaleY": 1, - "minEmitPower": 1.2, - "maxEmitPower": 1.4, - "minLifeTime": 10, - "maxLifeTime": 11, - "emitRate": 5, - "gravity": [ - 0.1, - 0, - 0.05 - ], - "noiseStrength": [ - 0.2, - 0, - 0.15 - ], - "color1": [ - 1, - 1, - 1, - 1 - ], - "color2": [ - 1, - 1, - 1, - 1 - ], - "colorDead": [ - 1, - 1, - 1, - 0 - ], - "updateSpeed": 0.016666666666666666, - "targetStopDuration": 0, - "blendMode": 1, - "preWarmCycles": 0, - "preWarmStepOffset": 1, - "minInitialRotation": -0.7, - "maxInitialRotation": 0.7, - "startSpriteCellID": 0, - "endSpriteCellID": 63, - "spriteCellChangeSpeed": 2.5, - "spriteCellWidth": 128, - "spriteCellHeight": 128, - "spriteRandomStartCell": true, - "isAnimationSheetEnabled": true, - "colorGradients": [ - { - "gradient": 0, - "color1": [ - 0.5, - 0.5, - 0.5, - 0 - ], - "color2": [ - 0.5, - 0.5, - 0.5, - 0 - ] - }, - { - "gradient": 0.3, - "color1": [ - 0.3, - 0.3, - 0.3, - 0.5 - ], - "color2": [ - 0.3, - 0.3, - 0.3, - 0.5 - ] - }, - { - "gradient": 0.7, - "color1": [ - 0.2, - 0.2, - 0.2, - 0.3 - ], - "color2": [ - 0.2, - 0.2, - 0.2, - 0.3 - ] - }, - { - "gradient": 1, - "color1": [ - 0.1, - 0.1, - 0.1, - 0 - ], - "color2": [ - 0.1, - 0.1, - 0.1, - 0 - ] - } - ], - "sizeGradients": [ - { - "gradient": 0, - "factor1": 1, - "factor2": 1 - }, - { - "gradient": 1, - "factor1": 6, - "factor2": 6 - } - ], - "noiseTexture": { - "customType": "BABYLON.NoiseProceduralTexture", - "brightness": 0.5, - "octaves": 4, - "persistence": 0.2, - "animationSpeedFactor": 5, - "size": 256, - "generateMipMaps": true, - "time": 191.22629999998276 - }, - "textureMask": [ - 1, - 1, - 1, - 1 - ], - "customShader": null, - "preventAutoStart": true -} \ No newline at end of file diff --git a/src/assets/particlesystem/smoke/smoke_c.json b/src/assets/particlesystem/smoke/smoke_c.json deleted file mode 100644 index 513fc2b..0000000 --- a/src/assets/particlesystem/smoke/smoke_c.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "name": "default system", - "id": "default system", - "capacity": 500, - "disposeOnStop": false, - "manualEmitCount": -1, - "emitter": [ - 0, - 0, - 0 - ], - "particleEmitterType": { - "type": "ConeParticleEmitter", - "radius": 0.1, - "angle": 0.6, - "directionRandomizer": 0, - "radiusRange": 1, - "heightRange": 1, - "emitFromSpawnPointOnly": false - }, - "texture": { - "tags": null, - "url": "assets/particlesystem/smoke/smoke_8x8.png", - "uOffset": 0, - "vOffset": 0, - "uScale": 1, - "vScale": 1, - "uAng": 0, - "vAng": 0, - "wAng": 0, - "uRotationCenter": 0.5, - "vRotationCenter": 0.5, - "wRotationCenter": 0.5, - "homogeneousRotationInUVTransform": false, - "isBlocking": true, - "name": "assets/particlesystem/smoke/smoke_8x8.png", - "hasAlpha": false, - "getAlphaFromRGB": false, - "level": 1, - "coordinatesIndex": 0, - "coordinatesMode": 0, - "wrapU": 1, - "wrapV": 1, - "wrapR": 1, - "anisotropicFilteringLevel": 4, - "isCube": false, - "is3D": false, - "is2DArray": false, - "gammaSpace": true, - "invertZ": false, - "lodLevelInAlpha": false, - "lodGenerationOffset": 0, - "lodGenerationScale": 0, - "linearSpecularLOD": false, - "isRenderTarget": false, - "animations": [], - "invertY": true, - "samplingMode": 3, - "_useSRGBBuffer": false - }, - "isLocal": true, - "animations": [], - "startDelay": 0, - "renderingGroupId": 0, - "isBillboardBased": true, - "billboardMode": 7, - "minAngularSpeed": 0, - "maxAngularSpeed": 0, - "minSize": 3, - "maxSize": 5, - "minScaleX": 1, - "maxScaleX": 1, - "minScaleY": 1, - "maxScaleY": 1, - "minEmitPower": 1.2, - "maxEmitPower": 1.4, - "minLifeTime": 5, - "maxLifeTime": 3, - "emitRate": 3, - "gravity": [ - 0, - -1, - 0 - ], - "noiseStrength": [ - 0.2, - 0, - 0.15 - ], - "color1": [ - 1, - 1, - 1, - 1 - ], - "color2": [ - 1, - 1, - 1, - 1 - ], - "colorDead": [ - 1, - 1, - 1, - 0 - ], - "updateSpeed": 0.016666666666666666, - "targetStopDuration": 0, - "blendMode": 1, - "preWarmCycles": 0, - "preWarmStepOffset": 1, - "minInitialRotation": -0.7, - "maxInitialRotation": 0.7, - "startSpriteCellID": 0, - "endSpriteCellID": 63, - "spriteCellChangeSpeed": 2.5, - "spriteCellWidth": 128, - "spriteCellHeight": 128, - "spriteRandomStartCell": true, - "isAnimationSheetEnabled": true, - "colorGradients": [ - { - "gradient": 0, - "color1": [ - 0.5, - 0.5, - 0.5, - 0 - ], - "color2": [ - 0.5, - 0.5, - 0.5, - 0 - ] - }, - { - "gradient": 0.3, - "color1": [ - 0.3, - 0.3, - 0.3, - 0.5 - ], - "color2": [ - 0.3, - 0.3, - 0.3, - 0.5 - ] - }, - { - "gradient": 0.7, - "color1": [ - 0.2, - 0.2, - 0.2, - 0.3 - ], - "color2": [ - 0.2, - 0.2, - 0.2, - 0.3 - ] - }, - { - "gradient": 1, - "color1": [ - 0.1, - 0.1, - 0.1, - 0 - ], - "color2": [ - 0.1, - 0.1, - 0.1, - 0 - ] - } - ], - "sizeGradients": [ - { - "gradient": 0, - "factor1": 1, - "factor2": 1 - }, - { - "gradient": 0.24, - "factor1": 6, - "factor2": 6 - } - ], - "noiseTexture": { - "customType": "BABYLON.NoiseProceduralTexture", - "brightness": 0.5, - "octaves": 4, - "persistence": 0.2, - "animationSpeedFactor": 5, - "size": 256, - "generateMipMaps": true, - "time": 1530.3456000000376 - }, - "textureMask": [ - 1, - 1, - 1, - 1 - ], - "customShader": null, - "preventAutoStart": true -} \ No newline at end of file diff --git a/src/assets/particlesystem/smoke/smoke_snh.json b/src/assets/particlesystem/smoke/smoke_snh.json index beb805a..a028ccf 100644 --- a/src/assets/particlesystem/smoke/smoke_snh.json +++ b/src/assets/particlesystem/smoke/smoke_snh.json @@ -2,21 +2,17 @@ "name": "default system", "id": "default system", "capacity": 500, - "emitter": [ - 0, - 0, - 0 - ], + "emitterId": "psRoot", "particleEmitterType": { "type": "PointParticleEmitter", "direction1": [ 0, - 2, + 0.1, 0 ], "direction2": [ 0, - 2, + 0.1, 0 ] }, @@ -69,18 +65,18 @@ "maxAngularSpeed": 0, "minSize": 3, "maxSize": 5, - "minScaleX": 1, - "maxScaleX": 1, - "minScaleY": 0.5, - "maxScaleY": 0.5, + "minScaleX": 0.1, + "maxScaleX": 0.1, + "minScaleY": 0.1, + "maxScaleY": 0.1, "minEmitPower": 1, "maxEmitPower": 0.5, "minLifeTime": 5, "maxLifeTime": 3, - "emitRate": 2, + "emitRate": 3, "gravity": [ 0, - -1, + 0, 0 ], "noiseStrength": [ @@ -202,7 +198,7 @@ "animationSpeedFactor": 5, "size": 256, "generateMipMaps": true, - "time": 5209.7477999989915 + "time": 8323.863300001296 }, "textureMask": [ 1,