Questions tagged [obj]

For questions related to processing OBJ mesh file format.

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
909 views

Why is my model rotating opposite direction around the Y axis?

I have a simple scenario. I have a simple scene, and in it I'm drawing a grid and a model, with some axis for orientation. I noticed when I rotate the model about it's local Y axis, if I rotate the ...
1
vote
1answer
41 views

Comparing meshes and reducing duplication of data

I'm writing a class that reads an obj file, indexes each mesh and creates a VAO and GameObject of the appropriate type. I've stumbled on a design issue. Objects of the same name (Tree_A001, Tree_A002) ...
1
vote
0answers
59 views

Finding the Dimension of OBJ objects

I am having a Three OBJ file , Cone , Sphere and Cube. How can i find the dimension of these objects , so that i can use it in ...
1
vote
0answers
1k views

Assimp - Error loading .obj files

I'm trying to load .obj files in my little game. I decided to use assimp as tool to import those models. But it seems that assimp does not import them correctly. I looked for a simple cube mesh ...
1
vote
0answers
53 views

How i can sign and/or group a specific set of vertices in a 3D file container like OBJ ? - in Blender

I would like to export a 3D model with each part having a name or a label if you will. For example i would like to export a model of an human body and name each part in specifics vertex groups like: ...
1
vote
1answer
2k views

Modern OpenGL c++ obj loader

So i made a obj loader in c++.I used blender to export my files. I tried to draw 2 squares(one perpendicular to the other) and when im looking at them from above some weird black triangles apear, ...
0
votes
1answer
159 views

How can I reorder the order in which the vertices are in an .obj file?

Blender saves the files with the structure of All the vertices All the normals All the UV The game to which I want to import the model, only accepts the following order in structure 1 vertex 1 ...
0
votes
0answers
75 views

Best strategy to track object hierarchy using groups and obj files

I am making a 3D game in OpenGL from scratch. In this game I have a ship with stuff inside it. How can I attach the stuff to the ship in the CAD program and maintain that hierarchy in my own game? ...
0
votes
0answers
135 views

Specify Vertex Quality in OBJ File

I've got a program that prints OBJ files in the format ...
0
votes
1answer
67 views

How can I export a 3D model with keyframes to use in Blender?

I'm currently trying to export some 3D data and load it into Blender, but I've encountered some problems at the time of processing the meshes. They all have keyframes (nothing too complex, just ...
-2
votes
2answers
1k views

Indices of a obj file format

If I have the obj file like below, what would be my indices. How do I find the indices? What would be the order of the indices also.(the triangles) ...