Vector graphics in X11 format
Element scene
<scene src="x11://www.3d.com:6000/~user">
<a attr="k">
<b>
</a>
<c>
<d something="m">
</c>
</scene>
sends data, enclosed in it, via HTTP (1)
<a attr="k">
<b>
</a>
<c>
<d something="m">
</c>
gets drawing of 3D-object, generated by server, in X11 format
(data for X-server, used by browser, is instead of dots;
attribute 'xml:size specifies size of this data in bytes)
and displays it instead of element scene (2)
<?x11 xml:size=345>…</?x11>
If user turns object by mouse, click, double-click or make click by right mouse button on object,
then browser sends messages like the following to server via HTTP (3)
<step tra="12.3 45.6 78.9" rot="3.4 5.6 1.2">
<press where="25.7 37.4"> <!-- click -->
<release where="25.7 37.4"> <!-- click -->
<double where="25.7 37.4"> <!-- double-click -->
<right where="25.7 37.4"> <!-- click button -->
gets drawing of 3D-object, generated by server, in X11 format.
Process of messaging between browser and server can be repeated many times:
(2) causes (3), (4) causes (5), (6) causes (7), etc..
P.S.
It's possible to read additional considerations for this topic in separate document.
Dmitry Turin