Skip to content

ZhengtianZhu/shadowAnalysis-Cesium-1.10.3

Repository files navigation

Reference

https://www.iflytek.com/product-detail?link=city/cscn/3166

Motivation

Project goal: Transplanting the existing code in this link https://github.com/SuperMap/vue-iClient3D_for_Cesium from Cesium 1.6 to Cesium 1.10.3. However, the new project based on Cesium 1.10.3 cannot use any function in SuperMap, which is based on Cesium 1.6. That's why I need to rewrite some components of the original project. As for me, I'm responsible for the component in src/component/shadowAnalysis with my friends under my advisor's guidelines.

Zhengtian's part:

Rewrite the component in src/component/shadowAnalysis to make it work. This is time-consuming. referring to the initial software: https://www.supermapol.com/earth/vue-iEarth/examples/index.html

2023/6/1

I am replacing this "shadowQuery = new Cesium.ShadowQueryPoints(scene); ". At present, I need to write a similar function of this. I am referring to others' realization at present since it is a huge project. Finally, I choose to seek help from this link: https://www.liaomz.top/2023/04/18/cesium-zhong-shi-xian-yin-ying-lu-fen-xi/, which has the module I need.

Start date

2023/4/15

My advisor Lu Hou added these to illustrate the initial configuration.

Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Recommended IDE Setup

Type Support For .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.

Project 2

Due to privacy, I cannot upload the source code of the project. I mainly write some service codes there. Some snapshots are like these.

Besides, I also have a demo and did some attempts here.

  • load 3D model:

4f5330829d6e3776ab481eadd8e67ea f02f89a31edeb7f2b41ba2a23a61762 68a38395a56434586944e0122416e99

  • load terrain data:

36543bf28da4fd1f7716485c90ea59c

  • vue组件如何调用别人写好的js文件, js:Heatmap c0f6351dbdeaacc458dc6c148308386

  • What's more, I assist in looking for some third party plugins like Heat3Dmap 91a79fc773f4b9eb64688ad0cfafebe

I also use Blender to create 3D model, recently, though I am still studying.

86f93f5b1963d309dbadded478dbfdc

image

About

I'm still working on this component named shadowAnalysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published