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 batch load and publish 3dml Model in the Secondary Development of TE

2025-01-16 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 batch load and release the 3dml model in the secondary development of TE, which is very detailed and has a certain reference value. Interested friends must read it!

In the process of secondary development of TE, after publishing the 3dml model with sfs or sgs, how to get the list of models published on sfs or sgs, use certain rules to load the model, and flexibly control the model layer.

Here is a list of the specific process:

1. Through the network request of TE, it is found that the data service address for obtaining the model list is: http://ip address or localhost/SG/streamer.ashx?request=GetCapabilities&service=3dml.

2. Enter this URL into the browser and return a string in xml format. The arrow in the picture is the name of the layer.

3. Get the content of xml through url, use WebClient on the C # side and ajax on the js side to parse the request. The key is to resolve the layer name.

4. The API for loading the 3dml model published by sfs under TE is in: Creator.CreateMeshLayerFromSFS, the parameter is ServerPath,layerName,ParentGroupID (optional), and the ServerPath is: http://ip address or localhost/SG/streamer.ashx,layerName is the layer name obtained from the above xml.

5. The layer can be loaded according to the above process.

These are all the contents of the article "how to bulk load and publish 3dml models in the secondary development of TE". Thank you for reading! Hope to share the content to help you, more related 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