Connect two VRED instances (server script)

ConnectionServer.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 master
 5print("Executing connection script!")
 6
 7# start master on port 1040
 8startVredServer(1040)
 9
10# load some geometry
11newScene()
12loadGeometry("$VRED_EXAMPLES/geo/cloth.osb")
13loadGeometry("$VRED_EXAMPLES/geo/car.osb")
14updateScene()
15calcVertexNormals()