Presentation is loading. Please wait.

Presentation is loading. Please wait.

Networked Graphics Building Networked Virtual Environments and Networked Games Chapter 8: Middleware and Object-Sharing Systems.

Similar presentations


Presentation on theme: "Networked Graphics Building Networked Virtual Environments and Networked Games Chapter 8: Middleware and Object-Sharing Systems."— Presentation transcript:

1 Networked Graphics Building Networked Virtual Environments and Networked Games Chapter 8: Middleware and Object-Sharing Systems

2 OBJECT SHARING SYSTEMS

3 Client A Objects Application Network Object-Sharing Client B Objects Application Network Object-Sharing Shared Objects

4 Client A Objects Application Network Object-Sharing Client B Objects Application Network Object-Sharing 1 2 3 4

5 RAKNET

6 Client A ReplicaObjects Application ReplicaManager 1 2 Server ReplicaObjects Application ReplicaManager 4 Client C ReplicaObjects Application ReplicaManager Client B ReplicaObjects Application ReplicaManager 3 5 5 6 6

7 Client A ReplicaObjects Application ReplicaManager Server ReplicaObjects Application ReplicaManager 1 Client C ReplicaObjects Application ReplicaManager Client B ReplicaObjects Application ReplicaManager 2 2 3 3

8 BOIDS USING OBJECT SHARING

9 GENERAL OBJECT SHARING

10 OWNERSHIP

11 Client AClient BClient C

12 Client AServer Client B Request Move Object O to XYZ Move Object O to XYZ Client A attempts to move Object O to XYZ Object O moves to XYZ Server authorizes move

13 Client AServer Client B Request Move Object O to XYZ 2 Move Object O to XYZ 2 Client A moves Object O from XYZ 1 to XYZ 2 Client A confirms moves Object O moves to XYZ 2 Server authorizes move

14 Client AServer Client B Request Move Object O to XYZ 2 Reject Movement Client A moves Object O from XYZ 1 to XYZ 2 Client A moves Object O from XYZ 2 back to XYZ 1 Server refuses move

15 Client AServer Client B Request Lock Object O Grant Lock Object O Client A requests lock on Object O Client A gets lock and makes move to XYZ 1 Object O moves to XYZ 1 Server grants lock Move Object O to XYZ 1 Client A makes move to XYZ 2 Object O moves to XYZ 2 Move Object O to XYZ 2

16 Client AServer Client B Request Lock & Move Object O to to XYZ 2 Grant Lock Object O Client A requests lock and move Object O from XYZ 1 to XYZ 2 Client A gets lock and makes move to XYZ 2 Object O moves to XYZ 1 Server grants lock Move Object O to XYZ 1 Object O moves to XYZ 2 Move Object O to XYZ 2

17 SCENE-GRAPHS, OBJECT-SHARING AND MESSAGES

18

19 SUMMARY


Download ppt "Networked Graphics Building Networked Virtual Environments and Networked Games Chapter 8: Middleware and Object-Sharing Systems."

Similar presentations


Ads by Google