View Virtual Worlds Remotely with Orbisnap

To view virtual worlds from the Simulink® 3D Animation™ server in Orbisnap, you must have

  • The MATLAB® software running a Simulink 3D Animation server session

  • The version of the Simulink 3D Animation server to which you want to connect must be compatible with the Orbisnap version you are running. For example, you cannot connect Orbisnap to Simulink 3D Animation software Version 3.1.

  • Network access between the client computer (running Orbisnap) and host computer (running MATLAB and Simulink 3D Animation server)

    Note

    If you expect Orbisnap to access a virtual world on the Simulink 3D Animation server from a remote computer, make that virtual world available for internet viewing. In the Simulink 3D Animation Viewer for the virtual world you want to make available, select Simulation > Block Parameters, select the Allow viewing from the Internet check box, then click OK.

Note the following when using Orbisnap remotely:

  • Although you can visualize a virtual world from the Simulink 3D Animation server in Orbisnap, any navigation or rendering in one viewer is not reflected in the other. For example, any navigation you do on the virtual world in Orbisnap is not reflected in the virtual world in the Simulink 3D Animation Viewer.

  • You cannot start or stop a simulation of the virtual world in Orbisnap. You can see a simulation on Orbisnap only if the virtual world is simulated in the Simulink 3D Animation server.

  • The simulation can be slow when you connect Orbisnap remotely to the Simulink 3D Animation server.

  1. Start Orbisnap. For example, in Windows®, double-click orbisnap.bat in matlabroot\toolbox\sl3d\orbisnap\bin.

    This file is an Orbisnap starter file that calls the Orbisnap executable. Orbisnap is displayed.

  2. In Orbisnap, select File > Connect to Server.

    The Connect to Server dialog box is displayed.

  3. Enter the IP address or hostname of the host computer running the Simulink 3D Animation server (127.0.0.1 by default). The HTTP port number is 8123 by default and the port number at which the Simulink 3D Animation server is listening is 8124 by default.

    The Choose a world dialog box is displayed. This dialog box lists all the virtual worlds that are currently active on the Simulink 3D Animation server.

    If no virtual world has ever been opened in this session of the Simulink 3D Animation server, Orbisnap displays a message. If you see this message, contact your counterpart running the Simulink 3D Animation server to better synchronize your activities. A virtual world must be fully active on the Simulink 3D Animation server for Orbisnap to access it remotely.

  4. Select a virtual world.

  5. Click OK.

    Orbisnap displays the selected virtual world of the remote Simulink 3D Animation server.

  6. Navigate and render the virtual world as you want.

  7. To close Orbisnap, select File > Close.

Using the menus, toolbar, and navigation panel, you can perform many of the same operations on the virtual world that you can with the Simulink 3D Animation Viewer. See Orbisnap Interface. See Start Orbisnap for a description of the Orbisnap command-line options.

Related Examples

More About