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
0
votes
1 answer
Android OBJ to VBO loader, Garbage Collection loop, how to improve?
I've just recently gotten an OBJ loader and viewing Android application working correctly with vertices, normals and texture coordinates, but in order to keep track of these data values correctly, I ended up with a lot of individual objects being…

jctjct3
- 263
- 1
- 6
- 17
0
votes
1 answer
Writing my own OBJ parser that loads the data in VBOs, how to re-order data to match single index list?
I've been trying to convert an OBJ parser that I wrote previously that used display lists to use VBOs instead, and have attempted to see if I could figure out the issue myself without any outside help, but now I think I have been looking at the code…

jctjct3
- 263
- 1
- 6
- 17
0
votes
1 answer
Ordering of face elements in Wavefront OBJ
I'd like to understand how an OBJ file is structured.
Is there a specific ordering of face elements? Various sources hint that it is usually saved in an order that allows for more straightforward rendering, but no definitive answer. The…

Brokensoul .
- 53
- 1
- 7
0
votes
1 answer
Display issues with LWJGL
EDIT: I have answered the question and the code has been changed so it is usable, feel free to use the code in your own projects. Kind regards, Liam
I'm currentlyworking on 3D model rendering in LWJGL and I have run into a problem, when I run the…

Liam Haworth
- 848
- 1
- 9
- 27
0
votes
0 answers
confused with obj/mtl files
I'm really confused with obj and mtl files and relation between them. I searched and read about these formats but couldn't understand much. I need somebody to briefly explain these format's logic since I have a code to render an object by getting…

Alireza Farahani
- 2,238
- 3
- 30
- 54
0
votes
2 answers
OpenGL obj file not rendering right in JOGL
I am building a simple Wavefront Obj file loader and renderer in Java, using JOGL. However, whenever I am loading a simple bunny test mesh, it's rendering in a glitchy fashion, and I have no idea what could be causing it. I am just using geometry…

Andrei Bârsan
- 3,473
- 2
- 22
- 46
0
votes
1 answer
Draw a wavefront file into android opengl gles20
Here is my problem. Im trying to read a wavefront obj file from assets and apparently it reads properly but when I try to draw the object on to the glsurfaceview 2 of the 8 triangles don't get draw and i don't know why.
This is the obj file (an…

Enriquillo
- 37
- 1
- 12
0
votes
1 answer
How to organize objects to render
I want to render an object imported from wavefront obj file. The object has multiple groups and materials:
# group one
g one
v ...
vt ...
vn ...
# material A
usemtl ...
f ...
# material B
usemtl ...
f ..
# second group
g two
v ...
vt ...
vn ...
#…

Jakub M.
- 32,471
- 48
- 110
- 179
0
votes
1 answer
Obj loader in directX 9
I wrote a program to load an obj file in directx 9. All I do is read the vertex data and the index data from the file ( I did not read any texture or vertex normal data). Then I plug this data directly into the vertex and index buffers.
When I run…

carboncopy
- 37
- 9
-1
votes
1 answer
lighweight wavefront obj model parser
I am looking for a lightweight c++ wavefront obj parser. In addition, I need the following capabilities:
Join the adjacent planar triangles to form polygons.
Read the curves as well from obj file
I have considered glm and assimp, but they do…

Aarkan
- 3,811
- 6
- 40
- 54
-1
votes
1 answer
OBJ Loader does not 'create' or 'render' object
I wanted to implement an obj loader that would take 'v' (vertice), 'vt' (texture), 'vn' (normals), and 'f' (faces) coordinates from an obj file exported from blender and render it on my program. However, after implementing it I found that there was…

WolfAbyssWalker
- 1
- 3
-1
votes
1 answer
3D Mesh model (.obj) Importing via vcglib causes Assertion 0 failed issue
I'm trying to Import OBJ format 3D mesh file via VCG Library with this code below
vcg::tri::io::Importer::Open(vcgMesh, path)
Almost every 3D mesh formats that /wrap/io_trimesh/import.h header supports are working fine. (STL, PLY, even…
-1
votes
1 answer
Unity obj file rendering black
Using diffuse shader with Main color and no Base RGB
Using diffuse shader with Base RGB
I checked the UV maps and all of them have a value between 0-1 in the obj file.
I have added the obj file and the texture file here…

Ankur Jain
- 507
- 3
- 9
-1
votes
2 answers
OpenGL - texture are mapped incorrectly using glDrawElements
I am creating an OBJ parser which reads the file and draw it using glDrawElements. The thing here is the model is correctly drawn but when I try to give it a texture, it is incorrectly mapped. I have read here that "OpenGL can only use one index…

zyneragetro
- 139
- 1
- 2
- 13
-1
votes
1 answer
Scanner InputMismatchException
I'm writing a MTL file loader for my game engine. I am using a Scanner attached to a FileInputStream to read from the file. When trying to read the line
Ks 0.500000 0.500000 0.500000
A InputMismatchException is thrown (by Scanner), the stacktrace…

Isaac Woods
- 1,114
- 1
- 17
- 28