.OBJ 文件扩展名

Wavefront 3D Object File

开发者 Wavefront Technologies
受欢迎程度
3.9  |  271 
 

什么是 OBJ 文件?

An OBJ file is a standard 3D image format that can be exported and opened by various 3D image editing programs. It contains a three-dimensional object, including 3D coordinates, texture maps, polygonal faces, and other object information. OBJ files may also store references to one or more .MTL files that contain surface shading material for the object.

更多信息

在 Microsoft 3D Builder 中打开的 .obj 文件截图
在 Microsoft 3D Builder 中打开的 OBJ 文件

CAD users classify the OBJ format as a universal 3D model format since 3D image editing applications widely support it. The format is text-based and straightforward, which is one reason why many programs use it. However, the simple format structure may also lead to huge OBJ file sizes if they store large and complex 3D objects.

You may encounter an OBJ file in various ways, such as when modifying 3D objects in a video game, creating visual effects for a film, or designing a 3D mockup of a real-life object or building. Since the OBJ 3D format is so widely supported, many users export their models as OBJ files when transferring them from one 3D program to another or sharing a 3D model with a co-worker.

注: While the OBJ format is one of the most common formats for storing 3D models, it is only one of many options for saving models. Some other options include .DAE, .STL, .IGS, .FBX, .MAX, .DWG, and .3DS.

如何打开 OBJ 文件

You can open an OBJ file with a large number of free and commercial applications. Some examples include Microsoft 3D Builder, Apple Preview, and Autodesk Maya.

However, you should select the program based on the context in which you will be using the OBJ file. For example, if you are looking to open and modify a 3D object utilized in film special effects and are on a tight budget, you could use the free Blender software.

Opening an OBJ file with a text editor

OBJ file open in Microsoft Visual Studio Code
OBJ file open in Microsoft Visual Studio Code

Since OBJ files are saved in plain text, you can also open them with a text editor, such as Microsoft Notepad (Windows) or Apple TextEdit (Mac), or a source code editor. You may need to rename the .obj file extension to .txt for the text editor to recognize it.

When opened in a text editor or source code editor, you can modify the properties of the OBJ file. Remember that if you incorrectly edit the file, you may inadvertently corrupt the model.

如何转换 OBJ 文件

Many CAD applications and image editors, including Microsoft 3D Builder, Autodesk Maya, Blender, Apple Preview, and Adobe Photoshop, can convert OBJ files to other formats.

For example, Microsoft 3D Builder can convert OBJ files to the following formats:

  • .3MF - 3D Manufacturing File
  • .STL - Stereolithography File
  • .PLY - Polygon Model File
  • .GLTF - GL Transmission Format
  • .GLB - Binary GL Transmission Format
使用File Viewer Plus打开 400 多种文件格式。免费下载

可打开 OBJ 文件的程序

All Platforms
Mac
操作系统自带
免费试用
免费试用
免费试用
免费
免费
免费试用
Linux
免费试用
免费
免费
免费试用
分类: 3D 图像
更新时间: 2022-12-22

Relocatable Object Code

开发者 不适用
受欢迎程度
3.4  |  51 
 

An OBJ file contains machine code generated by a compiler or assembler and is designed to be linked with other code or files, such as .H files, to create an executable program. It may contain code, constants, variables, and references to external resources required by a program. The OBJ format is commonly used across various programming languages and systems, especially in C and C++ development, and is supported by many IDEs and compilers, such as Microsoft Visual Studio and GNU Compiler Collection (GCC).

更多信息

OBJ files are "relocatable," meaning they contain code unbound to specific locations in the computer's memory. Software developers use linker tools, such as "ld" (or "GNU Linker") and Visual Studio's LINK.exe, in the final stages of the build process to combine multiple OBJ files with other resources, resolve dependencies (such as function calls across different OBJ files), and then assign actual memory addresses to the code to ensure the final program runs as a coherent whole.

Because of their flexibility, OBJ files enable modular development where each module or library can be compiled separately and linked as needed. This method allows developers to modify or replace aspects of a program without needing to recompile the entire codebase. It also streamlines software development, especially in larger projects where different teams may work on separate components.

可打开或引用 OBJ 文件的程序

分类: 开发者
更新时间: 2024-10-17

验证者 FileInfo.com

FileInfo.com 团队 独立研究了本页面列出的所有文件格式和软件程序。 我们的目标是达到 100% 的准确率,并且仅发布我们已验证过的文件类型信息。

如果您想为此页面提出新增或更新建议,请告诉我们