Connect two VRED instances (client script)¶
ConnectionClient.py¶
1# © 2024 Autodesk, Inc. All rights reserved.
2
3# script to demonstrate how 2 vred instances can be linked together
4# this is the script on the client
5print("Executing connection script!")
6
7# listen to master on localhost, port 1040
8# server ip address or hostname and port number.
9startVredClient("localhost", 1040)
10
11# load some geometry
12newScene()
13loadGeometry("$VRED_EXAMPLES/geo/cloth.osb")
14loadGeometry("$VRED_EXAMPLES/geo/car.osb")
15updateScene()
16calcVertexNormals()
17