Veksi Posted October 25, 2018 Share Posted October 25, 2018 Hi! I was looking some geographic visualizations created with MapBox GL ES and deck.gl and I was wondering if someone has done something similar before or could pass directions how could one go about combining these with BabylonJS. How could other WebGL canvases used with BabylonJS? Is it possible? In the following some background wondering. Here is one titled Mapbox GL JS + AR.js + A-Frame (VR) = Mapbox AR/VR and at https://blog.mapbox.com/launching-custom-layers-with-uber-2a235841a125 is an example of Three.js being used to import a glft model into a scene (this) and more on integrating MapBox and deck.gl at https://medium.com/vis-gl/deckgl-and-mapbox-better-together-47b29d6d4fb1 and a note on camera things too. To my brains this feels like really cool way to visualize geographic data sets and even cooler would be to add virtual reality things here. I could assume that since MapBox and deck.gl work together and render into a WebGL canvas and the first link demonstrates capturing the buffer as an image and project it to AR.js cube, something like that could be done with BabylonJS too. Maybe avoid the capturing the WebGL buffer as a image altogether. The second link also shows how ThreeJS gltf model was imported into map data. I can somewhat follow the examples how MapBox and deck.gl are used together, but I have very little clue how could I bring BabylonJS in the future to make the stuff even sweeter! That is, I'm thinking to start with data visualization with MapBox and deck.gl as far as the examples go, but sooner or later move towards BabylonJS. I'm not sure how possible is it to use BabyloJS (hopeful due to AR.js example) or what should I know APIwise or otherwise with this endeavour. Some help or nudge or whatnot on offer? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.