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"

fbx import takes much longer in 4.19 as in 4.18.3

I wanted to import a larger fbx file to the UE4Editor. With 4.18.3 it takes around 5 minutes but with 4.19 it takes more than 4 hours to import the same file on the same computer. Did something change in fbx import feature within this versions?

Product Version: UE 4.19
Tags:
more ▼

asked Mar 29 '18 at 01:13 PM in Using UE4

avatar image

tgroll
1 1 3

avatar image tgroll Apr 04 '18 at 01:05 PM

So I had a deeper look inside of what is taking so much more time as before and I found out that the calculations of the overlapping vertices while building the skeleton mesh is the problem.

So in MeshUtilities.cpp inside of the BuildSkeletalMesh function the method UpdateOverlappingVertices was added and this takes very long if you have a lot of vertices. (My model has around 2.4 Millions)

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

1 answer: sort voted first

Okay I have found how I could optimize my modell for faster import. I have seen that Unreal groups the vertices in sections with same material. For my modell I reduced the total number of materials to a minimum so a lot of vertices had the same material even if they belong to different objects. So the import goes much faster if I duplicate the material when used in different objects. That is because the UpdateOverlappingVertices function does it work in quadratic time and for each section individual. In my model I had for instance one section with 2.4 millions of vertices and after my optimizations I had devided them in 50 sections. So the function could run much faster over the vertices.

more ▼

answered Apr 05 '18 at 09:07 AM

avatar image

tgroll
1 1 3

(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