The first time our group take a brief look at
the scilab, we are all intersted in it's graphic
windows. It gives the user a direct and concrete
impression about the abstract mathmatical datas
and functions. But we also feel regret that the
graphic windows can only export 2d files such as
gif, jpeg..., no matter the graph we plot is 2d
or 3d. And one day someone suggested we export out
a real 3D graph, which can be seem form any aspect,
zoom and unzoom, with rotation and various other
attributes, just like playing a 3d game . Our crew
considered it a science fiction at first, vrml changed
our mind and finally gave birth to our VRscilab
toolbox. For us, a group of undergraduate students
with not much help, to design and write a complicated
link closly with computer graphic theory programe
is really a science fiction. VRML helps us, it is
an well developped and popular opensource protocol
with so pretty and simple syntax. Everyone can learn
it in an hour and design his own graphic. And What's
more, the way it define the point, point index ,color
and color index is so familiared with the scilab
plot function. They are all defined in several constant
"block", and each shape can not only be
defined separatly and join together easily but also
be given a general enviroment attributes such as
light color,intensity , background pic, etc. This
is especially convinent for us, cause we can pay
not so much attention to the string process detail
and focus on the data process algorithm.
After that, everything goes well, we study the scilab
plot function carefullly and worked out all the
matrix convertion algorithm, although the time is
not enough and we can't support all the functions...And
we choose Tcl/Tk to write our interface and deal
with the string processing and file writing. Tcl/Tk
is a wonderful script language. There was also a
interpreter embeded into the Scilab. Students in
our group last year have designed EasyScilab by
tcl/tk. Its powerful string manipulation fits greatly
to VRscilab.
We not only want to just show Scilab group our work,
but also make all the scilab fans easy to publish
their work, for the vrml files generated by VRsiclab
can be took everywhere. You don't need Scilab installed
to show your graph, the true 3d graph can be embeded
in any html files. That means you can show them
on your homepage, send in E-mail to your friends
,everywhere on internet... ,concrete and intersting.
And we also want to show why the tcl/tk a wonderful
language with great future and how pretty interface
it can make.
We wish our work can make Scilab more intersting,
useful and popular.
Information about VRML
Information about Tcl/Tk