# \#obj-format

**URL:** https://discourse.threejs.org/tag/obj-format/45.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [Can there be a "Known Issues or Bugs" Section to the Forum?](https://discourse.threejs.org/t/can-there-be-a-known-issues-or-bugs-section-to-the-forum/68096)

<div class="topic-metadata">

**Author:** [@BrentBuffham](https://discourse.threejs.org/u/BrentBuffham)\
**Replies:** 7\
**Last updated:** [July 14, 2024, 8:52am UTC](https://discourse.threejs.org/t/can-there-be-a-known-issues-or-bugs-section-to-the-forum/68096 "2024-07-14T08:52:35Z")

</div>

Is it possible to have a known bugs section to the forum? Recently I had a display issue that I though was in my implementation however the case is that it is a known issue with MacOS chromium based browsers and meshes …

---

## [Convert .dwg to .obj with javascript](https://discourse.threejs.org/t/convert-dwg-to-obj-with-javascript/3808)

<div class="topic-metadata">

**Author:** [@Sofia\_Ribeiro](https://discourse.threejs.org/u/Sofia_Ribeiro)\
**Replies:** 10\
**Last updated:** [June 30, 2024, 5:19am UTC](https://discourse.threejs.org/t/convert-dwg-to-obj-with-javascript/3808 "2024-06-30T05:19:29Z")

</div>

Hello, I want to load a .dwg file to three.js. But since three.js can’t load those files, I was trying to convert to .obj in javascript, how can I do it?

---

## [How to smooth an OBJ with threejs?](https://discourse.threejs.org/t/how-to-smooth-an-obj-with-threejs/3950)

<div class="topic-metadata">

**Author:** [@fuzzy\_wobble](https://discourse.threejs.org/u/fuzzy_wobble)\
**Replies:** 15\
**Last updated:** [April 29, 2024, 5:15am UTC](https://discourse.threejs.org/t/how-to-smooth-an-obj-with-threejs/3950 "2024-04-29T05:15:51Z")

</div>

I understand there are ways to smooth OBJs in blender/etc. But, is there any way to do it with just threejs?

---

## [How to Use Drag Control For "Obj" file without expanding object](https://discourse.threejs.org/t/how-to-use-drag-control-for-obj-file-without-expanding-object/30996)

<div class="topic-metadata">

**Author:** [@Arend\_Lighting](https://discourse.threejs.org/u/Arend_Lighting)\
**Replies:** 1\
**Last updated:** [March 8, 2022, 10:33am UTC](https://discourse.threejs.org/t/how-to-use-drag-control-for-obj-file-without-expanding-object/30996 "2022-03-08T10:33:20Z")

</div>

hi everyone! I’m using three.JS for virtual lighting project & i have some questions 1.how to create light inner object (obj file) to glow outside? (like this) 2.how to drag & move group of all child’s of object? (lik…

---

## [\[SOLVED\] How can we smooth model loaded with OBJLoader (i.e. not flat shading)?](https://discourse.threejs.org/t/solved-how-can-we-smooth-model-loaded-with-objloader-i-e-not-flat-shading/5531)

<div class="topic-metadata">

**Author:** [@trusktr](https://discourse.threejs.org/u/trusktr)\
**Replies:** 10\
**Last updated:** [November 29, 2021, 9:06am UTC](https://discourse.threejs.org/t/solved-how-can-we-smooth-model-loaded-with-objloader-i-e-not-flat-shading/5531 "2021-11-29T09:06:15Z")

</div>

I’m loading a model, then once the model is loaded, I’m not able to make it have smooth shading. In my OBJLoader callback I’ve tried: model.traverse(n =\> { if (n.material) { …

---

## [Model stl or obj can be texturized?](https://discourse.threejs.org/t/model-stl-or-obj-can-be-texturized/2779)

<div class="topic-metadata">

**Author:** [@jauregui](https://discourse.threejs.org/u/jauregui)\
**Replies:** 8\
**Last updated:** [October 15, 2020, 10:51pm UTC](https://discourse.threejs.org/t/model-stl-or-obj-can-be-texturized/2779 "2020-10-15T22:51:48Z")

</div>

I made a simple object with openCad, I include it in my project but doesn’t get the texture (I used the loader\_obj example, I just replace the path so in can load my model, it shows it but doesn’t get texture. Is there…

---

## [Obj + Mtl files from zip file](https://discourse.threejs.org/t/obj-mtl-files-from-zip-file/2175)

<div class="topic-metadata">

**Author:** [@SirMoustache](https://discourse.threejs.org/u/SirMoustache)\
**Replies:** 3\
**Last updated:** [October 9, 2020, 10:53am UTC](https://discourse.threejs.org/t/obj-mtl-files-from-zip-file/2175 "2020-10-09T10:53:19Z")

</div>

Hi, I’m trying to load \*.obj + \*.mtl files from zip archive. var unzippedData = new JSZip( zippedData ); var materials = new THREE.MTLLoader().parse( unzippedData.file( 'materials.mtl' ).asText() ); var object = new THR…

---

## [Matching Csv file with an Obj file to highlight component](https://discourse.threejs.org/t/matching-csv-file-with-an-obj-file-to-highlight-component/19510)

<div class="topic-metadata">

**Author:** [@abdulmutalib1](https://discourse.threejs.org/u/abdulmutalib1)\
**Replies:** 0\
**Last updated:** [October 7, 2020, 12:59pm UTC](https://discourse.threejs.org/t/matching-csv-file-with-an-obj-file-to-highlight-component/19510 "2020-10-07T12:59:37Z")

</div>

Hello everyone, my aim is to have an application which loads an obj file with three js loader and then i have a csv file of that same obj file which i read to display the components as a list with each components contai…

---

## [3D Viewer Power-up for Trello with Three.js ](https://discourse.threejs.org/t/3d-viewer-power-up-for-trello-with-three-js/17034)

<div class="topic-metadata">

**Author:** [@Armin](https://discourse.threejs.org/u/Armin)\
**Replies:** 0\
**Last updated:** [July 13, 2020, 1:26am UTC](https://discourse.threejs.org/t/3d-viewer-power-up-for-trello-with-three-js/17034 "2020-07-13T01:26:01Z")

</div>

Hello everyone, thanks to awesome three.js, we made a free Power-up for Trello, which allows Trello users to view uploaded 3d files directly in Trello. this Power-up is now installed on than 1000 boards. please see instr…

---

## [How can i use three.js model in Mapbox](https://discourse.threejs.org/t/how-can-i-use-three-js-model-in-mapbox/16634)

<div class="topic-metadata">

**Author:** [@nima\_shahin](https://discourse.threejs.org/u/nima_shahin)\
**Replies:** 6\
**Last updated:** [June 29, 2020, 12:13pm UTC](https://discourse.threejs.org/t/how-can-i-use-three-js-model-in-mapbox/16634 "2020-06-29T12:13:07Z")

</div>

Hi there, I want to add my 3D model in Mapbox, but as default, we can add our 3D model with .gtlf format file, but I have a .obj and .mtl files. is Possible to do that?

---

## [Loading Big .Obj file about 300 Mb will crash te browser and take much time to load](https://discourse.threejs.org/t/loading-big-obj-file-about-300-mb-will-crash-te-browser-and-take-much-time-to-load/1401)

<div class="topic-metadata">

**Author:** [@darshithedpara](https://discourse.threejs.org/u/darshithedpara)\
**Replies:** 13\
**Last updated:** [January 21, 2020, 8:59am UTC](https://discourse.threejs.org/t/loading-big-obj-file-about-300-mb-will-crash-te-browser-and-take-much-time-to-load/1401 "2020-01-21T08:59:05Z")

</div>

i want to load .obj file size is about 300Mb. when i m load that file it will crash the browser and some time it will take more time to load but after that it will say memory core dumped… so there is any other way that …

---

## [How drag correctly the OBJ file?](https://discourse.threejs.org/t/how-drag-correctly-the-obj-file/7599)

<div class="topic-metadata">

**Author:** [@M-P.anslin](https://discourse.threejs.org/u/M-P.anslin)\
**Replies:** 3\
**Last updated:** [November 12, 2019, 12:22pm UTC](https://discourse.threejs.org/t/how-drag-correctly-the-obj-file/7599 "2019-11-12T12:22:31Z")

</div>

Hi everyone, I have some problem with drag object, i just want to move this with the mouse I have tried to drag with the mouse a gltf file that works well var loader = new THREE.GLTFLoader(); loader.load( …

---

## [Export custom ShaderMaterial as material for blender](https://discourse.threejs.org/t/export-custom-shadermaterial-as-material-for-blender/7707)

<div class="topic-metadata">

**Author:** [@compmonks](https://discourse.threejs.org/u/compmonks)\
**Replies:** 2\
**Last updated:** [May 23, 2019, 9:54pm UTC](https://discourse.threejs.org/t/export-custom-shadermaterial-as-material-for-blender/7707 "2019-05-23T21:54:59Z")

</div>

I am currently using THREE.OBJExporter() to export meshes with their materials in the obj format. But I also have several custom material shaders that I would like to use as well mostly to import in Blender. Is there a w…

---

## [Best Practise: Hide 3D Models, so no one can download and reuse this models](https://discourse.threejs.org/t/best-practise-hide-3d-models-so-no-one-can-download-and-reuse-this-models/5679)

<div class="topic-metadata">

**Author:** [@TiMeJuMp](https://discourse.threejs.org/u/TiMeJuMp)\
**Replies:** 2\
**Last updated:** [January 10, 2019, 4:28pm UTC](https://discourse.threejs.org/t/best-practise-hide-3d-models-so-no-one-can-download-and-reuse-this-models/5679 "2019-01-10T16:28:49Z")

</div>

Hello, I have a question about obfuscating the path to the OBJ source file. Since we want to display 3D graphics of our customers, but want to prevent these graphics from being stolen or used by others, I am now lookin…

---

## [Set imported .obj as mesh and not linesegments.](https://discourse.threejs.org/t/set-imported-obj-as-mesh-and-not-linesegments/5849)

<div class="topic-metadata">

**Author:** [@zed87](https://discourse.threejs.org/u/zed87)\
**Replies:** 3\
**Last updated:** [January 24, 2019, 1:11pm UTC](https://discourse.threejs.org/t/set-imported-obj-as-mesh-and-not-linesegments/5849 "2019-01-24T13:11:51Z")

</div>

I am importing a obj + mtl file (exported from blender) in my three.js project. The problem is that i get a linesegments object (buffergeometry+linesegment material) instead of a mesh. How can i solve this? This is my c…

---

## [THREE:ObjectLoader: Can't parse https://cywarr.github.io/small-shop/Kirche3D.obj. Unexpected token # in JSON at position 0](https://discourse.threejs.org/t/three-cant-parse-https-cywarr-github-io-small-shop-kirche3d-obj-unexpected-token-in-json-at-position-0/5622)

<div class="topic-metadata">

**Author:** [@MeiJunNa](https://discourse.threejs.org/u/MeiJunNa)\
**Replies:** 12\
**Last updated:** [January 8, 2019, 4:41am UTC](https://discourse.threejs.org/t/three-cant-parse-https-cywarr-github-io-small-shop-kirche3d-obj-unexpected-token-in-json-at-position-0/5622 "2019-01-08T04:41:42Z")

</div>

I execute the command statement “import \* as THREE from ‘three’” in the js code. but have shown some bug in the console

---

## [Trying to apply a shader to an entire OBJ model, not the individual meshes](https://discourse.threejs.org/t/trying-to-apply-a-shader-to-an-entire-obj-model-not-the-individual-meshes/5335)

<div class="topic-metadata">

**Author:** [@fuzzy\_wobble](https://discourse.threejs.org/u/fuzzy_wobble)\
**Replies:** 3\
**Last updated:** [December 13, 2018, 4:53pm UTC](https://discourse.threejs.org/t/trying-to-apply-a-shader-to-an-entire-obj-model-not-the-individual-meshes/5335 "2018-12-13T16:53:49Z")

</div>

Okay I am very new to shaders. But I am very stuck… I am trying to apply a shader to an imported OBJ model: var TEXT\_MATERIAL = new THREE.MeshPhongMaterial({ color: 0xf3a5fb, shininess: 0, specular: 0xffffff, }); va…

---

## [Materials show up black sometimes](https://discourse.threejs.org/t/materials-show-up-black-sometimes/4582)

<div class="topic-metadata">

**Author:** [@mithradantor](https://discourse.threejs.org/u/mithradantor)\
**Replies:** 4\
**Last updated:** [October 21, 2018, 5:03pm UTC](https://discourse.threejs.org/t/materials-show-up-black-sometimes/4582 "2018-10-21T17:03:18Z")

</div>

Hi guys, my webviewer is finished(ish) and is working flawless. Only downside is that when I download a model (from any website) in OBJ format with .mtl file, or I download a non-OBJ format and export it with 3ds Max 20…

---

## [3D html (webgl) to .obj or .stl](https://discourse.threejs.org/t/3d-html-webgl-to-obj-or-stl/4530)

<div class="topic-metadata">

**Author:** [@AKoperski](https://discourse.threejs.org/u/AKoperski)\
**Replies:** 6\
**Last updated:** [October 17, 2018, 3:21pm UTC](https://discourse.threejs.org/t/3d-html-webgl-to-obj-or-stl/4530 "2018-10-17T15:21:03Z")

</div>

Is there a program or way to open webgl model (.html) and save it as .obj? I want to 3D print and I need .obj file format. Thank you Andy

---

## [Extrude imported object or part of it!](https://discourse.threejs.org/t/extrude-imported-object-or-part-of-it/3698)

<div class="topic-metadata">

**Author:** [@Zanki\_Devastarius](https://discourse.threejs.org/u/Zanki_Devastarius)\
**Replies:** 2\
**Last updated:** [August 8, 2018, 12:56pm UTC](https://discourse.threejs.org/t/extrude-imported-object-or-part-of-it/3698 "2018-08-08T12:56:51Z")

</div>

Working on a basic 3d furniture configurator, Trying to make something like this : http://monmeuble.mobibam.com/ I’m looking for the best way to resize my loaded file by extruding it ? on my code I already found a way…

---

## [project from file obj](https://discourse.threejs.org/t/project-from-file-obj/3285)

<div class="topic-metadata">

**Author:** [@Antonello\_Ierardi](https://discourse.threejs.org/u/Antonello_Ierardi)\
**Replies:** 14\
**Last updated:** [July 2, 2018, 11:08am UTC](https://discourse.threejs.org/t/project-from-file-obj/3285 "2018-07-02T11:08:47Z")

</div>

Hi, I should create a drawing with three.js starting from a file obj but I do not know where to start. Can you give me some advice? Thank you

---

## [Wrong model color with texture from .obj + .mtl](https://discourse.threejs.org/t/wrong-model-color-with-texture-from-obj-mtl/3091)

<div class="topic-metadata">

**Author:** [@SirMoustache](https://discourse.threejs.org/u/SirMoustache)\
**Replies:** 3\
**Last updated:** [June 11, 2018, 2:16pm UTC](https://discourse.threejs.org/t/wrong-model-color-with-texture-from-obj-mtl/3091 "2018-06-11T14:16:46Z")

</div>

Hi, When I try to add to scene model with a texture that is loaded with OBJLoader2 and MTLLoader the model color is wrong (100% black). .mtl file looks like this newmtl lambert2SG illum 4 Kd 0.00 0.00 0.00 Ka 0.00 0.0…

---

## [ObjLoader , mtlLoader and meshPhysicalMaterial](https://discourse.threejs.org/t/objloader-mtlloader-and-meshphysicalmaterial/2952)

<div class="topic-metadata">

**Author:** [@mixofi](https://discourse.threejs.org/u/mixofi)\
**Replies:** 3\
**Last updated:** [May 29, 2018, 2:43pm UTC](https://discourse.threejs.org/t/objloader-mtlloader-and-meshphysicalmaterial/2952 "2018-05-29T14:43:35Z")

</div>

Hello guys , please i have a problem that a dont found the solution . I want to put a physicalmaterial into a geometrie that i loaded with the objLoader and mtlLoader , i need to add a roughness and metalness value to t…

---

## [Loaded obj + mtl not casting shadow](https://discourse.threejs.org/t/loaded-obj-mtl-not-casting-shadow/2615)

<div class="topic-metadata">

**Author:** [@pict1000](https://discourse.threejs.org/u/pict1000)\
**Replies:** 3\
**Last updated:** [April 26, 2018, 12:37pm UTC](https://discourse.threejs.org/t/loaded-obj-mtl-not-casting-shadow/2615 "2018-04-26T12:37:28Z")

</div>

Even though I’ve tried castShadow = true and receiveShadow = true for the appropriate objects, a model I imported as an obj + mil file will not cast a shadow on anything else in the scene, not even on a plane that is suc…

---

## [MTL Material Not Loading on OBJ](https://discourse.threejs.org/t/mtl-material-not-loading-on-obj/2162)

<div class="topic-metadata">

**Author:** [@calebcarithers](https://discourse.threejs.org/u/calebcarithers)\
**Replies:** 4\
**Last updated:** [March 18, 2018, 3:42pm UTC](https://discourse.threejs.org/t/mtl-material-not-loading-on-obj/2162 "2018-03-18T15:42:18Z")

</div>

Attempting to load OBJ + MTL of the Earth (not my model). I am using the template provided in the examples. OBJ (sphere) will load, but it is grey with no material/texture. The blender file will load the material properl…

---

## [Loading models problem (OBJ + MTL or FBX)](https://discourse.threejs.org/t/loading-models-problem-obj-mtl-or-fbx/1858)

<div class="topic-metadata">

**Author:** [@Slotman](https://discourse.threejs.org/u/Slotman)\
**Replies:** 7\
**Last updated:** [February 21, 2018, 1:37am UTC](https://discourse.threejs.org/t/loading-models-problem-obj-mtl-or-fbx/1858 "2018-02-21T01:37:19Z")

</div>

Hi everyone! I’m new over here, but I’ve been working with Three.js for the last couple of months. Now I finally found something that I couldn’t solve myself, which is loading an OBJ model and its MTL material. I hope y…

---

## [\[solved\] Don't break obj geometry in vertexShader](https://discourse.threejs.org/t/solved-dont-break-obj-geometry-in-vertexshader/1875)

<div class="topic-metadata">

**Author:** [@vasilii](https://discourse.threejs.org/u/vasilii)\
**Replies:** 1\
**Last updated:** [February 20, 2018, 1:51am UTC](https://discourse.threejs.org/t/solved-dont-break-obj-geometry-in-vertexshader/1875 "2018-02-20T01:51:07Z")

</div>

Thanks to all… Create for this scene: http://js.otrisovano.ru/tests/12logoGeom/allscene/ Take example from here: https://codepen.io/ykob/pen/VPdyar Here it’s working: http://js.otrisovano.ru/tests/12logoGeom/ref/ But…

---

## [How to convert .Obj file to Mesh?](https://discourse.threejs.org/t/how-to-convert-obj-file-to-mesh/1179)

<div class="topic-metadata">

**Author:** [@sandipnd31](https://discourse.threejs.org/u/sandipnd31)\
**Replies:** 1\
**Last updated:** [November 10, 2017, 6:57am UTC](https://discourse.threejs.org/t/how-to-convert-obj-file-to-mesh/1179 "2017-11-10T06:57:52Z")

</div>

I added geometry in THREE.Mesh. Working fine. var geometry = new THREE.SphereGeometry( 0.5, 40, 40 ); var material = new THREE.MeshBasicMaterial( {color: 0x00ff00} ); var player = new THREE.Mesh( geom…

---

## [Texture not referenced in MTL exported from blender](https://discourse.threejs.org/t/texture-not-referenced-in-mtl-exported-from-blender/1272)

<div class="topic-metadata">

**Author:** [@theirishduck](https://discourse.threejs.org/u/theirishduck)\
**Replies:** 2\
**Last updated:** [November 25, 2017, 10:31am UTC](https://discourse.threejs.org/t/texture-not-referenced-in-mtl-exported-from-blender/1272 "2017-11-25T10:31:22Z")

</div>

Hi guys, I was wondering if I could pick any of your brains in regards to Blender3D and OBJ & MTL exporting. I am using the latest Blender3D (2.79), created a simple 3d model and when I export to OBJ format, it creates …

---

## [Export to .obj loses colours](https://discourse.threejs.org/t/export-to-obj-loses-colours/1220)

<div class="topic-metadata">

**Author:** [@alehro](https://discourse.threejs.org/u/alehro)\
**Replies:** 4\
**Last updated:** [November 16, 2017, 6:41pm UTC](https://discourse.threejs.org/t/export-to-obj-loses-colours/1220 "2017-11-16T18:41:41Z")

</div>

Hi all, I am evaluating three.js and its ability to export data. It appears that the demo application: https://threejs.org/editor/ loses color information completely. What can be done about the problem? How easy it wou…

[Next page](https://discourse.threejs.org/tag/obj-format/45.md?match_all_tags=true&page=1&tags%5B%5D=obj-format)
