#
luxiaotao1123
2024-08-20 9d71e24e7982f6915e5f832512925bee9b245f35
#
3个文件已修改
13 ■■■■ 已修改文件
src/components/camera.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/house.jsx 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/camera.jsx
@@ -25,7 +25,7 @@
            <PerspectiveCamera
                ref={cameraRef}
                makeDefault
                position={[0, 350, 1150]}
                position={[0, 600, 1150]}
                fov={48}
                near={1}
                far={100000}
src/components/house.jsx
@@ -9,7 +9,8 @@
const House = (props) => {
  const {
    wallThickness = 2,
    wallOpacity = .9,
    wallOpacity = .8,
    roofOpacity = .1,
    width = DEBUG ? 14000 : 1400,
    length = DEBUG ? 12000 : 1200,
    height = DEBUG ? 4000 : 400,
@@ -522,7 +523,7 @@
          metalness={1.0}
          roughness={0.8}
          transparent={true}
          opacity={wallOpacity}
          opacity={roofOpacity}
        ></meshPhysicalMaterial>
      </mesh>
      {/* 顶部第二层 */}
@@ -537,7 +538,7 @@
          metalness={1.0}
          roughness={0.8}
          transparent={true}
          opacity={wallOpacity}
          opacity={roofOpacity}
        ></meshPhysicalMaterial>
      </mesh>
      {/* 顶部第三层 */}
@@ -552,7 +553,7 @@
          metalness={1.0}
          roughness={0.8}
          transparent={true}
          opacity={wallOpacity}
          opacity={roofOpacity}
        ></meshPhysicalMaterial>
      </mesh>
    </group>
src/store/index.js
@@ -5,7 +5,7 @@
    {
        text: 'Hello World',
        shelfList: {},
        autoRotate: false,
        autoRotate: true,
        autoCruise: false,
        lookAt: { x: 0, y: 0, z: 0 },
        cruiseAgvNo: '2',