Is there any way to keep the texture when I move the vertex of the Object3D

Started by wild0, May 22, 2013, 06:00:10 AM

Previous topic - Next topic

wild0

Can anyone help?I think I stock here

I implement the IVertexController to control the vertex of the mesh.
Then using the following subroutine update the mesh
public void updateObject3D() {
      //clip is a instance of Object3D
      Mesh clipMesh = clip.getMesh();
      clipMesh.applyVertexController();
      
      clip.touch();
      
   }
I can update a single vertex, but the texture will miss.
Is there any way to keep the texture when I move the vertex.
Roy

EgonOlsen

There shouldn't be any effect on the texture coordinates if you change a vertex. Which renderer are you using and are you using compiled objects if it's the hardware renderer?