From clusters to VRML



The process described here is needed in order to obtain a full VRML hierarchical description of the database space.
VRML (Virtual Reality Modeling Language) is featured to describe tri-dimensional spaces and environments with objects inside them.
VRML files are ascii files that can be interpreted by VRML browsers. A VRML browser enables the navigation of the spaces described by VRML files. Our objects are really very simple geometrical shapes because they must represent the clusters.
Fig 1 shows how the data contained in cluster tables are used to build VRML files.
Fig 2 shows the process that creates a hierarchical structure of VRML files starting from cluster tables.
 
 


fig.1

CLUSTER_n
VECTOR
CLUSTER_(n-1)
MUW-LIST
X
Y
Z
2366
[120][030]...[240]
23403
WORD1,...n
2404
1230
240
"
"
...
WORD1,...n
...
...
...
"
"
32240
WORD1,...n
2400
1040
200

CLUSTER_n - VRML file
CLUSTER_(n-1) - object inside VRML file
x,y,z - coordinates of the object
MUW-LIST - text associated to the object(*)
(*)it is displayed by the browser
when the cursor is on the object
 
 
 
 
 

fig.2

LEONARD HOME PAGE