Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Serious-Ray · Jul 03, 2013 at 03:08 PM · materialsuv mappingobj

Is there a way to import all materials for an OBJ file correctly mapped?

When I drag an OBJ and its corresponding MTL file into the editor there are two unwanted things happening:

  1. The resulting object has one material more than stated in the OBJ and MTL. It's always called "No Name".

  2. The "No Name" material appears to have the actual UV map data while the others don't seem to be mapped to any face.

Is it possible to correctly import a OBJ file and its corresponding MTL file without that extra material but with the other actual materials correctly mapped?

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image gamerant · Jul 07, 2013 at 09:26 PM 0
Share

From what i've read so far and with what i've done i found that .fbx imports work best.Not sure about the maping import with the objects though.

avatar image tw1st3d · Jul 07, 2013 at 09:55 PM 0
Share

What program are you exporting from? Blender, $$anonymous$$aya, 3DS $$anonymous$$ax, Cinema4D, etc?

avatar image Serious-Ray · Jul 07, 2013 at 10:19 PM 0
Share

We're a group of people exporting from Blender, $$anonymous$$aya and Cinema4D. I can't import FBX in Blender just like that and since I'm managing the content and watching the mesh structures, I'd like to easily access the content without having to install $$anonymous$$aya or Cinema4D. The OBJ specification would suffice for our models and importing e.g. into Blender works fine but it seems Unity has problems mapping materials correctly if you don't use some specific structure which I stumbled across on the forums or unityAnswers aswell. (Which was after I asked the question.) I haven't tried that out yet, since I stumbled across the Autodesk FBX Converter which is enough for now, if I want to check a specific model's mesh e.g.. And using FBX with Unity seems to be less cumbersome at the moment. (That is, if you're not exporting to FBX from Blender...Unity interprets the rotation property in the FBX exported by Blender as the rotation of an Unity object and not the default orientation of the actual mesh, which can cause problems) But using FBX where I theoretically should be able to use OBJ is only a workaround and not a real solution so I didn't post it as an answer.

avatar image tw1st3d · Jul 09, 2013 at 05:50 PM 0
Share

I'm not too familiar with Blender, but I know that Cinema4D will not export materials properly. What you can do with Cinema, is use Bodypaint to create your materials and textures, and save them out, then export the object, and those will import properly. Other than that, I have no advice.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

17 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to change object scale but keep material with old scale by script? 0 Answers

What's the most logical and efficient way to handle color variations for a single model? 1 Answer

Texture stretches verticaly on some objects and work well on other objects 0 Answers

My mesh didn’t appear in Unity 0 Answers

How to export the materials of a model to a 2D UV map .png? -1 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges