OBJ (or .OBJ) is a geometry definition file format first developed by Wavefront Technologies for its Advanced Visualizer animation package.
Questions tagged [wavefront]
334 questions
2
votes
1 answer
.obj to .glb conversion
I want to make an Android app which can convert .OBJ files into .GLB files.
I've researched this a fair bit but I haven't yet found any library that I'm confident I can use in an Android app for .OBJ to .GLB conversion. I had initially thought that…

CKP78
- 630
- 8
- 19
2
votes
1 answer
Assimp incorrectly imports OBJ indices?
I have created my own Model class to abstract the process of importing a model in Assimp, and make it easy to add a model. Currently, I haven't got this to work, and no model is shown. I believe this is due to the indices.
I noticed during debugging…

Kyle Blue
- 311
- 1
- 2
- 11
2
votes
2 answers
OBJ + MTL loads but doesn't render
If I use the following code to load the .obj and .mtl downloaded from
https://poly.google.com/view/9NXf-SDxJny it works fine, I see the star rendered in my scene.
return new Promise((resolve, reject) =>
{
let mtlLoader = new…

steveg
- 93
- 8
2
votes
1 answer
Draw a vector opengl c++
I followed a tutorial to build a .obj model with OpenGL.
I have only one problem, at the end, we have a vectorglm::vec3 to draw.
In the tutorial they said to use "glBufferData()"
Then I made that
float* _vertices = new float[vertices.size() *…

Sozary
- 85
- 1
- 7
2
votes
2 answers
Vtk inserts incorrect color between nodes when mapping texture to mesh
Hi I am trying to map a texture to 3d mesh using Mayavi and Python bindings of vtk. I am visualising an .obj wavefront. This obj is 3D photograph of a face. The texture image is a composite of three 2D photographs.
Each node in the mesh has an (uv)…

Harry Matthews
- 143
- 1
- 10
2
votes
2 answers
Why there are still many wavefront obj files containing 4 vertices in one face?
Today, I started to implement a wavefront obj loader and the thing is that I don't know why there are so many obj files on the internet containing 4 vertices despite the fact that OpenGL no longer supports GL_QUADS and deprecates its use.
Is there…

Windforces
- 313
- 4
- 12
2
votes
1 answer
Merge wavefront obj tool
I want to merge two obj files into a single one from the command line.
I tried to append them to each other but the result is incorrect (some void is incorrectly filled)
Is it possible to do it in an automated way, and is there a tool to do that ?

Antzi
- 12,831
- 7
- 48
- 74
2
votes
2 answers
Are there open source implementations of Wavefront OBJ loaders for the iPhone?
I would like to display 3-D models of building interiors in my iPhone application, but they are in Wavefront OBJ format. Is there an open source implementation of a Wavefront OBJ loader that I could use within my application?

Jacko
- 12,665
- 18
- 75
- 126
2
votes
1 answer
Python Library to read wavefront object and Render it to JPEG file
I have a very specific requirement, which is to :
1. read a obj file created in 3dsMax.
2. apply camera perspective projection on it
3. save the output in jpeg or any other image format
Please if someone could help me find a library or code to do…

ramit wadhwa
- 71
- 9
2
votes
1 answer
Wavefront (OBJ) Surface Rendering Issue
I have some Wavefront (OBJ) files that I've created for molecular simulations. All models in the file were created exactly the same way. However, some of them have an odd transparency (best word I can find to describe it) to them when opened in some…

Darrell Kuykendall
- 21
- 3
2
votes
1 answer
OpenGL: Strange normal rendering
I have a issue with OpenGL normals.
I'm rendering the dragon model, but I have some weird normal patterns.
Here is screenshot from my render:
render_screen
this is my buffer creation methods:
glGenVertexArrays(1, &VAO);
glBindVertexArray(VAO);
…
user5044221
2
votes
1 answer
Loading mtl colors using assimp
I've been trying to load a Wavefront obj model with ASSIMP. However, I can't get mtl materials colors to work (Kd rgb). I know how to load then, but, I don't know how to get the corresponding color to each vertex.
usemtl material_11
f 7//1 8//1…

A Cat
- 629
- 7
- 20
2
votes
2 answers
raytracing obj file in opengl/glsl
I would like to implement ray tracing in opengl and glsl to render models loaded from .obj files but I don't understand how exactly do this. I've used obj files before but I used rasterization to render them. So far I've implemented simple ray…

mezo
- 423
- 1
- 7
- 19
2
votes
2 answers
Simple curiosity with wave front resource material format
I have integrated 'Assimp' librairy to load my OBJ/MTL files components.
All works correctly.
But let's have a focus on a following MTL file example:
# Blender MTL File: 'plane.blend'
# Material Count: 1
newmtl PlaneMtl
Ns 96.078431
Ka 0.000000…

user1364743
- 5,283
- 6
- 51
- 90
2
votes
1 answer
Assimp vs. MeshLab Wavefront Object (.obj) import
I was wondering why when I use the Assimp library to import a Wavefront Object file (.obj) it doubles certain vertices and I found the following answer in the Assimp SourceForge discussion…

mrcointreau
- 342
- 5
- 16