Jump to content

Ground optimize seems to be greedy


Dad72
 Share

Recommended Posts

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);        };

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...