Giter Club home page Giter Club logo

gallery's Introduction

Typing SVG

Property Data
Language / IDE JavaScript WebStorm
CI / CD Markdown Badge Github Badge Github Actions Badge Gitee
Tools & Platform HTML5 Badge CSS3 Badge JavaScript Badge Vue Badge React Badge TypeScript Badge threejs

📈 GitHub Activity Graph:

WebSite&Portfolio

💻csyedu.top

💰Donate(感谢您们的大力赞助❤️)

gallery's People

Contributors

steve245270533 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gallery's Issues

刚刚进入展厅后,第一次移动鼠标,视角会出现一个跳跃的感觉。

我的解决方案是,在core/index.ts的构造函数里,在this._initResponsiveResize();这句代码之后,强制设定this.orbit_controls对象的视角。

// 固定角度,AzimuthAngle相当于是左右,大小范围设置为0相当于是固定死
this.orbit_controls.minAzimuthAngle = 0
this.orbit_controls.maxAzimuthAngle = 0
// 固定角度,PolarAngle相当于是上下
// this.orbit_controls.minPolarAngle = Math.PI / 2
// this.orbit_controls.maxPolarAngle = Math.PI / 2

// 设置完后要更新一下
this.orbit_controls.update();

// 固定完之后再改回AzimuthAngle的默认值,否则就只能上下移动鼠标,左右就不行了。
this.orbit_controls.minAzimuthAngle = - Infinity;
this.orbit_controls.maxAzimuthAngle = Infinity;
// 固定完之后再改回PolarAngle的默认值
// this.orbit_controls.minPolarAngle = 0;
// this.orbit_controls.maxPolarAngle = Math.PI;

不知道大家是怎么解决的?

有一些疑问

你好。
在core/index.ts有这段代码
this.ui = new UI();
在ui/index.ts中
this.core = new Core();
这样是否会形成循环依赖呢?

鼠标点击地面移动

1.如果可以用鼠标点击地面就自己走过去在某些场景会不会更方便一些

2.可以在页面的右上角加一个帮助按钮---帮助刚进来的人了解怎么操作

3.如果场景大了的话可以在固定地点加个位置,在底部加个预览栏,点击就可以跳转过去

M1 mac 无法移动位置和视角

在M1Mac上成功启动了项目,控制台没有报错
浏览器的控制台也没有明显报错
但是用触摸板无法移动视角和位置
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.