Wavefront OBJ

Referencia

Kategória

Import-Export

Ponuka

File ‣ Import ‣ Wavefront (.obj)

OBJ is a widely used de facto standard in the 3D industry. The OBJ format is a popular plain text format, however, it has only basic geometry and material support.

  • Mesh: vertices, faces, edges, normals, UVs

  • Separation by groups/objects

  • Materials/textures

  • NURBS curves and surfaces

Poznámka

There is no support for mesh Color Attributes, armatures, animation, lights, cameras, empty objects, parenting, or transformations.

Poznámka

Blender now only supports complex node-based shading. OBJ having a fixed pipeline-like support of materials, this add-on uses the generic wrapper featured by Blender to convert between both.

Varovanie

Importing very large OBJ-files (over a few 100mb), can use a lot of RAM.

Použitie

Import geometrie a kriviek do formátu OBJ.

Ak pre OBJ existuje zodpovedajúci súbor .MTL, importujú sa aj jeho materiály.

Vlastnosti

Import

Zahrnuté

Vyhľadávanie obrázkov

This enables a recursive file search if an image file can’t be found.

Skupiny vyhladenia

Surround OBJ smooth groups by sharp edges. Note that these will only be displayed when the Edge Split modifier is enabled.

Čiary

Import OBJ lines and two-sided faces as mesh edges.

Transformácia

Clamp Size

Súbory OBJ sa často výrazne líšia v mierke, toto nastavenie pripne importovaný súbor na pevnú veľkosť.

Dopredu / Hore

Keďže mnohé aplikácie používajú pre os „Hore“ inú os, toto je konverzia osí pre tieto nastavenia, Osy „Dopredu“ a „Hore“ – mapovaním týchto osí na iné osi môžete v aplikáciách konvertovať rotácie medzi predvolenými osami hore a dopredu.

Blender používa Y dopredu, Z hore (keďže pohľad dopredu sa pozerá v smere +Y). Napríklad je bežné, že aplikácie používajú Y ako os hore, v takom prípade je potrebné -Z dopredu, Y hore.

Geometria

Split/Keep Vertex Order

When importing an OBJ it’s useful to split up the objects into Blender objects, named according to the OBJ-file. However, this splitting loses the vertex order which is needed when using OBJ-files as morph targets.It also loses any vertices that are not connected to a face or edge so this must be disabled if you want to keep the vertex order and loose vertices.

Split by Object & Split by Group

When importing an OBJ it’s useful to split up the objects into Blender objects, named according to the OBJ-file. However, this splitting loses the vertex order which is needed when using OBJ-files as morph targets. It also loses any vertices that are not connected to a face, so this must be disabled if you want to keep the vertex order.

As far as Blender is concerned OBJ Objects and Groups are no difference, since they are just two levels of separation, the OBJ groups are not equivalent to Blender groups, so both can optionally be used for splitting.

OBJ Export

Exporting OBJ-files is built into Blender without the need of an add-on. It’s documentation can be found here: OBJ Exporter </files/import_export/obj>.

Kompatibilita

Chýbajúce

Some of the following features are missing:

  • Advanced Material Settings – There are material options documented but very few files use them and there are few examples available.

  • Normals – Blender ignores normals from imported files, recalculating them based on the geometry.