View Single Post
  #4  
Old 03-09-2006, 12:43 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

You've quickly discovered the current limitation to the cluster feature.

When adding objects, they need to be added for every computer. Also, you don't need to add a separate viewpoint for each computer. You can use one viewpoint, just set the mask to a different client when changing the viewpoint. So try changing your code to the following:
Code:
viewpoint = viz.get(viz.MAIN_VIEWPOINT)

viz.clustermask(viz.CLIENT1)
viz.windowsize(320,240)
##viz.clusteroffset(30,0,0)
#viewpoint.rotate(0,1,0,20)
viewpoint.translate(0,0,-4)
viz.clustermask(viz.ALLCLIENTS)
Reply With Quote