Comments (4)
Sorry, looks like it's confirmed: https://stackoverflow.com/questions/14840026/dynamically-adding-vertices-to-a-line-in-three-js
You can only update content of buffers, you cannot resize buffers (this is very costly, basically equivalent to creating new geometry).
You can emulate resizing by pre-allocating a larger buffer and then keeping unneeded vertices collapsed / hidden.
from react-three-fiber.
Looks odd indeed. I logged the geometry, the vectors are in there. Mutating works, too: https://codesandbox.io/s/m74413rlq8 Could be that the size of the vertices isn't supposed to change in three?
from react-three-fiber.
@drcmda thanks for looking into this, I think it can be closed then.
I've seen that you closed this issue and then reopened shortly after, was the reopening a mistake?
from react-three-fiber.
yep, clicked the wrong button, just didn't want to close preemptively.
from react-three-fiber.
Related Issues (20)
- Zustand Update for Controls Causes Orbit Controls 'onChange' to Constantly Fire HOT 4
- Vendor Types For XRFrame Resolving Incorrectly HOT 2
- Anti-Aliasing does not seem to work on React Native
- fiber should have its own forums HOT 1
- Docs need forwardRef example and a slightly more advanced real world usage example HOT 2
- max FPS control in useFrame() HOT 1
- useRef returns T or undefined, but NodeProps.ref only returns T HOT 3
- <primitive> removed node after reload
- useLoader is throwing a Promise HOT 1
- [Next js] useLoader() throws TypeError: Failed to parse URL from /lut/F-6800-STD.cube
- Material Loading Issue with useGLTF and primitive Component in React Native on Android Devices HOT 7
- RTTR: NaN values in state.viewport HOT 2
- How do I use PointNodeMaterials in React Three Fiber?
- Invalid LocalState of primitives after resuse
- Building R3F with WordPress and then PageSpeed timeout. HOT 1
- Add ability to use a cache key for useLoader
- When I install and use, I get an error HOT 1
- Allow passing loader instances to `useLoader` HOT 2
- deprecated three js import HOT 1
- Vite rollup not working with images
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 react-three-fiber.