CN111739129A - Method and device for adding key frames in simulated animation - Google Patents

Method and device for adding key frames in simulated animation Download PDF

Info

Publication number
CN111739129A
CN111739129A CN202010526408.8A CN202010526408A CN111739129A CN 111739129 A CN111739129 A CN 111739129A CN 202010526408 A CN202010526408 A CN 202010526408A CN 111739129 A CN111739129 A CN 111739129A
Authority
CN
China
Prior art keywords
sub
model
action
mechanical
actions
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
CN202010526408.8A
Other languages
Chinese (zh)
Other versions
CN111739129B (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.)
Glodon Co Ltd
Original Assignee
Glodon Co Ltd
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 Glodon Co Ltd filed Critical Glodon Co Ltd
Priority to CN202010526408.8A priority Critical patent/CN111739129B/en
Publication of CN111739129A publication Critical patent/CN111739129A/en
Application granted granted Critical
Publication of CN111739129B publication Critical patent/CN111739129B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/203D [Three Dimensional] animation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/08Construction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/246Analysis of motion using feature-based methods, e.g. the tracking of corners or segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method and a device for adding key frames in a simulated animation, and a method and a device for producing the simulated animation. The key frame adding method comprises the following steps: acquiring a mechanical model and a hoisted piece model which are dynamically changed in a simulation scene; determining a plurality of sub-actions of the mechanical model and a plurality of sub-actions of the hoisted piece model according to the motion complexity of the mechanical model and the hoisted piece model; and adding sub-action key frames at different moments for the mechanical model and the hoisted piece model according to each determined sub-action. The invention can clearly reflect the change process in the building construction process and improve the reality degree of the simulation animation.

Description

