Importing .obj files with colour and texture

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
Mattyj
Posts: 178
Joined: Fri Jun 25, 2021 9:38 am

Importing .obj files with colour and texture

Post by Mattyj »

Just wondering how you import a .obj file while retaining the colour and texture that are also within the same folder but look to be separate from the .obj?
User avatar
SimplSam
Posts: 1048
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: Importing .obj files with colour and texture

Post by SimplSam »

For reference .OBJs get info about their material & color from associated .MTL files - which are typically in the same folder, but do not have to be. The .mtl files are listed within the .obj file. Both .obj and .mtl files are plain text / viewable / editable.

Within the .obj you can check for references to material files (.mtl), and similar check the .mtl files for references to image textures. If any paths are incorrect - fix them and save. Or make them local to same directory (i.e. have no path) - and put all relevant files in the same location. Moho should then load the textures OK.
Moho 14.1 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
Post Reply