Jump to content

Bigger the CSG slower it gets?


Andy Gilbert
 Share

Recommended Posts

Whilst porting my flight code over, for a terrain ive been using a single CSG box as a ground plane.

 

But ive noticed the bigger i make it, the longer loading and slower it gets why is this?

 

Making a really big single CSG box makes my project lock-up at runtime for a good 20 - 30 seconds before it comes back to life. What is it doing?

 

Make it small and it loads faster, make it smaller again and it loads instantly.

 

Andy

The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do.

 

Leadwerks Game-Ready 3D Models:https://sellfy.com/gib3d

Link to comment
Share on other sites

Navmesh generation may be slowing it down. Navmesh generation is presently completely dynamic, which is fine for small scenes but slow for larger ones. In order to accommodate larger worlds with terrain, navmeshes are going to be generated in the editor and saved, in a new dialog that will appear in the next update. This also provides extra control over a few parameters the routine uses.

 

 

Link to comment
Share on other sites

I'm not telling it too? I assume the editor automatically does this? How would I tell it not to when using the editor and lua and running the project from within the editor?

 

Andy

The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do.

 

Leadwerks Game-Ready 3D Models:https://sellfy.com/gib3d

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.

 Share

×
×
  • Create New...