Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Any tips for increasing the performance when using continuously updating custom mesh components?

Hi, I have a set of custom mesh components that I create in the construction script. Each of these meshes are then continuously updated in every frame of the game based on the location of the player character. But when I have more than a hundred of these in a level, the performance takes a huge dip. I was able to push the count up to a couple of hundreds by disabling shadows on them. But if I wanted to have more of these meshes in a level, are there any properties that can be tweaked to increase the performance? I'm working on this using blueprints, so any solution that could be tried out in blueprint would be appreciated. Thanks.

Product Version: UE 4.8
more ▼

asked Jul 11 '15 at 05:03 AM in Blueprint Scripting

avatar image

1k 83 75 118

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

1 - use multithreading for different arrays you need to produce. 2 - make sure that you are not generating traiangle buffer and uv array when it is not needed ( many times it happens that the triangle array and uv array does not need any update. e.g. you have a sureface which you simulating a wave in its triangles : it means that triangle and UV wise you don't need update. just the location of the vertex array needs update )

more ▼

answered Aug 28 '15 at 10:04 AM

avatar image

367 17 20 31

avatar image Stormrage256 Sep 18 '15 at 01:34 PM

Hi plangton, do you know if it's possible to disable triangle buffer and uv array generation using blueprints?

avatar image plangton Sep 18 '15 at 02:07 PM

you need to generate them yourself, so after generating them once, use a boolean flag for not going to the call flow regarding generating triangle mesh and uv again.

avatar image Stormrage256 Sep 18 '15 at 04:24 PM

Oh did you mean not to destroy and create them every frame and instead just store them and update only the vertex positions? That's what I'm doing right now, but even the updating process is really taxing when called upon every frame for a 60 fps game.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question