Skip to main content

Week 9

Hi All!

This week, I added one of the most promising features into the 3D visualizer app.  Given the link to a blob file containing the 3D model, the user can now download the models created as CSDT Anishinaabe Arcs projects from the server. Subsequently, these models can be visualized with the typical 3d viewer or with Augmented Reality.

This feature took advantage of three prominent iOS APIs: Alamofire, JSONSerialization, and NSXMLParser.  First of all, the app fetches the JSON containing links to projects from the server and translates them into a convenient Dictionary data structure with the JSONSerialization API. Given the JSON, the app now has access to a specific XML file containing the link to the 3D model. The app now takes advantage of NSXMLParser to read in the XML and locate the link to the 3D model. Afterward, the app downloads the model and visualizes it.  I really enjoy implementing these features because I am always learning more iOS APIs each time I work on this app.

Thank you for viewing!.

Comments

Popular posts from this blog

Week 8

Greetings, During this past week, I've made much progress on both the iOS and Android ports of 3D Visualizer. For iOS, I added a feature which allows the user to import the 3D model from a third party source (e.g. email attachment or iCloud Drive Documents) into the app and visualize it. The user will have options to save/delete the model on device.  I consider this as a very important addition to the features this app provides, as the user can design their wigwaams on the CSDT website, export the STL file, and then visualize it with the app. As for Android, I've started making the UI for this app. Here's a snapshot:                                                      Thanks for viewing!

Week 5

Hi All! This week I spent more time being a graphic designer rather than being a programmer, as I watched a couple of WWDC videos on app icon design, and crafted an icon for this 3D visualizer app. I thoroughly laid out the design on the official Apple icon grid. Eventually, a design I really liked came out: In addition, I crafted a new feature and fixed a few bugs: New feature: Added a switch in settings so that the user can use the slider for two purposes:  Adjust the intensity of the light illuminating the model Adjust the color temperature of the light illuminating the model Bug Fixes: Fixed a bug where the images in the 2D model image grid would randomly change when scrolling Fixed a bug where the checkmarks in the settings page would randomly appear and disappear Thanks for viewing and have a wonderful week!

Week 6-7

Hi, I spent the Spring Break learning Android programming, and am continuing to learn more. Once I've learned what I needed, I'll start making an Android version of the 3D visualizer. During the break, I've also fixed a few more bugs and added more features to the iOS version: Fixed a bug where a lack of internet connection would crash the app Fixed a bug where the section headers for Scene Settings would disappear on iPad Added a feature to allow the 2D grid view on iPad to adjust the size upon screen width change, in order to facilitate split view experience Added an internet activity indicator in the status bar to alert the user that the app is fetching data from the internet.