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
2
votes
1 answer
Why does this code fail to read Blender's .obj file?
Hi I am trying to read a Wavefront file which was created using Blender. I put a copy of this file into the solution Explorer. When I tried to compile for the first time I got the following message:
fatal error LNK1107: invalid or corrupt file:…

チーズパン
- 2,752
- 8
- 42
- 63
2
votes
0 answers
Java3D stereoscopic view with Canvas3D
I'm currently working at my student project. One part of it is to render loaded .OBJ file in stereoscopic view (truly stereoscope, not red/blue shadows). I was able to load .OBJ file and render it in two views: for left and right eye, but I'm stuck…

MrPre5ident
- 21
- 2
2
votes
0 answers
Advanced loading of obj-files
I can't seem to find a good tutorial on how to do advanced obj-loading (aka. Wavefront)
I want to load a model WITH the assigned textures and what not, and all tutorials I've found don't explain it at all (just show a window with it working) or just…

Aleksander Fimreite
- 1,439
- 2
- 18
- 31
2
votes
1 answer
Writing Wavefront OBJ Parser For Use with OpenGL Indexed Vertex Buffer Objects
I'm trying to write a basic Wavefront OBJ loader for my Android OpenGL ES 2.0 program. For now, I'm ignoring everything in an OBJ file except for vertices, normals, and faces. Here's what I've written so far:
InputStream inputStream =…

Luke
- 2,187
- 1
- 18
- 29
2
votes
1 answer
Using obj file format for directx 11
Having the components of an obj file (the separated values for the texture, normal and vertex having their own index). Is it possible to send the texture, vertex and normal values to the buffer separately?

Tyson May
- 41
- 6
2
votes
2 answers
OBJ Parser with Boost Spirit - Ignoring comments
I'm trying to write a basic OBJ file loader using the Boost Spirit library. Although I got it working using the standard std::ifstreams, I'm wondering if it's possible to do a phrase_parse on the entire file using a memory mapped file, since it…

rwb
- 621
- 1
- 12
- 21
2
votes
1 answer
Trying to solve a maze (wavefront algorithm)
Hello I am trying to write a maze solving program in python using the waveform algorithm (explained here). I am using nested loops to loop through a matrix and change the numbers like in this animated gif.
However it only seems to be looping through…

Logan
- 109
- 8
2
votes
1 answer
auto concatenation of parse results into vectors
I've written some rules to parse floats into two std::vector's of floats, which in turn are stored in a struct:
Data input:
#
# object name01
#
v -1.5701 33.8087 0.3592
v -24.0119 0.0050 21.7439
# a comment
vn 0.0000 0.5346 0.8451
vn 0.8331…

Krienie
- 611
- 1
- 6
- 14
2
votes
1 answer
Python 3.3 - Create 3D-mesh as Wavefront obj-file from regular spaced vertices
I am writing a simple command line program in Python 3.3 which reads a text file of xyz-coordinates and outputs a the equivalent triangle faces in between. The export format are Wavefront obj-files…

Florian R. Klein
- 1,375
- 2
- 15
- 32
2
votes
1 answer
Three.js - Collision Detection - Obj Wavefront
I am trying to build a virtual tour inside a building (the whole building is an obj model) using three.js. Everything loads fine and the library is pretty straightforward. My most critical issue is that I can't implement collision detection with the…

Mac
- 23
- 1
- 3
2
votes
2 answers
Loading an OBJ file, how to use normals (#vertices < #normals)
I have an obj file and have succesfully loaded the object to opengl without using the normals given.
This is how it looks:
The format of the file is:
v x y z
vn x y z
f x//x' y//y' z//z'
The displaying function of the mesh is like…

Chris
- 3,619
- 8
- 44
- 64
2
votes
2 answers
visualization of light waves superposition in matlab
I wrote some quick code for visualization of superposition of two waves with different amplitudes in space, point source geometry. this works at khanacademy CS platform. http://www.khanacademy.org/cs/superposition/1245709541 but i cant reproduce the…

Karibe
- 155
- 1
- 10
2
votes
1 answer
WaveFront .obj loader doesn't display the object like it should (VBO & VAO)
I'm working on a WaveFront .obj Loader and my first goal is to get all the vertices and indices loaded from the following .obj file (displays a cube with curved edges).
# Blender v2.62 (sub 0) OBJ File: 'Cube.blend'
# www.blender.org
o Cube
v…

Joey Dewd
- 1,804
- 3
- 20
- 43
2
votes
1 answer
wavefront obj model loader indexing issues
Hello guys I am having a real hard time getting .obj wavefront files to render correctly using IBO.
Now I wrote a parser, its very simple at the moment but it loads vertices and normals. If I bind the parsed vertex and normals I get great results,…

user1610950
- 1,837
- 5
- 33
- 49
2
votes
2 answers
WaveFront .obj files - What does the "f" command do?
I have been reading Developing Games In Java by David Brackeen. I have understood everything in the book until now. In a Wavefront Object file, I understand what the v command does but I don't understand the f command. For example:
# OBJ - Wavefront…

DCSoft
- 217
- 1
- 4
- 17