Open hemantkadamata opened 5 years ago
Hello! My suggestion is that, you should use 3ds max and export an fbx of your object. That will contain the textures in that single file, then you can extract them with the plugin, just open the fbx file and leave every other value on default. Then you could load that object and get the material from is (currently the Material builder is private, related issue: https://github.com/google-ar/sceneform-android-sdk/issues/393 )
I have to apply multiple textures in one .obj file. I am using a .mat file for material. I am able to add single texture but when coming I can't find anything how to add in custom material file. I have a .mtl file for .obj, I want to convert the .mtl to .mat so I can use it as custom material in Arcore
sample .mtl
newmtl Navy_Blue_Solid_Platform_Heels_lambert2SG Ns 10.0000 Ni 1.5000 d 1.0000 Tr 0.0000 Tf 1.0000 1.0000 1.0000 illum 2 Ka 0.5880 0.5880 0.5880 Kd 0.5880 0.5880 0.5880 Ks 0.0000 0.0000 0.0000 Ke 0.0000 0.0000 0.0000 map_Ka shoe_nevy_blue.png map_Kd shoe_nevy_blue.png
newmtl face Ns 30.0000 Ni 1.5000 d 1.0000 Tr 0.0000 Tf 1.0000 1.0000 1.0000 illum 2 Ka 0.0000 0.0000 0.0000 Kd 0.7000 0.7000 0.7000 Ks 0.0000 0.0000 0.0000 Ke 0.0000 0.0000 0.0000 map_Ka D12_28_CC.jpg map_Kd D12_28_CC.jpg map_Ks D11_1_spec.jpg map_bump D11_1_normal.jpg bump D11_1_normal.jpg