https://www.iflytek.com/product-detail?link=city/cscn/3166
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.
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
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.
2023/4/15
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.
- VS Code + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
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:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensions
from VSCode's command palette - Find
TypeScript and JavaScript Language Features
, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Window
from the command palette.
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:
- load terrain data:
I also use Blender to create 3D model, recently, though I am still studying.