Comments (2)
The function applyCameraUp triggers several calculations, as seen here:
camera-controls/src/CameraControls.ts
Lines 2475 to 2491 in cf39295
I am concerned that making it animatable within the tick function might lead to performance issues.
Typically, changing the camera's up direction is uncommon in regular usage, so it might be more efficient to handle this as a separate function and call it only when necessary.
What are your thoughts on this approach?
from camera-controls.
Related Issues (20)
- Not update in worker HOT 5
- Dolly to Cursor and focalOffset HOT 5
- I want to replace camera-controls with the default controls in my project, here is an example, how can I do it to be compatible correctly? HOT 2
- fitToBox on a plane: how to prevent plane to get perpendicular to view? HOT 1
- Dolly to cursor reaches limit HOT 4
- Dolly to cursor does not maintain steady speed HOT 1
- Roll/tilt control HOT 1
- Can't zoom after switching between cameras HOT 10
- Cannot dispatch custom event HOT 4
- It would be nice to have setFov method with smooth transition HOT 2
- Control functions skip frames when frameloop = demand HOT 3
- setFocalOffset -- How to keep the model always facing the screen HOT 2
- Use .isSphere instead of "instanceof Sphere" HOT 2
- The automated release is failing 🚨 HOT 1
- Can you add an "autoRotate" function, like OrbitControls in Threejs? HOT 2
- moveTo changes target incorrectly
- using "isSphere" requires three.js version compatibility bump to r160 HOT 3
- Collision detection is abnormal HOT 3
- Behavior similar to three.js Trackball Controls HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camera-controls.