Mugic/protocol

From Immersive Visualization Lab Wiki
Revision as of 11:23, 30 October 2012 by Sdy (Talk | contribs)

Jump to: navigation, search

Contents

Overview

Headline text

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