Hello Folks. im new to Rhino and i was wondering if it is possible to import a obj model with all the textures applied to it.
for an example I downloaded this rar zip archive from the website zeelproject.com
within it contains a folder with the png textures and a folder with FBX. OBJ and MTL files.
when i open the OBJ file the textures are not applied to the model. what should i do? could someone help me out or send me a link with a tutorial for that?
thank you very much who can help me out
here is the rar zip file with the model from the plant
plant-monstera-01.rar (11.5 MB)
here is the zip file
Hi Daniel -
When you open an OBJ file and the MTL and PNG files are in the same directory, the textures should come in automatically. Textures are only visible in the Rendered
and Retraced
display modes.
You didn’t mention which version of Rhino you are running - please run the Rhino SystemInfo
command and copy-paste the result here.
As for the file that you attached - I don’t have a program to open rar files - you might want to post that as a zip file…
-wim
Reviving this old thread because I’m having the same problem. I apply a decal to a mesh in Rhino, then Export the .obj (and .mtl). When I open the .obj and view in rendered mode, there is no decal.
During .obj export I have Save Textures and Export Material Definitions ticked.
Hi Declan - the decal is not applied as part of a material - you’d need to Bake
and then export - the decal would be included as part of a material’s overall texture - I’d say the results may be marginal…
testBaked_obj.zip (31.2 KB)
-Pascal
Hello, so what is the solution? In this scenario, you mention that the obj, mtl, and png files are in the same directory.
What if they are not? A file i downloaded from CGTrader contains a zip folder with the .obj & .mtl files, but the texture files are in a separate zip folder in my case. How do i go about linking them?
Rhino 7 says that the .mtl file is not a supported file type? I am confused here. Any advice? Thanks in advance
The mtl file contains the location of the texture files used by the mesh. Look inside your mtl file and see the location it expects. Then either put your un-zipped png files there or where you like and edit the mtl file to use that location.
Rhino 7 complaining about the .mtl file not being a supported type is strange. If you can provide a link to your obj, mtl and pgn files, I will try to get them working, at least in Rhino 8 that I am currently using. I created my own .obj/.mtl file importer and checker and can debug a wide variety of errors.
Regards,
Terry.
Hi Terry, Experiecing the same problem.
My rhino 8 says says jpgs can’t be found. I believe I need to edit my MTL to find the jpgs ? How do I edit MTL file?
Hi Ebba -
It’s a simple plain text file. You can open it in Notepad
.
-wim