# 3d model in .obj format not appearing in my sketch

**URL:** <https://discourse.processing.org/t/3d-model-in-obj-format-not-appearing-in-my-sketch/4090>\
**Category:** Coding Questions\
**Created:** [October 3, 2018, 3:51pm UTC](https://discourse.processing.org/t/3d-model-in-obj-format-not-appearing-in-my-sketch/4090 "2018-10-03T15:51:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jpupper](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@Jpupper](https://discourse.processing.org/u/Jpupper)\
**Post date:** [October 3, 2018, 3:51pm UTC](https://discourse.processing.org/t/3d-model-in-obj-format-not-appearing-in-my-sketch/4090/1 "2018-10-03T15:51:01Z")

</div>

So, i´ve been trying to use a 3d model that i´ve downloaded from here : [https://www.turbosquid.com/3d-models/brain-max-free/833681](https://www.turbosquid.com/3d-models/brain-max-free/833681)

Im using the standart code from LoadDisplayOBJ wich does shows up the rocket in the example but not my model.

Allthought my model does shows up in another 3D programs.

I´ve already tryed scaling it but still not working.

i´ve noticed that my model does not have .mtl file. Do i need the .mtl file for processing to recognized 3d models?

Here is the code, as you can see is the same as example :

```auto
/**
 * Load and Display an OBJ Shape. 
 * 
 * The loadShape() command is used to read simple SVG (Scalable Vector Graphics)
 * files and OBJ (Object) files into a Processing sketch. This example loads an
 * OBJ file of a rocket and displays it to the screen. 
 */

PShape rocket;

float ry;
  
public void setup() {
  size(640, 640, P3D);
    
    
  //rocket = loadShape("rocket.obj"); //SHOWING UP
  rocket = loadShape("brain.obj"); //NOT SHOWING UP
}

public void draw() {
  background(0);
  ambientLight(255,255,255);
  lights();
   //scale(100,100);
  translate(width/2, height/2 + 100, -200);
  rotateZ(PI);
  rotateY(ry);
  shape(rocket,0,0);
 
  ry += 0.02;
}

```

Any advice is greatly aprecciated.

---

<div class="post-metadata">

**Author:** ![jb4x](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jb4x/32/789_2.png) [@jb4x](https://discourse.processing.org/u/jb4x)\
**Post date:** [October 3, 2018, 4:35pm UTC](https://discourse.processing.org/t/3d-model-in-obj-format-not-appearing-in-my-sketch/4090/2 "2018-10-03T16:35:35Z")

</div>

Hi Jpupper,

Maybe you can have a look at this thread: [KinectPV2: get and import obj files](https://discourse.processing.org/t/kinectpv2-get-and-import-obj-files/3424/20)

Not sure it will help but you might get some ideas out of it!
