-
Notifications
You must be signed in to change notification settings - Fork 1.3k
When it will support 3D model? #14494
Comments
This is something we are thinking about exposing an API around though atm can't give you a concrete eta. The formats are still TBD but ideally it would be an open format. We will follow up with more concrete issues in the near future, closing this issue as answered for now. |
@tobrun Is there anywhere where we can vote to prioritise that feature? We are using mapbox and will need 3d map annotations very soon. Both Android and iOS version. |
@noway Thx, This task is very important |
mapbox-gl-js demo https://bl.ocks.org/ryanbaumann/b9725e79b5b1742d92ada00ddbf5c3d3 uses Three.js for loading GLTF model. We don't plan to include GLTF model loader to mapbox code - hopefully you were able to find a loader to use. Please notify if following similar approach (custom layer e.g. mapbox/mapbox-gl-js#7977 and https://bl.ocks.org/ryanbaumann/b9725e79b5b1742d92ada00ddbf5c3d3) doesn't work for you. |
@astojilj this link is js, but needed for Android SDK |
Yes, mapbox-gl-js demo is useful to explain the approach: similarly, you'd need to load GLTF model using loader of your choice and use custom layer approach, as mentioned in #14494 (comment) |
@astojilj I'm using mapbox for react native, so ideally I need the 3d model layer support in <MapboxGL.MapView>
<MapboxGL.ThreeDLayer shape={shape} meshes={meshes}>
</MapboxGL.ThreeDLayer>
</MapboxGL.MapView> or something similar. I don't think I have capacity to build that feature out for |
Hi, I have found a java loader to load GLTF model. But now I need the documentation of custom layer approach for android SDK. I couldn't find how to custom layer with android, so is there any documentation about this? |
@tobrun Has there been an update on 3D objects in android yet? We're trying to put 3D cars on our map and have successfuly achieved it through the web gl but not on android or iOS |
Can this be reopened? |
cc @chloekraw |
Hi folks, thanks for all your interest in this feature. Support for 3D objects is something we are exploring; there's no timeline for its release. We'll keep you posted. |
Hey @chloekraw not to be rude but this is the exact same answer we've heard over a year ago. Is there any updates on this? There are a lot of benefits and uses this feature can bring and we really need this for our app. Are there any work arounds that may accomplish this? Thanks |
@chloekraw @nicolae1992 @NickLambert95 I have finished loading 3d model with mapbox gl native, implement a custom layer that loads the 3D model, referencing the assimp library. @NickLambert95 You could check out my comment: |
Hey @leedejun how exactly did you do this? Can I see your code that you edited? Thanks |
Hi @leedejun, |
@janweigel He never got back to me either but it appears he made this in React Native (which is the web version of mapbox) |
React Native does not use the web version of mapbox afaik |
@patrickkempff Maybe not react native then. The mapbox GL version (which works on web) allows you to add GLTF files as 3D models. There isn't a workaround I'm aware of for iOS and Android |
If I get the post of @leedejun correctly then he modified the c++ code to add that feature to the native android and ios version and not the gl js version of mapbox. |
@janweigel Yeah I desperately need that function too. Let me know if he ever gets back to you and I'll do the same for you |
Hi, @patrickkempff @NickLambert95 @janweigel I understand your problem, I solved it. But I can't share my code, I wish share my code after I leave the current company.
|
Hi @leedejun, It would be even better if this would be part of the official mapbox native code. |
Hi @janweigel @leedejun Thanks in advance |
It'd be even more useful if the code was shared with Mapbox, so @chloekraw can implement this officially |
Anyone have an update on this topic? Any solutions? @janweigel @fabdrol @patrickkempff @tobrun @luckkyzhou @leedejun @chloekraw |
Also requesting 3D model support on iOS and Android. |
@NickLambert95 and @Cal-um |
@janweigel Oh I see. Out of curiosity does Mapbox Unity come with the same navigation features? As in, could I build a full fledge app with the navigation SDK and directions API in it? I looked this up before but couldn't find any information as to whether Unity supported it |
that's a good shout. Probably better for my use case as well. Just need to learn unity 😂 |
We are in desperate need of this as well. Hoping to hear an update soon. |
YES PLEASE, ADD 3D OBJECTS support for ANDROID and IOS |
iOS example using SceneKit: mapbox/mapbox-maps-ios#154 |
@tobrun @chloekraw you posted this comment, but I can no longer find it. I'm not seeing the support for 3D models on the links you sent "Sorry for the long delay on this, we have been hard at work and do appreciate you all reaching out and requesting this feature. Not sure if you noticed but we announced the v10.0.0-beta last week. This release of the SDK, which has been rewritten from the ground up, adds support for 3D terrain and 3D model. The repositories for these libraries are: https://github.com/mapbox/mapbox-maps-android |
@tobrun Any update on this? We would be willing to contribute and collaborate on this issue if necessary. Would love to hear an update, even if it's bad news. Thanks Mapbox Team! |
Hello, I cannot share implementation details or milestones now. Thanks. |
When it will support 3D GLTF or other formats in mapbox android sdk
Android versions:
Device models:
Mapbox SDK versions:
The text was updated successfully, but these errors were encountered: