How to import a .obj with a .mlt into Maya? - unity3d

I have a folder with a .obj file, a .mlt file, and a number of .jpgs that are textures for the .obj file. Here's a link to the folder.
I'm trying to import this .obj into either Maya or Unity 3D, and when I do I only see a gray, untextured object. How can I get my model to appear with the textures/materials in the folder? From what I gather from elsewhere on the web, .mlt files are sort of tricky to work with in combination with .objs, but is there anything I can do here that will let me get this model to render properly with these materials in Maya or Unity 3D?
Grateful for any help.

From what I've seen online as well, Maya doesn't play nice with .mlt files. I think the best solution is to grab a copy of Maya LT (or download the trial), open your .obj w/ .mlt, and use the FBX plugin (built-in) to export a .fbx file which is compatible with both Maya and Unity.

Related

How can I import the full location from the game into Blender?

How can I import the full location from the game (made on Unity) into Blender? The screenshot shows a set of folders that were in the location file in the game itself.
Enter image description here
I can easily assemble a location from Mesh files, but at the texturing stage I don't know what to do. Manually is too much work. How do I import the entire location from these folders so that the textures are also applied?
You can import your unity file to blender only if you have unity file in FBX form , save unity or export unity file in FBX file and then go in blender , You will get an option to "IMPORT IN FBX FORMAT" , click and import the unity file in that.
Whether textures are auto-applied has to do with whether whoever made the models embedded the textures into the models when exporting them. For this, whoever made the model needs to export the model in FBX format and make sure in export settings that the textures are embedded inside the FBX file.
Also, why are you working with Unity at the texturing stage? Lookdev should be done in a 3d program (substance painter etc). Use neutral lighting for best results (white skydome light).

Can't apply materials in unity from .mtl file

I have imported a fbx file with all the textures and materials but .mtl file can't seems to be read by unity I have tried extract textures form the folder but it doesn't help either

Unity: export to gltf 2.0 format

Is there a way to get a Unity store asset downloaded (consisting of a folder containing FBX model + separate animations in FBX + separate textures in png etc) as a gltf binary?
If so, can someone guide me. Thanks.
I know this is late to the party, but hopefully it can help someone else in the future.
You can export from Unity to glTF easily using the Plattar glTF Exporter.
It does not seem to be possible to export in glB (the binary form), only glTF, though there are tools to convert from glTF to glB, some of them available online.
You can also convert an FBX from ASCII to binary format easily, from within Unity, using the Unity FBX Exporter package, available from the Package Manager.
I am even later to the party with Blender 2.82, but also for future reference:
import base fbx model
rename animation in inspector to base
import walk fbx model
rename animation in inspector to walk
go to animation tab, select dope sheet, then action editor
select base animation and 'push down'
select walk animation and 'push down'
delete walk model and mesh
export to gltf/glb
check in https://gltf-viewer.donmccurdy.com/
This was tested with Malbers fox model.
I can provide a video if needed.
Use UniVRM. It supports editor time export as well as runtime export. It supports the VRM format, as well as gltf. This is the only asset that supports runtime export out of the box, to my knowledge.

Auto Import Blender Textures into Unity Blend File

I am using a .blend file that I import in Unity, which contains a few animations. Unity does not seem to be able to import the textures of the model though. I have noticed that if i import an fbx for a single animation along with an fbm folder containing the textures(same name as the fbx), it does actually locate the textures, but that doesn't work with the .blend file.
I have used Blender's File->External Data->Pack All Into Files, to extract the textures folder, which I then import into Unity. And as I said, Unity does not recognize the folder if I drag/drop the whole blend file.
Is there a way to have Unity auto load the textures of the blend file, the same way it does for an fbx ? Am i maybe doing something wrong ? Thanks !

apply texture on OBJ files automatically in batchmode

I have created a C# script to create unity3D asset bundles automatically via batch mode. When I import FBX files and export them as asset bundles, on instantiation in the app at runtime the textures of FBX files are applied automatically; if while exporting, textures are in same folder and if the texture filename is not changed. But OBJ files never take the textures automatically. OBJ files are exported and also instantiated at runtime in the app but without textures, with the same batch mode script that I use for FBX.
It is important for my project that textures are automatically applied on OBJ files also. How do I do it?
I am using Unity 4.5.0 on a mac.
Thanks!
Found the solution! Two files are generated when object file is exported from 3D modelling software, one is the .OBJ and other is .MTL. The latter contains texture map information of that particular object file.
If .MTL file is imported along with the .OBJ and textures in the unity project, while exporting asset bundle, unity takes all the textures automatically. When this asset is rendered in the app, all the textures are applied automatically now.