I'm starting on this now. I'm sure many on this list have faced
the same task. Here are some thoughts, I welcome advise.
Especially advice on the best mechanism to communicate between
client and server (RMI vs. JMS vs. App../Servlet), including
firewall considerations.

Client activities:
On start-up, the client establishes a connection with the server
to log on and retrieve scene data. The scene is created
and the client registers its initial position with the server.
The client recieves a list of other users in the environment, and
creates visual representations for each. A seperate thread is
started to poll the server for updates to position/heading/speed
of the users and movements are reflected in the scene. As the
user moves around the environment, the client sends position/
heading/speed to the server.

Server activities:
On start-up, the server loads scene information and waits for
client connections. When a client connects for the first time,
it is authenticated, static scene data is returned, as well as
a list of current users, then the client is added to the list of
current users. When the client reconnects to report position/
heading/speed changes, it's entry in the list of current users
is updated and other current users in the list are notified.

-be

--- Qiuli Sun <[EMAIL PROTECTED]> wrote:
> It is possible. But it is pretty hard since the server program are
> very
> generic.
>
> I am creating multi-user java3D application. The server works only
> to
> transmit communication. The client takes all of the other tasks.
>
>
> Qiuli
>
> -----Original Message-----
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Jones
> Sent: Tuesday, January 09, 2001 12:59 PM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] Multiplayer server setup in Java3d...
>
>
> Hi,
>
> I was wondering how you�ve all approached the creation of server
> apps in
> shared java3D.  I�m making a multiplayer game, and will use a
> server app
> with multiple client apps.  Most of the interactions in the game
> will be
> controlled by the server, with the client only controlling their
> own
> movements in the 3D space.
>
> I�m interested to know if people have used the J3D API to re-create
> the
> scene graph on the server, or if they�ve used their own proprietary
> classes.
> I�m only asking because I haven�t looked into using the J3D API
> without a
> viewing platform (I�m only as far as the SimpleUniverse.class !!!).
>  Or the
> possibility of running the J3D API on a server without J3D
> installed.  Will
> J3D run without a Canvas3D?  Can I re-package J3D without being
> shot by Sun?
>
> Basically I�m asking if I can run J3D in �barebones�.  Use just the
> scene
> graph and behavior structures without any screen output or
> rendering
> overheads.
>
> Thanks for any answers to my query.
>
> Ralph.
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send
> email to
> [EMAIL PROTECTED] and include in the body of the message
> "help".
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send
> email to
> [EMAIL PROTECTED] and include in the body of the message
"help".


__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to