mapbox / mapbox-navigation-ios-examples

A collection of examples showing off the Mapbox Navigation SDK.
https://github.com/mapbox/mapbox-navigation-ios
Other
58 stars 34 forks source link

Example for SceneKit content in the course view #9

Open 1ec5 opened 6 years ago

1ec5 commented 6 years ago

Inspired by the example in mapbox/mapbox-navigation-ios#1012, we could add an example of using SceneKit content as the course view. Instead of a flat car image, it’d be a really rudimentary 3D car model along these lines that rotates and tilts along with the map.

/ref mapbox/ios-sdk-examples#111 https://github.com/mapbox/mapbox-navigation-ios/pull/402#issuecomment-326510156 /cc @mapbox/navigation-ios @captainbarbosa @jmkiley

1ec5 commented 6 years ago

On a lark, I took a few minutes to explore this idea but didn’t quite get to the point of a working example. I left my findings in https://github.com/mapbox/ios-sdk-examples/issues/111#issuecomment-406463359.

1ec5 commented 4 years ago

This page lists some good sources of freely licensed STL files that Model I/O can import as assets.

1ec5 commented 3 years ago

117 adds an example of using a glTF model as a user location indicator, which partially addresses the same use case as SceneKit. SceneKit serves a slightly more advanced use case of dynamic content that’s better integrated with application code. mapbox/mapbox-maps-ios#154 demonstrates using SceneKit in a custom layer (formerly called an OpenGL style layer), which is separate from the location layer that navigation SDK v2.0 will come with built-in support for.