harry@dayfamilyweb
|
 |
«
Posted
2006-04-07 09:29:14 » |
|
how do you create multiple viewing platforms
|
|
|
|
|
Jeff
|
 |
«
Reply #1 - Posted
2006-04-08 00:53:28 » |
|
Do you mean multiple Canvas's?
I can see no popint or purpose to multiple VPs in the same canvas....
|
|
|
|
harry@dayfamilyweb
|
 |
«
Reply #2 - Posted
2006-04-08 05:49:58 » |
|
i need multipul viewing platform for mltipul players
|
|
|
|
|
Games published by our own members! Check 'em out!
|
|
Jeff
|
 |
«
Reply #3 - Posted
2006-04-08 19:38:47 » |
|
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....
|
|
|
|
harry@dayfamilyweb
|
 |
«
Reply #4 - Posted
2006-04-08 23:21:24 » |
|
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
|
|
|
|
|
Jeff
|
 |
«
Reply #5 - Posted
2006-04-08 23:56:55 » |
|
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.
|
|
|
|
harry@dayfamilyweb
|
 |
«
Reply #6 - Posted
2006-04-09 00:27:21 » |
|
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
|
|
|
|
|
Jeff
|
 |
«
Reply #7 - Posted
2006-04-09 03:06:36 » |
|
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.
|
|
|
|
endolf
|
 |
«
Reply #8 - Posted
2006-04-09 15:29:55 » |
|
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
|
|
|
|
otelo
|
 |
«
Reply #9 - Posted
2006-04-16 17:44:22 » |
|
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.
|
|
|
|
|
Games published by our own members! Check 'em out!
|
|
harry@dayfamilyweb
|
 |
«
Reply #10 - Posted
2006-04-16 23:31:55 » |
|
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
|
|
|
|
|
|
|
|
|
endolf
|
 |
«
Reply #13 - Posted
2006-04-17 19:54:20 » |
|
Hi
Lets start simple
Do you want all your players on one computer, or does each player, have thier own computer?
Endolf
|
|
|
|
harry@dayfamilyweb
|
 |
«
Reply #14 - Posted
2006-04-17 23:46:01 » |
|
each player has there own computer
|
|
|
|
|
|