Чем открыть формат OBJ?
В областях IT, связанных с трёхмерной графикой, можно часто встретить модели в формате OBJ. Файл рассматриваемого формата представляет собой текстовый файл, содержащий только геометрию 3D-объектов, т.е. хранит позиции вершин, нормали к вершинам и текстурные координаты. Информация о материалах хранится в файле MTL, на который в начале файла даётся ссылка с помощью директивы mtllib.
Формат описания 3D-графики OBJ является весьма популярным, поскольку отличается простотой описания и поддерживается практически всеми 3D-редакторами. Прежде чем рассмотреть, какие программы открывают OBJ, следует отметить, что порой целью открытия файла является не просмотр модели, а, например, ознакомление со списком названий объектов, или подсчёт количества вершин. Эти и другие действия можно выполнить, открыв файл в обычном текстовом редакторе, например, Notepad++.
Итак, рассмотрим, чем же открыть файлы с расширением OBJ? Вот самые популярные программы, с помощью которых вы легко сможете посмотреть 3d-модель.
Как открыть OBJ в Blender?
Чтобы открыть файл OBJ в программе Blender в основном меню следует последовательно выбирать пункты «File» — «Import» — «Wavefont (.obj)». В открывшемся диалоговом окне потребуется указать OBJ-файл и нажать кнопку «Import OBJ».



Внимание! Для того, чтобы помимо полигонов отображались и текстуры, необходимо чтобы в файле OBJ были верно прописаны пути до MTL-файла, а в MTL-файле верно указаны пути до картинок.
Как открыть OBJ в 3D Max?
Ещё одна очень популярная программа для 3D-моделирования — Autodesk 3ds Max. В ней также следует воспользоваться функцией импорта сторонних файлов: «Import» — «Import non-native file formats into 3ds Max».

Как открыть OBJ в Sketchup?
Программа SketchUp доступна как в виде десктопного приложения, так и в виде онлайн-редактора. Для онлайн-версии потребуется регистрация учётной записи. Как любой другой 3D-редактор, Скетчап поддерживает импорт множества форматов, в том числе и расширения OBJ. Для иморта следует воспользоваться плагином «OBJ Importer», находящимся во вкладке «Plugins». В выпадающем подменю доступно два варианта импорта — as OBJ и as Mesh.

Как открыть формат OBJ в Архикаде?
В Archicad нет возможности напрямую открыть файл OBJ. Чтобы просмотреть модель в Архикаде потребуется:
1. Преобразовать файл формата OBJ в 3DS. Для этого можно воспользоваться программами 3DS Max, Cinema 4K и др.
2. Импортировать 3DS стандартными средствами: «Взаимодействие» — «3D Studio» — «Импортировать 3DS в виде объекта GDL…».



Как открыть OBJ в MeshLab?
Для того, чтобы загрузить модель формата OBJ в программе MeshLab следует в верхнем меню перейти по пунктам «File» — «Import Mesh…». После выбора нужного файла 3d-модель откроется в центральном окне приложения. Для удобства просмотра можно воспользоваться кнопками включения/отключения отображения вершин, границ и полигонов.




Как открыть OBJ онлайн?
Если на компьютере не оказалось ни одной из перечисленных программ, а времени скачивать их нет, то можно воспользоваться онлайн-просмотрщиком файлов с расширением OBJ. Для этого достаточно вбить в поисковик фразу «obj открыть онлайн». В качестве такого онлайн редактора можно использовать https://threejs.org/editor/ — написан на движке Three.js, позволяющий работать с 3d-графикой посредством WebGL.

