Synchronizing a Web-Based GUI in Autodesk VRED for VR and External Users

Synchronizing a Web-Based GUI in Autodesk VRED for VR and External Users

k_schraderCVF9A
Observer Observer
812 Views
3 Replies
Message 1 of 4

Synchronizing a Web-Based GUI in Autodesk VRED for VR and External Users

k_schraderCVF9A
Observer
Observer

Hi everyone,

 

I’ve created an HTML GUI for Autodesk VRED to control the variant sets of a vehicle. My goal is to ensure that both users in a VR headset and external observers in the room can see and control the same GUI, or at least that the VR user can see which variant is currently selected by an external bystander. So far, I’ve tried using a shared URL in a sceneplate and running the GUI via a live server in Visual Studio Code, but the instances of the GUI are not synchronizing. Additionally, I cannot interact with the sceneplate when the VR mode is live. Moreover, I haven’t found a good way to display the sceneplate in VR without disturbances and glitches.

The best way to display the GUI in VR so far is via a WebEngine, but again, I want to control it from outside of the scene. The user should only be able to see what is happening/selected.

Here’s an overview of my current setup:

  • HTML and JavaScript: The GUI is web-based and launched via a live server.
  • Sceneplate: The URL of the GUI is embedded in a sceneplate in VRED.
  • Synchronization: No successful synchronization of the GUI instances so far.

Has anyone experienced a similar setup or have additional ideas on how to achieve real-time synchronization of the GUI? Any help or suggestions would be greatly appreciated!

 

Thank you in advance!

0 Likes
813 Views
3 Replies
Replies (3)
Message 2 of 4

Christian_Garimberti
Advisor
Advisor

Hi, could be same discussed here?

https://forums.autodesk.com/t5/vred-forum/external-gui-to-control-variant-sets-in-vred/m-p/13059691#...

 

Best

Chris

Christian Garimberti
Technical Manager and Visualization Enthusiast
Qs Informatica S.r.l. | Qs Infor S.r.l. | My Website
Facebook | Instagram | Youtube | LinkedIn

EESignature

0 Likes
Message 3 of 4

k_schraderCVF9A
Observer
Observer

Thank you for your message but that post you just linked was a topic of mine from a couple of days ago which luckily got solved. Right now i am trying to figure a way to synchronize one html GUI on several plattforms in a scene. Best case would be that i interact with my html gui on the pc on which vred is running while a user in vr also sees the gui but from my perspecive. I tried to achieve that via a WebEngine and Sceneplates so far but i did not find a way to synchronize them yet.

0 Likes
Message 4 of 4

seiferp
Community Manager
Community Manager

That´s a bit more tricky and VRED doesn´t send further html/java or python script events to other machines/participants. The WebEngines in VRED behave like normal web browser. Image opening Google two times and both Tabs/Browsers would report back the same search results 😁 To solve this you have to build an html page that would even sync with itself across multiple computers in the web browser outside VRED. This can be achieved with EventListeners inside the java script. I have to check my disc, I remember I got it once working.