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>
相关推荐
格林威10 小时前
AOI在PCB制造领域的核心应用
人工智能·数码相机·计算机视觉·视觉检测·制造·pcb·aoi
天天代码码天天12 小时前
海康相机通过透明通道控制串口收发数据
数码相机·海康透明通道
2501_9387802814 小时前
Ionic + Angular 跨端实战:用 Capacitor 实现相机拍照功能并适配移动端
前端·数码相机·angular.js
苏州知芯传感19 小时前
赋能智能制造:基于MEMS微振镜的高精度动态3D机器视觉
数码相机·3d·制造
杨朝为-蓝松抠图SDK1 天前
相机直播,HDMI线怎么选择
数码相机·绿幕抠图·绿幕直播·蓝松抠图·直播间搭建·发丝级抠图
夏之繁花2 天前
BeautyPlus v7.21.0 美颜相机修图编辑
数码相机·美颜相机
柠檬甜不甜呀2 天前
海康相机与机器人标定
数码相机·计算机视觉·机器人
冰冷的bin2 天前
【Harmony】鸿蒙相机拍照使用简单示例
数码相机·华为·harmonyos
格林威2 天前
AOI在新能源电池制造领域的应用
人工智能·数码相机·计算机视觉·视觉检测·制造·工业相机
格林威2 天前
AOI在传统汽车制造领域中的应用
大数据·人工智能·数码相机·计算机视觉·ai·制造·aoi