1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-15 12:25:15 +03:00
Commit graph

18 commits

Author SHA1 Message Date
Anwar Minarso
08e174821c
Upgrade Three.js to r176 & Adopt GLTF for 3-D Assets (#4496)
* Upgrade Three.js to r176 and migrate assets to GLTF

###  What’s new
* **Three.js** bumped from **r97 → r176**
* **All existing 3D assets converted to GLTF**
  * Smaller payloads, PBR-ready, future-proof.
* **New assets**
  * `resources/models/airplane.gltf` – ready for immediate use in demos.
  * `resources/models/car.gltf` – base mesh & materials; reserved for upcoming feature work.

* fix: rewrite src/js/model.js per CodeRabbitAI review

* fix: rewrite src/js/model.js per CodeRabbitAI review

Remove redundant Three.js imports

* Fix: Typo in comments

Corrected "modifie" to "modified" in various code comments.

* fix: Include missing fallback.gltf 3D model

This commit adds the 'resources/models/fallback.gltf' file, which was inadvertently excluded from a previous commit. This GLTF file is a converted version of the legacy 'fallback.json' 3D model.

* refactor: Recompress 3D models to reduce file size

This commit replaces existing 3D model assets with newly compressed versions. The recompression aims to significantly reduce file sizes without compromising visual quality, thereby improving overall application efficiency and resource loading.

* feat: Re-enable legacy 3D renderer for low-performance device compatibility

This commit reactivates the legacy 3D renderer, ensuring continued functionality for low-performance devices. This prevents the renderer from becoming a blocking issue for users with less powerful hardware.

Additionally, this update incorporates the latest 'Projector' import from the Three.js examples library into the CanvasRenderer, improving compatibility and leveraging recent advancements
2025-06-04 19:18:13 +02:00
Mark Haslinghuis
f2a723e6ce Remove colorAmbient 2020-11-30 18:56:02 +01:00
mikeller
5f5166cc41 Fixed ownership of installed files on debian. 2019-03-24 11:52:59 +13:00
skaman82
06f643812d sync 2015-11-02 22:07:37 +01:00
skaman82
bce809fd7d sync 2015-10-24 11:07:16 +02:00
Nicholas Sherlock
035d5a36d4 Fix rendering of fallback model on software canvas renderer 2015-03-19 17:42:09 +13:00
Nicholas Sherlock
3c2bb6225d Remove old fallback model texture, fix fallback model .json 2015-02-16 17:13:43 +13:00
AKfreak
0159ea9244 updated 3d models 2015-02-02 15:49:54 -08:00
AKfreak
84018c304a added all new 3d models for cleanflight-configurator program 2015-01-30 13:59:43 -08:00
cTn
c005b7604c add vtail/atail quad models from norem
#58
2014-12-05 17:25:33 +01:00
jeff
5cff317208 Changed model extensions from .js. to .json fitting with export from
latest three.js exporter.
	725819c98d

Updated texture on new models.
2014-11-02 19:04:32 +11:00
jef79m
a7c3779b25 Added some new models 2014-10-31 23:42:26 +11:00
creyc
4b1fb30bba Fallback model rotated correct orientation 2014-10-01 11:53:44 -04:00
creyc
54a4be4842 Added labels to fallback model 2014-10-01 11:18:28 -04:00
creyc
713b333e00 Adding fallback model for canvas renderer 2014-09-30 14:13:16 -04:00
Corey
c5d6cd4ecf added props 2014-09-30 02:20:29 -04:00
cTn
844abdae26 fix the colon 2014-09-29 20:37:24 +02:00
creyc
677304c935 Add initial 3D quad model 2014-09-29 14:31:05 -04:00