CN116681866A - AR-based automatic chemical substance synthesis method and system - Google Patents

AR-based automatic chemical substance synthesis method and system Download PDF

Info

Publication number
CN116681866A
CN116681866A CN202310579626.1A CN202310579626A CN116681866A CN 116681866 A CN116681866 A CN 116681866A CN 202310579626 A CN202310579626 A CN 202310579626A CN 116681866 A CN116681866 A CN 116681866A
Authority
CN
China
Prior art keywords
model
substance
distance
animation
module
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.)
Granted
Application number
CN202310579626.1A
Other languages
Chinese (zh)
Other versions
CN116681866B (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.)
Wuzhou University
Original Assignee
Wuzhou 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 Wuzhou University filed Critical Wuzhou University
Priority to CN202310579626.1A priority Critical patent/CN116681866B/en
Publication of CN116681866A publication Critical patent/CN116681866A/en
Application granted granted Critical
Publication of CN116681866B publication Critical patent/CN116681866B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/203D [Three Dimensional] animation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B23/00Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes
    • G09B23/24Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for chemistry
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B23/00Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes
    • G09B23/26Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for molecular structures; for crystallography
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B5/00Electrically-operated educational appliances
    • G09B5/04Electrically-operated educational appliances with audible presentation of the material to be studied
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16CCOMPUTATIONAL CHEMISTRY; CHEMOINFORMATICS; COMPUTATIONAL MATERIALS SCIENCE
    • G16C20/00Chemoinformatics, i.e. ICT specially adapted for the handling of physicochemical or structural data of chemical particles, elements, compounds or mixtures
    • G16C20/10Analysis or design of chemical reactions, syntheses or processes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Educational Technology (AREA)
  • Educational Administration (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • General Engineering & Computer Science (AREA)
  • Algebra (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Medicinal Chemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Architecture (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Analytical Chemistry (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computing Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses an AR-based automatic chemical substance synthesis method, which relates to the technical field of Augmented Reality (AR), and comprises the following steps: establishing a three-dimensional model and a substance model of the microscopic particles, and manufacturing an animation and an identification card of the microscopic particle model; acquiring an identification card and detecting a card distance carrying a model; and (3) detecting the distance of the identification card, and when the distance is smaller than the specified distance, automatically moving the object and generating an animation change of moving and combining the object, wherein the animation change is specifically a substance animation formed by combining the moving animation of the micro-particle model and the micro-particles, and when the distance between the moving animation and the micro-particle model is pulled away again after the object moves, the object automatically returns to the original position and resumes the rotating animation of the micro-particle model. The invention applies AR to chemistry microcosmic constitution substance teaching, can more intuitively present a 3D model of microcosmic particles and a process of constitution substances, and can display abstract concepts in a materialized way.

Description

AR-based automatic chemical substance synthesis method and system
Technical Field
The invention relates to the technical field of Augmented Reality (AR), in particular to an AR-based automatic chemical substance synthesis method and an AR-based automatic chemical substance synthesis system.
Background
Most of the current teaching demonstration is performed by multimedia courseware, so that the teaching demonstration is too single, knowledge information is abundant but learning efficiency is low, learned knowledge points cannot be well understood, and students passively receive knowledge. The chemistry is taken as a basic subject, is difficult to understand and understand, has microcosmic, abstract and complex contents, and cannot meet the requirement that students learn chemistry in microcosmic and abstract aspects when simply performing multimedia courseware. The composition of learning chemical substances plays an important role in the learning chemical process, and substances can be formed between atoms, ions and ions, and atoms, ions and molecules are microscopic particles forming substances, but the microscopic particles cannot be seen by naked eyes of people, and the imagination needs to be built in the brain by oneself. For students in middle and primary schools, these concepts are too abstract to understand.
At present, the teaching aid of chemical subjects in learning chemical substance constitution is mainly divided into two types, namely a substance model of an entity, and a process of generating new substances after the distance between two substances is reduced is manually demonstrated by a teacher, however, the models of the substances are separated, so that the demonstration can only be carried out separately in the demonstration process, and the model teaching aid of the substances is required to be manually switched in the process, so that the teaching aid is inconvenient and not intuitive. The other is video demonstration of synthesizing new substances after the substance distance is reduced, which is more visual than a purely manual switching model, but has poor interactivity with students, and the students can only watch the new substances in the process and cannot intuitively and fully experience the whole process of reducing the substance distance and synthesizing the substances.
Disclosure of Invention
The invention discloses an AR-based automatic chemical substance synthesis method and an AR-based automatic chemical substance synthesis system, which solve the problems in the background technology.
In order to achieve the above purpose, the present invention provides the following technical solutions: an automatic synthesis method of an AR-based chemical substance, comprising the following steps:
establishing a three-dimensional model and a substance model of the microparticles, and manufacturing an animation and an identification card of the microparticle model, wherein the identification card is in corresponding relation with the three-dimensional model and the substance model of the microparticles, the animation of the microparticle model comprises a rotation animation of the microparticle model, and the animation of the microparticle model and the combination of the microparticles form the substance animation;
acquiring a card carrying a microscopic particle model and detecting the distance of the card carrying the model;
detecting the distance of the card, and when the distance is smaller than the specified distance, automatically moving the object and generating animation changes of the movement and combination of the object, wherein the animation changes are specifically micro-particle model movement animations and substance animations formed by combining micro-particles;
and (3) detecting the distance of the card, and when the distance between the objects is not smaller than the designated distance after the objects are moved, automatically returning the objects to the original positions and recovering the rotation animation of the microscopic particle model.
Preferably, the three-dimensional model includes an atomic model and an ion model, and the substance model includes a liquid substance model, a gaseous substance model, and a solid substance model.
Preferably, the atomic model and the ion model use CINEMA4D as a modeling tool, and the manufacturing steps are as follows: firstly changing the frame rate in engineering setting into 25 frames per second, creating a sphere model by using a sphere object, adjusting parameters, copying the sphere model, selecting a cloning tool, placing the copied sphere model under the cloning tool, selecting a cloning mode as a radiation mode, selecting the number of clones, setting a radius, selecting a plane, and adjusting a start angle or an end angle; the ion model retains substantially all elements of the atomic structure schematic, mainly using sphere objects, text objects, cloning tools, wrapping tools, and extrusion tools.
Preferably, the liquid substance model and the gaseous substance model are manufactured by using Unity3D software, and the solid substance model is manufactured by using CINEMA4D software;
the manufacturing process of the liquid substance model specifically comprises the following steps: clicking the assembly-report Package-Environment-water, selecting and importing, directly dragging the material of the water to the model, adjusting parameters, adding corresponding scripts, and adding dynamic sense to the model;
the gaseous substance model manufacturing process specifically comprises the following steps: firstly creating an empty object, clicking the empty object by a right button of a mouse, selecting Effects, clicking a Particle System to finish the introduction of a Particle System, and then adjusting parameters according to requirements, wherein the direction of Particle movement is to be upward, so that the value of a GravityModifier is set to be-1, and the colors are adjusted according to different colors;
the solid substance model manufacturing process specifically comprises the following steps: an irregular object model is created, and a substitution tool and a tessellation tool are used to add a concave-convex map and a substitution map to the model, so that the surface of the model is roughened, and has convexity and graininess.
Preferably, the specific steps of card distance detection are as follows:
s1: acquiring the positions of two cards;
s2: starting from the subscript 0, judging whether the array is smaller than the length of the card array, if not, ending the process, and if so, performing step S3;
s3: solving the distance between two cards through a two-point distance formula;
s4: and judging whether the calculated distance is smaller than the specified distance.
Preferably, the automatic moving of the object comprises the following specific steps:
s01: acquiring a target point array, obtaining the distance in real time, judging whether the obtained distance is smaller than a specified distance, if not, carrying out step S02 if not;
s02: the animation of the object is changed, the array starts from the subscript 0, and the object moves;
s03: judging whether the object moves to the target point, if not, the object position is equal to the target point position, generating microscopic particle combination to form a substance animation, and if the object moving to the same position can form a certain substance, displaying the corresponding substance.
Preferably, the objects moving to the same position in the step S03 may form a certain substance, and the specific operation of the corresponding substance is as follows: and (3) realizing a delay effect by using an Invoke function, hiding microscopic particles of the model of the substance after the model of the substance moves to the target point for 3 seconds, and continuously maintaining the model of the microscopic particles if the model of the substance does not appear after the model of the substance moves to the target point for not more than 3 seconds.
Preferably, when the object moving to the same position in the step S03 may form a certain substance, the model generates a highlighting effect, and the simulated atoms or ions combine to form the substance, which is specifically implemented by the highlighting system demo plug-in.
The AR-based chemical substance automatic synthesis system is applied to the AR-based chemical substance automatic synthesis method, and comprises a UI interaction module and an AR interaction module, wherein the UI interaction module comprises a playing method introduction module and a video case module, the playing method introduction module is used for introducing a using method, the video case is a successfully used video case, the using method is further introduced, the AR interaction module comprises an object moving module, a highlight effect module, a model display module, a picture switching module and a UI page display module, the object moving module is used for realizing object movement, the highlight effect module is used for generating a highlight effect in a substance combination process, the model display module is used for displaying a three-dimensional model and a substance model of microscopic particles, and the picture switching module is used for converting a model of a substance formed by a substance into a model of the same substance in a position when the substance moving to the same position can be formed by the substance.
A computer medium having a computer program stored thereon, wherein the program, when executed by a processor, implements a method as described above.
The beneficial effects of the invention are as follows:
the invention uses the augmented reality technology, can mix the virtual world with the real world, combine the virtual world with the real world, and present a more real and interactive atmosphere. The AR can visualize, visualise and interdynamic the chemical content, greatly enhances the expression of the teaching content and the perception of learners, can provide a good independent learning environment for students, can provide realistic microscopic viewing angles and immersive and interactive experiences, and shows outstanding educational and teaching functions in the aspects of promoting the understanding of chemical concepts to learning material microscopic space structural knowledge and the like. As an emerging teaching technology, the AR shows strong vitality in teaching application, has excellent application prospect and well promotes education informatization in China.
The AR is applied to chemistry microcosmic composition substance teaching, a 3D model of microcosmic particles and a process of composition substances can be presented more intuitively, an experimenter learns knowledge of basic atoms, molecules and ions, abstract concepts are displayed in a concrete mode, and students in middle and primary schools understand chemistry and experience pleasure of chemistry learning.
Drawings
FIG. 1 is a card distance detection flow chart;
FIG. 2 is a schematic diagram of a formula of a distance between two points;
FIG. 3 is a flow chart of automatic movement of an object;
FIG. 4 is a schematic diagram of an automated mobile computing system;
FIG. 5 is a schematic diagram of an AR-based automated chemical synthesis system;
FIG. 6 is an atomic card effect diagram;
FIG. 7 is an effect diagram of an ion card;
FIG. 8 is an atomic model effect diagram;
fig. 9 is a solid material model effect diagram.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
The invention provides an AR-based chemical substance automatic synthesis method in combination with figures 1-9, which comprises the following steps:
firstly, establishing a three-dimensional model and a substance model of microscopic particles, and manufacturing a microscopic particle model animation and an identification card, wherein the identification card is in corresponding relation with the three-dimensional model and the substance model of the microscopic particles, the microscopic particle model animation comprises a rotational animation of the microscopic particle model, and further comprises a microscopic particle model moving animation and a substance animation formed by combining the microscopic particles;
the identification card is mainly changed from the periodic table of elements, and the element name pinyin and the element out-of-core electrons are added on the basis of the original main atomic numbers, element symbols, element names and relative atomic masses of the periodic table of elements. Through the card, an experimenter can have preliminary knowledge of chemical atoms or ions, and partial atoms and ions can be quickly identified and remembered.
Atomic cards are exemplified by oxygen atomic cards. To distinguish the same atom, two kinds of cards were designed, the first was blue-green in background color, the letter parts of "8", "O", "oxygen", "2P22P4", "16.00", and "y +" were made with letter tools, the element extra-nuclear electronic patterns were drawn with round tools and rotary tools, the letter parts and the element extra-nuclear electronic patterns were both white in color, and in order to give the cards a hierarchical feel, only the letter transparency of "oxygen" and "y +" was 100%, and the other transparency was 80%. Besides the use of the element core and the text part, the electronic graph is also used for background and the details of the card are added.
For distinguishing, an ion card is also manufactured, the ion card is basically similar to an atomic card, an atomic symbol is changed into an ion symbol, an atomic structure diagram is used for replacing the number of out-of-core electrons, the relative atomic mass is removed, the background is kept unchanged, and the number of electrons above is reduced or increased according to the obtained electrons or the lost electrons. Note that the background of the identification picture is selected to be white when the picture is exported, the transparent background cannot be selected, and the picture exported by selecting the transparent background cannot be put into Vuforia for use, and the final effect is shown in fig. 6 and 7.
The model is mainly a three-dimensional model and a substance model of microscopic particles required by the system. The specific table is shown below:
the atomic model refers to an atomic structure schematic diagram, the atomic nucleus and the outermost electron number are reserved, taking the example of manufacturing an oxygen atomic model, firstly, the frame rate in engineering setting is changed into 25 frames per second, the frame rate is not too low or too high, the continuity of the animation is affected due to the fact that the frame rate is too low, more pictures are stored due to the fact that the frame rate is too high, the occupied memory is large, and therefore, the animation in China is generally manufactured by 25 frames per second. Creating a sphere model by using a sphere object, adjusting parameters, copying the sphere model, selecting a cloning tool, placing the copied sphere model under the cloning tool, selecting a cloning mode as a radiation mode, wherein the number of clones is 6, the radius is 80cm, selecting an XZ plane on the plane, and adjusting a starting angle or an ending angle. Other atomic models are also the same fabrication process, except that the number of clones is changed. And finally, adding different color materials to the model, so that the distinction is convenient. The effect diagram is shown in fig. 8.
In order to distinguish from an atomic model, an ion model is basically all elements which retain an atomic structure schematic diagram, and a sphere object, a text object, a cloning tool, a wrapping tool and an extrusion tool are mainly used, wherein the wrapping tool is mainly used for enabling characters to be attached to the surface of the sphere.
Molecular and ionic compound species models were made mainly using Unity3D software. The material model mainly comprises a liquid material model, a gaseous material model and a solid material model, wherein the liquid material model mainly comprises H2O, cuCl solution and FeCl2 solution; the gaseous substance model mainly comprises NO2, F2, cl2 and Br2; the solid model mainly comprises NaCl, caO, cuO, feO; most of the material models are colored, so that the material models are convenient to distinguish and memorize.
(1) The liquid object model is manufactured by using the water effect of Unity. Clicking the assembly-report Package-Environment-water, selecting and importing, directly dragging the material of the water to the model, adjusting parameters, adding corresponding scripts, and adding dynamic sense to the model. If the Environment option does not exist, the Asset Store can be searched for Standard assets, and downloading and importing can be selected.
(2) The gaseous material model uses a Unity particle system. Firstly creating an empty object, clicking the empty object by a right button of a mouse, selecting Effects, clicking a Particle System to finish the introduction of a Particle System, and then adjusting parameters according to requirements, wherein the direction of Particle movement is to be upward, so that the value of GravityModifier is set to-1. And (5) adjusting the colors according to the different required colors, and completing the manufacture of different gas substance models.
(3) The solid substance model is manufactured in CINEMA4D software, an irregular object model is created, a replacement tool and a surface subdivision tool are used, and a concave-convex map and a replacement map are mainly added to the model, so that the surface of the model is roughened, and the model has concave-convex property and granular feel. The effect diagram is shown in fig. 9.
Atomic model animation is largely classified into initial animation and animation at the time of composition.
1. The initial animation is completed in CINEMA4D, the offset in the cloned object attribute is found, a key frame is played at the required position, the function curve of the offset animation is adjusted, and the key frame type is set from a spline type to a linear interpolation type. When the export is completed, the FBX format is selected and the animation is checked.
2. Animation in synthesis is completed in Unity, the FBX format derived from CINEMA4D is imported into Unity, a model is generated into a prefabricated body, the prefabricated body is selected, an Animation panel is called out by using a shortcut key Ctrl+6, the prefabricated body is unfolded, a clone is selected, the record is clicked to start, the zoom of the clone is started from 1, and the zoom is changed to 0 after a few frames, and at this time, the record is ended.
Step two, obtaining a card carrying a microscopic particle model and detecting the distance of the card carrying the model;
object movement is the most central function of the whole system interaction, and other AR interaction functions are realized based on the interaction function. The function mainly comprises card distance detection, automatic movement of objects and animation, and an array is used because one object can generate effects with a plurality of objects.
The user reduces the distance between two cards through moving, when the distance is smaller than the appointed distance, the object automatically moves to the target point of the other card, and when the distance is larger than the appointed distance after the object moves, the object automatically returns to the original position. The movement is used to simulate the forces required to build up the build-up material.
The positions of the two cards are obtained, then the distance between the two cards is calculated by utilizing a two-point distance formula, then the size of the appointed distance is set, and whether the distance is smaller than the appointed distance or not is judged, the cards move when the distance is smaller than the appointed distance, and the distance is not changed when the distance is larger than the appointed distance. Because the other card is a group of arrays, circulation is needed before the distance is judged, whether the arrays are empty or not is judged, whether the card is recognized or not is judged, and the recognized card and the other card are subjected to distance calculation. Since the formula of the distance between two points in the three-dimensional space is derived from the two-dimensional plane, the calculation principle of the formula between two points is shown in fig. 2, and the flow is shown in fig. 1.
Step three, detecting the distance of the card, and when the distance is smaller than the specified distance, automatically moving the object and generating animation changes of the movement and combination of the object, wherein the animation changes are specifically micro-particle model movement animations and substance animations formed by combining micro-particles; when the distance between the objects is pulled again after the objects are moved so that the distance is not smaller than the designated distance, the objects automatically return to the original positions and the rotation animation of the microscopic particle model is restored.
When the distance is smaller than the specified distance, the object can automatically move to the target and become a sub-object of the target point, and the process simulates the process of forming molecules (ionic compounds) by atoms (ions) and atoms (ions). When the distance between the objects is pulled again after the objects move, the objects automatically return to the original positions and the rotation animation is restored.
The object is automatically moved to the target point by using the starting point, the target point and the distance of the object moving every second, using the vector3.Movetoward method, and then the object is set as a sub-object of the target point, and moves along with the target point, so that when the other card is out of recognition, the following functions can still be operated normally. Since the target point is a set of arrays, it is necessary to perform loop first and then judge. The calculation principle of the vector3.MoveToward method is shown in fig. 4, and the flow is shown in fig. 3.
When an object moves to a destination point, if a certain substance can be formed, the corresponding substance can be displayed, so that an experimenter can realize that the substance is formed by microscopic particles. The delay effect is achieved by using the Invoke function, and the microscopic particles of the model of the substance appear after 3 seconds of movement to the target point. If the movement to the target point does not exceed 3 seconds, the material model does not appear and the model of the microscopic particles continues to be maintained.
After the atoms (ions) can synthesize molecules (ionic compounds), the pictures on the card are switched from the pictures originally representing the atoms (ions) to the pictures of the molecules (ionic compounds), and the model is kept corresponding to the pictures. The essence of the picture switching is in fact the transformation of the material, creating a cuboid model conforming to the size of the picture, adjusting the thickness to be as thin as possible, making it look like a plane, creating material balls for different pictures, and giving the material balls to the cuboid. And an array for declaring the Material type is used for storing the materials, declaring the Material component and acquiring, enabling the Material component to acquire the original picture Material, and when the atomic (ionic) combination is achieved, forming molecules (ionic compounds), wherein the Material in the picture is replaced by another Material ball in the Material array.
In addition, as the animation can add dynamic sense to the whole picture, the microscopic particle model which is recognized by the system is provided with the rotary animation, the animation can be changed in the process of moving to the target point, the rotary animation can be gradually absent, and the process of combining with other microscopic particles to form a substance is convenient to observe. The animation component for obtaining the object obtains the animation of the object, the animation of the Bool variable type is added, the initial animation of the model is false to the final animation, the final animation of the model is true to the initial animation, and the transition time of the animation is controlled by utilizing the cooperative program instead of enabling the object to be transited when the object starts to move.
The method also has a highlighting effect, so that the model generates the highlighting effect, and the simulated atoms or ions are combined to form substances, so that the method can attract the eyes of an experimenter. The method is concretely realized as follows: and judging whether other objects to be highlighted are sub-objects of the object on which the script is mounted, and highlighting the effect when the objects are all sub-objects. The realization process uses the Highlighting System de mo plug-in for displaying the highlight effect on the object, and the plug-in can rapidly realize the desired functional effect and reduce the realization difficulty. The model can be highlighted by associating the script and utilizing the results obtained by other scripts.
The embodiment also provides an automatic synthesis system of AR-based chemical substances, which is applied to the automatic synthesis method of AR-based chemical substances according to claims 1-8, and comprises a UI interaction module and an AR interaction module, wherein the UI interaction module comprises a playing method introduction module and a video case module, the playing method introduction module is used for introducing a using method, the video case is a successfully used video case, the using method is further introduced, the AR interaction module comprises an object moving module, a highlight effect module, a model display module, a picture switching module and a UI page display module, the object moving module is used for realizing object movement, the highlight effect module is used for generating highlight effects in a substance combination process, the model display module is used for displaying a three-dimensional model and a substance model of microscopic particles, and the picture switching module is used for performing model conversion of a substance formed by a model conversion in a position when the object moving to the same position can form the substance.
The following functions are specifically realized by the system:
1. and (3) moving an object: by moving the cards, the distance between the cards is reduced, and when the distance between the cards is smaller than the specified distance, the object automatically moves to the target point, and the animation of the model is changed in the moving process.
2. High light effect: after the object is stopped, the object and another object form a whole, and the whole generates a circle of high light.
3. Model display: when the object moves to the target point, the object is combined with another object to form a corresponding substance model.
4. And (3) picture switching: the material model displays that the picture on the card needs to be switched to the corresponding picture.
Ui page display: waiting a few seconds after the appearance of the substance model will automatically display the nature or purpose of the relevant substance, and if no substance model is present, a failure page will be displayed. Closing the page may be re-operated.
In summary, the invention uses the augmented reality technology, and can mix the virtual world with the real world, combine the virtual world with the real world, and present a more real and interactive atmosphere. The AR can visualize, visualise and interdynamic the chemical content, greatly enhances the expression of the teaching content and the perception of learners, can provide a good independent learning environment for students, can provide realistic microscopic viewing angles and immersive and interactive experiences, and shows outstanding educational and teaching functions in the aspects of promoting the understanding of chemical concepts to learning material microscopic space structural knowledge and the like. As an emerging teaching technology, the AR shows strong vitality in teaching application, has excellent application prospect and well promotes education informatization in China. The AR is applied to chemistry microcosmic composition substance teaching, a 3D model of microcosmic particles and a process of composition substances can be presented more intuitively, an experimenter learns knowledge of basic atoms, molecules and ions, abstract concepts are displayed in a concrete mode, students in middle and primary schools understand chemistry and experience pleasure of chemistry learning, and the problems in the background technology are solved.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention, and are intended to be included within the scope of the appended claims and description.

Claims (10)

1. An automatic synthesis method of an AR-based chemical substance, which is characterized by comprising the following steps:
establishing a three-dimensional model and a substance model of the microparticles, and manufacturing an animation and an identification card of the microparticle model, wherein the identification card is in corresponding relation with the three-dimensional model and the substance model of the microparticles, the animation of the microparticle model comprises a rotation animation of the microparticle model, and the animation of the microparticle model and the combination of the microparticles form the substance animation;
acquiring a card carrying a microscopic particle model and detecting the distance of the card carrying the model;
detecting the distance of the card, and when the distance is smaller than the specified distance, automatically moving the object and generating animation changes of the movement and combination of the object, wherein the animation changes are specifically micro-particle model movement animations and substance animations formed by combining micro-particles;
and (3) detecting the distance of the card, and when the distance between the objects is not smaller than the designated distance after the objects are moved, automatically returning the objects to the original positions and recovering the rotation animation of the microscopic particle model.
2. The AR-based chemical substance automatic synthesis method according to claim 1, wherein the three-dimensional model includes an atomic model and an ionic model, and the substance model includes a liquid substance model, a gaseous substance model, and a solid substance model.
3. The AR-based chemical automatic synthesis method according to claim 2, wherein the atomic model and the ion model use CINEMA4D as a modeling tool, and the manufacturing steps are as follows: firstly changing the frame rate in engineering setting into 25 frames per second, creating a sphere model by using a sphere object, adjusting parameters, copying the sphere model, selecting a cloning tool, placing the copied sphere model under the cloning tool, selecting a cloning mode as a radiation mode, selecting the number of clones, setting a radius, selecting a plane, and adjusting a start angle or an end angle; the ion model retains substantially all elements of the atomic structure schematic, mainly using sphere objects, text objects, cloning tools, wrapping tools, and extrusion tools.
4. The AR-based automatic chemical substance synthesizing method according to claim 2, wherein the liquid substance model and the gaseous substance model are fabricated using Unity3D software, and the solid substance model is fabricated using CINEMA4D software;
the manufacturing process of the liquid substance model specifically comprises the following steps: clicking the assembly-report Package-Environment-water, selecting and importing, directly dragging the material of the water to the model, adjusting parameters, adding corresponding scripts, and adding dynamic sense to the model;
the gaseous substance model manufacturing process specifically comprises the following steps: firstly creating an empty object, clicking the empty object by a right button of a mouse, selecting Effects, clicking a particle system to finish the introduction of a particle system, and then adjusting parameters according to requirements, wherein the direction of particle movement is to be upward, so that the value of a GravityModifier is set to be-1, and the colors are adjusted according to different colors;
the solid substance model manufacturing process specifically comprises the following steps: an irregular object model is created, and a substitution tool and a tessellation tool are used to add a concave-convex map and a substitution map to the model, so that the surface of the model is roughened, and has convexity and graininess.
5. The AR-based chemical automatic synthesis method according to claim 1, wherein the card distance detection comprises the specific steps of:
s1: acquiring the positions of two cards;
s2: starting from the subscript 0, judging whether the array is smaller than the length of the card array, if not, ending the process, and if so, performing step S3;
s3: solving the distance between two cards through a two-point distance formula;
s4: and judging whether the calculated distance is smaller than the specified distance.
6. The automatic synthesis method of AR-based chemicals according to claim 1, wherein the automatic movement of the object is specifically as follows:
s01: acquiring a target point array, obtaining the distance in real time, judging whether the obtained distance is smaller than a specified distance, if not, carrying out step S02 if not;
s02: the animation of the object is changed, the array starts from the subscript 0, and the object moves;
s03: judging whether the object moves to the target point, if not, the object position is equal to the target point position, generating microscopic particle combination to form a substance animation, and if the object moving to the same position can form a certain substance, displaying the corresponding substance.
7. The automatic synthesis method of AR-based chemicals according to claim 6, wherein the object moving to the same position in step S03 may constitute a certain substance, and the specific operation of the corresponding substance is as follows: and (3) realizing a delay effect by using an Invoke function, hiding microscopic particles of the model of the substance after the model of the substance moves to the target point for 3 seconds, and continuously maintaining the model of the microscopic particles if the model of the substance does not appear after the model of the substance moves to the target point for not more than 3 seconds.
8. The method according to claim 6, wherein the model generates a highlighting effect when the object moving to the same position in the step S03 can form a substance, and the simulation atoms or ions combine to form a substance, and the process is implemented by a highlighting system demo plug-in.
9. An automatic synthesis system for AR-based chemical substances, applied to an automatic synthesis method for AR-based chemical substances according to claims 1-8, comprising a UI interaction module and an AR interaction module, wherein the UI interaction module comprises a play introduction module and a video case module, the play introduction module is used for introducing a using method, the video case is a successfully used video case, the AR interaction module further introduces a using method, the AR interaction module comprises an object moving module, a highlight effect module, a model display module, a picture switching module and a UI page display module, the object moving module is used for realizing object movement, the highlight effect module is used for generating highlight effects in a substance combination process, the model display module is used for displaying a three-dimensional model and a substance model of microscopic particles, and the picture switching module is used for performing model transformation of a substance into a model of the same substance when the object moving to the same position can form the substance.
10. A computer medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method of any of claims 1-8.
CN202310579626.1A 2023-05-23 2023-05-23 AR-based automatic chemical substance synthesis method and system Active CN116681866B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310579626.1A CN116681866B (en) 2023-05-23 2023-05-23 AR-based automatic chemical substance synthesis method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310579626.1A CN116681866B (en) 2023-05-23 2023-05-23 AR-based automatic chemical substance synthesis method and system

Publications (2)

Publication Number Publication Date
CN116681866A true CN116681866A (en) 2023-09-01
CN116681866B CN116681866B (en) 2024-07-16

Family

ID=87789966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310579626.1A Active CN116681866B (en) 2023-05-23 2023-05-23 AR-based automatic chemical substance synthesis method and system

Country Status (1)

Country Link
CN (1) CN116681866B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150269764A1 (en) * 2014-03-20 2015-09-24 Digizyme, Inc. Systems and methods for modeling
CN108648564A (en) * 2018-05-16 2018-10-12 李簦芸 A kind of mi-crochemistry assisted teaching system based on VR technologies
CN110969237A (en) * 2019-12-13 2020-04-07 华侨大学 Man-machine virtual interaction construction method, equipment and medium under view angle of amphoteric relationship
US20210327115A1 (en) * 2020-04-17 2021-10-21 Raytheon Company Efficient three-dimensional, interactive image rendering
CN114072111A (en) * 2019-05-04 2022-02-18 爱视视觉集团公司 System and method for laser surgery and therapeutic treatment of the eye

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150269764A1 (en) * 2014-03-20 2015-09-24 Digizyme, Inc. Systems and methods for modeling
CN108648564A (en) * 2018-05-16 2018-10-12 李簦芸 A kind of mi-crochemistry assisted teaching system based on VR technologies
CN114072111A (en) * 2019-05-04 2022-02-18 爱视视觉集团公司 System and method for laser surgery and therapeutic treatment of the eye
CN110969237A (en) * 2019-12-13 2020-04-07 华侨大学 Man-machine virtual interaction construction method, equipment and medium under view angle of amphoteric relationship
US20210327115A1 (en) * 2020-04-17 2021-10-21 Raytheon Company Efficient three-dimensional, interactive image rendering

Also Published As

Publication number Publication date
CN116681866B (en) 2024-07-16

Similar Documents

Publication Publication Date Title
Lee et al. Immersive authoring of tangible augmented reality applications
Chopine 3D art essentials
Manovich Cinema as a Cultural Interface (1997)
Kazi et al. Motion amplifiers: sketching dynamic illustrations using the principles of 2D animation
McCaffrey Unreal Engine VR cookbook: Developing virtual reality with UE4
Hanafi et al. A comparative study of augmented reality SDKs to develop an educational application in chemical field
Zhang et al. The Application of Folk Art with Virtual Reality Technology in Visual Communication.
Murdock Autodesk 3ds Max 2025 Basics Guide
Gao et al. [Retracted] Realization of Music‐Assisted Interactive Teaching System Based on Virtual Reality Technology
CN116681866B (en) AR-based automatic chemical substance synthesis method and system
Kandikonda Using virtual reality and augmented reality to teach human anatomy
Murdock Kelly L. Murdock's Autodesk 3ds Max 2016 Complete Reference Guide
García et al. Holomuseum: A hololens application for creating extensible and customizable holographic exhibitions
Wang et al. Augmented Reality and Quick Response Code Technology in Engineering Drawing Course
Shannon The chrome age: Dawn of virtual reality
Kundert et al. MASTERING MAYA 8.5 (With CD)
CN109978974A (en) What it is based on mobile terminal take 3 dimension materials as the drawing method of reference
Clavering et al. Lessons learned implementing an educational system in Second Life
Pokorný et al. Virtual Training Environments in a Printing Company
Obradović et al. Study program Computer Graphics-Engineering Animation and their relation with modern Serbian CG Industry
Cardoso Accessible tangible user interfaces in extended reality experiences for cultural heritage
WO2024077518A1 (en) Interface display method and apparatus based on augmented reality, and device, medium and product
Bai et al. Design and Implementation of a Biological Virtual Display System Based on 3DMax and Unity3D
Wang et al. Exploration of Animation Design Collaboration Mechanism Combining Mixed Reality and Intelligent CAD System
Huang Multi-scale mechanical testing for engineering education in virtual reality environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant