Google Cardboard Web STL Viewer

Code hacking talk

Google Cardboard Web STL Viewer

Postby jordan314 » 2015-Jun-Thu-04-Jun

Hey all,
I hacked together a web-based VR STL viewer for google cardboard (https://www.google.com/get/cardboard/ ) using a couple different libraries (three.js, Jaanga's Cardboard cookbook). You can check out the demo here:
http://browserdj.com/stlviewer/
The code is here:
https://github.com/jordan314/Cardboard-STL-Viewer
You can get it to display a different model by pasting in another URL of an STL. Thingiverse URLs work but you have to get the S3 version of the link after it redirects (such as http://thingiverse-production-new.s3.am ... ordanb.stl ).
You can zoom by scrolling on desktop. On mobile I'm still working on pinch-to-zoom so I put zoom buttons up for now. Also, chances are on mobile the model will be 'behind' you and you'll have to turn around to see it. Still working on that.
Let me know what you think.
  • 0

jordan314
I'm an end stop.
 
Posts: 55
Joined: 2013-Dec-Thu-01-Dec
Reputation: 1

Google Cardboard Web STL Viewer

Sponsor

Sponsor
 

Return to Hack talk

Who is online

Users browsing this forum: No registered users and 1 guest