BangTao Posted March 2, 2017 Share Posted March 2, 2017 Hi.。。erm ..can somebody tell me why i call " mesh.getVerticesData(BABYLON.VertexBuffer.PositionKind); " will return wrong data(there are many repeated data here,not the verticesData i think)?that is not scientific!!! there shouldn't hava the same position.... PG: http://www.babylonjs-playground.com/#3BQUM#0 thanks for your time! Quote Link to comment Share on other sites More sharing options...
JohnK Posted March 2, 2017 Share Posted March 2, 2017 There are good reasons for repeated vertex data, one of which is correctly covering the mesh with material. Removing repeated vertices can have un-predicatable results Some reading for you. http://babylonjsguide.github.io/advanced/Facets.html http://babylonjsguide.github.io/snippets/Minimise_Vertices http://www.babylonjs-playground.com/#1JBMJ3#17 comment line 78 to see the difference http://www.babylonjs-playground.com/#1H7L5C#40 GameMonetize and BangTao 2 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.