Wavefront OBJ
Référence
- Catégorie
Import-Export
- Menu
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
Note
There is no support for mesh Color Attributes, armatures, animation, lights, cameras, empty objects, parenting, or transformations.
Note
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.
Avertissement
Importing very large OBJ-files (over a few 100mb), can use a lot of RAM.
Utilisation
Importer la géométrie et les courbes au format OBJ.
S’il existe un .MTL correspondant pour l’OBJ, ses matériaux seront également importés.
Propriétés
Import
Include
- Image Search
This enables a recursive file search if an image file can’t be found.
- Smooth Groups
Surround OBJ smooth groups by sharp edges. Note that these will only be displayed when the Edge Split modifier is enabled.
- Lines
Import OBJ lines and two-sided faces as mesh edges.
Transform
- Clamp Size
Les fichiers OBJ varient souvent considérablement en échelle, ce paramètre fixe le fichier importé à une taille fixe.
- Forward / Up
Étant donné que de nombreuses applications utilisent un axe différent pour “Up”, il s’agit de la conversion d’axe pour ces paramètres, Axes avant et haut - En les mappant sur différents axes, vous pouvez convertir les rotations entre les axes ascendants et avant par défaut des applications.
Blender utilise Y Forward, Z Up (puisque la vue de face regarde le long de la direction + Y). Par exemple, il est courant que les applications utilisent Y comme axe vers le haut, dans ce cas -Z en avant, Y en haut est nécessaire.
Geometry
- 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>.
Compatibilité
Absent
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.