How to draw real-time graphics in Unity3d?
I'd like to generate graphics using data from a real-time database, in order to visualize the information in real time. At first, I thought it might be possible to use dashboard(like Grafana) API to import dashboards to Unity, but I couldn't find any of this kind of API to import graphics to Unity. Dose it exist a way to draw real-time graphics using an external database? Any help would be appreciated.
Answer by FortisVenaliter · Apr 21, 2017 at 04:31 PM
Well, Unity is a real-time graphics engine, so of course it can do this, but there's nothing out of the box that will do what you want. Sounds like you need three steps:
Make a connection to the database with low enough latency
Set up a loop to retrieve data from the database and send events when there are changes
Set up graphical controls to receive those events and regenerate their mesh or change color or whatever you want them to do to visualize the data.
That's going to be your basic recipe, so take it one step at a time, and you should get what you're looking for.
Your answer
Follow this Question
Related Questions
Sprites imported in high quality have parasite lines around. How this can be solved ? 2 Answers
Failed to Initialize 3D Graphics? 10 Answers
Is this possible with Shuriken? 1 Answer
Why are there stripes in my grass? 1 Answer
Difference between scene 1 Answer