[ANSWERED] Incorporating Mapbox into Isadora. Maybe possible wit GLSJ Libraries?
-
hello everyone.
i want to be able to use a map -like google maps, open street maps, mapbox kinds of cartographic map- as an input to display on my stage. i have a feeling that there is a way to do this with a GLSL shader. can i?
to be more specific with what i am after: can i import mapbox GL JS library and project a map that is designed with a style produced in mapbox?
or, is there anyone who used such maps in their isadora projects?
thanks
-
Hi there!
Mapbox uses JavaScript calls that are only found in browsers, sadly Isadora doesn't support this type of JavaScript.
I personally never used maps/rendering of maps in Isadora. I asked our technical team if they have experience with this, and or they can join the discussion here.What you always can do is render the maps in a browser window, and then use the Screen capture actor to get the feed inside Isadora..
-
Hi there,
Thanks for your post. You might find some interest in the patch and information linked in this thread. It has a demonstration file I created that maps a 3D Model Earth sphere and uses public API data to dynamically locate points on the globe. It has proved to be quite accurate. For example using a night image as an image texture on the 3D globe in Isadora, I was able to use Worldbank API data accessed by TCP Get URL actor and JSON Parser to then spin the globe to centre longitude and latitude on the light points of cities represented in the image texture.
The possibility of accessing online datasets through API integration is therefore a viable workflow in Isadora for data driven animations etc.
These developments have been supported with the release of JSON add-ons. And there continues to be discussion about future possibilities including what I understand to be the potential of Python scripting integration in Isadora.
Best wishes
Russell
-
thanks for the replies! at the moment, the most feasible thing for me looks like
1-capturing my GL JS map in a browser with OBS (since i can adjust the resolution for the browser screen), 2-starting a virtual camera, 3-and using that local broadcast as a live input within isadora.
-
I think you could use Processing to interface the api and render the map, and then send it to Isadora via Spout/syphon.
This library looks like it would do the job: http://unfoldingmaps.org (processing 2 only it seems)