Open vlcp197 opened 2 months ago
This will be accessible to users, and I need to develop an API for the web app to request the next chunk of scenes from the database. Alternatively, should each user read from a pre-built JSON file containing all possible scenes?
It depends on how many scenes you have. If you have only a couple hundred, a single JSON file is probably fine and would be the simplest. If you have more, I'd use the addScene
/ removeScene
methods to dynamically change the scenes as the user navigates.
I'm using flask with jinja2 template to create a javascript script tag. There is a simpler way that you can recommend?
Since you're using Python, I'd create the dictionary / list combination as a native object and then use the json
module to convert the configuration.
Hello Matthew,
Thank you for making the library available. I'm working on building a street view experience using cubemap images and need to enable navigation through the map. This will be accessible to users, and I need to develop an API for the web app to request the next chunk of scenes from the database. Alternatively, should each user read from a pre-built JSON file containing all possible scenes?
Could you provide some guidance on this?
Thank you!
I'm using flask with jinja2 template to create a javascript script tag. There is a simpler way that you can recommend? Thank You.