Questions tagged [.obj]

A text-based file format that stores 3d geometry.

The .obj file format was developed originally by Wavefront Technologies for their flagship 3d graphics software The Advanced Visualizer.

It is a text-based format that is human readable and simple to parse. .obj can only store the position, UV coordinates, and normal of a vertex. Mesh hierarchies and animation of any kind are not supported. Free-form geometry like curves and surfaces are defined in the specification, but are not used that often, and as a result, not commonly implemented in parsers.

Links

385 questions
2
votes
1 answer

Problem rendering complex 3D models .obj - p5.js

Hi everyone i have a problem with rendering 3D models using p5.js WEBGL mode. I am working on a project for a client with 3D boxes, some of them render fine - the smaller .obj files with simpler geometry. The bigger with more complex shapes render…
2
votes
1 answer

three.js - How to set custom color to *.obj model when it is delivered without *.mtl file?

I have a set of models in *.obj format that come without material files (*.mtl files). Some online services display these models correctly: https://3dviewer.net/, https://sketchfab.com/. But - according to the three.js documentation - in my project…
Vitaly Vesyolko
  • 558
  • 5
  • 22
2
votes
0 answers

Cannot edit .obj files on recent Xcode version, but on older Xcode version it works perfect

When I try to edit or even convert most kind of .obj files (i.Ex. from Blender) the recent version of Xcode (in this case 12.2, on mac OS Catalina) is not capable anymore doing anything with that .obj file. Even the Finder file handler does not show…
ZAY
  • 3,882
  • 2
  • 13
  • 21
2
votes
0 answers

OpenGL C# UV mapping / UV Coordinates issue when loading OBJ File

I need some C# OpenGL help. Im still kinda new to OpenGL and making a little render engine! The rendering works fine but today I added an OBJ File loader, which also worked fine but the UV is messed up. I used a File Parser made by chrisjansson on…
RedCube
  • 25
  • 4
2
votes
1 answer

Windows - "The command line is too long" when building .obj files

I am quite a novice user with the compiler based projects. Before posting this question, I got across few similar questions in SO community as below SO: 1 SO: 2 I am trying to build the obj files from the build.cmd in command prompt as build.cmd…
John
  • 565
  • 8
  • 23
2
votes
1 answer

How do I draw a mesh loaded from .obj(wavefront) file in qt3d by reading file myself?

The example code(comes with the Qt creator tool) for loading a wireframe mesh from .obj files in Qt3D draws this elephant (which I found in a site that peddled digital assets). The question is I want to open the .obj files using my own code and form…
Som Pra
  • 453
  • 3
  • 13
2
votes
1 answer

OBJ Rendering Incorrect Texture Coords

I wrote an obj loader in GoLang and am attempting to render a cube. The cube is already pre triangulated and I have made sure the UV's are set correctly in blender before exporting it. The issue is the texture is not rendering correctly on the cube…
2
votes
1 answer

Is there a way to change the location and size of an imported .obj file in Pygame?

I created an .obj file using blender and loaded into Pygame using the OBJfileloader as sugested by skrx in: Error in OBJFileLoader Is there an easy way to change the location, height and width of the imported .obj file after importing it into…
Kempie
  • 263
  • 2
  • 10
2
votes
1 answer

Exporting .obj with texture from Meshlab?

I can't seem to find a simple solution to this problem I'm having! I am new to Meshlab but working with .obj. I've loaded an asset from Adobe stock and I need to separate two items (a whole lime and a half lime) into two separate .obj files for use…
pierrejordan
  • 21
  • 1
  • 2
2
votes
2 answers

How to design different kinds of (nearly) the same (in Scala)

I have the following problem (in Scala)... I want to read wavefront files (.obj) and transform them to something I can work with later. The wavefront files I want to support are files with the following definitions for: TypeA: vertices and…
SleepyX667
  • 670
  • 9
  • 21
2
votes
1 answer

How Do I Link An Object File Into a UEFI DXE/EFI Driver?

I am building a UEFI DXE/EFI (UDK2018) driver (on Windows, using VS2017) into which I need to link an existing object (.obj) file. I'm fairly certain this should be done from inside the INF file, but I don't see anything specific about object file…
rtillery
  • 367
  • 1
  • 10
2
votes
0 answers

Is there a way to use .obj file (3D Image) in canvas?

I am making a camera app for which I needed 3D filters. I need 3D images as filters for which I have to use .obj files in canvas. Is there a possibility of using the .obj file on canvas? I have been searching for 2 days now in search of a way to…
Huzaifa Asif
  • 658
  • 1
  • 8
  • 24
2
votes
1 answer

Problems Using Wavefront .obj's texture coordinates in Android OpenGL ES

I'm writing an android app using openGL ES. I followed some online tutorials and managed to load up a textured cube using hard-coded vertices/indices/texture coordinates As a next step I wrote a parser for wavefront .obj files. I made a mock file…
James Coote
  • 1,975
  • 19
  • 29
2
votes
1 answer

Export GameObject Unity to .fbx or .obj

I have built a building in unity, with cubes, etcetera. Now I want to use it as a single object (since using it with so many objects makes it difficult to move it from the scripts). Is it possible to export this to fbx and then have it in assets?
saulcasti
  • 23
  • 1
  • 6
2
votes
1 answer

Creating Mesh from Point Cloud

I'm looking for a way to create a mesh .obj file from point cloud for an academic research project. I'm flexible about the algorithm and its runtime and space complexity. After searching for a while I couldn't find out and 3-party library that could…
Nativ
  • 3,092
  • 6
  • 38
  • 69