Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to transform gltf and glb in Cesium Development

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to convert gltf and glb in Cesium development, which has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, let the editor take you to understand it.

Cesium development, add a single model, to be converted to gltf format or glb format, glb is the compressed format of gltf, the official provides a variety of model format conversion tools, but there are still some problems in practice. Download a small model from the Internet, or whoever brings a model at random, sometimes there is no map, sometimes it cannot be converted at all. Later, I saw an article written for the model maker on cesium, and the URL is as follows:

Https://cesium.com/blog/2014/12/15/gltf-tips-for-artists/

Began to export the dae format model from 3dmax, using the official COLLADA2GLTF conversion, has been unsuccessful, the map of the Chinese path name, missing maps and structural problems have been reported, conversion can not produce normal results, later, occasionally found that win10 comes with a 3D builder can also open gltf, but compression conversion once glb,cesium can not be opened. 3dmax also has its own conversion gltf and glb tools, around a big circle, 3dmax direct export of the model, can be used, conversion of gltf, will be divided into bin and map files, conversion glb files, are compressed together, of course, later can also install a nodejs version of gltf-pipeline, you can convert glb format, and model draco compression. For draco compression, see the following URL: https://github.com/google/draco, using this compression can reduce the size of the glb model and facilitate network transmission, but the front end still requires the corresponding code to decompress. 3dmax can also export model files in fbx format, there are open source fbx conversion glb tools, can also be converted, this success rate will be better.

Install an open source model tool blender, support dae, obj, fbx and other format files, can export gltf and glb files, this only model import, look no problem, can export gltf and glb. For lod, you can search for content found in msft_lod, and there is an open source plug-in for generating msft_lod on blender, which can be found on github. If the model is too large, it still needs to be converted to 3dtile, or the loading speed of the system is slow, and the operation will stutter. You can use tools such as lab or fme to convert, and the tilted model cc can be converted. Thank you for reading this article carefully. I hope the article "how to convert gltf and glb in Cesium Development" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report