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
0
votes
1 answer

Sketch Up and Open GL ES

Hi I have created a model in Sketch Up and want to export if for use in my open GL ES app. My question is. do I need to specify that I want the output to be all triangles and not polygons. As obviously ES doesn't support other shapes. And If so How…
geminiCoder
  • 2,918
  • 2
  • 29
  • 50
0
votes
1 answer

Converted .obj to .h but missing .jpg

I convert one of the .obj model to .h file using obj2opengl.pl Should it have a .jpg that contain the color of the object? where or how should I get it? is it link to the .mtl file?
0
votes
1 answer

Creating .ase (ASCII EXPORT) file in blender or from .obj / .3ds file

I have a code that parses .ase files, but all the models I found were in .obg/.blender/.3ds formats. I couldn't find a way to translate them to each other how is tat possible to do?
The GiG
  • 2,571
  • 2
  • 28
  • 29
0
votes
1 answer

Use drawelements in OPENGL ES 1.x with .OBJ and multiple indices

I am teaching myself opengl es. I recently figured out how to parse/load a mesh from .OBJ file. I am now trying to apply a texture to it, I know I can only use one set of indices.. other than that I am lost as to the concept and code required to…
PhaTty-FU
  • 33
  • 7
0
votes
1 answer

.OBJ Cube not rendering correctly in OPENGL ES

I have been looking for days to find an answer to my question. I Have looked through text books checked several websites etc... from what I can see my code SHOULD be rendering properly. I have thrown my face on my keyboard repeatedly trying to…
PhaTty-FU
  • 33
  • 7
0
votes
1 answer

Compare C++ char* characters for parsing .OBJ file

Forgive my C++ naivete. I need to compare two characters in the parsing of a .OBJ 3D object file. On each line iteration, the strcmp calls I make are never returning true. I have a feeling this is because I'm not up on my char* vs char knowledge.…
George
  • 343
  • 2
  • 15
-1
votes
1 answer

openGL load multiple object

I have problem with insert multiple object. I load object but they are all in one place, for( int i = 0; i <= 5; i++ ) { glCallList( OBJECT_LIST[ i ] ); } glFlush(); glutSwapBuffers(); } // unopened paren void Reshape( int width, int…
quba88
  • 174
  • 4
  • 18
-1
votes
2 answers

Importing Wavefront .obj files for android

What is the best way importing .obj files to android app created in Blender? I want the best and the easyest variant! How about a link to a tutorial?
Liukas
  • 183
  • 4
  • 15
-1
votes
1 answer

Question About The Wavefront .obj Format Design

I was recently rewriting my Wavefront model loader, and went for using the data as an indexed Vertex Buffer Object. After getting things working, I realized something about the .obj format that I had not previously noticed. Indices, it seems, are…
Krythic
  • 4,184
  • 5
  • 26
  • 67
-1
votes
1 answer

Creating colored .obj file (point cloud with color)

I have all-focus image and depth-map image. Using depth map image I can create .obj file(point cloud). But in meshlab I can see only points without color. How can I add color information for .obj file? (could you show me simple example of .obj file…
-1
votes
1 answer

.obj view files with interaction

I'm looking for an android component that loads .obj files and has rotation, zoom and zoom interaction. I need this component to be placed on a camera preview (eg, surfaceview) and can crash a photo by merge the .obj viewer component with the camera…
VTR2015
  • 429
  • 2
  • 6
  • 15
-1
votes
1 answer

Why Blender (program) generates incorrect texture positions in .obj format?

I am trying to create Voxel Engine in java with LWJGL 2.9+, but I have problems with creating model in Blender program. I have created a simple 1x1x1m cube and generated simple UV's in blender. I have exported .obj file, and here is the content of…
Microz
  • 97
  • 1
  • 8
-1
votes
1 answer

Drawing .obj with VBO

I have a problem with drawing a cube with VBO from a .obj file. Here is the .obj : # cube.obj # g cube v 0.0 0.0 0.0 v 0.0 0.0 1.0 v 0.0 1.0 0.0 v 0.0 1.0 1.0 v 1.0 0.0 0.0 v 1.0 0.0 1.0 v 1.0 1.0 0.0 v 1.0 1.0 1.0 vn …
Raphallal
  • 122
  • 1
  • 12
-1
votes
1 answer

Three.js r71 is showing black screen when trying to load json object

i will enumerate what i did until now: I have a file "pre.obj" converted to "pre.js" using convert_obj_three.py script "pre.obj" uses "pre.mtl" because it has material of image "specular.jpg" "pre.obj" ,"pre.mtl" and "specular.jpg" can be looked…
-1
votes
1 answer

in directx11 object didn't draw

i want to display .obj file using by directx11, so i was wrote some code and when i try to build, they said nothing special error but there's nothing displayed without silver context. i can't find what's wrong. here is my whole code. please give me…
신승빈
  • 1
  • 2
1 2 3
25
26