JSON models need to be replaced
See original GitHub issueThere are 30+ examples that render legacy Geometry
because JSONLoader
returns Geometry
.
We will need to use a different loader in these examples – one that returns BufferGeometry
. That means the following models either need to be converted to another format or replaced with a different model.
models/json:
- (https://github.com/mrdoob/three.js/pull/14747) ~models/json/male02/Male02_dds.json~
- (https://github.com/mrdoob/three.js/pull/14747) ~models/json/female02/Female02_slim.json~
- (#14765) ~models/json/cubecolors/cubecolors.json~
- (#14774) ~models/json/WaltHeadLo.json~
- (#14769) ~models/json/suzanne_geometry.json~
- (#14806) ~models/json/leeperrysmith/LeePerrySmith.json~
- (#14924) ~models/json/lightmap/lightmap.json~
- (#14788) ~models/json/QRCode.json~
models/animated:
- (https://github.com/mrdoob/three.js/pull/14747) ~models/animated/horse.js~
- (https://github.com/mrdoob/three.js/pull/14747) ~models/animated/flamingo.js~
- (https://github.com/mrdoob/three.js/pull/14747) ~models/animated/sittingBox.js~
- (https://github.com/mrdoob/three.js/pull/14747) models/animated/monster/monster.js (moved)
models/skinned:
- (#14781) ~models/skinned/simple/simple.js~
- (#15132) ~models/skinned/knight.js~
Suggestions?
EDIT: Edited by @donmccurdy and @Mugen87 to track progress.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:20 (3 by maintainers)
Top Results From Across the Web
How to replace an ODataModel by a JSON Model - SAP Blogs
First, you have to replace the ODataModel by a JSONModel. The function createAlertListWith2Alerts creates a JSON Model with 2 Alerts.
Read more >How to Model Data: A Guide To JSON Data Modeling
This informative guide will provide a refresher on JSON and teach you how to model data using JSON. Be sure to check out...
Read more >Editing your model in json while keeping a reference to the ...
I have a function where I need to calculate something on the client side and change this in my model: var parsedJSON =...
Read more >Understanding JSON Modeling Simplified 101 - Hevo Data
In this article, you will learn about JSON Modeling and how it's different from Relational data model. Also, read about JSON Modeling ......
Read more >JSON methods, toJSON - The Modern JavaScript Tutorial
The JSON (JavaScript Object Notation) is a general format to represent values and ... But if we need to fine-tune the replacement process, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Agreed. That example uses legacy
Geometry
and can now be removed.Many thanks to those who helped with this!
Closing.
I vote to convert the models to
glTF
. We could import them in the editor and then use theExport GLB
option.BTW: At some point, we might want to consider to move
GLTFLoader
into the core. Since it is the recommended 3D format of the project, it’s only consequent to provide the corresponding loader in the main build.