Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
ClientWorkbench example

Adjust the RemoteViz settings.

This example enables you to load your Open Inventor 3D model and adjust the RemoteViz settings in real-time.

This example is provided with a client written in JavaScript using Jquery library and a client written in TypeScript using Angular framework.

  1. Run the service:

Go to "OIVHOME/examples/bin/OIVARCH/RemoteViz" and run the executable "ClientWorkbenchRenderingService".

  1. Run the JavaScript client

Go to "OIVHOME/examples/source/RemoteViz/ClientWorkbench/Clients/HTML5/Js-Jquery" and open the "index.html" file inside a web browser.

OR. Run the TypeScript client

Instructions can be found in the README file: OIVHOME/examples/source/RemoteViz/ClientWorkbench/Clients/HTML5/TypeScript-Angular/README.md

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 : ClientWorkbenchRenderingService 192.168.0.1 8082) and edit the file "index.html" of the JavaScript client or the file "src/app/components/remoteviz/remoteviz.component.ts" of the TypeScript client to modify the IP address and the port.

SCREENSHOT:

FILES:

    • RemoteViz/ClientWorkbench/ClientWorkbenchRenderingService/include/ClientWorkbenchRenderAreaListener.h
    • RemoteViz/ClientWorkbench/ClientWorkbenchRenderingService/include/ClientWorkbenchServiceListener.h
    • RemoteViz/ClientWorkbench/ClientWorkbenchRenderingService/src/ClientWorkbenchRenderAreaListener.cxx
    • RemoteViz/ClientWorkbench/ClientWorkbenchRenderingService/src/ClientWorkbenchServiceListener.cxx
    • RemoteViz/ClientWorkbench/ClientWorkbenchRenderingService/src/main.cxx
    • RemoteViz/ClientWorkbench/Clients/HTML5/Js-Jquery/index.html
    • RemoteViz/ClientWorkbench/Clients/HTML5/TypeScript-Angular/README.md