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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Problems with importing .obj files with matching .mtl files

I suppose because assets do not have extensions, UE has problems batch importing numbered list of .obj files when these object files have matching material files.

For example:

shape1.obj shape1.mtl shape2.obj shape2.mtl

Trying to import these two shapes is giving problems. The problem is that the material that is imported for the first shape is named ' shape2' (I guess because you cannot have assets with the same name), so then it won't import shape2.obj because you already have an asset named 'shape2'. This is something that needs to be fixed!

Product Version: UE 4.8
Tags:
more ▼

asked Aug 09 '15 at 07:24 PM in Using UE4

avatar image

BramV
391 36 36 79

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

1 answer: sort voted first

HI!

UE4 does not import material info. Does not matter, what the format you use - OBJ with MTL or FBX. Because Unreal Render differs from other renderers. After import, UE4 just create default material or materials, dependently how many materials you assign to your mesh in 3D programm. After this, you need import textures and create materials in UE4 from zero.

more ▼

answered Aug 10 '15 at 01:26 PM

avatar image

svv3dUDN
8.4k 254 41 399

avatar image BramV Aug 10 '15 at 05:12 PM

I don't know... there is defenitely a difference in importing when I remove the .mtl files before import, then it create a material called default_material. If I leave the material files in the directory, it will create a material called similar to the .obj name but with the number increased. So it does seem to do something with the material file. Can you explain that?

avatar image svv3dUDN Aug 11 '15 at 08:39 AM

How you named material in your 3D program? The UE4 get material name from OBJ or FBX file.

alt text

alt text

mat_name01.png (100.5 kB)
mat_name02.png (242.8 kB)
(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