Cesium与Three相机同步(3)

Cesium与Three融合的案例demo

html 复制代码
<!DOCTYPE html>
<html lang="en" class="dark">

<head>
  <meta charset="UTF-8">
  <link rel="icon" href="/favicon.ico">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Vite App</title>
  <style>
    html,
    body,
    .main,
    #app {
      margin: 0;
      padding: 0;
      overflow: hidden;
    }

    .box-card {
      margin: 5px;
      margin-bottom: 0;
      background: rgba(71, 71, 71, 0.8);
    }

    .cesium-viewer-cesium3DTilesInspectorContainer {
      display: none !important;
    }

    #top-menu {
      position: absolute;
      z-index: 1;
      pointer-events: none;
    }

    .top-wrapper {
      width: 100%;
      height: 70px;
      opacity: 0;
    }

    .top-bag {
      width: 100%;
    }

    .top-title {

      position: absolute;
      width: 600px;
      height: 65px;
      top: 15px;
      left: 50%;
      text-align: center;
      letter-spacing: 8px;
      font-size: 36px;
      color: #fff;
      opacity: 1;
      transform: translate(-50%, 0);
    }

    .HYZongYiTiJ,
    .SourceHanSansCN-Medium {
      font-size: 25px;
      font-style: normal;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
  </style>
</head>

<body>
  <div class="top-wrapper" id="top-menu" style="opacity: 1;"><video autoplay="autoplay" loop="loop" muted="muted"
      src="./img/UI/top.webm" type="video/webm" class="top-bag"></video>
    <p class="top-title HYZongYiTiJ">
      GIS与3D引擎融合案例
    </p>
  </div>
  <div id="app"></div>

  <!-- <script type="text/javascript" src="./scripts/element.index.js"></script>
  <link rel="stylesheet" href="./scripts/element.index.css"> -->
  <script src="./dat.gui/dat.gui.min.js"></script>
  <link rel="stylesheet" href="./dat.gui/dat.gui.css">
  <!-- <link rel="stylesheet" href="./css/measuretool.css"> -->
  <link rel="stylesheet" href="./css/common.css">
  <!-- <script src="./demojs/lineComon.js"></script> -->
  <script type="text/javascript" src="./demojs/deployConfig.js"></script>
  <script type="module" src="/src/main.ts"></script>
  <script src="./scripts/wow.js"></script>
</body>

</html>
相关推荐
格林威11 小时前
Baumer相机金属焊缝缺陷识别:提升焊接质量检测可靠性的 7 个关键技术,附 OpenCV+Halcon 实战代码!
人工智能·数码相机·opencv·算法·计算机视觉·视觉检测·堡盟相机
格林威15 小时前
Baumer相机金属弹簧圈数自动计数:用于来料快速检验的 6 个核心算法,附 OpenCV+Halcon 实战代码!
人工智能·数码相机·opencv·算法·计算机视觉·视觉检测·堡盟相机
码农三叔16 小时前
(8-2)传感器系统与信息获取:外部环境传感
人工智能·嵌入式硬件·数码相机·机器人·人形机器人
暮志未晚Webgl2 天前
UE5使用CameraShake相机震动提升游戏体验
数码相机·游戏·ue5
哎呦 你干嘛~2 天前
相机+二维舵机云台的人员追踪
数码相机
木子啊2 天前
ProCamera 智能水印相机解决方案 (UniApp)
数码相机·uni-app·水印相机·小程序水印
chen_jared2 天前
slam十四讲第五章习题:相机内参变化与SLAM快门选择
数码相机·slam·标定
8K超高清3 天前
回望2025,纷呈超清智能科技影像世界
网络·人工智能·科技·数码相机·智能硬件
ballball~~3 天前
ISP-AWB(Auto White Balance 白平衡)
图像处理·数码相机·算法
JMchen1233 天前
Android CameraX深度解析:从Camera1到CameraX的相机架构演进
android·java·数码相机·架构·kotlin·移动开发·android-studio