Virtual Reality Toolbox    

View a Virtual World with a Web Browser on the Host Computer

Normally, you view a virtual world by clicking the View button in a block parameters dialog box. The virtual world opens in the Virtual Reality Toolbox viewer or your VRML-enabled Web browser, depending on your DefaultViewer setting. For more information on setting your default viewer, see Setting the Default Viewer of Virtual Scenes.

Alternatively, you can view a virtual world in your Web browser by selecting an open virtual world from a list in your Web browser. You can display the HTML page that contains this list by connecting to the Virtual Reality Toolbox host. This is the computer on which the toolbox is currently running.

The following procedure describes how to connect to the Virtual Reality Toolbox host:

  1. At the MATLAB command prompt, type
  1. The Tower Crane demo is loaded and becomes active.

  1. Open your VRML-enabled Web browser. In the address line of the browser, type
  1. The following page is loaded and becomes active.

    The main HTML page for the Virtual Reality Toolbox lists the currently available virtual worlds. The Tower Crane virtual world appears as a link.

  1. Click Tower Crane.
  1. The Tower Crane virtual world appears in your Web browser.

From the main HTML page, you can select one of the listed available worlds or click the reload link to update the status of the virtual worlds supported by the toolbox. This page does not require the VRML capabilities from the browser; it is a standard HTML page. Nevertheless, when you click one of the virtual world links in the list, the browser has to be VRML-enabled to display the virtual world correctly and to communicate with the Virtual Reality Toolbox.


  Displaying a Virtual World and Starting Simulation View a Virtual World with a Web Browser on the Client Computer