| |
| META TOPICPARENT | name="ProjectWonderlandConeOfSilenceAdmin" |
Home | Changes | Index | Search | Go <-- This creates the navigation links to : Home | Help | Index | etc. --> |
|
< < | VNC Viewer Administration |
> > | Cone-of-Silence Administration |
| |
<-- Your JavaDesktop? article goes here. Please try to include at least one sentence describing this topic. --> |
| | <-- Please make sure some other page points to your new article so that others can find it! -->
<-- For more on how to write Javapedia articles please read the WritingArticles? page. --> |
|
< < | Summary |
> > | The cone-of-silence is loaded into Wonderland using WFS. A sample WFS property file is provided here: ConeOfSilenceWFSFIle. |
| | |
|
< < |  |
> > | To install the cone-of-silence, copy the WFS property file to the WFS directory on your Wonderland server. For example, to install the viewer in the default Wonderland MPK20 world, copy ConeOfSilence-wlc.xml to lg3d-wonderland/src/worlds/default-wfs/building-wld/DemoFloor-wld. |
| | |
|
< < | Adding a VNC Viewer to your world |
> > | Next, edit the file and customize the following properties: |
| | |
|
< < | The VNC Viewer is loaded into Wonderland using WFS. A sample WFS property file is provided in the wonderland-modules project on java.net: |
> > | The fullVolumeRadius is the distance from the center of the cone at which avatars inside that distance will hear each other at full volume.
Avatars outside this radius will not hear anything inside and avatars inside will not hear anything outside. |
| | |
|
< < | https://wonderland-modules.dev.java.net/source/browse/*checkout*/wonderland-modules/trunk/src/modules/apps/2d/tightvncviewer/VNC-wlc.xml?content-type=text%2Fplain |
> > |
<void property="fullVolumeRadius">
<double>2.2</double>
</void>
|
| | |
|
< < | To install the VNC Viewer, copy the WFS property file to the WFS directory on your Wonderland server. For example, to install the viewer in the default Wonderland MPK20 world, copy VNC-wlc.xml to lg3d-wonderland/src/worlds/default-wfs/building-wld/DemoFloor-wld. The default property file loads the viewer at the starting point in the world. It should appear in front of your avatar when you enter the world. |
> > | name is an identifier for the cone. The same name can be used for two different cones in which case
avatars in either cone will hear each other only. |
| | |
|
< < | Next, edit the file and customize the following properties: |
> > |
<void property="name">
<string>ConeOfSilence1</string>
</void> |
| | |
|
< < | The IP address or host name of the VNC server: |
> > | position is the position of the cone image relative to the cone cell. |
| | |
|
< < |
192.168.0.1 |
> > |
0.0
2.0
0.0
|
| |
|
|
< < | The VNC Viewer uses the default VNC port: 5900. If your VNC server is running on a non-standard port, change the port property: |
> > | scale can be used to change the size of the cone image. |
| | |
|
< < |
5900 |
> > |
1.5 |
| |
|
|
< < | Specify the user name and password: |
> > | origin is the location of the cone cell relative to the WFS cell. |
| | |
|
< < |
username |
> > |
13
.1
-25 |
| | |
|
< < |
password |
| |
|
|
< < | The size of the application is specified in units of pixels. Generally, it makes sense to use the actually resolution of the remote desktop as a starting point. The VNC Viewer will resize to maintain the correct aspect ratio of the remote desktop. Set the preferred size using the following properties: |
> > | is the size of the circle to be drawn showing where the cone is effective. |
| | |
|
< < |
1024
768 |
> > |
2 |
| |
|
|
< < | If you need to scale the VNC Viewer to be larger than normal size, use the pixelScale property rather than increasing the preferred size properties. Using pixelScale to scale the VNC session is faster because it uses the hardware scaling capabilities of your graphics card. |
| | Once you've installed the file in the WFS directory, restart the Wonderland server, or use the Wonderland Manager application to reload WFS. |
|
< < | Deployment Tips
Things to be aware of when deploying the VNC Viewer application.
Application Properties
The VNC Viewer can be pre-configured by setting the following properties in the WFS property file:
| Property | Type | Description | Default | Required? |
| server | string | the IP address or host name of the VNC server | 192.168.0.1 | Y |
| username | string | the username required to access the VNC server | username | N |
| password | string | the VNC server password | password | Y |
| readOnly | boolean | whether the VNC session is read only | false | N |
| preferredWidth | double | the preferred width in pixels | 1024 | N |
| preferredHeight | double | the preferred height in pixels | 768 | N |
| pixelScale | float | scale factor used to scale the VNC window | 1.0 | N |
| decorated | boolean | whether to display a border around the application | true | N |
|
| | \ No newline at end of file |