View Single Post
  #29  
Old 09-14-2005, 04:10 AM
cr5 cr5 is offline
Member
 
Join Date: Sep 2005
Posts: 3
i use a local network and get the same result if i connect only the two machines with fixed ip's, firewalls disabled. the latency in receiving data seems very low, as when i click on send on one machine the rendering in vizard freezes immediately (for some seconds). i use the built in network thingy, like this:

Code:
def mynetwork(msg):
	euler = view.get(viz.HEAD_EULER)
	euler[0] += msg[2]
	euler[1] += msg[3]
	euler[1] = viz.clamp(euler[1],-90.0,90.0)
	view.rotate(euler,viz.HEAD_ORI)

viz.callback(viz.NETWORK_EVENT, mynetwork)
the incoming messages look like this:

Code:
['MaxJitter', ',ff', 0.32187500596046448, -0.70416665077209473]
again, except for the freezes, everything basically works. could setting up the machine anew help in any way? (i usually work on OS X and other unixes and tried to ignore messy windows for the last years...)
Reply With Quote