I am changing the positions of some vertices inside a vertex shader but i can't find a way to get those new updated vertices positions back inside js (i'm currently using THREE.js : the vertex position of my mesh's vertices always remains the same). I found this link Retrieve Vertices Data in THREE.js, but glGetTexImage doesn't exist in webgl (and i'm quite skeptical about this floating-point texture method as well). Thanks for your help !
相关问题
- debugging webgl in chrome
- Rotating an Object properly around a pivot point g
- SecurityError for same-origin image texImage2D
- Loading texture from Web Worker in Three.js
- My object isn't reflects the light in Three.js
相关文章
- Get size of Object3D in Three.js
- Change color of mesh using mouseover in three js
- THREE.Object3D.add: object not an instance of THRE
- How to get OpenGL version using Javascript?
- Why do I need to define a precision value in webgl
- Check a face is upwards/downwards towards mouse di
- How to change one texture image of a 3d model(maya
- Why do my three.js examples not load properly?
If reading the data from the buffer is the only problem, you can do that like this:
WebGL - reading pixel data from render buffer
But setting all this up is complicated, and reading the texture might be slow, why not do this on the cpu?