feat: Add legacy shaders, model I/O, and project panel functionality
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
- Introduced `legacy-shaders.js` containing vertex and fragment shaders for rendering. - Implemented `model-io.js` for parsing and encoding GLB files, ensuring compatibility with glTF 2.0. - Created `project-panel.js` to manage project resources and survey overlays, enhancing user interaction. - Added `solar.js` for calculating solar positions based on UTC time, latitude, and longitude. - Developed `three-renderer.js` as a standard backend for Three.js, managing scene rendering and material synchronization. - Included a new GLB model `dum.glb` for testing and demonstration purposes. - Established `data_checks.mjs` for validating model data and ensuring integrity of assets. - Created `prepare_export.py` to facilitate Blender GLB exports, maintaining material and node references. - Added `vendor_three.py` to download and configure a local version of Three.js for the project.
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
{
|
||||
"data_checks_passed": 96,
|
||||
"ui_checks_passed": 14,
|
||||
"ui_page_errors": [],
|
||||
"ui_graphics": "Mock WebGL API for controller/layout tests. No real 3D rendering.",
|
||||
"syntax_checks": [
|
||||
"PHP index.php lint",
|
||||
"JavaScript modules node --check",
|
||||
"Python helpers compilation"
|
||||
],
|
||||
"http_checks": "Local PHP server returned HTTP 200 for page, scripts, JSON, CSS and model.",
|
||||
"export_mapping_test": "Synthetic reversed node/material order: passed. Not tested with a real Blender export.",
|
||||
"not_verified": [
|
||||
"Live WebGL 2 rendering",
|
||||
"Three.js CDN imports in an unrestricted browser",
|
||||
"Blender helper execution",
|
||||
"Network part of the optional vendoring helper",
|
||||
"User hosting deployment"
|
||||
],
|
||||
"environment_limitation": "Browser policy blocks WebGL and navigations; outbound container network blocked.",
|
||||
"ui_checks": [
|
||||
{
|
||||
"name": "Defaults",
|
||||
"ok": true,
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"name": "Blinds all nine rectangular openings",
|
||||
"ok": true,
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"name": "Blinds off",
|
||||
"ok": true,
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"name": "Nine floor rooms",
|
||||
"ok": true,
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"name": "Kitchen independent colours",
|
||||
"ok": true,
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"name": "Invalid colour rejected",
|
||||
"ok": true,
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"name": "Walkin alternative",
|
||||
"ok": true,
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"name": "Source binary roundtrip",
|
||||
"ok": true,
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"name": "Summary export schema",
|
||||
"ok": true,
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"name": "Pure astronomical function",
|
||||
"ok": true,
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"name": "Reference photos loaded",
|
||||
"ok": true,
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"name": "Survey overlay 27 points maximum",
|
||||
"ok": true,
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"name": "No horizontal page overflow on mobile",
|
||||
"ok": true,
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"name": "Mobile interior panel visible",
|
||||
"ok": true,
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user