В верхнем меню выбираем пункты «File» — «Import». В открывшемся диалоге следует перейти в каталог, где расположен obj-файл. Выбрав его, модель загрузится в редактор, где её можно наглядно рассмотреть, увеличивая и поворачивая.
How do I add a texture when Importing from OBJ scan?
I am rather new to using blender, and I have run into a bit of a problem. My boss has been using a 3D scanner, and I am supposed to import the results of the scans. I am able to import them into Blender, however there are no textures or materials. It just shows up as White. How do I import the textures onto the mesh?
2 Answers 2
Go to material, and activate «use nodes»
then on «color», click and select «image texture»
then at left of «open», click and select your texture
then at right of «object mode» change viewport shading to «material» or «texture»
![]()
Blender imports obj files with textures just fine with Blender Internal renderer as the active renderer. But importing obj files with texture while Cycles is the active renderer is currently not supported. With Cycles you have to create a new material with your texture, as shown above by @MCunha.
So first idea is to check what renderer you use while trying to import the mesh.
Then there was the file format itself.
The Obj file format is made of two files, not one. The *.obj file contains the mesh data. The *.mtl file contains one or more simple phong material(s) with the associated texture paths. And the good news is Obj is a super simple file format in text form. You can open the files in a text editor and edit them to your needs.
When the *.mtl file is missig then there is nothing to import for Blender. No mtl file means no material and no texture available.
When the *.mtl file exists, but the texture paths in the file are absolute, and the texture is at another location, then there is nothing to import for Blender since the textures are not found.
So first thing to check: does the *.mtl file exist? And if that’s the case and the textures doesn’t import: are the texture paths in the *.mtl file relative or absolute? Open the *.mtl file in wordpad for example. Have a look at the line(s) with map_kd at the front.
For example, an absolute path would be
When you change it to
then this path becomes relative. And when you put your texture besides the obj file, then the texture gets usually loaded — when Blender Internal is the active renderer. As told, Cycles is not supported at this point.
Wavefront OBJ
OBJ format is a popular plain text format, however, it has only basic geometry and material support.
There is no support for armatures, lights, cameras, empty objects, parenting, or transformations. See Compatibility for more information.
Exporting
Export geometry and curves to the OBJ format.
Properties
Object Properties
Only export the selected objects. Otherwise export all objects in the scene.
Global scale to use on export.
Forward Axis, Up Axis
Since many applications use a different axis for ‘Up’, there are axis conversion settings, Forward and Up axis – By mapping these to different axis you can convert rotations between applications default up and forward axis.
Blender uses Y Forward, Z Up (since the front view looks along the +Y direction). For example, its common for applications to use Y as the up axis, in that case -Z Forward, Y Up is needed.
Objects: Apply Modifiers
Export objects using the evaluated mesh, meaning the resulting mesh after all Modifiers have been calculated.
For properties that have different settings for the viewport/final render pick which is used for output. One example where this is important is the Subdivision Surface Modifier .
Use viewport properties.
Use final render properties.
Geometry Properties
Write out the active UV layers coordinates from Blender.
Write out Blender’s face and vertex normals (depending on the faces smooth setting).
Mostly this isn’t needed since most applications will calculate their own normals but to match Blender’s normal map textures you will need to write these too.
Write out the active vertex colors attribute layer, if present. Colors are exported in “xyzrgb” OBJ extension format.
Write out quads as two triangles. Some programs only have very basic OBJ support and only support triangles.
Curves as NURBS
Write out NURBS curves as OBJ NURBS rather than converting to geometry.
Material Properties
Write out the MTL-file along with the OBJ. Most importers that support OBJ will also read the MTL-file.
Export MTL library using PBR extensions (roughness, metallic, sheen, clearcoat, anisotropy, transmission).
When referencing paths in exported files you may want some control as to the method used since absolute paths may only be correct on your own system. Relative paths, on the other hand, are more portable but mean that you have to keep your files grouped when moving about on your local file system. In some cases, the path doesn’t matter since the target application will search a set of predefined paths anyway so you have the option to strip the path too.
Uses relative paths for files which are in a subdirectory of the exported location, absolute for any directories outside that.
Uses full paths.
Uses relative paths in every case (except when on a different drive on Windows).
Uses relative / absolute paths based on the paths used in Blender.
Only write the filename and omit the path component.
Copy the file on exporting and reference it with a relative path.
Grouping Properties
Write out each Blender object as an OBJ object.
Note that as far as Blender is concerned there is no difference between OBJ Groups and Objects, this option is only included for applications that treat them differently.
Generate an OBJ group for each part of a geometry using a different material.
Export the name of the vertex group of a face. It is approximated by choosing the vertex group with the most members among the vertices of a face.
Write Blender’s sharp edges as smooth groups.
Smooth Group Bitflags
Generate Bitflags for smooth Groups.
Animation
Exports a numbered OBJ for each frame from the start to the end frame. Please be aware that this can take quite a long time.
Frame Start, End
The first and last frame to export, used to determine the range of exported frames.
Compatibility
NURBS surfaces, text3D and metaballs are converted to meshes at export time.
Importing
Import geometry and curves to the OBJ format.
If there is a matching .MTL for the OBJ then its materials will be imported too.
Properties
Transform
Value by which to scale the imported objects in relation to the world’s origin.
Clamp Bounding Box
OBJ-files often vary greatly in scale, this setting clamps the imported file to a fixed size.
Forward Axis, Up Axis
Since many applications use a different axis for ‘Up’, these are axis conversion for these settings, Forward and Up axes – By mapping these to different axes you can convert rotations between applications default up and forward axes.
Blender uses Y Forward, Z Up (since the front view looks along the +Y direction). For example, it’s common for applications to use Y as the up axis, in that case -Z Forward, Y Up is needed.
Options
Import each OBJ “object name” group ( o ) as a separate object.
Import each OBJ “object name” group ( g ) as a separate object.
Import OBJ groups as vertex groups.
Checks the imported mesh data for errors and corrects them if needed. This slows down the importing process but can fix glitches in the imported mesh.
© Copyright : This page is licensed under a CC-BY-SA 4.0 Int. License. Last updated on 08/02/2023.
How to Export Object with Texture in Blender?
Exporting objects with textures in Blender can be a challenging process, but don't worry — we'll get you through it! In this article we'll walk you through the steps to seamlessly export 3D objects with their associated textures from Blender. We'll cover all the topics needed, such as setting up the UVs correctly and choosing the right image format for your project. So grab your Blender keyboard shortcuts, take a deep breath and let's get started!