import-bot (20211) [Avatar] Offline
#1
[Originally posted by mark_beckman]

Hi Jon, folks,

I am working on a simulation project using Java 3D. I have been tossing
around ideas on how to approach the task. One is as follows:

I would like to have a server tightly connected to the machine that is being
simulated. This sever would run the simulator service. In other words, as
the machine is running, the 3D geometric representation would be moving and
changing as the machine ran. This would be the Virtual Universe. From this I
would be collecting data (collisions, faults, etc...)

In order to watch or monitor the machine(remotely), I would have a (Swing or
AWT) client (View) that would attach itself to the simulator (Virtual
Universe). Then, of course, you would be able to move around, zoom, check
settings and values, etc...

Questions:

1) Is this doable with Java 3D??? Particularly the separation of Virtual
Universe and View onto separate machines???

2) Has anyone accomplished this??? If so, can you share your experiences???

Sorry if this is not clear... maybe I can elaborate more if necessary...

thanks,
Mark
import-bot (20211) [Avatar] Offline
#2
Re: Many Views
[Originally posted by author]

This is not exactly my area of expertise, but it seems to me that, out of the
box, java 3d wouldn't allow you to remote a view from a different VM much less
a different machine It would be like trying to access an array created in a
program on one machine from a program on another machine. Special cooperation
is needed between the two system, such as passing the array (or in the case of
Java 3D, the universe) back and forth. Alternatively, you could have the same
universe running on two different machines, and pass the interactive commands
back and forth so that the contents and state of the two universes stay in
sync.

Perhaps someone else has a better insight to this problem. You might also try
posting it to the java 3d mail list.

--jon

> Hi Jon, folks,
>
> I am working on a simulation project using Java 3D. I have been tossing
> around ideas on how to approach the task. One is as follows:
>
> I would like to have a server tightly connected to the machine that is being
> simulated. This sever would run the simulator service. In other words, as
> the machine is running, the 3D geometric representation would be moving and
> changing as the machine ran. This would be the Virtual Universe. From this I
> would be collecting data (collisions, faults, etc...)
>
> In order to watch or monitor the machine(remotely), I would have a (Swing or
> AWT) client (View) that would attach itself to the simulator (Virtual
> Universe). Then, of course, you would be able to move around, zoom, check
> settings and values, etc...
>
> Questions:
>
> 1) Is this doable with Java 3D??? Particularly the separation of Virtual
> Universe and View onto separate machines???
>
> 2) Has anyone accomplished this??? If so, can you share your experiences???
>
> Sorry if this is not clear... maybe I can elaborate more if necessary...
>
> thanks,
> Mark