|
Whoola Space Center
/ Cyberspace
/ Documentation
JNLP
2005 Dec 04 Sun
David Wallace Croft
Example
Cyberspace can be configured as a virtual reality browser for static 3D
scenes or as a 3D user interface for multiplayer online games, depending on
the deployment descriptor arguments specified in the Java Network Launching
Protocol (JNLP) file. The following is an example:
<application-desc main-class="com.whoola.game.cyber.CyberMain">
<argument>
sceneUrl=examples/swim/scene.dae
</argument>
<argument>
servlet=http://earth.whoola.com:8080/relay/servlet
</argument>
<argument>
service=com.whoola.game.swim
</argument>
<argument>
provider=demo
</argument>
</application-desc>
None
When no arguments are provided to deployment descriptor, Cyberspace will
launch by showing the built-in default scene. It will then search for and,
if found, load a COLLADA file called .whoola/cyber/scene.dae in the user's
home directory. The following is an example path to a scene file in a
user's home directory:
C:\Documents and Settings\Croft\.whoola\cyber\scene.dae
sceneURL
When the "sceneUrl" argument is specified in the deployment descpriptor,
Cyberspace will attempt to download and display the scene file from the
given URL.
servlet
When the "servlet" argument is specified in the deployment descriptor,
Cyberspace will attempt to connect to the message relay servlet at the
given URL and monitor state update events.
servlet
When the "servlet" argument is specified in the deployment descriptor,
Cyberspace will attempt to connect to the message relay servlet at the
given URL and monitor state update events. Depending on the events
received, this might include replacing the current scene.
service
When the "service" argument is specified in the deployment descriptor
along with the "servlet" argument, Cyberspace will restrict its requests
for state update events to those related to a particular service such as a
simulation by a given name.
provider
When the "provider" argument is specified in the deployment descriptor
along with the "servlet" argument, Cyberspace will restrict its requests
for state update events to those generated by a particular provider.
|