Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

CAD Models Wont Texture

Discussion in 'Formats & External Tools' started by conorliddy, Jun 27, 2016.

  1. conorliddy

    conorliddy

    Joined:
    Jun 27, 2016
    Posts:
    1
    Hey,

    I am developing a model using Solid Edge, I exported the Model to VRML which I imported to MeshLabs, from Meshlabs I exported it to .OBJ
    Bring my .OBJ into unity as an asset I was unable to texture it.
    The model seems to change to the general colour of the texture, but no detail in the texture.

    I.e. if I applied a dark grey brick texture, the model would turn to the shade of grey but there would be no brick texture.

    Has anyone had any experience importing CAD models into Unity before?
    I've read online that the models may need re-UV'd or materials may need to be re-applied, can anyone point me in the direction of how this is done?
     
  2. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    Did the model receive proper UVs in one of the applications it was in prior to being imported into Unity?
    The easiest method I know of as an artist is to import the model into a 3D package, Max, Maya, blender, other and confirm UVs are on the model then export out of 3D into Unity.
    If UVs are not on the model (the texture doesn't look correct in the 3D app) the prior softwares are not providing correct UV coordinates so the texture can't be locked onto the mesh correctly in Unity.
    If UVs are not setup - this process can be done in the 3D app.

    Hard surface UV's are pretty simple to accomplish, (google for 1000 results) however keep in mind creating multiple UV sets for a hard surface component (the engineer method of applying materials to mesh components) isn't the best method for real-time rendering in a game engine. The most optimized/economical method for a game engine is one UV set for one component or group of multi-meshes that combine to form a complete model.