space-game/gameEditor/assets/example.scene/meshes/e76fcb83-e1df-4c7c-92cd-65b601ee9bba.json
Michael Mainguy 4c9e1f65c0 Add BabylonJS Editor workspace boilerplate
Includes:
- Editor project configuration and cache files
- Sample scene with example meshes and geometries
- Asset files (asteroid, base GLB models, environment map)
- Vite/TypeScript configuration for editor preview
- Editor script components for game objects

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-09 07:49:00 -06:00

525 lines
17 KiB
JSON

{
"meshes": [
{
"name": "Ship_primitive0",
"id": "e76fcb83-e1df-4c7c-92cd-65b601ee9bba",
"uniqueId": 1764787012173,
"type": "Mesh",
"position": [
0,
0,
0
],
"rotation": [
0,
0,
0
],
"scaling": [
1,
1,
1
],
"localMatrix": [
1,
0,
0,
0,
0,
1,
0,
0,
0,
0,
1,
0,
0,
0,
0,
1
],
"isEnabled": true,
"isVisible": true,
"infiniteDistance": false,
"pickable": true,
"receiveShadows": true,
"billboardMode": 0,
"visibility": 1,
"alwaysSelectAsActiveMesh": false,
"checkCollisions": false,
"ellipsoid": [
0.5,
1,
0.5
],
"ellipsoidOffset": [
0,
0,
0
],
"doNotSyncBoundingInfo": false,
"isBlocker": false,
"sideOrientation": 0,
"isUnIndexed": false,
"geometryUniqueId": 1764787012178,
"geometryId": "5a938545-3b1e-40a5-9ed3-a545ced11fd4",
"subMeshes": null,
"materialUniqueId": 1764787012179,
"materialId": "75fae723-6ee6-443b-ba23-704d76ebdb7b",
"metadata": {
"parentId": 1764787012177
},
"instances": [],
"animations": [],
"ranges": [],
"layerMask": 268435455,
"alphaIndex": 1.7976931348623157e+308,
"hasVertexAlpha": false,
"overlayAlpha": 1,
"overlayColor": [
0,
0,
0
],
"applyFog": true,
"delayLoadingFile": "assets/example.scene/geometries/5a938545-3b1e-40a5-9ed3-a545ced11fd4.babylonbinarymeshdata",
"boundingBoxMaximum": [
11.43801212310791,
2.162097454071045,
8.191577911376953
],
"boundingBoxMinimum": [
-11.43801212310791,
-1.028866171836853,
-7.255166530609131
],
"_binaryInfo": {
"positionsAttrDesc": {
"count": 2790,
"stride": 3,
"offset": 0,
"dataType": 1
},
"normalsAttrDesc": {
"count": 2790,
"stride": 3,
"offset": 11160,
"dataType": 1
},
"uvsAttrDesc": {
"count": 1860,
"stride": 2,
"offset": 22320,
"dataType": 1
},
"indicesAttrDesc": {
"count": 1284,
"stride": 1,
"offset": 29760,
"dataType": 0
},
"subMeshesAttrDesc": {
"count": 1,
"stride": 5,
"offset": 34896,
"dataType": 0
}
},
"positions": null,
"normals": null,
"uvs": null,
"hasUVs": true,
"indices": null
}
],
"transformNodes": [],
"cameras": [],
"lights": [],
"materials": [
{
"tags": null,
"directIntensity": 1,
"emissiveIntensity": 1.8999998569488525,
"environmentIntensity": 1,
"specularIntensity": 1,
"disableBumpMap": false,
"albedoTexture": {
"tags": null,
"url": "assets/editor-generated_407fefb1bb1a53ce6f7be55ea1b07228.jpg",
"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/editor-generated_407fefb1bb1a53ce6f7be55ea1b07228.jpg",
"metadata": {
"baseSize": {
"width": 4096,
"height": 4096
}
},
"hasAlpha": false,
"getAlphaFromRGB": false,
"level": 1,
"coordinatesIndex": 1,
"optimizeUVAllocation": true,
"coordinatesMode": 0,
"wrapU": 1,
"wrapV": 1,
"wrapR": 1,
"anisotropicFilteringLevel": 4,
"isCube": false,
"is3D": false,
"is2DArray": false,
"gammaSpace": false,
"invertZ": false,
"lodLevelInAlpha": false,
"lodGenerationOffset": 0,
"lodGenerationScale": 0,
"linearSpecularLOD": false,
"isRenderTarget": false,
"animations": [],
"invertY": true,
"samplingMode": 3,
"_useSRGBBuffer": false,
"internalTextureLabel": "/Users/michaelmainguy/WebstormProjects/space-game/gameEditor",
"noMipmap": false
},
"ambientTextureStrength": 1,
"ambientTextureImpactOnAnalyticalLights": 0,
"emissiveTexture": {
"tags": null,
"url": "assets/editor-generated_407fefb1bb1a53ce6f7be55ea1b07228.jpg",
"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/editor-generated_407fefb1bb1a53ce6f7be55ea1b07228.jpg",
"metadata": {
"baseSize": {
"width": 4096,
"height": 4096
}
},
"hasAlpha": false,
"getAlphaFromRGB": false,
"level": 1,
"coordinatesIndex": 1,
"optimizeUVAllocation": true,
"coordinatesMode": 0,
"wrapU": 1,
"wrapV": 1,
"wrapR": 1,
"anisotropicFilteringLevel": 4,
"isCube": false,
"is3D": false,
"is2DArray": false,
"gammaSpace": false,
"invertZ": false,
"lodLevelInAlpha": false,
"lodGenerationOffset": 0,
"lodGenerationScale": 0,
"linearSpecularLOD": false,
"isRenderTarget": false,
"animations": [],
"invertY": true,
"samplingMode": 3,
"_useSRGBBuffer": false,
"internalTextureLabel": "/Users/michaelmainguy/WebstormProjects/space-game/gameEditor",
"noMipmap": false
},
"metallic": 0.5344085693359375,
"roughness": 0.4500977396965027,
"metallicF0Factor": 1,
"metallicReflectanceColor": [
1,
1,
1
],
"useOnlyMetallicFromMetallicReflectanceTexture": false,
"ambient": [
0,
0,
0
],
"albedo": [
1,
1,
1
],
"baseWeight": 1,
"reflectivity": [
1,
1,
1
],
"reflection": [
1,
1,
1
],
"emissive": [
1,
1,
1
],
"microSurface": 1,
"useLightmapAsShadowmap": false,
"useAlphaFromAlbedoTexture": false,
"forceAlphaTest": false,
"alphaCutOff": 0.4,
"useSpecularOverAlpha": true,
"useMicroSurfaceFromReflectivityMapAlpha": false,
"useRoughnessFromMetallicTextureAlpha": true,
"useRoughnessFromMetallicTextureGreen": false,
"useMetallnessFromMetallicTextureBlue": false,
"useAmbientOcclusionFromMetallicTextureRed": false,
"useAmbientInGrayScale": false,
"useAutoMicroSurfaceFromReflectivityMap": false,
"usePhysicalLightFalloff": true,
"useGLTFLightFalloff": false,
"useRadianceOverAlpha": true,
"useObjectSpaceNormalMap": false,
"useParallax": false,
"useParallaxOcclusion": false,
"parallaxScaleBias": 0.05,
"disableLighting": false,
"forceIrradianceInFragment": false,
"maxSimultaneousLights": 32,
"invertNormalMapX": false,
"invertNormalMapY": false,
"twoSidedLighting": true,
"useAlphaFresnel": false,
"useLinearAlphaFresnel": false,
"forceNormalForward": false,
"enableSpecularAntiAliasing": true,
"useHorizonOcclusion": true,
"useRadianceOcclusion": true,
"unlit": false,
"applyDecalMapAfterDetailMap": false,
"id": "75fae723-6ee6-443b-ba23-704d76ebdb7b",
"name": "Hull",
"metadata": {},
"checkReadyOnEveryCall": false,
"checkReadyOnlyOnce": false,
"state": "",
"alpha": 1,
"backFaceCulling": false,
"cullBackFaces": true,
"_alphaMode": [
2
],
"_needDepthPrePass": false,
"disableDepthWrite": false,
"disableColorWrite": false,
"forceDepthWrite": false,
"depthFunction": 0,
"separateCullingPass": false,
"fogEnabled": true,
"pointSize": 1,
"zOffset": 0,
"zOffsetUnits": 0,
"pointsCloud": false,
"fillMode": 0,
"_isVertexOutputInvariant": false,
"transparencyMode": 0,
"stencil": {
"tags": null,
"func": 519,
"backFunc": 519,
"funcRef": 1,
"funcMask": 255,
"opStencilFail": 7680,
"opDepthFail": 7680,
"opStencilDepthPass": 7681,
"backOpStencilFail": 7680,
"backOpDepthFail": 7680,
"backOpStencilDepthPass": 7681,
"mask": 255,
"enabled": false
},
"uniqueId": 1764787012179,
"plugins": {
"PBRBRDFConfiguration": {
"tags": null,
"useEnergyConservation": true,
"useSmithVisibilityHeightCorrelated": true,
"useSphericalHarmonics": true,
"useSpecularGlossinessInputEnergyConservation": true,
"mixIblRadianceWithIrradiance": true,
"useLegacySpecularEnergyConservation": true,
"baseDiffuseModel": 0,
"dielectricSpecularModel": 0,
"conductorSpecularModel": 0,
"name": "PBRBRDF",
"priority": 90,
"resolveIncludes": false,
"registerForExtraEvents": false
},
"PBRClearCoatConfiguration": {
"tags": null,
"isEnabled": false,
"intensity": 1,
"roughness": 0,
"indexOfRefraction": 1.5,
"useRoughnessFromMainTexture": true,
"remapF0OnInterfaceChange": true,
"isTintEnabled": false,
"tintColor": [
1,
1,
1
],
"tintColorAtDistance": 1,
"tintThickness": 1,
"name": "PBRClearCoat",
"priority": 100,
"resolveIncludes": false,
"registerForExtraEvents": false
},
"PBRIridescenceConfiguration": {
"tags": null,
"isEnabled": false,
"intensity": 1,
"minimumThickness": 100,
"maximumThickness": 400,
"indexOfRefraction": 1.3,
"name": "PBRIridescence",
"priority": 110,
"resolveIncludes": false,
"registerForExtraEvents": false
},
"PBRAnisotropicConfiguration": {
"tags": null,
"isEnabled": false,
"intensity": 1,
"direction": [
1,
0
],
"legacy": false,
"name": "PBRAnisotropic",
"priority": 110,
"resolveIncludes": false,
"registerForExtraEvents": false
},
"PBRSheenConfiguration": {
"tags": null,
"isEnabled": false,
"linkSheenWithAlbedo": false,
"intensity": 1,
"color": [
1,
1,
1
],
"useRoughnessFromMainTexture": true,
"albedoScaling": false,
"name": "Sheen",
"priority": 120,
"resolveIncludes": false,
"registerForExtraEvents": false
},
"PBRSubSurfaceConfiguration": {
"tags": null,
"isRefractionEnabled": false,
"isTranslucencyEnabled": false,
"isDispersionEnabled": false,
"isScatteringEnabled": false,
"_scatteringDiffusionProfileIndex": 0,
"refractionIntensity": 1,
"translucencyIntensity": 1,
"useAlbedoToTintRefraction": false,
"useAlbedoToTintTranslucency": false,
"indexOfRefraction": 1.5,
"_volumeIndexOfRefraction": -1,
"invertRefractionY": false,
"linkRefractionWithTransparency": false,
"minimumThickness": 0,
"maximumThickness": 1,
"useThicknessAsDepth": false,
"tintColor": [
1,
1,
1
],
"tintColorAtDistance": 1,
"dispersion": 0,
"diffusionDistance": [
1,
1,
1
],
"useMaskFromThicknessTexture": false,
"useGltfStyleTextures": true,
"applyAlbedoAfterSubSurface": false,
"legacyTranslucency": false,
"name": "PBRSubSurface",
"priority": 130,
"resolveIncludes": false,
"registerForExtraEvents": true
},
"DetailMapConfiguration": {
"tags": null,
"diffuseBlendLevel": 1,
"roughnessBlendLevel": 1,
"bumpLevel": 1,
"normalBlendMethod": 0,
"isEnabled": false,
"name": "DetailMap",
"priority": 140,
"resolveIncludes": false,
"registerForExtraEvents": false
}
},
"customType": "BABYLON.PBRMaterial"
}
],
"geometries": {
"boxes": [],
"spheres": [],
"cylinders": [],
"toruses": [],
"grounds": [],
"planes": [],
"torusKnots": [],
"vertexData": []
},
"metadata": {
"parentId": 1764787012177
},
"basePoseMatrix": [
1.6247152644956515,
0,
4.08643597401238e-7,
0,
0,
1.4727547823314542,
0,
0,
5.293994474577842e-7,
0,
-1.2541182156960042,
0,
0,
-0.9408809412868501,
0,
1
]
}