Implement model optimization and caching for 3D characters
- Added a new modelsProxyRouter to handle requests for optimized 3D character models. - Introduced modelsProxyService to manage GLB file optimization using gltf-transform with Draco compression. - Updated app.js to include the new modelsProxyRouter for API access. - Enhanced .gitignore to exclude model cache files. - Added scripts for optimizing GLB models and updated README with optimization instructions. - Integrated DRACOLoader in Character3D.vue for loading compressed models. - Updated FamilyView.vue to streamline character rendering logic.
This commit is contained in:
@@ -2,14 +2,6 @@
|
||||
<div class="contenthidden">
|
||||
<StatusBar />
|
||||
<div class="contentscroll family-layout">
|
||||
<!-- 3D-Modell für man selbst links -->
|
||||
<div class="self-character-3d" v-if="ownCharacter">
|
||||
<Character3D
|
||||
:gender="ownCharacter.gender"
|
||||
:age="ownCharacter.age"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="family-content">
|
||||
<h2>{{ $t('falukant.family.title') }}</h2>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user