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
0 answers

How can I load blender files with wavefront?

I am trying to load obj files with wavefront. I failed while I selected file as obj file. I tried mtl and the 3d model didn't loaded. Code I just used: kup = pywavefront.Wavefront("ichigo/kup.obj") def on_draw(): window.clear() …
pakapaka
  • 67
  • 6
0
votes
1 answer

How to use .obj files in expo three.js without AR module? [React Native Expo]

My problem is about how can I use .mtl and .obj files with expo three.js, but I don't want to use AR, I only want to use a simple canvas/View with the object rotating. This code is the thing I want but with my obj file, not to create a cube. import…
Dicarva
  • 75
  • 9
0
votes
1 answer

How can I see the total number of edges and/or Genus in an imported OBJ file using Meshlab?

Is there any way to see the total number of edges and/or the genus used in the euler number formula using MeshLab? (source: 80.lv)
Rex Buyeo
  • 13
  • 2
0
votes
0 answers

Loading big OBJ files results in model corruption?

I wrote a obj loader. It's very simple but I'm sure it works. I checked values in file and the ones printed by the loader and they match. Problem occurs when I try to load a big obj file like stanford dragon or Bunny. Utah teapot (3664 verts) works…
GPlayer
  • 131
  • 1
  • 7
0
votes
2 answers

When loading an OBJ i get this

and this time i have loaded a model successfully! yay!! but theres a slight problem, one that i had with another obj loader... heres what it looks like: http://img132.imageshack.us/i/newglitch2.jpg/ heres another angle if u cant see it right…
Molmasepic
  • 1,015
  • 2
  • 13
  • 18
0
votes
0 answers

It's possible to use a transparency map in an OBJ within three.js?

I am trying to add a transparency map to an OBJ imported to my three.js scene but it is not working (it shows the model and the other materials but without the transparency map). I already played with the D value. Is it even possible to achieve what…
0
votes
1 answer

Wavefront to send Different Alert of the metric if it's from Different Source

I am sending data to a single metric from 2 different machine/sources (SourceA and SourceB). When my alert condition is TRUE for both sources : I get a single email mentioning ALERT CONDITION is true and sources are mentioned below. Can I send 2…
Sanket9394
  • 2,031
  • 1
  • 10
  • 15
0
votes
1 answer

In a obj+mtl+jpg 3D file, how to get the 3D coordinate where a specific pixel in the jpg file will be applied?

I have 3 files, a .obj, a .mtl, and a .jpg file. Is there a way to get, for each (relevant) pixel in the .jpg file, the 3D point where the color is "projected" ? I mean, this must be calculated somewhere in the process of applying the texture to the…
SuperMouette
  • 345
  • 3
  • 13
0
votes
1 answer

Why is BufferedReader skipping lines when trrying to load from a wavefront obj file?

I have written a simple wavefront parses for Java, which is displayed in the following code section: Source code public class OBJLoader { public static GameEntity loadObjModel(String fileName, String texturePath) throws Exception { double start…
0
votes
0 answers

Using mtl info in fragment shader in OpenGL for texture mapping

In my program I load .obj model. Now I want to make a use out of .mtl for my model. I have parsed all the attributes (including texture filename - actually I just want to map a texture to my model). And I guess the lighting and texture mapping will…
anako
  • 125
  • 7
0
votes
0 answers

Feature detection wavefront object using python. is there any libraries?

I am doing a 3D Scan and export the result as a wavefront object (.obj with the mesh, and .mtl and .jpeg for the texture). the link between the faces of the mesh and the texture are in the .obj. I am trying to detect "circles" for example on the 3D…
p.deman
  • 584
  • 2
  • 10
  • 24
0
votes
0 answers

Good way to parse Wavefront OBJ with C++ with //?

how to parsing file in this form my file is looks like this v -1.000000 -1.000000 -1.000000 v -1.000000 1.000000 -1.000000 vn 1.0000 0.0000 0.0000 vn 0.0000 0.0000 1.0000 f 2//1 3//1 1//1 f 4//2 7//2 3//2 and my parsing code here: ifstream…
hahahaha
  • 11
  • 6
0
votes
1 answer

Unity3D/Blender: Obj shows submesh with incorrect origin/pivot ? How to set?

I have a model of a drone which was exported as all 1 mesh. My goal is to separate out the props so that they can animate/spin correctly. As such I have an obj which was exported from blender with 1 submesh. However, when it gets imported into…
JMan Mousey
  • 271
  • 2
  • 13
0
votes
1 answer

3ds max: wavefront .obj export causes shading artifacts

I'm trying to export a 3ds max scene to .obj format, unfortunately when I import the .obj file after having exported it using the default export settings the imported model has shading artifacts on a small part of the polygons (in particular of the…
0
votes
2 answers

Array of of Struct containing array of char as members - C

I have a struct like this: struct vertices{ char x[20]; char y[20]; char z[20]; }; and then in main I have an array of the struct vertices like this: struct vertices…
shinwari_afg
  • 104
  • 11