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

Convert .fbx to .obj with Python FBX SDK

I have a ten frame .fbx file of an animal walking. This file includes a rigged model with textures, but I am only interested in the mesh of the model at each frame. How can I use Python FBX SDK or Python Blender SDK to export each frame of the…
pcpetepete
  • 65
  • 2
  • 6
3
votes
1 answer

three.js obj and mtl file renders black with shadows

I am trying to load the 3dsmax .obj and .mtl file in browser using three.js. I am using this tutorial and code.. The obj model is loading successfully but it looks dark and not the way it should be. what should i do so there is no black spots in…
user2897282
  • 81
  • 1
  • 5
  • 14
3
votes
1 answer

How do I get coordinates from .obj-file in python?

I have this task to convert a 3D-object from a .obj-file (using Blender) into a 2D-picture using matplotlib in python. Converting from 3D to 2D is done using matrices, so thats ok, but I dont know how to get the coordinates from the file. When I…
Dambakk
  • 29
  • 4
3
votes
1 answer

3D Texture mapping

In an .obj, file it is possible to specify 3 values for a vt line. vt 0.769645 0.729072 0.00000000 The .obj spec says its for "depth". What does this actually do and when is it useful?
Joe Cannatti
  • 4,989
  • 5
  • 38
  • 56
3
votes
0 answers

LNK1136: invalid or currupt file (.obj)

When I thought that I was finally going to use assimp, I get an error telling me that the .obj file is invalid or corrupt. I looked on the internet and didn't find anything specific for that. I get the error when I add the .obj file in the Resource…
lhahn
  • 1,241
  • 2
  • 14
  • 40
3
votes
2 answers

Trouble adding normals to .obj mesh

I've created a shape in Blender (I've made sure to triangulate faces and add normals) which I've exported in .obj format to use in an openframeworks project. I've also wrote a small class to parse this .obj file. The shape is drawing perfectly, but…
anthony
  • 892
  • 11
  • 32
3
votes
2 answers

OpenGL - loading an object with multiple texture

I'm trying to draw a quadcopter model using OpenGL. The quadcopter object has an .obj file, an .mtl file and three .tga file for texturing(one for rotors, one for body, one for guns). My problem is I don't know how to apply these three textures on…
user3817833
  • 97
  • 1
  • 9
3
votes
0 answers

three.js how to render a texture mapped OBJ file in WebGL?

three.js: how to render a texture mapped OBJ file in WebGL? I'm a newbie to Three.JS and WebGL. I have a 3D scanner that makes texture mapped OBJ files and I want to create a simple WebGL viewer that allows the user to view the 3D model from any…
mcgregor94086
  • 1,467
  • 3
  • 11
  • 22
3
votes
1 answer

android opengl draw 3d model from .obj file

Here is Model class which i got from this link OpenGL ES Tools for Android and I did some modification in it.. This class successfully loads the obj data like vertices, normals , textcoords amd indices from .obj file.. class Model public class Model…
turbandroid
  • 2,296
  • 22
  • 30
3
votes
1 answer

delphi code compiled to obj files to be used in python

I have a lot of code in Delphi I would like to use in python. In Delphi XE is an option to generate C / C + + files. obj Can I generate these files. Obj in Delphi and use it in python code python code to use it. obj will still be…
3
votes
1 answer

three.js load .obj file with multiple clickable points

Using three.js I'm loading a .obj file I've created, and it looks great.... Looking for advice on how to add multiple clickable areas on the .obj almost like adding hotspots... For an example of what I'm trying to do, say you loaded a .obj of a man…
MikeT
  • 31
  • 2
3
votes
2 answers

Reading and storing values from .OBJ files using C++

First, sorry for bad english. Well, I'm trying read the values of a .OBJ file (see here) and storing them in variables using this program: #include #include #include #include using namespace std; int…
Xiconaldo
  • 45
  • 1
  • 2
  • 7
3
votes
2 answers

Visual C++ 2010: LNK1104, LNK1181 - .obj Files Will Not Auto-Generate

I've recently downloaded 'Microsoft Visual C++ 2010 Express' edition on my 'Windows Vista Home Premium' machine. I'm a Java programmer trying to make the switch to C++, and this is quite discouraging: I open Visual C++ "File -> New ->…
2
votes
1 answer

I need a free software or library that can convert max format to obj

I am looking for a free software or library that can convert max format to an .obj file? Is there a program available for this conversion?
Aftershock
  • 5,205
  • 4
  • 51
  • 64
2
votes
0 answers

Attempting to load a .obj and .mtl file in my react app

I am currently trying to load a 3D model I made into my react app. The 3D model exported as a folder which had a model.obj and a model.mtl file. After surfing the web for a bit I figured I could use Three-JS for this. My website is currently not…