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
4
votes
3 answers
OBJ, Buffer objects, and face indices
I most recently had great progress in getting Vertex buffer objects to work.
So I moved on to Element arrays and I figured with such implemented I could then load vertices and face data from an obj.
I'm not too good at reading files in c++ so I…

Kaliber64
- 586
- 1
- 5
- 16
4
votes
2 answers
Displaying .obj files that are not all triangles or quads
I understand that there has to be some index magic to get an obj file into the correct vertex/index format for OpenGL, but consider the following .obj file:
# WaveFront *.obj file (generated by CINEMA 4D)
g Polygon
v -136.714894 0 -169.395745
v…

grivescorbett
- 1,605
- 1
- 21
- 29
3
votes
1 answer
flickering while rendering a 3D object (.obj file) using OpenGL
While attempting to render a 3D object using OpenGL (and the GLFW library), the model experiences lots of flickering. Im reading the .obj file using a library that I've written on my own.
Written below is my render function:
Unfortunately, in order…

viraj
- 1,784
- 4
- 35
- 52
3
votes
0 answers
Assimp C++ - Faceted / Distorted artefacts: FBX import / export - far from origin
Assimp version 5.0.1
I've recently started using assimp to import an fbx file, do some modifications to each vertex of the meshes, then export back out to either fbx/obj.
I've noticed that after exporting the mesh, it is distorted / very faceted. I…

AlmostSober
- 63
- 5
3
votes
1 answer
How do I draw an OBJ file in OpenGL using tinyobjloader?
I am trying to draw this free airwing model from Starfox 64 in OpenGL. I converted the .fbx file to .obj in Blender and am using tinyobjloader to load it (all requirements for my university subject).
I pretty much slapped the example code (with the…

Tom
- 355
- 4
- 11
3
votes
3 answers
Importing OBJ file in QtCreator
I'm new in using Qt Creator (version 4.10.0, based on Qt 5.13.1). I have taken the customitemgraph example and I would like to replace the existing .obj files with new ones.
I have downloaded some free models from the web. Some of these work but…

Sandra
- 33
- 4
3
votes
1 answer
Wavefront Obj Materials, .rfl Files
I have been working a bit on creating a fully featured Wavefront object
materials parser, and while reading the
specification I came across references
to a ".rfl" file. However, I am unable to find any more information about this
file.
Supposedly,…

Xaldew
- 560
- 5
- 18
3
votes
1 answer
.obj to raw vertices converter with normals in python
Iam asking for your help again. I want to make a script with python that takes an .obj format file of vertices and normals and exports 2 files with the vertex coordinates and another with the normal coordinates of the normal
v 1.900470 2.777519…

Thodoris Koutsis
- 109
- 1
- 12
3
votes
1 answer
Mixed topology (quad/tri) with ModelIO
I'm importing some simple OBJ assets using ModelIO like so:
let mdlAsset = MDLAsset(url: url, vertexDescriptor: nil, bufferAllocator: nil, preserveTopology: true, error: nil)
... and then adding them to a SceneKit SCN file. But, whenever I have…

CapnPhoton
- 33
- 5
3
votes
1 answer
Resizing SDL-Window to OpenGL object generated from Wavefront OBJ file
I'm new to OpenGL, SDL and OBJ-files and am fighting with an issue for many days now.
setting up the SDL-Window (i've dropped the basic SDL-Init-stuff)
sdl_window = SDL_CreateWindow(
"Viewer",
…

peha1968
- 31
- 4
3
votes
1 answer
parsec-3.1.0 with custom token datatype
parsec-3.1.0 ( http://hackage.haskell.org/package/parsec-3.1.0 )
works with any token type. However there are combinators like Text.Parsec.Char.satisfy that are only defined for Char datatype. There doesn't seem to be any more general counterpart…

Tener
- 5,280
- 4
- 25
- 44
3
votes
2 answers
Using .obj Files in VC++ Projects
I have a Win32 console project in VS2010 and I added an .obj file to the solution that I exported from Blender (it's a simple cube), but I get a LNK1107 error saying it can't read at 0x107 when I run or build the project. I tried going to Project >…

Aaron
- 23
- 1
- 5
3
votes
1 answer
object loader in opengl
I have create a program in C++ that contains also OpenGL and I want to create also an OBJ loader in order to load an OBJ file I have! I have already created two functions which are:
void ReadFile(model *md)
{
// Open the file for reading…
user1946218
3
votes
2 answers
parsing the wavefront obj file format
I'd like to import obj models into my opengl program. I have a class / data format that I use to pass attribute data into shaders:
class CustomVertex : public IVtxFmt
{
public:
float m_Position[3]; // x, y, z offset 0, size =…

fishfood
- 4,092
- 4
- 28
- 35
3
votes
1 answer
OpenGl not rendering .obj files correctly
I have been given the task of importing an obj file and loading it up in C++.
Its loading the file correctly but displainy it incorrectly. Can anybody see anything wrong with my setup of opengl stuff? :)
Here is a picture of what the render looks…

Sean Hansford
- 49
- 1
- 4