Questions tagged [wavefront]

OBJ (or .OBJ) is a geometry definition file format first developed by Wavefront Technologies for its Advanced Visualizer animation package.

334 questions
0
votes
1 answer

opengl polygon vs triangle strip using display lists

(I am using PyOpenGL and my laptop runs OpenGL 2.1) I heard that OpenGL draws triangles are much faster than polygons, but that also that using display lists cuts the overhead. Would I gain any speed by converting my models into triangle strips, if…
Matt Majic
  • 381
  • 9
  • 18
0
votes
1 answer

OpenGL - texture mapping is incomplete

I have this weird problem with texturing of OBJ files in OpenGL. I have successfully parse and render the models correctly and i'm trying now to apply texture to it. Here's how I do it. GLuint vao; glGenVertexArrays(1,…
zyneragetro
  • 139
  • 1
  • 2
  • 13
0
votes
1 answer

Converting .OBJ Wavefront to depth data

Is it possible to extract the depth data from a .obj file? I would like to get the same depth data that are captured by the Kinect sensor
Joseph Khella
  • 695
  • 1
  • 9
  • 26
0
votes
1 answer

How to fix the invalid mesh construction?

There is a sample here: http://amegas.github.io/gera/custom.geometry It shows the rotating swords, which are represented as the custom loaded geometry which is mapped with the UV-texture. As I can see this sample uses only a part of the texture with…
user4959035
0
votes
1 answer

three js mtl file basic material

I need a basic material in my mesh. I have this material in my MTL file: newmtl window Ns 0.000000 Ka 0.000000 0.000000 0.000000 Kd 0.888930 0.994660 0.000000 Ks 0.000000 0.000000 0.000000 Ni 1.000000 d 1.000000 illum 1 what attribute makes…
Martin
  • 2,575
  • 6
  • 32
  • 53
0
votes
1 answer

Converting .3DC + .DDS files into .OBJ + .MTL + .TGA

How would I go at converting .3DC + .DDS files into .OBJ + .MTL + .TGA?
Pikachuu
  • 21
  • 4
0
votes
1 answer

Three.js transparent object and color change (load .obj + .mtl)

I am using Three.js to load .obj + .mtl files to view 3d model in the browser. currently at the beginning and I will be happy if someone could help a little :) Two things I did not understand yet: The model on which I am working (need to drag with…
greenrod
  • 33
  • 7
0
votes
1 answer

BufferOverFlowException when changing ShortBuffer to IntBuffer

I am trying to patch up an OBJ loading class, as it only supported Short numbers, and I have a large OBJ that goes above the Short number limit. I had to change the code to use Integer Vectors (instead of Short ones) and a ShortBuffer was changed to…
Mr Pablo
  • 4,109
  • 8
  • 51
  • 104
0
votes
1 answer

How to speed up reading of a large OBJ (text) file?

I am using an OBJ Loader library that I found on the 'net and I want to look into speeding it up. It works by reading an .OBJ file line by line (its basically a text file with lines of numbers) I have a 12mb OBJ file that equates to approx 400,000…
Mr Pablo
  • 4,109
  • 8
  • 51
  • 104
0
votes
0 answers

Java .OBJ File Loader

I have quite a long question that I hope someone can help me with. I'm having some trouble loading a obj file to the format i would like. I'm trying to load the file's vertices and texture coords into an array of the following: public class…
redonkulasman
  • 45
  • 2
  • 11
0
votes
1 answer

How to export as quads only

I have exported a simple model (a cube subdivided by 10, then I used smooth vertex). I export the model, so it can be loaded by my engine (which expects everything to be a quad). I export it as Wavefront OBJ. The problem is, Blender sometimes…
Helder Novais
  • 85
  • 4
  • 12
0
votes
1 answer

Three.js MeshBasicMaterial wireframe won't render

Geometry created from the three.js API is working fine, but an obj file exported from Blender renders faces when it should be wireframe. Is something wrong with my import or export process? var loader = new THREE.OBJLoader( manager ); loader.load(…
theLucre
  • 121
  • 2
  • 13
0
votes
0 answers

Loading models in LibGDX from obj omitts texture coordinates

I'm using 3ds max to draw my models and attach textures to them, when I'm done I export the model to .obj file format and then load it in libgdx new AssetManager().load("path", Model.class) However, I think libgdx messes it up, or maybe something…
Oleg Bondarenko
  • 101
  • 2
  • 11
0
votes
1 answer

vb.net how would I load a wave front obj?

I'm trying to load a Wavefront OBJ onto my form in vb.net. Most of the tutorials I saw is basically replacing the entire form with a directX form. But I don't want that id like to just show the model in my current form. Is that possible?
user3851593
  • 27
  • 1
  • 9
0
votes
1 answer

Are .obj file vertex numbers globally unique?

In this .obj file: o sometriangle v 1 0 0 v 0 1 0 v 0 0 1 f 1 2 3 o somesquare v 5 0 0 v 5 5 0 v 0 5 0 v 0 0 0 f 1 2 3 # HERE f 1 3 4 # AND HERE Do the marked lines refer to the vertices within their containing object, or are vertex numbers…
Eric
  • 95,302
  • 53
  • 242
  • 374