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
4 days ago
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.
Thank you so much for your help I'll try this.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
4 People are following this question.
Failed to Initialize 3D Graphics?
I Have A Strange Bug
DepthTextureMode.Depth on Mac -> streched Image
Webplayer Graphics Bug. Objects disappearing visually on movement.
Textures/Materials come with white stripes on scene? HELP (IMAGE INCLUDED)