In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to achieve Draco model compression in Cesium development. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Designed by Google's Chrome media team, Draco is designed to significantly accelerate the encoding, transmission and decoding of 3D data. Draco's research and development team applied this open source algorithm primarily to chorme browsers. Google makes this algorithm open source, and now developers around the world can explore the application of Draco in other scenarios. Google currently offers two versions of the code: JavaScript and C++.
Draco can be used to compress mesh and point cloud data. It also supports compression points (compressing points), connection information, texture coordination, color information, normals (normals) and other general attributes related to geometry.
Github project address of draco:
Https://github.com/google/draco
Cesium1.44 begins to support parsing the gltf/glb model of draco compression algorithm, and compresses the model using tools with draco algorithm, such as blender, etc. When Cesium loads the model, the model is parsed.
Compared with the model compressed by draco algorithm, the amount of data in the model is much smaller, which will improve the transmission speed on the network.
In the mass model of 3D Tiles, using this algorithm to compress in advance can greatly reduce the amount of data transmitted by the network.
Cesium officially wrote a blog post like this:
Https://cesium.com/blog/2018/04/09/draco-compression/
At the same time, Cesium uses Web Assembly technology to parse the model at the front end, which improves the parsing performance of the model. The d raco_decoder.wasm file of Web Assembly technology can be seen in the Cesium distribution package. In the case of compression increasing the transmission speed, the quality of the model does not decrease. Thank you for reading! This is the end of the article on "how to achieve Draco model compression in Cesium development". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.