Dad72 Posted June 26, 2014 Share Posted June 26, 2014 Hi, When I add this has my ground: (optimize)ground = BABYLON.Mesh.CreateGround();ground.optimize();I fall from 60 fps to 27 fps also I do not see the use of "chunksCount" in the signature, in the code. (I guess it should go instead of 32)GroundMesh.prototype.optimize = function (chunksCount) { this.subdivide(this._subdivisions); this.createOrUpdateSubmeshesOctree(32); }; Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 26, 2014 Share Posted June 26, 2014 THis is not always usable (this is mainly for collisions and picking). And 32 should not be there Quote Link to comment Share on other sites More sharing options...
Dad72 Posted June 26, 2014 Author Share Posted June 26, 2014 Do not use optimizes then. OK. Thank you. 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.