Package com.jme.scene

Examples of com.jme.scene.TriMesh.reconstruct()


     
      int[] indexes = {0,1,2,2,3,1,2,4,3,4,5,3,6,7,8,8,9,7,
              8,10,9,10,11,9,1,7,9,1,3,9,9,3,11,3,11,5,
              6,0,8,8,2,0,8,10,2,10,4,2,4,11,5,10,4,11,1,7,6,0,6,1};
     
      mesh.reconstruct(BufferUtils.createFloatBuffer(vertexes),
              BufferUtils.createFloatBuffer(normals),
              null, null,BufferUtils.createIntBuffer(indexes));
     
     
     
View Full Code Here


     
      int[] indexes = {0,1,2,2,3,1,2,4,3,4,5,3,6,7,8,8,9,7,
              8,10,9,10,11,9,1,7,9,1,3,9,9,3,11,3,11,5,
              6,0,8,8,2,0,8,10,2,10,4,2,4,11,5,10,4,11,1,7,6,0,6,1};
     
      mesh.reconstruct(BufferUtils.createFloatBuffer(vertexes),
              BufferUtils.createFloatBuffer(normals),
              null, null,BufferUtils.createIntBuffer(indexes));
     
     
     
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.