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

THREE.js not rendering .obj with .mtl - exporting files for THREE.js

***UPDATE***This has to be an issue with the files and the way they are exported, i just don't know what that issue is. I have downloaded some more example models and they all render just fine. I am experiencing an issue with Three.js when loading…
Colin Barstow
  • 552
  • 2
  • 12
2
votes
0 answers

Load & display .obj file at runtime using the FastObjImporter (Unity)

I want to import and display an .obj file at runtime in Unity (2017.3.1f1) and found a fixed version (click, direct link to pastebin) of the FastObjImporter from the Unity wiki (click). Since my .obj file doesn't include normals, I had to make the…
Neph
  • 1,823
  • 2
  • 31
  • 69
2
votes
2 answers

ThreeJS Loading Screen

Im completely new at ThreeJS and currently working on something like a 3D Configurator. Now Im trying to implement a loading screen before the obj object is loaded, this is my code right now:
Boby
  • 77
  • 3
  • 10
2
votes
1 answer

How to export .obj format file with texture in blender?

First of all i am new in blender. i have attached texture from tree object. this project exporting (.obj) and (.mtl) files only.but it does not exporting texture images.I need textures image also. please any give the solution.
vishnuajan
  • 59
  • 1
  • 1
  • 9
2
votes
0 answers

min3D framework load .OBJ and .3DS. Resume redraw

I've been using min3D framework for my last project and I'm stack with couple of problems. First - it takes a lot of effort to get it load my car model from .OBJ file. I've managed to do it only by converting .obj file to .3ds(this was the only way…
Alex Bush
  • 735
  • 1
  • 13
  • 26
2
votes
1 answer

Extract contour from obj 3d object in Matlab

I have an .obj file representing a 3D object. I need to extract from this 3D object the contour that is obtained by intersection with a plane. So for example, I have an object representing a cylinder oriented with vertical axis, then I want to…
Emanuele
  • 147
  • 1
  • 2
  • 13
2
votes
1 answer

I want to import obj files in blender

Right now my code is as follow: import os import bpy path_to_objdir = os.path.join('C:\\','Users\vincent.martel\Documents\Data\full_mesh') file_list = sorted(os.listdir(path_to_objdir)) obj_list = [item for item in file_list if…
2
votes
1 answer

How insert a 3D viewer into java application for .obj file?

I created a simple Java application using JavaFX. I would like to integrate a 3D viewer on my window with which I can interact with the mouse (only to rotate the 3D object). Is it possible to achieve such a thing in Java with JavaFX? The purpose of…
user7938219
2
votes
1 answer

A-frame - glTF - Asset not found

I'm trying to import a gltf-model into my scene, but even with correct paths and references the console claims the "core:propertyTypes:warn "#model" asset not found. +0ms". Tried with a gltf-model exported from Blender by me as well as a downloaded…
2
votes
1 answer

how to get the absolute position of loaded .obj in three.js?

loading the .obj: loader.load( 'test.obj', function ( objMesh ) { objMesh.traverse( function ( child ) { if ( child instanceof THREE.Mesh ) { child.material = mat2; } …
2
votes
0 answers

loading textured obj with PCL c++

I am trying to load a textured .obj file using the predefined PCL (Point Cloud Library) functions like so: pcl::TextureMesh texture_mesh; int loaded = pcl::io::loadOBJFile(
rfho_bdss
  • 170
  • 1
  • 18
2
votes
2 answers

Parsing .obj files: How to do materials/textures?

I'm new to OpenGL. I'm playing around with it using JOGL. I'm using this model. I am successfully rendering it to the window. However, I would like to apply textures/materials. I'm not entirely sure how to do this. From the .obj file: f 6307/4525/3…
Nick Heiner
  • 119,074
  • 188
  • 476
  • 699
2
votes
1 answer

iOS Import .obj file to Model I/O without duplicating vertices

I'm trying to import a .obj file to use in Scene Kit using the Model I/O framework. I initially used the simple MDLAsset initWithURL: function, but after transferring the mesh to a SCNGeometry, I realized this function was triangulizing the mesh,…
sts54
  • 49
  • 9
2
votes
2 answers

convert .skp file to .obj file without sketchup pro

I want to convert .skp models to .obj in ubuntu 14.04. I have searched for any free version software for a good conversion.. but did not get any suitable answer and stuck here. Any hint is most welcome...
okay
  • 31
  • 1
  • 1
  • 4
2
votes
3 answers

Why cannot I load .obj file to my repository?

I started using github newly. I'm having trouble to load my .obj file to my repository. I found a gitignore file good to use with unity projects and I'm using it.…
Cenkisabi
  • 1,066
  • 8
  • 25