CN102508994B - Virtual experiment teaching oriented dynamic component visualization method - Google Patents

Virtual experiment teaching oriented dynamic component visualization method Download PDF

Info

Publication number
CN102508994B
CN102508994B CN201110301917.1A CN201110301917A CN102508994B CN 102508994 B CN102508994 B CN 102508994B CN 201110301917 A CN201110301917 A CN 201110301917A CN 102508994 B CN102508994 B CN 102508994B
Authority
CN
China
Prior art keywords
dynamic component
attribute
dynamic
virtual
modeling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110301917.1A
Other languages
Chinese (zh)
Other versions
CN102508994A (en
Inventor
陈小武
赵沁平
杨自强
池昌鉴
贾国栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beihang University
Original Assignee
Beihang University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beihang University filed Critical Beihang University
Priority to CN201110301917.1A priority Critical patent/CN102508994B/en
Publication of CN102508994A publication Critical patent/CN102508994A/en
Application granted granted Critical
Publication of CN102508994B publication Critical patent/CN102508994B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention relates to a virtual experiment teaching oriented dynamic component visualization method which aims to realize the modeling and visualization of an experiment component with dynamically-changing appearance and strong interaction in the virtual experiment teaching process. The method mainly comprises the following steps of: (1) modeling the dynamic component in a virtual experiment teaching environment, specifically comprising the steps of obtaining the image information describing the dynamic component by use of image division, and obtaining the graphic information describing the dynamic component by use of interactive geometric configuration and the like to finish the modeling of the dynamic component; and (2) visualizing the dynamic component in the virtual experiment teaching environment, specifically comprising the steps of drawing the dynamic component according to the appearance attributes in the virtual experiment teaching scene and the like to visualize the experiment result to the user and dynamically respond to an interaction event and update the visualization result. The method provided by the invention can be widely applied to the fields of virtual experiment teaching, distance education and training and the like, and realizes visualization of the dynamic experiment component in the virtual experiment teaching.

Description

A kind of method for visualizing of dynamic component of Virtual experimental teaching
Technical field
The present invention relates to image processing, computer graphics and virtual reality field, specifically a kind of method for visualizing of dynamic component of Virtual experimental teaching.
Background technology
Virtual reality is take computer technology as core, in conjunction with related science technology, generate the digitized environment approximate with certain limit true environment height aspect the sense organs such as vision, hearing, touch sense, user carries out reciprocation, influences each other by the object in necessary equipment and digitized environment, can produce impression and the experience of coming to corresponding true environment personally.In recent years, virtual reality technology is more and more applied in education sector, and wherein, virtual experimental teaching environment is a Typical Representative.Virtual experimental teaching environment can provide an environment that carries out virtual experimental for vast student and other interest persons.Compared with traditional experiment teaching, virtual experimental teaching has three advantages: without place constraint, safety, low cost.Without place constraint, carrying out virtual experimental does not need the fixed-sites such as laboratory, is not subject to the restriction in place, and virtual experimental can be carried out in any place that has cyber-net.Safety, carries out experimenter in virtual experimental process and does not contact the hazardous environment such as high pressure, toxic chemical substance.Low cost, carrying out virtual experimental does not need to buy expensive experimental facilities.
Virtual experimental teaching environment effectively supplements as the one of traditional experiment teaching, become the important means of strengthening practical teaching, improving the quality of teaching, can not only solve well the problem that in problems that traditional experiment teaching exists, long-distance education, experimental teaching cannot be implemented, effectively improve the present situation of experimental teaching resource critical shortage and skewness, and the needs of new century talents cultivating mode can be taken into full account, the innovation ability, manipulative ability and the overall qualities that are conducive to improve student, have good social benefit.Virtual experimental teaching environment can meet the active demand of vast college teaching work to experimental resources, for country, society and school save a large amount of education fund inputs, produces good economic benefit.And, China has more than 1000 of gerneral institutes of higher education and higher education schools for adults at present, most of school eduaction resource is very short, the widespread use in the schools of various levels and categories of universities, middle and primary schools, adult education, long-distance education and vocational training of virtual experimental teaching environment and the visual design thereof, not only can save a large amount of education fund inputs, and there is huge potential market.
Have made some progress in research and the application aspect of virtual experimental teaching environment both at home and abroad at present, but except the Virtual Instrument Development software of NI company, ripe commercial podium is also few, there is no general development platform.Calendar year 2001, the people such as Zeng Huanwen of Taiwan normal university designed and Implemented a set of interactive virtual laboratory based on expert system, but this system is only applicable to motor experiment.The people such as the Jiang Huixian of Fujian Normal University in 2009 have integrated an all kinds of geography mesorelief resource constructions geographical terrain virtual experimental teaching environment.The people such as the Zhang Yanli of Zhengzhou University in 2010 have developed the virtual experimental teaching platform of a set of chemical experiment.The people such as the Fan Xiufang of Shanghai Communications University in 2011 have designed and Implemented a set of student of convenience and have understood the virtual experimental teaching system of mechanical motion.
These current virtual experimental teaching environment are mostly for even some special experimental design the exploitation of a certain Special Subjects, temporarily none multidisciplinary general Virtual Experiment Platform Based and corresponding standard criterion.The realization that all will redesign and encode of virtual experimental of every exploitation, causes the cost of development of virtual experimental very large, and the reusability of virtual experimental is low.The people such as the Joanna K.Crosier of Univ Nottingham UK in 2002 have studied and have integrated some key issues that in experiment in middle school teaching, virtual environment need to solve.But their target is just integrated the virtual experimental in secondary curriculum, compared with experiment in college course, these experiments are relatively simple, there is no complicated experimental principle and meticulous experimental apparatus.
Current virtual experimental teaching environment mostly carries out design and development take single experiment as least unit, can not test reusing of member, has limited the development efficiency of virtual experimental teaching scene.For can the existing virtual experimental of unified integration, improve Simulation Experiments Development efficiency, China has formulated corresponding national standard and standard to virtual experimental teaching environmental standard.This cover standard to describe the concrete concept of the experiment member in virtual experimental teaching environment, experiment scene, experimental result etc., and formulated corresponding data format specifications.We have analyzed actual functional capability and the interactive features of experiment member on the basis of this cover standard criterion, further experiment member are divided into stationary member and dynamic component two classes.Stationary member refers to the fixing experiment member without dynamic change of outward appearance in virtual experimental teaching process, comprises domain attribute and appearance attribute; Dynamic component refers to outward appearance dynamic change in virtual experimental teaching process, the experiment member that interaction is strong, not only comprises domain attribute and appearance attribute, also comprises mutual attribute.
In virtual experimental teaching environment, dynamic component should upgrade effect of visualization according to experimental result and user interactions request dynamic, and the user that can greatly improve virtual experimental teaching environment experiences.Therefore, the modeling to dynamic component and visually account for critical role in virtual experimental teaching environment.Existing technology is the only appearance attribute modeling to experiment member and visual all, while relating to the interactive function of testing member, is all included in experiment scene modeling and visual.Owing to there is no concept and the feature of clear and definite dynamic component, prior art cannot be carried out modeling and visual by dynamic component.Therefore, it is a principal object of the present invention to provide for virtual experimental teaching environment a kind of modeling and method for visualizing of dynamic component.
Summary of the invention
According to the actual requirements and key issue, the object of the invention is to: propose a kind of method for visualizing of dynamic component of Virtual experimental teaching, realize and meet the modeling of outward appearance dynamic change in the virtual experimental teaching scene of national standard, experiment member that interaction is strong and visual.The method, based on actual situation combination technology, adopts image information and Graphics Fusion method to carry out modeling to dynamic component appearance attribute, and according to experimental result display mode and the actual functional capability of dynamic component, the mutual attribute of dynamic component is carried out to modeling; In virtual experimental teaching scene, resolve dynamic component, its appearance attribute is carried out to visual playing up; Utilize its mutual attribute, can be according to the renewal effect of visualization of virtual experimental hind computation result and user interactions request dynamic.
For completing goal of the invention, the technical solution used in the present invention is:
A method for visualizing for the dynamic component of Virtual experimental teaching, comprises following steps:
Step 1, modeling to dynamic component in virtual experimental teaching environment, be specially:
Step a1, utilizes image to cut apart to obtain describing the image information of dynamic component; Meanwhile, utilize interactive geometrical configuration to obtain describing the graphical information of dynamic component;
Step a2, composite image information and graphical information and between position, size, the relation such as block, build the dynamic component appearance attribute that actual situation merges;
Step a3, the modeling of result display mode, the result display mode of definition dynamic component, adds script and realizes the appearance attribute that experimental calculation result is converted into dynamic component;
Step a4, tests component interactive function by analysis, adds interaction scripts, builds the mutual attribute of dynamic component, completes the modeling of dynamic component.
Wherein, the modeling of the dynamic component in step 1 is based on actual situation combination technology, has merged image information and graphical information, not only the appearance attribute of dynamic component is carried out to modeling, also the mutual attribute of dynamic component is carried out to modeling simultaneously, and concrete steps are:
Step c1 carries out prospect and background sampling in the image of true experiment member, according to sampling set, image pixel is classified, and the edge of cutting apart rear prospect is carried out to smoothing processing, obtains describing the image information of dynamic component;
Select basic geometric configuration simultaneously, adjust the attribute such as locus, size of geometric configuration by user interactions, different geometric configuratioies is combined into complex figure mutually, obtains describing the graphical information of dynamic component;
Step c2, superposes image information and graphical information, and the relation such as adjust position, size between the two, block completes actual situation fusion treatment, builds the dynamic component appearance attribute that actual situation merges;
Step c3, tests the result display mode of member by analysis, the result display mode of definition dynamic component is added script and realized experimental calculation result is converted into dynamic component appearance attribute, completes the modeling of result display mode;
Step c4, tests actual functional capability and the interactive features of member by analysis, add script and realize the interactive function of dynamic component, builds the mutual attribute of dynamic component.
Further, in the dynamic component appearance attribute process that structure actual situation described in step c2 merges, position relationship between image information and graphical information refers to the relative position of both coordinate origins, magnitude relationship refers to unit length proportionate relationship in both coordinate systems, and hiding relation refers to from both priority hierarchical sequences of user perspective.If between image information and graphical information, spatial relationship is unreasonable, inharmonious, the mutual hiding relation of relative size ratio is untrue, syncretizing effect all can produce defect.
Further, experimental result display mode described in step c3 belongs to the mutual attribute of dynamic component, experimental result affects the appearance attribute of dynamic component, result display mode has determined to affect details, script has been realized the detailed process that experimental result is converted into appearance attribute, and main display mode comprises: light pilot lamp, flashing indicator light, rotary indicator, object of which movement, change field color, display text, the digital font numerical value of demonstration, curve plotting etc.
Further, interactive function described in step c4 belongs to the mutual attribute of dynamic component, the script adding is revised the parameters such as the position, size, color of geometric configuration in graphical information, and then revises the appearance attribute of dynamic component, and continuous quick variation produces animation effect.
Step 2, visual to dynamic component in virtual experimental teaching environment, be specially:
Step b1, resolves the dynamic component in virtual experimental teaching scene, according to appearance attribute, obtains image information and graphical information, and the outward appearance of dynamic component is played up;
Step b2, utilizes the mutual attribute of dynamic component, according to virtual experimental hind computation result, calculates and upgrades appearance attribute, and repainting dynamic component, gives user by visual experimental result;
Step b3, monitoring users behavior in virtual experimental teaching scene, according to user's mutual request, calls corresponding mutual attribute, and dynamic response alternative events, upgrade visualization result.
Wherein, the visual of the dynamic component in step 2 not only drawn according to appearance attribute, can also upgrade the rendering effect of testing member, following steps according to mutual attribute and user interactions request dynamic:
Steps d 1, resolves the dynamic component in virtual experimental teaching scene, obtain describing the image information of dynamic component and graphical information and between position, size, the relation such as block, the appearance attribute of dynamic component is played up;
Steps d 2, utilizes the result display mode of dynamic component, according to virtual experimental hind computation result, carries out associated script and calculates and upgrade appearance attribute, and repaint dynamic component, gives user by visual experimental result;
Steps d 3, monitoring users behavior in virtual experimental teaching scene, according to user's mutual request, calls corresponding mutual attribute, carries out corresponding script, upgrades visualization result, completes the response to user interactions request.
For further understanding the present invention, existing by as follows the Action Specification of the principle of technique scheme and correlation step:
Dynamic component modeling mainly comprises four parts: image information acquisition and the graphical information of simultaneously carrying out are obtained, actual situation fusion treatment, display mode modeling and interactive function modeling.The effect of image information acquisition is the image information of utilizing image to cut apart to obtain describing dynamic component, for dynamic component provides outward appearance part true to nature.First in the image of true experiment member, carry out prospect and background sampling, then according to sampling set, image pixel is carried out to prospect background classification, and the edge of foreground data is carried out to smoothing processing, obtain describing the image information of dynamic component.
The effect that graphical information is obtained is to utilize interactive geometrical configuration to obtain describing the graphical information of dynamic component, for dynamic component provides controlled outward appearance part.First select basic geometric configuration, adjust the attribute such as locus, size of geometric configuration by user interactions, different geometric configuratioies is combined into complex figure mutually, is converted into after unified descriptor format, obtains describing the graphical information of dynamic component.
The effect of actual situation fusion treatment module be composite image information and graphical information and between position, size, the relation such as block, build the dynamic component appearance attribute that actual situation merges.Position relationship between image information and graphical information refers to the relative position of both coordinate origins, and magnitude relationship refers to unit length proportionate relationship in both coordinate systems, and hiding relation refers to from both priority hierarchical sequences of user perspective.Image information and graphical information and between position, size, the relation such as block affect effect that actual situation merges all, therefore in actual situation fusion treatment process, need to adjust these three factors, to obtain good syncretizing effect.
The effect of display mode modeling is the result display mode that defines dynamic component, adds script and realizes the appearance attribute that experimental calculation result is converted into dynamic component.How experimental result display mode upgrades appearance attribute according to experimental result if having defined, main result display mode comprises: light pilot lamp, flashing indicator light, rotary indicator, object of which movement, change field color, display text, the digital font numerical value of demonstration, curve plotting etc.
The effect of interactive function modeling is by analyzing experimental result display mode and component interactive function, add interaction scripts, building the mutual attribute of dynamic component.Dynamic interaction function has realized the parameter such as position, size, color of revising geometric configuration in graphical information by the script adding, and then revises the appearance attribute of dynamic component, and continuous quick variation produces animation effect.
Visual three parts that mainly comprise of dynamic component: outward appearance is visual, experimental result is visual and user interactions response.The visual effect of outward appearance is the appearance attribute of drawing dynamic component in virtual experimental teaching scene.First resolve the dynamic component in virtual experimental teaching scene, obtain image information and graphical information wherein; Then image information and graphical information are processed respectively, obtained its detail parameters; Finally, according to the hierarchical sequence between image information and graphical information, successively drawing image information or graphical information.
The visual effect of experimental result is to carry out visual to the experimental result of dynamic component in virtual experimental teaching environment.First, from result of calculation, filter out the attribute that needs demonstration; Then, experimental result value is changed into the appearance attributes such as angle, position, color according to the result display mode of dynamic component and corresponding scripts; Finally, draw dynamic component according to the appearance attribute that newly calculates, give user by visual experimental result.Due to experimental result real-time update, the outward appearance of dynamic component also just constantly changes, and fast refresh has produced animation effect.
The effect of user interactions response is the user interactions request in response virtual experimental teaching environment.First, monitor the user behavior in virtual experimental teaching environment; In the time receiving user's mutual request, call corresponding mutual attribute, carry out corresponding script; Finally, the drafting effect of Regeneration dynamics member, provides response to user's request.Main user behavior comprises: mouse is pressed, mouse up, and mouse is clicked, right mouse button, mouse drag, keyboard is pressed, and keyboard unclamps, network event etc.
The present invention compared with prior art, its useful feature is: 1, the present invention is according to actual functional capability and the interactive features of experiment member, be divided into stationary member and dynamic component two classes, proposed a kind of dynamic component method for visualizing of Virtual experimental teaching.2, when the present invention is to dynamic component modeling, adopt actual situation combination technology to carry out modeling to the appearance attribute of experiment member, merged image information and graphical information, make the appearance attribute of dynamic component not only there is high fidelity but also be easy to revise.3, when the present invention is to dynamic component modeling, not only appearance attribute is carried out to modeling, also mutual attribute is carried out to modeling simultaneously, when visual to dynamic component, utilize exchange attribute, according to experimental result and user interactions request, the appearance attribute of energy real-time update dynamic component, and repaint dynamic component, for user has brought good experience sense.4, in the present invention, modeling and visual dynamic component meet national standard and standard, and described modeling and method for visualizing have versatility, can carry out modeling and visual to various complicated dynamic components, be not subject to the restriction of subject, be applicable to the multi-disciplinary virtual experimentals such as physics, chemistry, electrotechnical, electronic, control automatically, Computer Subject.
Accompanying drawing explanation:
Fig. 1 is overall procedure schematic diagram of the present invention;
Fig. 2 is dynamic component of the present invention and stationary member comparison diagram;
Fig. 3 is dynamic component modeling process flow diagram of the present invention;
Fig. 4 is dynamic component voltage table modeling schematic diagram of the present invention;
Fig. 5 is dynamic component visible process figure of the present invention;
Fig. 6 is the visual schematic diagram of dynamic component voltage table of the present invention.
Embodiment:
The present invention is a kind of method for visualizing of dynamic component of Virtual experimental teaching, below in conjunction with accompanying drawing, the present invention is elaborated.
Consult Fig. 1 general illustration of the present invention, the present invention is divided into modelling phase and visual stage.Modelling phase comprises four parts: (1) image information acquisition, utilize image to cut apart to obtain describing the image information of dynamic component; Carry out graphical information simultaneously and obtain, utilize interactive geometrical configuration to obtain describing the graphical information of dynamic component; (2) actual situation fusion treatment, composite image information and graphical information and between position, size, the relation such as block, build the dynamic component appearance attribute that actual situation merges; (3) result display mode modeling, the result display mode of definition dynamic component, adds script and realizes the appearance attribute that experimental calculation result is converted into dynamic component; (4) dynamic interaction function modeling, tests actual functional capability and the interactive features of member by analysis, add script and realize the interactive function of dynamic component.The visual stage comprises three parts: (1) outward appearance is visual, resolve the dynamic experiment member in virtual experimental teaching scene, obtain describing the image information of dynamic component and graphical information and between position, size, the relation such as block, the outward appearance of dynamic component is played up; (2) experimental result is visual, utilizes the result display mode of dynamic component, according to virtual experimental hind computation result, carries out associated script and calculates and upgrade appearance attribute, and repaints dynamic component, gives user by visual experimental result; (3) user interactions response, monitoring users behavior in virtual experimental teaching scene, according to user's mutual request, calls corresponding mutual attribute, carries out corresponding script, and the drafting effect of Regeneration dynamics member, provides response to user's request.
Consult Fig. 2 dynamic component of the present invention and stationary member comparison diagram, stationary member refers to the fixing experiment member without dynamic change of outward appearance in virtual experimental teaching process, comprises domain attribute and appearance attribute; Dynamic component refers to outward appearance dynamic change in virtual experimental teaching process, the experiment member that interaction is strong, not only comprises domain attribute and appearance attribute, also comprises mutual attribute.Wherein, the domain attribute of experiment member is all defined by the expert of association area.Take battery in middle school physical experiment and voltage table as example, the domain attribute of battery comprises voltage and internal resistance, and appearance attribute as shown in FIG., does not need to show experimental result and response user's mutual request; Voltage table, except the domain attribute such as voltage and range, appearance attribute, also needs to pass through pointer rotational display experimental result, and the mutual request that user is changed to range provides response in time.
Consult Fig. 3 dynamic component modeling of the present invention process flow diagram, dynamic component modeling comprises the following steps:
Step a1: image information acquisition, utilize image to cut apart to obtain describing the image information of dynamic component, for dynamic component provides outward appearance part true to nature.First this step carries out prospect and background sampling in the image of true experiment member, then according to sampling set, image pixel is carried out to prospect background classification, and the edge of foreground data is carried out to smoothing processing, obtains describing the image information of dynamic component.This module can extract fast and accurately the image information of describing dynamic component from complicated image.Image information remains transplantable network image form, comprises tetra-Color Channels of RGB α, and wherein α passage represents transparency.
Carry out graphical information simultaneously and obtain, utilize interactive geometrical configuration to obtain describing the graphical information of dynamic component, for dynamic component provides controlled outward appearance part.First this step selects basic geometric configuration, adjust the attribute such as locus, size of geometric configuration by user interactions, different geometric configuratioies is combined into complex figure mutually, is converted into after unified descriptor format, obtains describing the graphical information of dynamic component.Graphical information saves as the figure of scalable vector format, and all geometric configuratioies are used extend markup language to describe.
Although image information has very high degree true to nature, image information is all independent pixel, and it is edited and control expends larger accurately.In contrast, the graphical information of describing dynamic component is to use basic geometric configuration mutually to combine foundation, and the parameters such as easy position, size and color by modification geometric configuration are revised the appearance attribute of dynamic component.
Step a2: actual situation fusion treatment, composite image information and graphical information and between position, size, the relation such as block, build the dynamic component appearance attribute that actual situation merges.Build in the dynamic component appearance attribute process of actual situation fusion, if between image information and graphical information, spatial relationship is unreasonable, inharmonious, the mutual hiding relation of relative size ratio is untrue, syncretizing effect all can produce defect, therefore needs to consider spatial relation, size and the hiding relation between image information and graphical information comprehensively.
Due to different dynamic components, image information and the numerous and diverse difference of graphical information relation.This module provides certain function to edit image information and graphical information, guarantees that spatial relationship is reasonable, size is coordinated, hiding relation is true between the two.Main editting function comprises: scaled, the level editor of image information and the level editor of graphical information etc. of the position editor of image information position editor, graphical information, the scaled of image information, graphical information.
Step a3: the modeling of result display mode, the experimental result display mode of dynamic component is carried out to modeling.First this step defines the result display mode of dynamic component, then adds script and realizes the detailed process of calculating appearance attribute according to experimental result.Main result display mode comprises: light pilot lamp, flashing indicator light, rotary indicator, object of which movement, change field color, display text, the digital font numerical value of demonstration, curve plotting etc.
Step a4: dynamic interaction function modeling, carries out modeling to the interactive function of dynamic component.This step is tested actual functional capability and the interactive features of member by analysis, interpolation script is realized the interactive function of dynamic component.Interaction scripts can be divided into the script of revising member appearance attribute and the script of revising member domain attribute by function.The script of revising member appearance attribute is mainly the property value such as position, size, color that consist of geometric configuration of graphical information modifications, and then the appearance attribute of modification dynamic component, continuous quick variation generation animation effect.The script of revising member domain attribute is mainly the property value of revising dynamic component, and the property value upgrading can be sent to backstage, for calculating the experimental result of virtual experimental.
Consult Fig. 4 dynamic component voltage table of the present invention modeling schematic diagram, first, mistake image Segmentation Technology is extracted the image informations such as the dial plate of voltage table from the image of true experiment member; By graphical informations such as the manual pointers of setting up alternately voltage table, comprise that definition magnitude of voltage is the pointer initial angle θ of 1 o'clock simultaneously 0, current range V min→ V maxcorresponding rotating range θ min→ θ maxetc. information; Then, image information and graphical information are merged, adjust dial plate size, adjust pointer position, adjust both hiding relations and generate the overall appearance of a voltage table; Add afterwards shown in the following formula of transformational relation of script definition measuring voltage V and pointer angle θ:
θ = θ 0 + V ( θ max - θ min ) V max - V min
It is appearance attribute angle by experimental result voltage transitions that this formula is used for; Finally, need the request of compile script response user switching range, revise the V in above-mentioned formula by script max, V minchange as new value, and recalculate the anglec of rotation of pointer.
Consult Fig. 5 dynamic component visible process of the present invention figure, the present invention comprises the following steps in the visual stage:
Step b1: outward appearance is visual draws the appearance attribute of dynamic component in virtual experimental teaching scene.First this step resolves the dynamic component in virtual experimental teaching scene, extracts image information and graphical information wherein and processes respectively.To image information need the width of further analysis diagram picture, highly, the information such as resolution, position and level, recover view data; Need to further parse the parameters such as the basic geometric configuration of each ingredient and size thereof, position, color to graphical information, recover corresponding graph data; Finally, according to the hierarchical sequence between image information and image information, successively drawing image information or graphical information.
Step b2: experimental result is visual, carries out visual to the experimental result of dynamic component in virtual experimental teaching environment.First this step filters out the attribute that needs demonstration from result of calculation, then experimental result value is changed into the appearance attributes such as angle, position, color according to the result display mode of dynamic component and corresponding scripts, and repaint dynamic component, give user by visual experimental result.Due to experimental result real-time update, the outward appearance of dynamic component also just constantly changes, and fast refresh has produced animation effect.
Step b3: user interactions response, the user interactions request in response virtual experimental teaching environment.This step is monitored the user behavior in virtual experimental teaching environment, in the time receiving user's mutual request, calls corresponding mutual attribute, carries out corresponding script, and the drafting effect of Regeneration dynamics member, provides response to user's request.Main user behavior comprises: mouse is pressed, mouse up, and mouse is clicked, right mouse button, mouse drag, keyboard is pressed, and keyboard unclamps, network event etc.Due to the difference of response script, user can revise by interactive operation domain attribute and the appearance attribute of dynamic component.
Consult the visual schematic diagram of Fig. 6 dynamic component voltage table of the present invention, first, in virtual experimental teaching scene, resolve dynamic component voltage table, extract image information and graphical information and between relation, first draw dial plate according to hierarchical sequence, draw pointer, pointer initial position points to 0.0V again; After virtual experimental teaching scene brings into operation, in result of calculation, filter out the magnitude of voltage of voltage table, and be converted into pointer angle according to defined formula, repaint voltage table pointer with this; In the time receiving user interactions behavior and want the range of switched voltage table, move predefined script, according to new V max, V minrecalculate pointer angle and draw pointer.
The present invention, according to actual functional capability and the interactive features of experiment member, is divided into stationary member and dynamic component two classes, has proposed a kind of dynamic component method for visualizing of Virtual experimental teaching.And the modelling phase of the present invention adopts actual situation combination technology to carry out modeling to the appearance attribute of experiment member, has merged image information and graphical information, make the appearance attribute of dynamic component not only there is high fidelity but also be easy to revise.
Modelling phase of the present invention is not only carried out modeling to the appearance attribute of dynamic component, also the mutual attribute of dynamic component is carried out to modeling simultaneously, at the mutual attribute of utilization in visual stage, according to experimental result and user interactions request, the appearance attribute of energy real-time update dynamic component, and repaint dynamic component, for user has brought good experience sense.In addition, in the present invention, modeling and visual dynamic component meet national standard and standard, and described modeling and method for visualizing have versatility, can carry out modeling and visual to various complicated dynamic components, be not subject to the restriction of subject, be applicable to the multi-disciplinary virtual experimentals such as physics, chemistry, electrotechnical, electronic, control automatically, Computer Subject.
The foregoing is only basic explanations more of the present invention, any equivalent transformation doing according to technical scheme of the present invention, all should belong to protection scope of the present invention.

Claims (6)

1. a method for visualizing for the dynamic component of Virtual experimental teaching, is characterized in that comprising the following steps:
Step 1, modeling to dynamic component in virtual experimental teaching environment, be specially:
Step a1, utilizes image to cut apart to obtain describing the image information of dynamic component; Meanwhile, utilize interactive geometrical configuration to obtain describing the graphical information of dynamic component;
Step a2, composite image information and graphical information and between position, size, hiding relation, build actual situation merge dynamic component appearance attribute;
Step a3, the modeling of result display mode, by analyzing experimental result display mode, the result display mode of definition dynamic component, adds script and realizes the appearance attribute that experimental calculation result is converted into dynamic component;
Step a4, tests member function by analysis, adds interaction scripts, builds the mutual attribute of dynamic component, completes the modeling of dynamic component;
The modeling of the dynamic component in step 1 is based on actual situation combination technology, has merged image information and graphical information, not only the appearance attribute of dynamic component is carried out to modeling, also the mutual attribute of dynamic component is carried out to modeling simultaneously, and concrete steps are:
Step c1 carries out prospect and background sampling in the image of true experiment member, according to sampling set, image pixel is classified, and the edge of cutting apart rear prospect is carried out to smoothing processing, obtains describing the image information of dynamic component;
Select basic geometric configuration simultaneously, adjust locus, the size attribute of geometric configuration by user interactions, different geometric configuratioies is combined into complex figure mutually, obtains describing the graphical information of dynamic component;
Step c2, superposes image information and graphical information, adjusts position, size, hiding relation between the two, completes actual situation fusion treatment, builds the dynamic component appearance attribute that actual situation merges;
Step c3, tests the result display mode of member by analysis, the result display mode of definition dynamic component is added script and realized experimental calculation result is converted into dynamic component appearance attribute, completes the modeling of result display mode;
Step c4, tests actual functional capability and the interactive features of member by analysis, add script and realize the interactive function of dynamic component, builds the mutual attribute of dynamic component;
Step 2, visual to dynamic component in virtual experimental teaching environment, be specially:
Step b1, resolves the dynamic component in virtual experimental teaching scene, according to appearance attribute, obtains image information and graphical information, and the outward appearance of dynamic component is played up;
Step b2, utilizes the mutual attribute of dynamic component, according to virtual experimental hind computation result, calculates and upgrades appearance attribute, and repainting dynamic component, gives user by visual experimental result;
Step b3, monitoring users behavior in virtual experimental teaching scene, according to user's mutual request, calls corresponding mutual attribute, and dynamic response alternative events, upgrade visualization result.
2. the method for visualizing of the dynamic component of Virtual experimental teaching according to claim 1, is characterized in that: described dynamic component refers to outward appearance dynamic change in virtual experimental teaching process, the experiment member that interaction is strong.
3. the method for visualizing of the dynamic component of Virtual experimental teaching according to claim 1, it is characterized in that: in the dynamic component appearance attribute process that the structure actual situation described in step c2 merges, position relationship between image information and graphical information refers to the relative position of both coordinate origins, magnitude relationship refers to unit length proportionate relationship in both coordinate systems, and hiding relation refers to from both priority hierarchical sequences of user perspective; If between image information and graphical information, spatial relationship is unreasonable, inharmonious, the mutual hiding relation of relative size ratio is untrue, syncretizing effect all can produce defect.
4. the method for visualizing of the dynamic component of Virtual experimental teaching according to claim 1, it is characterized in that: the experimental result display mode described in step c3 belongs to the mutual attribute of dynamic component, experimental result affects the appearance attribute of dynamic component, result display mode has determined to affect details, script has been realized the detailed process that experimental result is converted into appearance attribute, and main display mode comprises: light pilot lamp, flashing indicator light, rotary indicator, object of which movement, change field color, display text, the digital font numerical value of demonstration, curve plotting.
5. the method for visualizing of the dynamic component of Virtual experimental teaching according to claim 1, it is characterized in that: the interactive function described in step c4 belongs to the mutual attribute of dynamic component, the script adding is revised position, size, the color parameter of geometric configuration in graphical information, and then the appearance attribute of modification dynamic component, continuous quick variation produces animation effect.
6. the method for visualizing of the dynamic component of Virtual experimental teaching according to claim 1, it is characterized in that: the visual of the dynamic component in step 2 not only drawn according to appearance attribute, can also upgrade the rendering effect of testing member, following steps according to mutual attribute and user interactions request dynamic:
Steps d 1, resolves the dynamic component in virtual experimental teaching scene, obtain describing the image information of dynamic component and graphical information and between position, size, hiding relation, the appearance attribute of dynamic component is played up;
Steps d 2, utilizes the result display mode of dynamic component, according to virtual experimental hind computation result, carries out associated script and calculates and upgrade appearance attribute, and repaint dynamic component, gives user by visual experimental result;
Steps d 3, monitoring users behavior in virtual experimental teaching scene, according to user's mutual request, calls corresponding mutual attribute, carries out corresponding script, upgrades visualization result, completes the response to user interactions request.
CN201110301917.1A 2011-09-30 2011-09-30 Virtual experiment teaching oriented dynamic component visualization method Active CN102508994B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110301917.1A CN102508994B (en) 2011-09-30 2011-09-30 Virtual experiment teaching oriented dynamic component visualization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110301917.1A CN102508994B (en) 2011-09-30 2011-09-30 Virtual experiment teaching oriented dynamic component visualization method

Publications (2)

Publication Number Publication Date
CN102508994A CN102508994A (en) 2012-06-20
CN102508994B true CN102508994B (en) 2014-06-25

Family

ID=46221079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110301917.1A Active CN102508994B (en) 2011-09-30 2011-09-30 Virtual experiment teaching oriented dynamic component visualization method

Country Status (1)

Country Link
CN (1) CN102508994B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110349469A (en) * 2019-07-21 2019-10-18 李力 A kind of boss bolt pretightning force controlled training system of HWIL simulation

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945313A (en) * 2012-10-18 2013-02-27 北京航空航天大学 Method for constructing and demonstrating teaching content of open type virtual experiment
CN104077316A (en) * 2013-03-29 2014-10-01 江苏北极光科技发展有限公司 Visualization technique
CN104765899B (en) * 2014-01-02 2019-01-29 航天信息股份有限公司 The computer graphical representation method and apparatus of grain circulation facility
CN103785174B (en) * 2014-02-26 2016-08-17 北京智明星通科技有限公司 A kind of same screen of playing shows the method and system of ten thousand people
CN106355630B (en) * 2015-07-21 2021-06-29 鸿合科技股份有限公司 Feature-based dynamic entity generation method and device
CN105913493B (en) * 2016-04-25 2019-03-08 北京航空航天大学 A kind of interaction attributes based on single image and threedimensional model joint mapping method
CN107957862A (en) * 2017-12-06 2018-04-24 杭州同立方软件有限公司 A kind of requirement analysis method for building industry science class virtual emulation practice-training teaching software
CN110631708B (en) * 2018-06-22 2022-05-17 杭州阿尔法红外检测技术有限公司 Analysis configuration device and analysis configuration method
CN109598999B (en) * 2018-12-18 2020-10-30 济南大学 Virtual experiment container capable of intelligently sensing toppling behaviors of user
US20200258407A1 (en) * 2019-02-11 2020-08-13 My Jove Corporation Video lab book environment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894489A (en) * 2010-07-30 2010-11-24 山东大学 Method for virtual experiment apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2457906A1 (en) * 2001-08-13 2003-07-17 Late Night Labs Ltd. System and method for simulating laboratory experiment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894489A (en) * 2010-07-30 2010-11-24 山东大学 Method for virtual experiment apparatus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
于兴彬等.基于SVG的虚拟实验器件元数据模型.《中国科技论文在线精品论文》.2011,第4卷(第8期),
基于SVG的虚拟实验器件元数据模型;于兴彬等;《中国科技论文在线精品论文》;20110430;第4卷(第8期);691-697 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110349469A (en) * 2019-07-21 2019-10-18 李力 A kind of boss bolt pretightning force controlled training system of HWIL simulation

Also Published As

Publication number Publication date
CN102508994A (en) 2012-06-20

Similar Documents

Publication Publication Date Title
CN102508994B (en) Virtual experiment teaching oriented dynamic component visualization method
Lv et al. Virtual reality geographical interactive scene semantics research for immersive geography learning
CN102945313A (en) Method for constructing and demonstrating teaching content of open type virtual experiment
CN102798802B (en) Cable fault locating visual simulation experimental method
CN102768308B (en) Method for carrying out visual simulation test on dielectric loss of current transformer
CN102073645B (en) Virtual city model machine and operation method thereof
CN110119272A (en) A kind of human-machine interface configuration design method and device
Chen et al. Data visualization in smart grid and low‐carbon energy systems: A review
Xu et al. Design of yunnan province soil environmental quality monitoring and analysis platform based on webgis
Zhao et al. Application of multimedia technology in water conservancy and hydropower engineering
Wang et al. [Retracted] Panoramic Display and Planning Simulation of Civil Engineering Project Based on Virtual Reality Technology
Luo et al. The Application of Virtual Reality Technology in Environmental Art Design
Feng et al. Analysis of Lightweight Processing Technology for WEB oriented BIM Model
Liu et al. Research of immersive geospatial data visualization based on embodied cognition
Xue et al. Construction and Application of the Teaching Cloud Platform for Engineering Drawing Course
Yang et al. Research and Application of 3D Real-Time Simulation Technology for Thermal and Hydraulic Mechanism in Nuclear Power Plant
Xiong The Application of Computer Three-dimensional Modelling Technology in Environmental Art Design Major
Cao Realistic interaction design of large site scenes based on virtual reality technology
Jia Construction of environmental art design system based on 3d panorama technology
Song et al. Anov: A Framework for Rapid Construction and Development of Web-Based Large Screen Visual Dashboard
Zou et al. Research on 3D Art Design System Based on Computer Virtual Reality Technology
Wang et al. Design of aquatic ecological security evaluation system based on virtual geographic environment
CN108595456B (en) CALPUFF model simulation result visualization method
Bai Analysis And Visualization of Online Learning Data Based on Crowd Sensing
Zhang et al. Intelligent 3D Printing Technology in Architectural Design

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant