WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 10-20-2009, 02:28 PM
Enlil Enlil is offline
Join Date: May 2008
Posts: 61
Network format

Hello, I am writing a C# application that communicates with a vizard program, and looking at the message sent from the vizard program, the format looks pretty complex! I am not too worried about parsing the vizard message in C#, but am not so sure about writing the code to send a UDP packet from C# to Vizard that the vizard networking accepts.

So, I was wondering, is there any documentation on the format?

Reply With Quote
Old 10-21-2009, 10:30 AM
Enlil Enlil is offline
Join Date: May 2008
Posts: 61
I looked into it further, and it turns out the message format is pickled - that is why it looks so odd. So I am working with IronPython to try to reverse the process and get at the data.

Reply With Quote
Old 10-23-2009, 11:29 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
The data that is transmitted by Vizard is pickled using the cPickle module. To get access to the data on your end you can use the following code:
data = cPickle.loads(rawData)
The variable data should be a tuple containing:
  1. The senders computer name
  2. A tuple containing the positional data from the <network>.send() command
  3. A dictionary containing keyword data from the <network>.send() command
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using 5DT plug-in with the data coming through network... mcicek Vizard 1 05-18-2009 06:17 PM
continually losing network license ad_astra Vizard 1 11-30-2007 03:48 PM
Best image format Pastscapian Vizard 2 10-09-2006 11:44 AM
White Fullscreen crash when running network version Dbuckland Vizard 6 04-19-2006 03:49 PM
more advanced network examples? halley Vizard 0 04-05-2006 08:07 AM

All times are GMT -7. The time now is 03:19 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC