Jump to content

Will show/hide entity influence the framerate?


tkunze
 Share

Recommended Posts

On other game engines i worked with i could greatly improve the performance by creating my own scene management where i set the hidden flag to all entities not shown (e.g. if the player is outside a building it is not necessary to render the interior).

 

Will this improve the performance in leadwerks or is it a waste of time to implement such a mechanism?

Link to comment
Share on other sites

I'm rather surprised that OGL says that automatically, because let's say I'm on one side of a cliff, and models are on the other side, my FPS rate goes down if I look in this direction.

 

Sucky schema:

 

 

         Cliff
Models ___/\___ < Camera        FPS: 20

 

 

         Cliff
Models ___/\___ Camera >        FPS: 50

 

Even though not one model is visible in the first case, I still get lower FPS. Maybe because it doesn't work with Terrains/Vegetation?

Link to comment
Share on other sites

It doesn't work with terrain the same way. You need to hide some wall inside the terrain, but there was some other way to do it too, which I can't remember right now.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

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...