Wireframe indices update

Hi everybody,

I have trouble with wireframe display, here is my use case:

  • Creation of myBufferGeometry and myMaterial, then myMesh
  • myMaterial.wireframe = true; (Here it works fine)
  • Then I update the geometry with: myBufferGeometry.copy(newGeometry)

(The newGeometry have not the same number of triangles)

Then indices to display segments for wireframe seems to not been updated, because there’s display issues.

Is there a way to update the wireframe indices? I can’t find where it is computed in the source code.


Author: Fantashit

2 thoughts on “Wireframe indices update

Comments are closed.