wavefront Questions

2

So I'm writing a parser for wavefront obj model files and there are a few irregularities that I'm not sure how to handle. So based off of my reading, a mesh can be broken up into groups using the...
Pauperism asked 1/6, 2015 at 20:5

5

Solved

How does one export a 3D Studio animated model to OBJ format (if possible)? What will be the resulting file like? How would I read that?
Demirep asked 16/4, 2009 at 17:14

5

Solved

I was building a little 3D-application using ThreeJS and WebGL. I purposely chose not to convert models into ThreeJS compatible .json files, instead started building an importer. It works, but I al...
Allopath asked 5/9, 2013 at 16:44

3

Solved

I am working on a .obj handler in c++. Importing the data shouldn't be a Problem, but i do not understand why it is possible, that a .obj (e.g. exported from blender) has more 'vt' entries than 'v'...
Marcelo asked 5/1, 2015 at 10:14

1

Solved

I'm developing an application with React VR and I've created an 3D pokeball with blender. I've export this as Wavefront .obj file and use it in my React VR application. In the console I see this w...
Brack asked 8/3, 2017 at 15:23

2

Solved

At first, it seemed obvious... Make 2 triangles per face wherever 4 indices were found, right? Meaning, the following: v 1.000000 1.000000 0.000000 v -1.000000 1.000000 -0.000000 v 1.000000 -1.000...
Cadmann asked 18/5, 2014 at 16:5

1

Solved

I have a .mtl file next to my .obj file which specifies the materials for the object. Im trying to create a parser but dont know what the "Ke" attribute means. e.g: Ka 0.78 0.78 0.78 Kd 0.78 0.78...
Jennettejenni asked 1/5, 2016 at 8:41

1

Solved

I've imported a Wavefront OBJ file from a URL and now I'd like to insert it into my scene (SceneKit) on my iOS 9 app (in Swift). What I've done so far is: let asset = MDLAsset(URL: localFileUrl) p...
Eucharis asked 8/1, 2016 at 1:10

4

Solved

I'm coding my own .obj parser in objc for OpenGL ES 2.0 to get a better understanding on how this OpenGLES thing works. Loading the vertices and showing a model with vertex colors on it works like ...
Effulgent asked 12/1, 2012 at 15:11

5

Solved

While trying to a parse a wavefront .obj file, I thought of two approaches: Create an 2D array the size of the number of vertices. When a face uses a vertex, get it's coordinates from the array. ...
Anorthic asked 17/10, 2011 at 15:28

1

Solved

I want to know how can I use the vertex normals for lightning effect? Currently what I have is I can send both vertex and texture coords to the shader and use them but with normals, I don't know ho...
Urial asked 6/8, 2015 at 8:22

2

Solved

I am creating an OBJ parser which reads the file and draw it using glDrawElements. The thing here is the model is correctly drawn but when I try to give it a texture, it is incorrectly mapped. I ha...
Scala asked 27/7, 2015 at 9:37

1

Solved

I have this kind of matrix (13 x 13): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 0 0 ...
Parallelize asked 11/3, 2015 at 13:59

2

I am trying to load .obj files into an Android project with LibGDX. The files have no texture file, but include materials in .mtl files. I'm using the latest official nightly, and rendering the obj...
Quoit asked 19/4, 2013 at 17:40

3

Solved

So using a Wavefront object file how am i supposed to render faces that have more than 4 vertices in OpenGL? I understand that if it has 3 vertices I use GL_TRIANGLES, if it has 4 I use GL_QUADS, ...
Brainbrainard asked 5/2, 2012 at 5:40

1

Solved

I want to recursively parse a string and store the results in one struct. I've written a parser that can handle one iteration. The input is formatted as follows: v 1.5 2.0 2.5 v 3.0 3.5 4.0 f 1 2 ...
Darkish asked 15/7, 2013 at 18:16

1

Solved

I want to write a parser for Blender's .obj file. The file format seems self explanatory, but also it seems to be missing some data. For example, a simple cube (the default Blender cube) has 8 line...
Dogmatize asked 15/7, 2012 at 23:48

1

Solved

I'm writing an android app using openGL ES. I followed some online tutorials and managed to load up a textured cube using hard-coded vertices/indices/texture coordinates As a next step I wrote a p...
Boor asked 7/4, 2011 at 17:50

1

Solved

Back with my daily silly question. Today I'm trying to put a struct in an NSArray. Alright, that's easy, wrap it in a NSData. If you know me, you know you're about to see code. In this example, I'm...
Pistoleer asked 18/10, 2010 at 19:24
1

© 2022 - 2024 — McMap. All rights reserved.