English Deutsch 中文   




Integrated Web Server

From Garden Gnome Software

Jump to: navigation, search

This tip shows how to configure and use the integrated web server built in to Object2VR and Pano2VR. This will allow local viewing of the HTML5 output as well as allowing both local and network access for the Flash output when viewed in its HTML page.


Download Video


Contents

Web Server Settings

The settings for the web server can be found under Settings for Windows and Linux and Preferences for Mac OS.

Pano2VR:

Object2VR:

When the window opens, find the section labeled, Integrated Web Server:

Web server 02.jpg


  • Open HTML Output: Select this option to enable the integrated web server for testing images locally.
  • Network Accesses: Keep this selected to ensure that the web server is using the current local host. When not selected other devices and machines connected to the same network can also view the output.
  • Port: Choose your desired port or leave it at auto. The server will use a new port number every time it is restarted or the program is opened. A fixed port number can also be used making it possible to bookmark the page. We suggest using ports 8000 or 8080. For more information on port numbers please see w:List of TCP and UDP port numbers.


Using the Integrated Web Server

In both Object2VR and Pano2VR, the integrated web server default settings are set to be used when viewing the output within an HTML page. It was included to allow local viewing of the HTML5 output (something which some browsers do not allow).

Clicking the Open output file button in the output section of the main project window will open the file using the computer's default web browser.

To view the output in another web browser simply copy the local address and paste it in the required web browser.

Web server 01.jpg


Other machines and devices connected to the same network can also view the output without having to upload it to a server. For a connected device to view the files, deselect Only local host under Network access in the program's Settings or Preferences. Then follow the following steps to test the output on something other than the local host:


  1. With either Object2VR or Pano2VR open, choose Tools > Integrated Web Server.
    The web server window opens with the local address needed to enter in the device's web browser. In the image below, two addresses are displayed. This is because there are two servers on the network. Either web address would work.

    Web server 03.jpg

  2. Enter the address in the web browser of any device.

    Web server 04.jpg

    Locations of all open projects will be displayed; here, there is only one.

    Web server 05.jpg

  3. Click on the link to display the project's folder contents which will include any subfolders, HTML pages and images.

    Web server 06.jpg

  4. This project is using the file name index for its HTML page. To open the output click on the file index.html

    Web server 07.jpg

    The operation and function of the project can now be tested before being uploaded.


See also

w:List of TCP and UDP port numbers

Preferences (Object2VR)

Preferences (Pano2VR)

HTML5 Output (Object2VR)

HTML5 Output (Pano2VR)

Flash Output (Object2VR)

Flash Output (Pano2VR)



Printable version or PDF

This page was last modified on 6 December 2011, at 13:57.


© 2012 Garden Gnome Software