# KinectPV2: get and import obj files

**URL:** <https://discourse.processing.org/t/kinectpv2-get-and-import-obj-files/3424>\
**Category:** Beginners\
**Created:** [September 10, 2018, 1:33pm UTC](https://discourse.processing.org/t/kinectpv2-get-and-import-obj-files/3424 "2018-09-10T13:33:41Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![neilcsmith](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/neilcsmith/32/144_2.png) [@neilcsmith](https://discourse.processing.org/u/neilcsmith)\
**Post date:** [September 13, 2018, 9:56am UTC](https://discourse.processing.org/t/kinectpv2-get-and-import-obj-files/3424/21 "2018-09-13T09:56:02Z")

</div>

> [@elyon](#):
>
> the code is the one that jeremydouglass posted

I was referring to the OBJ file! 😄

So, I’ve run the file through a debugger against the PraxisLIVE source code (it’s what I have handy 😉 and the obj loader is the same code as Processing). And there’s a very obvious flaw - the OBJ file has no faces. All the vertices are parsed correctly, but the OBJ loader creates the actual PShape children from the faces data. I believe that Blender has vertex and faces views - I assume you’ll see nothing in the faces view?!

Your best bet at this stage is probably parsing the file manually into a single PShape.

This is kind of what @jb4x was getting at earlier, except explains why you can’t access the vertices in the resulting shape.

[Previous page](https://discourse.processing.org/t/kinectpv2-get-and-import-obj-files/3424.md?page=1)
