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 demo:

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 demo 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 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/