Method and device for adding key frames in simulated animation
Technical Field
The invention relates to the field of construction animation simulation, in particular to a key frame adding method and device for simulation animation, and an animation production method and device.
Background
The handling installation of large equipment belongs to the danger big engineering, at the construction stage of building engineering, needs the simulation on-the-spot actual construction state, simulates rehearsal to the actual scene to discover in time and avoid the engineering danger.
Three-dimensional simulation software currently on the market includes Navisworks, Synchro, BIM5D, 3dsMax, Fuzor and the like. The Navisthrocks, the Synchro and the BIM5D only provide a basic progress plan simulation function, the simulation precision is low, the motion characteristics of mechanical equipment, dynamic-based collision detection and real-time site change cannot be well realized, and the actual requirements of users are difficult to meet. Although the animation software 3dsMax can bind a skeleton system to simulate mechanical actions, the model does not have any mechanical characteristics, cannot provide any guidance function for a construction site, and only can output visual display animation. Although Fuzor provides built-in mechanical equipment, the mechanical equipment is simplified greatly, does not conform to the reality, cannot customize actions, cannot meet complex process scenes in motion characteristics, is few in mechanical quantity, and cannot be expanded according to the actual engineering. The software tools can not independently complete the simulation and the manufacture of the hoisting engineering process scheme, a plurality of tools are required to be switched back and forth, and the manufacturing process is very complicated. In addition, when the existing three-dimensional simulation software simulates the dynamic process of equipment hoisting, the action transformation mode is single, the action change of the equipment can be generally represented only through different position information, but the action change process cannot be comprehensively represented from various aspects such as color, shape, camera view angle and the like, so the simulation effect is not real enough, and the expected effect cannot be achieved.
Disclosure of Invention
Therefore, the technical problem to be solved by the present invention is to overcome the above-mentioned defects in the prior art, and to provide a key frame adding scheme suitable for a building construction scene, especially a large-scale equipment hoisting scene.
To achieve the above object, according to a first aspect of the present invention, there is provided a method for adding keyframes in a simulated animation, comprising the steps of:
acquiring a mechanical model and a hoisted piece model which are dynamically changed in a simulation scene;
determining a plurality of sub-actions of the mechanical model and a plurality of sub-actions of the hoisted piece model according to the motion complexity of the mechanical model and the hoisted piece model;
and adding sub-action key frames at different moments for the mechanical model and the hoisted piece model based on each determined sub-action.
Illustratively, the simulation scenario includes a hoisting simulation scenario, and the mechanical model includes one or more of a crane, a hoist, and a chain block.
Illustratively, the sub-actions include dynamic sub-actions and static sub-actions, the dynamic sub-actions include sub-actions that dynamically change in the hoist simulation scene, and the static sub-actions include sub-actions that are static and unchangeable in the hoist simulation scene.
Illustratively, the dynamic sub-action or the static sub-action comprises one or more of a transform sub-action, a style sub-action, an association sub-action, a camera sub-action, a form sub-action, and a rope sub-action;
the transformation sub-action is used for representing the position information of the mechanical model or the hoisted piece model, the style sub-action is used for representing the color information and the transparency information of the mechanical model or the hoisted piece model, the association sub-action is used for representing the association motion information of the mechanical model or the hoisted piece model, and the camera sub-action is used for representing the position information and the direction information of the current camera; the deformation sub-action is used for representing deformation information of the hoisted piece model, and the rope sub-action is used for representing rope information between the mechanical model and the hoisted piece model.
Illustratively, the step of adding the key frames of the sub-actions at different time instants to the mechanical model and the hoisted piece model based on each determined sub-action comprises:
in the association sub-action, respectively creating a first association key frame of the mechanical model and a hoisted piece model associated with the mechanical model at a first moment; the first time represents the time for starting association;
in the association sub-action, respectively creating a second association key frame of the mechanical model and a hoisted piece model associated with the mechanical model at a second moment; the second time represents the time for ending the association.
Illustratively, the step of adding sub-action key frames at different time instants to the mechanical model and the hoisted piece model based on each determined sub-action further comprises:
and calculating and creating an intermediate associated key frame between the mechanical model and the hoisted model at the first moment and the second moment by a mathematical interpolation method according to the first associated key frame and the second associated key frame.
Illustratively, the dynamic sub-actions include rope sub-actions, and the step of creating key frames at different time instances corresponding to each determined sub-action includes:
in the rope action, respectively creating a first rope key frame of the mechanical model and a hoisted piece model connected with the mechanical model at a third moment, wherein the third moment represents the moment of creating the rope;
and in the rope action, respectively creating a second rope key frame of the mechanical model and a hoisted piece model connected with the mechanical model through a rope at a fourth moment, wherein the fourth moment represents the moment of canceling the rope.
According to the second aspect of the present invention, there is also provided a method for producing a simulated animation, comprising:
acquiring a field model and an equipment model in a simulated scene, wherein the equipment model comprises a mechanical model and a hoisted piece model;
adding key frames for the mechanical model and the hoisted piece model by the key frame adding method;
and generating the simulated animation according to the added key frames.
Before the step of continuously outputting the keyframes added at different times to generate the simulated animation, the method further comprises:
performing collision detection on the field model, the mechanical model and the hoisted piece model to determine whether static collision or dynamic collision exists between any two models;
when it is determined that there is a static collision or a dynamic collision, a warning prompt is output.
Illustratively, after the outputting the dynamically changing process in an animated form, the method further comprises:
outputting a construction site layout plan containing dimension labels;
and outputting the ground pressure data of the mechanical equipment in the working state.
According to a third aspect of the present invention, there is provided a key frame adding apparatus in a simulated animation, comprising:
the model acquisition unit is suitable for acquiring a mechanical model and a hoisted piece model which are dynamically changed in a simulation scene;
the sub-action determining unit is suitable for determining a plurality of sub-actions of the mechanical model and a plurality of sub-actions of the hoisted piece model according to the motion complexity of the mechanical model and the hoisted piece model;
and the key frame adding unit is suitable for adding sub-action key frames at different moments for the mechanical model and the hoisted piece model based on each determined sub-action.
According to a fourth aspect of the present invention, there is provided a production apparatus for a simulated animation, comprising:
the model acquisition unit is suitable for acquiring a field model and an equipment model in a simulated scene, wherein the equipment model comprises a mechanical model and a hoisted piece model;
the key frame adding unit is suitable for adding key frames to the mechanical model and the hoisted piece model by the key frame adding method;
and the animation generating unit is suitable for generating the simulation animation according to the added key frame.
According to a fifth aspect of the present invention, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method when executing the computer program.
According to a sixth aspect of the invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the above-mentioned method.
Compared with the prior art, the invention has the following advantages:
(1) according to the key frame adding method and device provided by the invention, various dynamic change processes in the building construction process can be flexibly and conveniently simulated by determining the plurality of sub-actions of the mechanical model and the hoisted piece model and adding the corresponding key frame based on each sub-action. The invention records different information contained in the same action through a plurality of sub-actions respectively, avoids the complexity of recording all action information on one key frame by the traditional key frame function, and can clearly understand the dynamic transformation process through a Gantt chart.
(2) The method and the device for manufacturing the building construction simulation animation can detect the collision between equipment and give corresponding warning while generating the real scene simulation animation, and can improve the safety of building construction.
(3) The method and the device for manufacturing the building construction simulation animation can output the construction site layout plan containing the size labels and the ground pressure data of mechanical equipment in a working state besides the simulation animation, thereby meeting various actual requirements of users.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a specific example of a key frame adding method in embodiment 1 of the present invention;
fig. 2 is a gantt chart of a specific example of adding a key frame according to embodiment 1 of the present invention;
FIG. 3 is a diagram illustrating a partitioning of sub-actions and corresponding key frames according to one embodiment of the present invention 1;
FIG. 4 is a diagram illustrating the creation of an associated key frame according to embodiment 1 of the present invention;
FIG. 5 shows a schematic diagram of creating a rope keyframe according to embodiment 1 of the present invention;
FIG. 6 is a flowchart showing a specific example of a method for producing a simulation animation for construction according to embodiment 2 of the present invention;
FIG. 7 is a schematic diagram showing a hoisting simulation animation according to embodiment 2 of the present invention;
FIG. 8 is a schematic diagram showing the principle of calculating ground pressure data of a mechanical model according to embodiment 2 of the present invention;
fig. 9 is a schematic block diagram of a specific example of a key frame adding apparatus in embodiment 3 of the present invention;
fig. 10 is a schematic block diagram of a specific example of a method for creating a building construction simulation animation according to embodiment 4 of the present invention;
fig. 11 is a schematic diagram of the hardware configuration of the key frame adding device and the animation simulation creating device in embodiment 3 or embodiment 4 of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two elements may be directly connected or indirectly connected through an intermediate medium, or may be communicated with each other inside the two elements, or may be wirelessly connected or wired connected. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Example 1
Referring to fig. 1, the present invention provides a method for adding keyframes in a simulated animation, as shown in fig. 1, comprising the following steps:
and S110, acquiring a mechanical model and a hoisted piece model which are dynamically changed in a simulation scene.
Specifically, the simulation scene may include a hoisting simulation scene, and the mechanical model includes any one of a crane, a winch, and a chain block. The mechanical model in this embodiment may be selected from a mechanical equipment database as a mechanical model suitable for the model and parameters of the equipment required by the project. The equipment models can comprise crawler cranes, wheel cranes, truck cranes and the like with different tonnages, and the parameters comprise one or more of the items of a vehicle body rotation angle, a main arm amplitude variation angle, a super lifting arm rotation angle, a supporting arm rotation angle, a main hook rope length, a main hook rotation angle, an auxiliary hook rope length, a current bearing rate and the like.
It is understood that the mechanical model in the construction simulation scenario may include a static mechanical model that is not moving temporarily, such as a bracket, a blender, etc., and for such a static mechanical model, it may exist only as an environmental element in the construction simulation scenario, without having to add a key frame to it. The model of the lifted piece can be a heavy object with any shape, such as a cement pipe, a steel pipe and the like. In some special scenes, only dynamic transformation of the mechanical model during idling can be simulated, and at the moment, the hoisted piece model can be empty, namely the simulated scene does not contain the hoisted piece model.
S120, determining a plurality of sub-actions of the mechanical model and a plurality of sub-actions of the hoisted piece model, wherein the sub-actions are used for representing the change process of the mechanical model or the hoisted piece model in a plurality of different dimensions.
In the step, the actions of the mechanical model and the hoisted model are split into a plurality of sub-actions, so that one action can be described from a plurality of different dimensions, such as position, color, shape, camera view angle, movement of local mechanical components and the like. The dimension of the specific splitting can be set according to the actual condition of the equipment, and if the motion process of the equipment is complex, one action can be split into more sub-actions; if the motion process of the device is relatively simple, one action can be split into fewer sub-actions.
Fig. 2 illustrates a gantt chart for adding key frames according to an embodiment of the invention. As shown in fig. 2, the left portion includes the added mechanical devices and their corresponding sub-actions. As can be seen from fig. 2, the mechanical device is an auxiliary crane truck crane 200T, and the corresponding sub-actions include a change sub-action, a display style sub-action, and a mechanical sub-action, where the mechanical sub-actions further include an upper body rotation sub-action, a main arm long sub-action, a boom raising sub-action, and the like. Each sub-action corresponds to a change in a characteristic of the mechanical device. The right portion of fig. 2 is a timing diagram of key frames, where each diamond represents a key frame added at a corresponding time.
And S130, adding sub-action key frames at different moments for the mechanical model and the hoisted piece model based on each determined sub-action.
On the basis of the determination of the sub-actions, this step is used to add the key frame at the corresponding instant. For example, if the upper body rotation sub-motion is specified to change by an angle at 0 second, 5 seconds and 10 seconds, respectively, then corresponding key frames reflecting the upper body rotation angles at different times are added to the corresponding row of the upper body rotation sub-motion at 0 second, 5 seconds and 10 seconds, respectively.
By determining a plurality of sub-actions of the mechanical model and the hoisted piece model and adding corresponding key frames based on each sub-action, various dynamic change processes in the building construction process can be simulated flexibly and conveniently. In the embodiment, different information contained in the same action is respectively recorded through a plurality of sub-actions, so that the trouble that all action information is recorded on one key frame by the traditional key frame function is avoided, and the dynamic transformation process can be clearly understood through a Gantt chart.
Illustratively, the sub-actions include dynamic sub-actions and static sub-actions, the dynamic sub-actions include sub-actions that dynamically change in the hoist simulation scene, and the static sub-actions include sub-actions that are static and unchangeable in the hoist simulation scene. It can be understood that the sub-action items which change are not fixed for the mechanical model or the hoisted piece model, for example, the sub-action of the display style in one scene is always unchanged, namely, does not change dynamically, while the sub-action of the upper body rotation always changes dynamically. Therefore, the sub-action which is dynamically changed in the hoisting simulation scene can be used as the dynamic sub-action, and the sub-action which is static and unchangeable in the hoisting simulation scene can be used as the static sub-action. By distinguishing the dynamic sub-actions and the static sub-actions, the mechanical model or the hoisted piece model can be displayed more clearly, which aspects are changed and which aspects are not changed, so that the hoisting process simulation can be performed more accurately and efficiently.
FIG. 3 illustrates a diagram of dividing sub-actions and corresponding key frames in accordance with one embodiment of the present invention. The dynamic sub-action or the static sub-action comprises any one of a transform sub-action, a style sub-action, an association sub-action, a camera sub-action, a body sub-action, and a rope sub-action.
The transformation sub-action is used for representing the position information of the mechanical model or the hoisted piece model, the style sub-action is used for representing the color information and the transparency information of the mechanical model or the hoisted piece model, the association sub-action is used for representing the association motion information of the mechanical model or the hoisted piece model, and the camera sub-action is used for representing the position information and the direction information of the current camera; the deformation sub-action is used for representing deformation information of the hoisted piece model, and the rope sub-action is used for representing rope information between the mechanical model and the hoisted piece model.
Each sub-action corresponds to a respective key frame. Corresponding to the transformation sub-actions are transformation key frames, and each transformation key frame is used for representing the spatial position of the mechanical equipment at a certain moment; corresponding to the style sub-actions are style key frames, and each style key frame is used for representing the color and transparency of the mechanical equipment at a certain moment; the associated key frames correspond to the associated sub-actions, and each associated key frame represents that the current mechanical equipment and other mechanical equipment have associated motion at a certain moment; corresponding to the camera sub-actions are camera key frames, and each camera key frame represents a visual angle position and a visual angle direction of the mechanical equipment at a certain moment; the deformation key frames correspond to the deformation sub-actions, and each deformation key frame represents the shape change of the current mechanical equipment at a certain moment; corresponding to the rope sub-actions are rope keyframes, each of which represents information about the shape and position of the rope connected to the current mechanical device at a certain time.
According to the division of the sub-actions and the corresponding key frames, the corresponding key frames can be added to different sub-actions according to different requirements, and the fine change process of the mechanical equipment under a certain dimension can be clearly shown. Fig. 4 is a diagram illustrating creation of an associated key frame according to embodiment 1 of the present invention. In the example of fig. 4, the dynamic sub-actions include association sub-actions, and the step of adding key frames of the sub-actions at different time instants to the mechanical model and the hoisted piece model based on each determined sub-action in step S130 includes:
in the association sub-action, respectively creating a first association key frame of the mechanical model and a hoisted piece model associated with the mechanical model at a first moment; the first time characterizes a time at which the association is started. It will be understood that the moment of starting the association generally refers to the moment at which the mechanical model starts lifting the model of the piece to be hoisted. In fig. 4, the left column shows that the mechanical model with the association relationship is a crane, the hoisted piece model comprises a lock and equipment, and the right column shows that corresponding association key frames are respectively created for the lock and the equipment at the 4 th second. It should be noted that, during the hoisting process, a transformation action key frame is generally created at the same time as the association key frame, and is used to indicate the respective spatial positions of the lock and the device at the time of association creation. Of course, it is not necessary to create the transform action key frame at the same time, and in other scenes, the style key frame, the morphing key frame, and the like may be created at the same time.
In the association sub-action, respectively creating a second association key frame of the mechanical model and a hoisted piece model associated with the mechanical model at a second moment; the second time represents the time for ending the association. As can be seen from fig. 4, the associated key frames of the lock and the device are created at the 9 th second, and the corresponding transformation action key frames of the lock and the device are also created at the 9 th second, so as to represent the respective spatial positions of the lock and the device at the end of the association. It will be understood that the end of association refers generally to the moment at which the piece to be hoisted reaches the given position without further movement.
On the basis of creating a correlation key frame at the correlation starting moment, namely the first moment, and a correlation key frame at the correlation ending moment, namely the second moment, the automatic correlation motion of the mechanical model and the hoisted piece model between the first moment and the second moment can be realized. For example, in the example of fig. 4, the locks and equipment are moved in association with the crane between seconds 4 and 9. As for the spatial positions of the locks and the equipment in 5 th, 6 th, 7 th and 8 th seconds, the spatial positions can be automatically calculated based on the spatial positions in 4 th and 9 th seconds through a mathematical interpolation method, and therefore coherent simulation of the associated motion in the hoisting process is achieved.
Fig. 5 shows a schematic diagram of creating a rope keyframe according to embodiment 1 of the present invention. In the example of fig. 5, the dynamic sub-actions include rope sub-actions, and the step of adding sub-action key frames at different time instants to the mechanical model and the hoisted piece model based on each determined sub-action in step S130 includes:
and in the rope action, respectively creating a first rope key frame of the mechanical model and a hoisted piece model connected with the mechanical model through a rope at a third moment, wherein the third moment represents the moment of creating the rope. In general, the moment when the rope is created refers to the moment when the mechanical model starts to hoist the hoisted model by the rope. In the example of fig. 5, the mechanical model is a fixed pulley, the hoisted piece model is equipment, and the fixed pulley and the equipment need to be connected through a steel wire rope. The rope sub-actions in fig. 5 are the steel ropes listed in the left column, while the corresponding rope key frames are added in the right column corresponding to the steel ropes. It can be seen that a rope key frame is created at second 2, indicating that at second 2 the crown block passes through the wire rope hoist apparatus.
And in the rope action, respectively creating a second rope key frame of the mechanical model and a hoisted piece model connected with the mechanical model through a rope at a fourth moment, wherein the fourth moment represents the moment of canceling the rope. In the example of fig. 5, the moment of canceling the rope is second 4, and correspondingly a rope key frame is also established in second 4. As can also be seen from fig. 5, at the 2 nd and 4 th seconds, the device creates corresponding transformation action key frames to represent the spatial positions of the device corresponding to the creation and cancellation of the rope respectively. Therefore, the length, namely the position information of the rope can be directly calculated through the transformation action key frame of the equipment, and the dynamic change process of hoisting through the rope is truly simulated.
Example 2
The embodiment provides a method for making a building construction simulation animation, as shown in fig. 6, including the following steps:
s610, a site model and an equipment model in a construction simulation scene are obtained, wherein the site model comprises a road model and a peripheral building model in a hoisting simulation scene, and the equipment model comprises a mechanical model and a hoisted piece model.
The site model may be a construction site model created based on site survey information or a CAD drawing by any existing parametric modeling tool, and may specifically include a road model, a surrounding building model, and the like. The device model is generated based on the BIM technology, can be an existing model which is created in advance through any existing parametric modeling, and can also be created again according to the actual situation.
The obtaining of the site model and the equipment model in this embodiment includes determining an equipment model and a mechanical parameter of the equipment model, and determining relative positions of the site model, the equipment model, and the hoisted model. The equipment model comprises equipment type, lifting tonnage, a manufacturer and the like, and the mechanical parameter information comprises a vehicle body rotation angle, a main arm amplitude variation angle, a super lifting arm rotation angle, a support arm rotation angle, a main lifting hook rope length, a main lifting hook rotation angle, an auxiliary lifting hook rope length, a lifted object weight and a current load bearing rate of the mechanical equipment in an initial state.
After the model number and the mechanical parameters of the equipment are determined, the equipment model is placed in the field model, and the final occupation and the vehicle transportation path of the equipment model in the field model are determined.
And S620, adding key frames to the mechanical model and the hoisted piece model by the key frame adding method provided in the embodiment 1.
This part is described in detail in embodiment 1 and will not be described again here.
And S630, generating the construction simulation animation according to the added key frames. Such as the hoist animation shown in fig. 7.
Through the steps, the construction simulation animation with high similarity to the real construction condition can be manufactured, so that a reference standard is provided for the actual construction in the later period, and the efficiency and the safety of the construction process are improved.
Before the step of generating the construction simulation animation in step S630, the method further includes:
and carrying out collision detection on the field model, the mechanical model and the hoisted piece model so as to determine whether static collision or dynamic collision exists between any two models.
The collision detection in the present embodiment can be embodied in three aspects as follows:
(1) and dynamic collision detection for detecting whether the collision body A collides with the collision body B in the movement process. The collision body a and the collision body B here may be the above-described mechanical models.
(2) The method comprises the following steps of detecting insertion collision, wherein the insertion collision detection is used for detecting whether direct body insertion exists between a collision main body A and a collision main body B, and the insertion comprises insertion in a static state and insertion in a dynamic process;
(3) and gap collision detection for detecting whether a gap tolerance between the collision body A and the collision body B is less than a preset value (m) or not, thereby ensuring a minimum construction space.
When any dynamic collision or static collision is determined to exist, the embodiment can output a corresponding warning prompt, so that the related responsible person can adjust the scheme in time. Through the collision detection process, the potential collision hazard possibly existing in the construction process can be timely and accurately found, and the safety of building construction is ensured.
Illustratively, after the outputting the dynamically changing process in an animated form, the method further comprises:
and outputting a construction site layout plan containing dimension labels, and outputting ground pressure data of the mechanical model in a working state.
FIG. 8 shows a schematic diagram of the calculation of ground pressure data for a mechanical model. According to the stress principle of the foundation beam, two tracks of the crane are assumed to be combined sections bearing ground pressure, and the inertia moments Ix and Iy around the X axis and the Y axis can be calculated by the following formula:
Ix=2L·b·(B/2)2。
Iy=1/6bL3。
p1, p2, p3 and p4 point-to-ground pressure sigma in upper diagram under crane working state1、σ2、σ3And σ4Can be obtained by the following calculation method:
(1) when the lifting direction is parallel to the X axis, alpha is 0 DEG
Figure BDA0002531508790000161
Figure BDA0002531508790000162
(2) When the hoisting direction is parallel to the Y axis, alpha is 90 DEG
Figure BDA0002531508790000163
Figure BDA0002531508790000164
(3) When the included angle between the hoisting direction and the X axis is any angle
Figure BDA0002531508790000165
Figure BDA0002531508790000166
Figure BDA0002531508790000167
Figure BDA0002531508790000168
When the ground pressure calculated by the calculation formula has a negative value, the lifting capacity of the crane is insufficient, and the crane needs to be selected again.
The output of the construction site layout plan is beneficial to knowing the construction site layout more intuitively and simply, and the ground related parameters in the animation can be adjusted according to the site layout, so that the animation simulation is closer to the real working condition. The ground pressure data of the mechanical model is output, quantitative parameters capable of accurately reflecting the hoisting capacity of the crane can be provided, mechanical problems existing in the construction process can be found in time, and the engineering progress is accelerated.
Example 3
The present embodiment provides a key frame adding apparatus 900 in a building construction simulation animation, as shown in fig. 9, including a model obtaining unit 910, a sub-action determining unit 920, and a key frame adding unit 930. Wherein:
the model obtaining unit 910 is adapted to obtain a mechanical model and a hoisted piece model which dynamically change in a building construction simulation scene;
a sub-action determining unit 920, adapted to determine a plurality of sub-actions of the mechanical model and a plurality of sub-actions of the hoisted piece model according to the motion complexity of the mechanical model or the hoisted piece model;
the key frame adding unit 930 is adapted to add sub-action key frames at different times to the mechanical model and the hoisted piece model based on each determined sub-action.
Example 4
The present embodiment provides a simulated animation producing apparatus 1000, as shown in fig. 10, including a model acquiring unit 1010, a key frame adding unit 1020, and an animation generating unit 1030. Wherein:
the model obtaining unit 1010 is suitable for obtaining a field model and an equipment model in a simulation scene, wherein the field model comprises models of roads and surrounding buildings in the hoisting simulation scene, and the equipment model comprises a mechanical model and a hoisted piece model;
a key frame adding unit 1020 adapted to add key frames to the mechanical model and the hoisted piece model by the key frame adding method of embodiment 1;
an animation generating unit 1030 adapted to continuously output the keyframes added at different times to generate the construction simulation animation.
Example 5
The embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server or a rack server (including an independent server or a server cluster composed of a plurality of servers) capable of executing programs, and the like. The computer device 110 of the present embodiment includes at least, but is not limited to: a memory 111, a processor 112, which may be communicatively coupled to each other via a system bus, as shown in FIG. 11. It is noted that FIG. 11 only shows computer device 110 having components 111 and 112, but it is understood that not all of the shown components are required and that more or fewer components may be implemented instead.
In this embodiment, the memory 111 (i.e., a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the storage 111 may be an internal storage unit of the computer device 110, such as a hard disk or a memory of the computer device 110. In other embodiments, the memory 111 may also be an external storage device of the computer device 110, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, provided on the computer device 110. Of course, the memory 111 may also include both internal and external storage devices for the computer device 110. In this embodiment, the memory 21 is generally used for storing an operating system and various application software installed on the computer device 110, such as the program code of the key frame adding apparatus 900 in the third embodiment. Further, the memory 111 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 112 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 112 generally operates to control the overall operation of the computer device 110. In this embodiment, the processor 112 is configured to run the program code stored in the memory 111 or process data, for example, run the key frame adding apparatus 900, so as to implement the key frame adding method of the first embodiment.
Example 6
The present embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc., on which a computer program is stored, which when executed by a processor implements corresponding functions. The computer-readable storage medium of this embodiment is used for storing the key frame adding apparatus 900, and when being executed by a processor, the computer-readable storage medium implements the key frame adding method of the first embodiment.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (14)

1. A method for adding key frames in simulation animation is characterized by comprising the following steps:
acquiring a mechanical model and a hoisted piece model which are dynamically changed in a simulation scene;
determining a plurality of sub-actions of the mechanical model and a plurality of sub-actions of the hoisted piece model according to the motion complexity of the mechanical model, wherein the sub-actions are used for representing various dynamic changes of the force application device at the same moment;
and adding sub-action key frames at different moments for the mechanical model and the hoisted piece model according to the sub-actions.
2. The method of claim 1, wherein the simulation scenario comprises a hoist simulation scenario, and the mechanical model comprises one or more of a crane, a hoist, and a chain block.
3. The method according to claim 1, wherein the sub-actions comprise dynamic sub-actions and static sub-actions, the dynamic sub-actions comprise sub-actions that dynamically change in the lifted simulation scene, and the static sub-actions comprise sub-actions that are static and unchangeable in the lifted simulation scene.
4. A method of key frame addition according to claim 3, characterized in that said dynamic sub-action or said static sub-action comprises: one or more of a transform sub-action, a style sub-action, an association sub-action, a camera sub-action, a form sub-action, and a rope sub-action;
the transformation sub-action is used for representing the position information of the mechanical model or the hoisted piece model, the style sub-action is used for representing the color information and the transparency information of the mechanical model or the hoisted piece model, the association sub-action is used for representing the association motion information of the mechanical model or the hoisted piece model, and the camera sub-action is used for representing the position information and the direction information of the current camera; the deformation sub-action is used for representing deformation information of the hoisted piece model, and the rope sub-action is used for representing rope information between the mechanical model and the hoisted piece model.
5. A key frame adding method as claimed in claim 4, wherein said dynamic sub-actions include associated sub-actions, and said step of adding sub-action key frames at different times to said mechanical model and said hoisted piece model based on each determined sub-action comprises:
in the association sub-action, respectively creating a first association key frame of the mechanical model and a hoisted piece model associated with the mechanical model at a first moment; the first time represents the time for starting association;
in the association sub-action, respectively creating a second association key frame of the mechanical model and a hoisted piece model associated with the mechanical model at a second moment; the second time represents the time for ending the association.
6. A key frame adding method as claimed in claim 5, wherein said step of adding sub-action key frames at different times to said mechanical model and said hoisted piece model based on each determined sub-action further comprises:
and calculating and creating an intermediate associated key frame between the mechanical model and the hoisted model at the first moment and the second moment by a mathematical interpolation method according to the first associated key frame and the second associated key frame.
7. A method according to claim 4, wherein the dynamic sub-actions comprise rope sub-actions, and the step of creating a key frame at a different time corresponding to each determined sub-action comprises:
in the rope action, respectively creating a first rope key frame of the mechanical model and a hoisted piece model connected with the mechanical model at a third moment, wherein the third moment represents the moment of creating the rope;
and in the rope action, respectively creating a second rope key frame of the mechanical model and a hoisted piece model connected with the mechanical model through a rope at a fourth moment, wherein the fourth moment represents the moment of canceling the rope.
8. A method for producing a simulated animation, comprising:
acquiring a field model and an equipment model in a simulated scene, wherein the equipment model comprises a mechanical model and a hoisted piece model;
adding key frames to the mechanical model and the hoisted piece model by the key frame adding method of any one of claims 1 to 7;
and generating the simulated animation according to the added key frames.
9. A production method according to claim 8, wherein before the step of continuously outputting the keyframes added at different times to generate the simulated animation, the method further comprises:
performing collision detection on the field model, the mechanical model and the hoisted piece model to determine whether static collision or dynamic collision exists between any two models;
when it is determined that there is a static collision or a dynamic collision, a warning prompt is output.
10. The production method according to claim 8, wherein after said outputting the dynamically changing process in an animated form, the method further comprises:
outputting a construction site layout plan containing dimension labels;
and outputting the ground pressure data of the mechanical equipment in the working state.
11. A key frame adding device in simulation animation is characterized by comprising the following steps:
the model acquisition unit is suitable for acquiring a mechanical model and a hoisted piece model which are dynamically changed in a simulation scene;
the sub-action determining unit is suitable for determining a plurality of sub-actions of the mechanical model and a plurality of sub-actions of the hoisted piece model according to the motion complexity of the mechanical model and the hoisted piece model;
and the key frame adding unit is suitable for adding sub-action key frames at different moments for the mechanical model and the hoisted piece model according to each determined sub-action.
12. An apparatus for producing a simulated animation, comprising:
the model acquisition unit is suitable for acquiring a field model and an equipment model in a simulated scene, wherein the equipment model comprises a mechanical model and a hoisted piece model;
a key frame adding unit, adapted to add key frames to the mechanical model and the hoisted piece model by the key frame adding method according to any one of claims 1 to 7;
and the animation generating unit is suitable for generating the simulation animation according to the added key frame.
13. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 10 are implemented by the processor when executing the computer program.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 10.
CN202010526408.8A 2020-06-09 2020-06-09 Keyframe adding method and device in simulated animation Active CN111739129B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010526408.8A CN111739129B (en) 2020-06-09 2020-06-09 Keyframe adding method and device in simulated animation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010526408.8A CN111739129B (en) 2020-06-09 2020-06-09 Keyframe adding method and device in simulated animation

Publications (2)

Publication Number Publication Date
CN111739129A true CN111739129A (en) 2020-10-02
CN111739129B CN111739129B (en) 2024-04-12

Family

ID=72648763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010526408.8A Active CN111739129B (en) 2020-06-09 2020-06-09 Keyframe adding method and device in simulated animation

Country Status (1)

Country Link
CN (1) CN111739129B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130120404A1 (en) * 2010-02-25 2013-05-16 Eric J. Mueller Animation Keyframing Using Physics
US20170294041A1 (en) * 2016-04-08 2017-10-12 Adobe Systems Incorporated Animation Using Keyframing and Projected Dynamics Simulation
GB201809389D0 (en) * 2018-06-07 2018-07-25 Frontier Dev Plc Computer Animation Method and Apparatus
CN109242939A (en) * 2018-10-10 2019-01-18 广联达科技股份有限公司 A kind of the key-frame animation production method and device of construction simulation progress
CN109657366A (en) * 2018-12-24 2019-04-19 中铁十六局集团第四工程有限公司 A kind of pier top swivel bridges rotating device method for analog construction based on BIM
CN109918756A (en) * 2019-02-28 2019-06-21 上海二十冶建设有限公司 Application method of the BIM emulation technology in agglomerating chamber's driving installation exercise
CN110704983A (en) * 2019-10-12 2020-01-17 中国铁路设计集团有限公司 Parameter-driven lower joint linkage crane dynamic operation simulation method
US20200126299A1 (en) * 2018-10-18 2020-04-23 Trimble Inc. Virtual video projection system to synch animation sequences

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130120404A1 (en) * 2010-02-25 2013-05-16 Eric J. Mueller Animation Keyframing Using Physics
US20170294041A1 (en) * 2016-04-08 2017-10-12 Adobe Systems Incorporated Animation Using Keyframing and Projected Dynamics Simulation
GB201809389D0 (en) * 2018-06-07 2018-07-25 Frontier Dev Plc Computer Animation Method and Apparatus
CN109242939A (en) * 2018-10-10 2019-01-18 广联达科技股份有限公司 A kind of the key-frame animation production method and device of construction simulation progress
US20200126299A1 (en) * 2018-10-18 2020-04-23 Trimble Inc. Virtual video projection system to synch animation sequences
CN109657366A (en) * 2018-12-24 2019-04-19 中铁十六局集团第四工程有限公司 A kind of pier top swivel bridges rotating device method for analog construction based on BIM
CN109918756A (en) * 2019-02-28 2019-06-21 上海二十冶建设有限公司 Application method of the BIM emulation technology in agglomerating chamber's driving installation exercise
CN110704983A (en) * 2019-10-12 2020-01-17 中国铁路设计集团有限公司 Parameter-driven lower joint linkage crane dynamic operation simulation method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
周立松;: "内河船舶操纵模拟器中虚拟人的模拟", 中国水运, no. 03 *
郑林;吴耀武;盘仰珂;: "三维视景自定义关键帧动画系统的设计与开发", 系统仿真学报, no. 1 *

Also Published As

Publication number Publication date
CN111739129B (en) 2024-04-12

Similar Documents

Publication Publication Date Title
CN113360583B (en) Construction progress visualization method based on BIM model and monitoring image comparison
US8014982B2 (en) Simulation system for a construction crane and the simulation method thereof
Meža et al. Component based engineering of a mobile BIM-based augmented reality system
CN111145479B (en) Construction dangerous environment real-time early warning platform and method based on BIM positioning technology
CN107368627A (en) A kind of group towers work method for analog construction based on BIM technology
CN101719332A (en) Full-three-dimensional real-time drilling simulation method
CN110704983B (en) Crane dynamic operation simulation method for joint linkage under parameter drive
CN102360396A (en) Creating method for virtual double-bridge crane based on Virtools
CN109918756A (en) Application method of the BIM emulation technology in agglomerating chamber's driving installation exercise
KR101810663B1 (en) Bim data transform apparatus for ununiformed slab member and the method thereof
CN106294969A (en) A kind of method of steel structure net rack hydraulic pressure lift precision controlling based on BIM
CN111259474B (en) Large-scale BIM model data processing and loading method and equipment
JP2003288372A (en) Analytic result data processor for cad, analytic result data processing method for cad, and analytic result data processing program for cad
CN115773723A (en) Roadbed section goaf deformation monitoring method and system based on BIM
KR101751697B1 (en) Visualization method and apparatus of transparent object through the connection between texturing of building shape and BIM data
CN111739129A (en) Method and device for adding key frames in simulated animation
CN115455739B (en) Simulation method and simulation system for installation of interactive fan
CN112487534A (en) BIM technology-based method for analyzing net height of building
JP2000048061A (en) Method for aiding design of temporary scaffold, system for realizing the method and recording medium recording program
CN111739127A (en) Method and device for simulating associated motion in mechanical linkage process
CN111475878B (en) Method and device for generating ground depot anti-collision plate based on BIM technology and terminal
US20110270582A1 (en) Systems and methods providing smart nodes for three-dimensional models
CN112330777A (en) Motor simulation operation data generation method, system and terminal based on three-dimensional animation
CN116541939B (en) Collision detection method and system in bridge design
WO2023013069A1 (en) Data compression device, data compression method, and program

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