Difference between revisions of "Mugic/protocol"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
Line 1: Line 1:
 
==Overview==
 
==Overview==
 
 
 
sever listens to both tcp and udp
 
sever listens to both tcp and udp
 
they can work in conjunction and in collaboration with each other
 
they can work in conjunction and in collaboration with each other

Revision as of 11:19, 30 October 2012

Overview

sever listens to both tcp and udp they can work in conjunction and in collaboration with each other udp has a 1400 byte limit


User management every tcp connection has a ttl after the ttl time, the scene associated with user will be deleted

Object managment every object has an owner object can be a collection of objects

Syntax

cmd name [parameter={value,`expr`} ...]


Examples

Connections


connect


preferences


pref

simple objects


point name= triangle quads circle elipses sphere cube cylinder pyramid

group name=g1 x1 y1 z1

var center=10 point name=x1 cx=`center*2`

var center=20


move dur= delete dur= scale rotate sheer

copy name= src= link name= src= transformation=


sql info name type OSG_pointer cx cy cz


Quad ID=X p1=0,0 p2=1,0 p3=1,1 P4=0,0 link ID=A src=X scale id=A factor=0.2 move ID= dx=.1 dy=.5 group iD=C A,B