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"

reduce draw calls on mesh instances from maya

Hello everyone out there,

I am new to unreal and have been using it for past 6 months. last week I encountered the term draw calls and thought how hard can it keep them under control coz I only have 10 individual pieces which are instanced and scattered 13000 times in Maya and then imported into unreal using FBX imported using Import Into level.

when I check draw calls count using the ***

statSceneRendering

*** CMD it shows more than 20,000 which is extremely high for VR. according to unreal the suggested draw call shd not be more than 500.

I only have 10 Individual pieces and 4 shaders which are making the whole environment but I don't know why I am getting so many draw calls.

I have created a test scene replicating the same issue I am having if anyone wants to give it a shot.

sample scene download Link : https://1drv.ms/u/s!AoPgVfp1H6gjoQyyiIOROKe3BBFT

what I don't understand is why UNREAL doesn't automatically create INSTANCED static mesh instead of static mesh in blueprint class upon importing my FBX file for all the instanced geometry which I instanced in Maya

please help so that I can finish the project and not have to work on this during Christmas. My Christmas is on the line Guys.

Thanks a lot for your time.

alt text

FBX imported using Import Into level alt text

alt text

BluePrint created upon importing the FBX using IMPORT INTO LEVEL alt text

I should not have more than 12-15 Mesh draw calls coz all elements are Instances of first object in the row but upon checking I see one draw call getting generated for each element in the scene. alt text

Product Version: UE 4.14
Tags:
more ▼

asked Dec 16 '16 at 07:01 AM in Blueprint Scripting

avatar image

chhikara
11 1 4 5

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

1 answer: sort voted first

Hello, I am no expert but I have been studying instancing a lot in UE4. Since you asked this last year you may already be aware but I've tested instanced meshes created in Maya and imported, vs instanced meshes added with Blueprints... and the performance costs were about the same.

Also, it seems that instances don't alleviate draw calls on the GPU, but they work as intended on the CPU.

more ▼

answered Oct 24 '17 at 12:46 AM

avatar image

Daphnis26
22 2 2 4

(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