新增天通卫星系统
This commit is contained in:
@@ -117,6 +117,7 @@ const adder = (num) => {
|
||||
const makeTopic = () => {
|
||||
const satelliteSystem = {
|
||||
beidou: "中国北斗卫星导航",
|
||||
tiantong: "天通卫星系统",
|
||||
"gps-ops": "美国全球定位",
|
||||
"glo-ops": "俄罗斯格洛纳斯卫星导航",
|
||||
galileo: "欧盟研制伽利略卫星导航",
|
||||
|
||||
@@ -50,6 +50,7 @@ onMounted(
|
||||
|
||||
const option_dic = {
|
||||
beidou: "中国北斗卫星导航系统",
|
||||
tiantong: "天通卫星系统",
|
||||
"gps-ops": "美国全球定位系统",
|
||||
"glo-ops": "俄罗斯格洛纳斯卫星导航系统",
|
||||
galileo: "欧盟研制伽利略卫星导航系统",
|
||||
|
||||
@@ -2513,6 +2513,10 @@ const onDataSourceReady = ({ viewer, cesiumObject }) => {
|
||||
} else if (element.description._value.indexOf("IGSO") !== -1) {
|
||||
element.model.uri._value = IGSOModel.model._resource;
|
||||
}
|
||||
} else if (element.properties.satelliteType._value == "Tiantong") {
|
||||
if (element.description._value.indexOf("GEO") !== -1) {
|
||||
element.model.uri._value = GEOModel.model._resource;
|
||||
}
|
||||
} else if (element.properties.satelliteType._value == "GPS") {
|
||||
// 指定基于漫反射和镜面反射图像的照明的贡献,调整模型亮度
|
||||
element.model.imageBasedLightingFactor = new Cesium.Cartesian2(20, 1);
|
||||
|
||||
@@ -78,7 +78,6 @@ import { CloseBold, Plus, RefreshRight, Minus } from "@element-plus/icons-vue";
|
||||
import * as THREE from "three";
|
||||
|
||||
import { OrbitControls } from "three/examples/jsm/controls/OrbitControls";
|
||||
// import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader.js";
|
||||
|
||||
import sky from "../../assets/sky.jpg";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user