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 publish 3dtiles models using IIS

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

Share

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

Editor to share with you how to use IIS to publish 3dtiles model, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

3dtiles is the batch model loading format of Cesium. The file directory of 3dtiles contains several .json files and .b3 dm model files, which can be published using web servers such as IIS, and the te7.0.2 of skyline directly loads the web version of 3dtiles, which brings diversification for data release.

3dtiles model directory structure:

TE supports loading 3dtiles models:

The process for publishing 3dtiles using IIS is as follows:

1. Create a new virtual directory in IIS with the name according to your own requirements, select the folder placed by 3dtiles in the physical path, and set to allow directory browsing.

2. IIS can identify .json files, but IIS cannot identify .b3 dm model files, so set the MIME type and add an item with the suffix .b3 dm,MIME and application/octet-stream.

3. The 3dtiles model is called using js in Cesium, and cross-domain problems sometimes occur. Set "HTTP response header" in IIS to allow cross-domain access, and add\ name: Access-Control-Allow-Headers value: content-type\ name: Access-Control-Allow-Methods value: GET,POST,PUT,DELETE,OPTIONS\ name: Access-Control-Allow-Origin value: *\, the above three key-value pairs.

In this way, the 3dtiles model can be accessed through the published URL.

The above is all the content of the article "how to use IIS to publish 3dtiles models". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

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