Go-to for Virtual realityGo-to for Marketing
2,613 posts · Joined Sep 2015 · 📍 Frisco, TX, United States

Today, I decided to try my hand at creating a standalone Matterport OBJ file viewer.
http://matterapps.com/mp2sqftnext/
Based on my research, there is the OBJ file that can be downloaded from Workshop (which is in use here), and the OBJ file that Showcase uses - which I believe is simplified.
This is my first attempt to use three.js and my first attempt to work in 3D. I have been encouraged by how easy it has been to load an OBJ file and the accompanying MTL file that contains references to all of the textures needed for the file.
I have experimented with the camera perspective a bit and tried to find a way to get control of the model - although this is not all that simple for me.
I am using the WebGL demo code as a reference. This is written by Håkon Erichsen, Matterport's Sr. Programmer. For whatever reaason, he posted it to GitHub
https://github.com/haeric/webgl-demo/blob/master/js/matterport-webgl.js
I don't know if I will succeed in any capacity at creating a 3D viewer that has the capability of a user interface and the ability to separate out each chunk for surface area measurement (my goal) -- but I wanted to throw this idea at the developer community.
I believe that if there is any way I could receive help, that I could likely program the method for loading any tour based on matterport ID and downloading assets / preloading from Matterport's servers.


