Multiple ViewingPlatform

how do you create multiple viewing platforms

Do you mean multiple Canvas’s?

I can see no popint or purpose to multiple VPs in the same canvas…

i need multipul viewing platform for mltipul players

You only have one screen. And if you only have one canvas you only have one view on the world.,

How are multiple platforms going to help you with multiple players?

I suspect what you REALLY want are multiple canvas’s rendering the same world…

you do not get it i am using project darkstar so multiple computer can connect the the same universe and i need multiple viewing platforms because the player move individually

no I dont get it.

SunGameServer.jar is a server. There is no rendering on the server side of most games.

The rednering happens in the client app the clients use to connect to the server.

Are you tring to build something where you are going to actualy display on the server what all the player see so yo ucan monitor them? Ignoring scaling issues for the moment you need at least a canvas (if not a whole window) per player.

In general ou cant do this within the serve because the sevre is event driven and the render loop of Java3D is a tight loop. You will havbe no ened of problems tryign to do it this way.

What you need for such monitoring is a customized game client app.

i don not want to monitor the clients but i do whant them to all be in thesame 3d world but have difrent views if you could explain how tp dp this corectly me would be gratefull

each user has his own computer

each user’s computer has its own client running its own instance of Java3D and with its own canvas

each user’s computer’s instance of Java3D sets his or her viewing paltform to his or her position in the game.

You seem to be thinking these are much higher level tools then they are. None of these are game engines. They are all the bits and pecies you use to build a game engine.

Hi

It goes lower, each client has a copy of the game world, the server has a copy of the game world, none of the clients or the server share the game world data. Each client has it’s own window, canvas, view platform and scene graph structure.

What SGS does is provide a simpler (network games are never simple) way of keeping all of the clients and the server synchronised.

Again, the key here is that none of the data is really shared, all of the clients hold thier own copy of the data.

Endolf

Maybe he’s talking about a Split Screen scenario. Then you would use a VirtualUniverse, not the SimpleUniverse class to create your 3d scene. There was a thread about it somewhere here I think.

you do not understand what i want to do
i want to make a multi player role playing game where each user is represented by a 3d object that all the users see that is created when the user joins the server

Start here.

??? ??? ??? ???

Hi

Lets start simple

Do you want all your players on one computer, or does each player, have thier own computer?

Endolf

each player has there own computer