SharedViewer example

Share a session between many clients.

This example enables you to load your Open Inventor 3D model and share sessions between many clients.

Requirements:

The SharedViewer example uses PHP (PHP Hypertext Preprocessor) language, so a web server (Apache, NGinx, IIS, ...) is required to interpret this language and generates the webpages.

Installation:

1. Copy the content of the folder "$OIVHOME/examples/source/RemoteViz/SharedViewer/Clients/HTML5" containing the web files to the web root folder of your web server.

2. Be sure that you web server can access files in OIVHOME.

Run the example:

1. Go to "OIVHOME/examples/bin/OIVARCH/RemoteViz" and run the executable "SharedViewerRenderingService" on your web server.

2. Open your web browser and navigate to the URL of your web server (domain name or IP address).

Note: In this example, the RemoteViz service uses the localhost IP address (127.0.0.1) by default. To run it on a web server, start the example by passing the service IP address and port as arguments (ex : SharedViewerRenderingService 192.168.0.1 8082) and edit the file "index.html" (client side) to modify the IP address and the port.

SCREENSHOT:

FILES:


Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/