View Single Post
  #10  
Old 07-13-2009, 11:36 AM
wayne wayne is offline
Member
 
Join Date: May 2008
Location: Santa Barbara, CA
Posts: 9
You can run PPT with both Serial and VRPN7 plugins active at the same time. So you can write new code that uses VRPN, and your old legacy code will still work. I would recommend that you switch over to VRPN when possible, because it is designed to support more markers and faster updates such as that available in our PPT-H product. Also, I would recommend that in the future, you write your scripts to use the viztracker interface, so that way if your tracking system changes, you can easily just change the one viztracker file and all of your demos will then be changed at once instead of having to rewrite each one.

You should see traces in the PPT interface as you move around your lights. If you are seeing dots, then this is the trace. If you move too fast then the trace will probably appear disconnected.

The serial protocol is able to handle multiple markers, and it will deal with the order correctly. You do multiple viz.add('vizppt.dls') calls, and each call will return marker 1, 2, 3, 4, etc in that order. The nice part about the VRPN interface is you can request any marker you like in any order. But if the PPT GUI shows a marker 1, that is what you will get from your first call to viz.add('vizppt.dls').
Reply With Quote