binyan Posted June 4, 2014 Share Posted June 4, 2014 This code: this.mesh.setVerticesData(BABYLON.VertexBuffer.PositionKind, positions, true); this.mesh.setVerticesData(BABYLON.VertexBuffer.NormalKind, normals, true); this.mesh.setVerticesData(BABYLON.VertexBuffer.UVKind, uvs, true); this.mesh.setIndices(indices); Does work with Internet Explorer, and doesn't work with Chrome. When I say doesn't work I mean the mesh doesn't appear in the scene.It happened when I updated to the latest beta version. In previous version I worked with (where the setVerticesData had the signature (number[], string, boolean) instead of (string, number[], boolean) ) it worked just well in both browsers. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted June 4, 2014 Share Posted June 4, 2014 This works for me with Chrome. for setIndices I do not know, it may be the problem, but setverticesData works by taking into account the change of signature Quote Link to comment Share on other sites More sharing options...
binyan Posted June 4, 2014 Author Share Posted June 4, 2014 Maybe it happens because I have a huge amount of vertices? This is what I have:Indices: Array[135000] Normals: Array[68403] Positions: Array[68403] Uvs: Array[45602]If so, it still doesn't explain why it works with previous version. Quote Link to comment Share on other sites More sharing options...
binyan Posted June 4, 2014 Author Share Posted June 4, 2014 Ok, this is really weird, but it simply started to work. With no any change actually... So it seems that this topic is not relevant anymore. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.