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>
相关推荐
甄心爱学习12 小时前
计算机视觉11-相机模型与多视几何
人工智能·数码相机·计算机视觉
gtr202012 小时前
OpenGL lookAt 函数 参数说明
数码相机
博图光电1 天前
3D TOF 视觉相机:以毫秒级三维感知,开启智能交互新时代
数码相机·3d
ZPC82101 天前
100G相机接口
数码相机
张人玉1 天前
VsionMaster筛选机错误情况
数码相机·c#·通讯·网络通讯
3DVisionary2 天前
DIC多相机协同方案在复杂结构360°全景形貌与变形场检测中的应用研究
数码相机·需求分析·dic多视场/多相机·360°全周测量·数模比对·非接触式检测·三维变形分析
天外飞雨2 天前
ZED2i ROS消息
数码相机
喵喵侠w2 天前
uni-app微信小程序相机组件二次拍照白屏问题的排查与解决
前端·数码相机·微信小程序·小程序·uni-app
Wild_Pointer.3 天前
简析单目相机模型中的针孔模型
c++·数码相机·opencv
简单点好不好4 天前
大恒相机-mono12-python示例程序
开发语言·python·数码相机