x

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"

Whats more efficient regarding mesh usage.

What is a better approach for building a level (more efficient)

  • Using a smaller wall mesh multiple times for the whole wall. EG 5x 100x100x10 walls OR

  • Using a larger wall mesh to do the whole wall EG 1x 100x500x10 wall

If I use the smaller wall I will require less meshes to be packaged in my game as I will be repeating them. If I use the larger walls I will need to create more custom sizes but my levels will require less walls deployed.

Product Version: UE 4.10 Preview
Tags:
more ▼

asked Nov 04 '15 at 11:43 AM in Using UE4

avatar image

EvilRadish
6 1 2

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hi EvilRadish,

This comes up often actually and can be debated for either method. The idea is to use modular design so that you can use the same mesh over and over with fewer need for objects that are unique and will only be used once. This is great for level design. However, people tend to over use modularity by making very small walls that can be pieced together like your example above. It's better to use your second example where your wall is much longer.

The reason that I would not suggest for your first example is that if you have a lot of these wall pieces loaded in a single view, let's say you have a room and there are ~30 of these small wall pieces that make up this view you now have 30 draw calls, which can hinder performance. If you use the longer piece and we say that there are only 6 used you now only have 6 draw calls for these static meshes. This does not include the draw calls for whatever material is being applied to the meshes, but just the static meshes being loaded. So in this example you've save ~24 draw calls by just using a larger wall piece.

I hope this helps and if anything is confusing or I didn't explain it well enough let me know.

Tim

more ▼

answered Nov 04 '15 at 03:07 PM

avatar image

Tim Hobson ♦♦ STAFF
49k 886 99 875

avatar image EvilRadish Nov 04 '15 at 03:57 PM

Hey Tim, that is a perfect explanation and cements my initial thoughts.

Thanks for the fast response!

(comments are locked)
10|2000 characters needed characters left
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