D

erectboboSoftware and s/w Development

Dec 14, 2013 (3 years and 3 months ago)

77 views


УДК 004(06)
Компьютерные системы и

технологии

_____________________________
___________________________________________________


ISBN

5
-
7262
-
0555
-
3. НАУЧНАЯ СЕССИЯ МИФИ
-
2005. Том 14
1

D.M. MIKHAILOV

Supervisor of studies


V.V. GUROV

Moscow Engineering Physics Institute (State University)


APPLICATION OF WEB TECHNOLOGIES AND 3D STUDIO MAX IN COMPUTER
-
BASED
LABORATORY WORKS

IN PHYSICS


In this paper the way of creation of animated physi
cal experiments for computer
-
based laboratory works in

general physics is
presented. The principal goal of the proposed way is to create the animation of a physical experiment for electronic laborato
ry
works as similar to real experiments as possible.


3D
animation is a necessary attribute of computer
-
based laboratory works in

physics. Students can directly e
x
p
e-
rience the time
-
dependence of objects in response to various forces with the help of interactive visual animations.

There are several ways to create

interactive animations. However, there are certain limitations in choosing the
applicable way. It is necessary to create animations compatible with Delphi projects as far as Delphi 6.0 is chosen as
the development and debugging environment for computer
-
ba
sed laboratory works.

The best option is to use OpenGL. OpenGL is a low
-
level graphics library specification. OpenGL makes avai
l
a-
ble to the programmer a small set of geometric primitives
-

points, lines, polygons and bitmaps. The programme
r
must possess en
ough skills in solid geometry, analytic geometry and trigonometry to work
with coordinates of di
f-
ferent objects. Developing animations using OpenGL is rather complex considering the details mentioned above

and
developing

special effects like shadows and tr
ansparency takes lots of time.

Another way to create a 3D animation is to use 3D Studio Max. The certain advantage of this approach is that
there is no necessity to work with coordinates and to deal with analytic geometry. Besides, it is rather easy to c
reate
most effects. However, there are two main disadvantages of this approach. The first one is that it is impossible to
control the animation as soon as it starts playing. The second one is that 3D Studio Max is not compatible with De
l-
phi. The first disa
dvantage can be eliminated if the goal is to create an
animation of a periodical process. In

this case
it is possible to animate only one period of such process and to play this animation as many times as needed.

Involving web technologies can solve the pr
oblem of compatibility. The application of web technologies in De
l-
phi
projects is possible when using the standard Delphi component ‘Web Browser’. This component allows you to
embed Internet Explorer

built in a Delphi form.

The next step is to convert the

animation created with the help of 3D Studio Max to a format that can be di
s-
played by Internet Explorer. One of the best ways is to convert the sequence of key frames created with 3D Studio
Max to GIF animation. In this paper the computer
-
based laboratory

work “The method of torsional oscillations in
measurement of inertia moments” is

presented. The virtual model of the device for measurement of inertia moments
used in this computer
-
based laboratory work is shown in the fig. 1. The described above way of a
nimation was used
to animate this virtual model.


Fig. 1. The inertia moment measurement device

While working with this laboratory work, students should define the period of disk oscillation using a virtual
stopwatch built into the program. The period of

oscillation significantly depends on conditions of the experiment. As
far as there are seven possible conditions of conducting the experiment in this laboratory work, seven animations
were created. According to the laboratory work task, students should me
asure the oscillation period under each co
n-
dition for four times to reduce the
possibility of a mistake. As

the period doesn’t change significantly under the
same conditions of conducting the experiment, there is no necessity to create different animation
s for each of the
four measurements. The slight difference in measurement results in this case can be achieved with the help of the
stopwatch.

The approach to animation of computer
-
based laboratory works suggested in this paper offers new possibilities
fo
r the display of impressive interactive animations in Delphi projects considering the potential of web technologies.

The suggested method of animation was discussed with students of the University of London.