CN111625096A - Ribbon binding simulation method, device, equipment and storage medium - Google Patents

Ribbon binding simulation method, device, equipment and storage medium Download PDF

Info

Publication number
CN111625096A
CN111625096A CN202010476622.7A CN202010476622A CN111625096A CN 111625096 A CN111625096 A CN 111625096A CN 202010476622 A CN202010476622 A CN 202010476622A CN 111625096 A CN111625096 A CN 111625096A
Authority
CN
China
Prior art keywords
simulation
bandage
model
bone model
bone
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
CN202010476622.7A
Other languages
Chinese (zh)
Other versions
CN111625096B (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.)
Shenzhen Realis Multimedia Technology Co Ltd
Original Assignee
Shenzhen Realis Multimedia Technology 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 Shenzhen Realis Multimedia Technology Co Ltd filed Critical Shenzhen Realis Multimedia Technology Co Ltd
Priority to CN202010476622.7A priority Critical patent/CN111625096B/en
Publication of CN111625096A publication Critical patent/CN111625096A/en
Application granted granted Critical
Publication of CN111625096B publication Critical patent/CN111625096B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2219/00Indexing scheme for manipulating 3D models or images for computer graphics
    • G06T2219/20Indexing scheme for editing of 3D models
    • G06T2219/2016Rotation, translation, scaling
    • 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
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Architecture (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of computer vision recognition, and discloses a binding belt simulation method, a binding belt simulation device, binding belt simulation equipment and a storage medium, which are used for solving the problem of how to reappear the binding process of a binding belt in a virtual reality world. The ribbon binding simulation method comprises the following steps: constructing a simulation object to obtain a bandage skeleton model; acquiring a ribbon binding simulation instruction, and determining a track function set and a simulation size of a simulation object according to the simulation instruction; according to the track function set, carrying out simulation surrounding on the ribbon skeleton model to obtain a simulation form of the ribbon skeleton model; performing simulation contraction on the bandage bone model based on the current simulation form of the bandage bone model to obtain a new simulation form of the bandage bone model; judging whether the current bandage bone model in the latest simulation form is reduced to the simulation size; and when the bandage bone model is reduced to the simulation size, ending the simulation. And a banding picture of the ribbon is realized in the virtual real world.

Description

Ribbon binding simulation method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of computer vision recognition, in particular to a binding belt simulation method, a binding belt simulation device, binding belt simulation equipment and a storage medium.
Background
The virtual reality technology is a collection of various technologies such as simulation technology, computer graphics, human-computer interface technology, multimedia technology, sensing technology, network technology and the like, and belongs to the field of advanced disciplines and researches with strong intersection. The virtual reality technology mainly comprises the aspects of natural skills, sensing equipment, simulated environment, perception and the like. The natural skill is that the human behavior and action process the data related to the behavior through a computer, make real-time response and feed back to the five sense organs of the human; the sensing equipment refers to three-dimensional interaction equipment; the simulation environment is a three-dimensional image which is generated by a computer and simulates a real affair; perception means that the computer can generate human vision, hearing, touch, force sense, movement, smell, taste, etc.
And people operate some props in the virtual space, some use the entity prop, some can not use the entity prop, produced by the computer directly, the binding of the ribbon belongs to the latter. The band is widely applied in display life, and the binding process of the band is difficult to simulate in virtual reality.
Disclosure of Invention
The invention mainly aims to solve the technical problem of how to reappear the binding process of the binding belt in the virtual reality world.
The invention provides a binding belt simulation method in a first aspect, which comprises the following steps:
constructing a simulation object to obtain a bandage skeleton model;
acquiring a ribbon binding simulation instruction, and determining a track function set and a simulation size of the simulation object according to the simulation instruction;
according to the track function set, carrying out simulation surrounding on the bandage bone model to obtain a simulation form of the bandage bone model;
performing simulation contraction on the bandage bone model based on the current simulation form of the bandage bone model to obtain a new simulation form of the bandage bone model;
judging whether the current bandage bone model in the latest simulation form is reduced to the simulation size;
if so, ending the simulation, otherwise, continuing to perform simulation contraction on the band-tied bone model based on the current latest simulation form of the band-tied bone model until the band-tied bone model is reduced to the simulation size, and ending the simulation.
Optionally, in a first implementation manner of the first aspect of the present invention, the determining, according to the simulation instruction, the set of trajectory functions of the simulated object includes:
splitting the simulation object to obtain a plurality of corresponding simulation object units;
and screening the track function corresponding to each simulation object unit from a preset function set to obtain a track function set of the simulation object.
Optionally, in a second implementation manner of the first aspect of the present invention, the performing simulated wrapping on the bundled bone model according to the set of trajectory functions to obtain a simulated form of the bundled bone model includes:
calculating the length proportion among the simulation object units and the first rotation angle of each simulation object unit according to the track function set;
segmenting the bandage bone model according to the length proportion to obtain a plurality of model units;
calculating a second rotation angle of each cable-tied bone in each model unit according to the first rotation angle;
and rotating each cable tie bone according to the second rotation angle to obtain the simulation form of the cable tie bone model.
Optionally, in a third implementation manner of the first aspect of the present invention, the calculating, according to the first rotation angle, a second rotation angle of each cable-tie bone in each model unit includes:
calculating an increment of the rotation angle of each of the taped bones according to the first rotation angle;
numbering the bones of the bandage in the skeleton model of the bandage to obtain the rotation sequence of each bone of the bandage;
and accumulating corresponding rotation angle increments of the included angles among the bones of the cable ties according to the rotation sequence to obtain a second rotation angle of each cable tie bone.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the performing simulated contraction on the bandage bone model based on the current simulated form of the bandage bone model to obtain a new simulated form of the bandage bone model includes:
calculating the contraction length of each model unit in the bandage skeleton model corresponding to the simulation form according to a preset contraction rate;
according to the contraction length, contracting the bandage bone model corresponding to the simulation form, and calculating a third rotation angle of each bandage bone after the bandage bone model is contracted;
and rotating each band bone in the contracted band bone model according to the third rotation angle to obtain a new current simulation form of the band bone model.
Optionally, in a fifth implementation manner of the first aspect of the present invention, after the performing simulated wrapping on the bandage bone model according to the trajectory function set to obtain a simulated shape of the bandage bone model, the method further includes:
judging whether the bone of the bandage overflows after the simulation and surrounding of the bone model of the bandage;
and if the overflow rotation angle exists, rotating the overflow cable tie skeleton after the cable tie skeleton model is simulated and surrounded according to the preset overflow rotation angle to obtain the out-of-ring branch of the cable tie skeleton model.
Optionally, in a sixth implementation manner of the first aspect of the present invention, after the performing simulated contraction on the bandage bone model based on the current simulated form of the bandage bone model to obtain a new simulated form of the bandage bone model, the method further includes:
determining the overflow bandage bone after the contraction of the bandage bone model according to the current latest simulation form;
and rotating the overflowing cable tie skeleton after the cable tie skeleton model is contracted until an included angle between the overflowing cable tie skeleton and the outer ring branch is zero, and merging the overflowing cable tie skeleton after the cable tie skeleton model is contracted into the outer ring branch.
The invention provides a binding belt simulation device in a second aspect, which comprises:
the building module is used for building a simulation object to obtain a bandage bone model;
the acquisition module is used for acquiring a ribbon binding simulation instruction and determining a track function set and a simulation size of the simulation object according to the simulation instruction;
the surrounding module is used for performing simulation surrounding on the cable tie bone model according to the track function set to obtain a simulation form of the cable tie bone model;
the contraction module is used for carrying out simulated contraction on the bandage bone model based on the current simulated form of the bandage bone model to obtain a new simulated form of the bandage bone model;
the judging module is used for judging whether the band skeleton model in the current latest simulation form is reduced to the simulation size or not;
and the circulation module is used for ending the simulation if the band-tie bone model in the current latest simulation form is reduced to the simulation size, and otherwise, continuing to perform simulation contraction on the band-tie bone model based on the current latest simulation form of the band-tie bone model until the simulation size is reduced.
Optionally, in a first implementation manner of the second aspect of the present invention, the obtaining module is further configured to:
splitting the simulation object to obtain a plurality of corresponding simulation object units;
and screening the track function corresponding to each simulation object unit from a preset function set to obtain a track function set of the simulation object.
Optionally, in a second implementation manner of the second aspect of the present invention, the surround module further includes:
a first calculation unit for calculating a length ratio between the simulation object units and a first rotation angle of each simulation object unit according to the trajectory function set;
the segmentation unit is used for segmenting the bandage bone model according to the length proportion to obtain a plurality of model units;
a second calculation unit for calculating a second rotation angle of each cable-tied bone in each model unit according to the first rotation angle;
and the rotating unit is used for rotating each cable tie bone according to the second rotating angle to obtain the simulation form of the cable tie bone model.
Optionally, in a third implementation manner of the second aspect of the present invention, the second computing unit further includes:
a calculating subunit, configured to calculate an increment of a rotation angle of each of the bones of the cable tie according to the first rotation angle;
the numbering subunit is used for numbering the cable tie bones in the cable tie bone model to obtain the rotation sequence of each cable tie bone;
and the accumulation subunit is used for accumulating the corresponding rotation angle increment of the included angle between the bones of each band according to the rotation sequence to obtain a second rotation angle of each band.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the shrinking module further includes:
the third calculating unit is used for calculating the contraction length of each model unit in the bandage bone model corresponding to the simulation form according to the preset contraction rate;
the contraction unit is used for contracting the bandage bone model corresponding to the simulation form according to the contraction length and calculating a third rotation angle of each bandage bone after the bandage bone model is contracted;
and the adjusting unit is used for rotating each bandage bone in the contracted bandage bone model according to the third rotating angle to obtain a new current simulation form of the bandage bone model.
Optionally, in a fifth implementation manner of the second aspect of the present invention, the band ligation simulation apparatus further includes a branch generation module, where the branch generation module is configured to:
judging whether the bone of the bandage overflows after the simulation and surrounding of the bone model of the bandage;
and if the overflow rotation angle exists, rotating the overflow cable tie skeleton after the cable tie skeleton model is simulated and surrounded according to the preset overflow rotation angle to obtain the out-of-ring branch of the cable tie skeleton model.
Optionally, in a sixth implementation manner of the second aspect of the present invention, the branch generating module is further configured to:
determining the overflow bandage bone after the contraction of the bandage bone model according to the current latest simulation form;
and rotating the overflowing cable tie skeleton after the cable tie skeleton model is contracted until an included angle between the overflowing cable tie skeleton and the outer ring branch is zero, and merging the overflowing cable tie skeleton after the cable tie skeleton model is contracted into the outer ring branch.
The third aspect of the invention provides a binding belt simulation device, which comprises: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line; the at least one processor invokes the instructions in the memory to cause the strap tie simulation apparatus to perform the strap tie simulation method described above.
A fourth aspect of the present invention provides a computer-readable storage medium having stored therein instructions which, when run on a computer, cause the computer to perform the strap tie simulation method described above.
The technical scheme provided by the invention comprises the steps of constructing a simulation object to obtain a bandage skeleton model; acquiring a ribbon binding simulation instruction, and determining a track function set and a simulation size of a simulation object according to the simulation instruction; according to the track function set, carrying out simulation surrounding on the ribbon skeleton model to obtain a simulation form of the ribbon skeleton model; performing simulation contraction on the bandage bone model based on the current simulation form of the bandage bone model to obtain a new simulation form of the bandage bone model; judging whether the current bandage bone model in the latest simulation form is reduced to the simulation size; and when the bandage bone model is reduced to the simulation size, ending the simulation. And a banding picture of the ribbon is realized in the virtual real world.
Drawings
FIG. 1 is a schematic diagram of a first embodiment of a band binding simulation method in an embodiment of the invention;
FIG. 2 is a schematic diagram of a second embodiment of a band binding simulation method in an embodiment of the invention;
FIG. 3 is a schematic diagram of a third embodiment of a ribbon binding simulation method in the embodiment of the invention;
FIG. 4 is a diagram of a fourth embodiment of a ribbon binding simulation method in the embodiment of the invention;
FIG. 5 is a schematic diagram of one embodiment of a band tie simulation apparatus in an embodiment of the present invention;
FIG. 6 is a schematic view of another embodiment of a band tie simulation device in accordance with an embodiment of the present invention;
FIG. 7 is a schematic diagram of one embodiment of a band tie simulation device in an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a ribbon binding simulation method, a ribbon binding simulation device, ribbon binding simulation equipment and a storage medium, wherein the ribbon binding simulation method comprises the steps of constructing a simulation object to obtain a ribbon skeleton model; acquiring a ribbon binding simulation instruction, and determining a track function set and a simulation size of a simulation object according to the simulation instruction; according to the track function set, carrying out simulation surrounding on the ribbon skeleton model to obtain a simulation form of the ribbon skeleton model; performing simulation contraction on the bandage bone model based on the current simulation form of the bandage bone model to obtain a new simulation form of the bandage bone model; judging whether the current bandage bone model in the latest simulation form is reduced to the simulation size; and when the bandage bone model is reduced to the simulation size, ending the simulation. And a banding picture of the ribbon is realized in the virtual real world.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, a specific flow of the embodiment of the present invention is described below, and referring to fig. 1, a first embodiment of a ribbon binding simulation method in the embodiment of the present invention includes:
101. constructing a simulation object to obtain a bandage skeleton model;
it is understood that the execution main body of the invention may be a band binding simulation device, and may also be a terminal or a server, which is not limited herein. The embodiment of the present invention is described by taking a server as an execution subject.
In this embodiment, the simulation of the band tying is implemented in the virtual reality space, a simulation object of the band is first constructed, and here, a band skeleton model of the simulation object is constructed by using UE4(Unreal Engine4, phantom 4 Engine), where the band skeleton model is composed of several pieces of band skeletons, and each piece of band skeleton has a fixed length, and the total length of the band skeleton model is obtained by combining the pieces of band skeleton model. For example, the cable-tie bone model consists of 100 cable-tie bones, and each cable-tie bone has a length of 0.1cm, and the cable-tie bone model has a length of 10 cm.
102. Acquiring a ribbon binding simulation instruction, and determining a track function set and a simulation size of the simulation object according to the simulation instruction;
in this embodiment, the ribbon binding simulation instruction of the ribbon bone model is actively triggered and sent by a user, and the triggering of the ribbon binding simulation instruction can be realized through a prop control, that is, through a user interface control, after the user carries vr (virtual reality) equipment, any visual control or element of a virtual space can be seen, such as a picture, an input frame, a text frame, a button, a label, a ribbon binding action and other controls, and the user interface control can respond to the operation of the user to perform a specified action in a corresponding band binding region of the ribbon, so that the ribbon binding simulation instruction of the ribbon bone model can be triggered; the other method is that the behavior operation of the user is detected through the photographic equipment, and when the detected user is used as the preset action of the binding tape, the binding tape simulation instruction of the binding tape skeleton model can be triggered.
In addition, parameters of the simulation object in the simulation instruction are bound by the binding belt so as to describe the shape track and the size of the simulation object. The simulation object is formed by locally combining various different shapes or shapes, so that the simulation object needs to be cut into various simulation object units for describing a single shape, such as a linear equation, a circular equation, an elliptic equation, a spherical equation and the like. For example, the ribbon skeleton model T is composed of a vertical line with a length a, a semicircle which is tangent to the right of the vertical line and extends with a diameter a, and a quarter circle with a radius a extends from the semicircle in the left-upper direction, so that the simulation object can be divided into the three simulation object units, and three trajectory functions, namely a linear equation, a circular equation with a radius a, and a circular equation with a diameter a, are obtained, namely, a function set for preventing the object. The simulation size of the simulation object may be represented by calculating the length or diameter of each simulation object cell. The final shape of the bandage binding simulation can be obtained by limiting the shape and the length of the simulation object.
103. According to the track function set, carrying out simulation surrounding on the bandage bone model to obtain a simulation form of the bandage bone model;
in this embodiment, the fitting function set already describes the motion trajectory of the simulation object, so the band skeleton model can be controlled to surround according to the trajectory represented by the fitting function set. Calculating the length proportion of each simulation object unit according to the track function of the simulation object unit, and then segmenting the ribbon skeleton model according to the length proportion to obtain a plurality of sections of model units; and calculating the rotation angle of each band-tying bone according to the track function and the rotation angle of each section of model unit, and rotating the band-tying bone to realize the visual effect of simulated surrounding of the band-tying bone. Preferably, the bandage bone model can be controlled to wrap around the set of fitting functions using UE4(Unreal Engine4, illusion 4 Engine).
Here, the formation of the initial simulation form of the band binding simulation is completed, and it should be noted that, when the rotation angle of the band bone is calculated, the directions should be uniform, such as all clockwise or all counterclockwise.
104. Performing simulation contraction on the bandage bone model based on the current simulation form of the bandage bone model to obtain a new simulation form of the bandage bone model;
in this embodiment, after the cable tie bone model forms a simulation shape in the virtual space, the cable tie bone model is only similar to or the same as the simulation object in shape, and the size of the cable tie bone model needs to be adjusted, so that the cable tie bone model is completely the same as the simulation object.
The size of the binding belt bone model needs to be adjusted, and the simulation form of the bone model is kept unchanged by adjusting the rotation angle. Specifically, the number of the cable tie bones retracted each time can be determined by taking the cable tie bones as fine granularity through the contraction rate, the cable tie bone model is contracted, and then the integral rotation angle of each model unit is kept consistent with that before contraction through adjusting the rotation angle of each model unit, so that a new simulation form which is the same in shape and different in size is obtained.
105. Judging whether the current bandage bone model in the latest simulation form is reduced to the simulation size;
in this embodiment, the simulation size of the simulation object defines the form size of the bandage bone model, and when the latest simulation form of the bandage bone model is identical to the simulation size of the simulation object, the two are considered to be approximately the same, wherein the length of the two can be used as a criterion for comparison.
Specifically, the number of the cable ties corresponding to the length of each simulation object unit in the simulation object can be calculated, then the cable ties are compared with the number of the cable ties corresponding to each model unit in the corresponding cable tie bone model, and when the number of the cable ties corresponding to each simulation object unit is the same as the number of the cable ties corresponding to each model unit, the cable ties and the bone quantity are determined to be approximately the same.
106. If so, ending the simulation, otherwise, continuing to perform simulation contraction on the band-tied bone model based on the current latest simulation form of the band-tied bone model until the band-tied bone model is reduced to the simulation size, and ending the simulation.
In this embodiment, when the cable tie skeleton model is approximately the same as the simulation object, it can be determined that the cable tie binding simulation is completed, and the simulation is ended. If the two are not similar to each other, the contraction and the discrimination of the bandage bone model are needed to be performed again, and the cycle operation is performed until the two are similar to each other.
In the embodiment of the invention, a bandage bone model is obtained by constructing a simulation object; acquiring a ribbon binding simulation instruction, and determining a track function set and a simulation size of a simulation object according to the simulation instruction; according to the track function set, carrying out simulation surrounding on the ribbon skeleton model to obtain a simulation form of the ribbon skeleton model; performing simulation contraction on the bandage bone model based on the current simulation form of the bandage bone model to obtain a new simulation form of the bandage bone model; judging whether the current bandage bone model in the latest simulation form is reduced to the simulation size; and when the bandage bone model is reduced to the simulation size, ending the simulation. And a banding picture of the ribbon is realized in the virtual real world.
Referring to fig. 2, a second embodiment of the simulation method for binding a binding tape according to the embodiment of the present invention includes:
201. constructing a simulation object to obtain a bandage skeleton model;
202. acquiring a ribbon binding simulation instruction, and determining a track function set and a simulation size of the simulation object according to the simulation instruction;
203. screening a fitting function set corresponding to the simulation object from a preset function set according to the ribbon binding simulation instruction;
204. calculating the length proportion among the simulation object units and the first rotation angle of each simulation object unit according to the track function set;
in this embodiment, the band-tied bone model is segmented by calculating the length ratio between the simulation object units, and then the second rotation angle of the corresponding model unit is determined according to each first rotation angle. Specifically, for example, the shape of the bandage bone model T is a vertical line with a length a, a semicircle with a diameter a and tangent to the right of the vertical line and extending out, a quarter circle with a radius a and extending from the semicircle image to the upper left, the trajectory length of the vertical line is a, the trajectory length of the quarter circle is 2 pi x (a/2) × 0.5 ═ 0.5 × a, the trajectory length of the semicircle is 2 pi × a × 0.25 ═ 0.5 ═ a, and the second rotation angle of the vertical line is directly determined to be 0 °, the second rotation angle of the semicircle is 180 °, and the second rotation angle of the quarter circle is 90 °.
205. Segmenting the bandage bone model according to the length proportion to obtain a plurality of model units;
in this embodiment, the bandage bone model is divided according to the length proportion between the simulation object units in the simulation object, so as to obtain the length required by each model unit, and the model units are folded into the shape corresponding to the simulation object units, so that the bandage bone model is more visually real. It is worth mentioning that the shape of the bandaging bone model preferably constructed using the UE4 is transformed in a bandaging bone manner, folded by the angle of the bandaging bone, and finally rotated to the desired shape.
Specifically, in the bone model T of the bandage in the previous step, the length of the vertical line is a, the length of the trajectory of the semicircle is 0.5 pi a, the length of the trajectory of the quarter circle is 0.5 pi a, and if the length of the bone model of the bandage is 100 cm, there are 100 sections of bandage bones in total, according to the formula: 0.5 pi a + a 100, resulting in a 24.145, i.e. the length of the vertical line is 24.145 cm, the trajectory length of the semicircle and the quarter circle is 37.927 cm, or the vertical line consists of 24.145 segments of ribbon bone, rounded down to 24, the semicircle and the quarter circle consist of 37.927 segments of ribbon bone, rounded down to 37.
206. Calculating a second rotation angle of each cable-tied bone in each model unit according to the first rotation angle;
in this embodiment, for the first rotation angle, an average angle of the first rotation angle with respect to the number of nodes may be calculated according to the number of nodes of the bone to be tied in the model unit, and the average angles may be accumulated according to the rotation order, so as to obtain a second rotation angle of each bone to be tied.
If the first rotation angle of one model unit of the bandage bone model 1 is A and the number of bandage bone sections of the model unit is w, then the second rotation angle of each bandage bone is: a/w (m), wherein m is the number of the rotation sequence.
207. Rotating each bandage bone according to the second rotation angle to obtain a simulation form of the bandage bone model;
in this embodiment, the band bones are rotated by the amplitude corresponding to the second rotation angle in the order of the numbers, and the simulation form of the band bone model that is identical to the simulation object is gradually obtained, in which the two are identical only in form but different in size.
208. Performing simulation contraction on the bandage bone model based on the current simulation form of the bandage bone model to obtain a new simulation form of the bandage bone model;
209. judging whether the current bandage bone model in the latest simulation form is reduced to the simulation size;
210. if so, ending the simulation, otherwise, continuing to perform simulation contraction on the band-tied bone model based on the current latest simulation form of the band-tied bone model until the band-tied bone model is reduced to the simulation size, and ending the simulation.
In the embodiment of the invention, the process of surrounding the bandage skeleton model is described in detail, the bandage skeleton model is segmented through the length and the first rotation angle of the simulation object unit in the simulation object, the second rotation angle of the bandage skeleton in each model unit is calculated, and each bandage skeleton is rotated, so that the form of bandage simulation can be obtained.
Referring to fig. 3, a third embodiment of the ribbon binding simulation method according to the embodiment of the present invention includes:
301. constructing a simulation object to obtain a bandage skeleton model;
302. acquiring a ribbon binding simulation instruction, and determining a track function set and a simulation size of the simulation object according to the simulation instruction;
303. calculating the length proportion among the simulation object units and the first rotation angle of each simulation object unit according to the track function set;
304. segmenting the bandage bone model according to the length proportion to obtain a plurality of model units;
305. calculating an increment of the rotation angle of each of the taped bones according to the first rotation angle;
in this embodiment, for the second rotation angle, an average angle of the second rotation angle with respect to the number of nodes may be calculated according to the number of nodes of the bone to be tied in the model unit, so as to obtain the rotation angle increment.
Specifically, in the bandage bone model T, the number of bandage bone joints of a vertical line is 24, and the number of bandage bone joints of a semicircle and a quarter circle is 37; the first rotation angle of the vertical line is 0 °, the first rotation angle of the semicircle is 180 °, the first rotation angle of the quarter circle is 90 °, and the rotation angle increments of the three are calculated as follows:
the bandage skeleton model is vertically placed, and the increment of the rotation angle of the model unit corresponding to the vertical line is 0 degree;
the increment of the rotation angle of the model unit corresponding to the semicircle is as follows: 180/37 ═ 4.865;
the increment of the rotation angle of the model unit corresponding to the quarter circle is as follows: 90/37 is 2.432.
306. Numbering the bones of the bandage in the skeleton model of the bandage to obtain the rotation sequence of each bone of the bandage;
in this embodiment, carry out the order number to the ribbon skeleton to be used for the follow-up can carry out the order rotation to the ribbon skeleton according to this serial number, its display effect is like the ligature forming process of ribbon.
Specifically, if the numbers of the bandage bones in the bandage bone model T are 1-98, the bandage bones of the vertical line are numbered in the order of 1-24, the bandage bones of the semicircle are numbered in the order of 25-61, and the bandage bones of the quarter circle are numbered in the order of 62-98.
307. Accumulating corresponding rotation angle increments of included angles among the cable tie bones according to the rotation sequence to obtain a second rotation angle of each cable tie bone;
in this embodiment, the rotation angle increments are accumulated according to the rotation sequence, and a second rotation angle of each cable tie bone can be obtained.
Specifically, in the bandage bone model T in the previous step, the second rotation angle of the three is calculated as follows:
the increment of the rotation angle of the model unit corresponding to the vertical line is 0 DEG, and then the second rotation angle of No. 1-24 binding belt bones in the model unit is also 0;
the increment of the rotation angle of the model unit corresponding to the semicircle is as follows: 180/37 is 4.865 °, the second angle of rotation of the 25-61 cable tie bone in the semicircle is: 4.865 DEG x (N-24), wherein N is the bandage bone number and N is the name of N;
the increment of the rotation angle of the model unit corresponding to the quarter circle is as follows: 90/37 is 2.432 °, the second angle of rotation of 62-98 cable tie bones in a quarter circle is: 2.432 ° x (n-61).
308. Rotating each bandage bone according to the second rotation angle to obtain a simulation form of the bandage bone model;
in this embodiment, according to the second rotation angle obtained by calculation, the ribbon bones are sequentially rotated according to the rotation order, and the simulation form of the ribbon bone model can be obtained.
Specifically, for the bandage bone model T, the rotation angle of 1-24 bandage bones is kept unchanged, 4.865 degrees x (n-24) is rotated for 25-61 bandage bones, 2.432 degrees x (n-61) is rotated for 62-98 bandage bones, the vertical line is kept unchanged, the 25-61 bandage bones gradually form a semicircle, and the 62-98 bandage bones gradually form a quarter circle.
309. Performing simulation contraction on the bandage bone model based on the current simulation form of the bandage bone model to obtain a new simulation form of the bandage bone model;
310. judging whether the current bandage bone model in the latest simulation form is reduced to the simulation size;
311. if so, ending the simulation, otherwise, continuing to perform simulation contraction on the band-tied bone model based on the current latest simulation form of the band-tied bone model until the band-tied bone model is reduced to the simulation size, and ending the simulation.
In the embodiment of the invention, the surrounding process of forming the simulation form by the band-shaped skeleton model is introduced in detail, and the band-shaped skeleton is sequentially rotated through the second rotation angle, so that the band-shaped skeleton model is gradually surrounded from the original linear shape or the irregular shape, and the visual effect of simulating the real binding process is obtained.
Referring to fig. 4, a fourth embodiment of the simulation method for binding a binding tape according to the embodiment of the present invention includes:
401. constructing a simulation object to obtain a bandage skeleton model;
402. acquiring a ribbon binding simulation instruction, and determining a track function set and a simulation size of the simulation object according to the simulation instruction;
403. according to the track function set, carrying out simulation surrounding on the bandage bone model to obtain a simulation form of the bandage bone model;
404. calculating the contraction length of each model unit in the bandage skeleton model corresponding to the simulation form according to a preset contraction rate;
in the present embodiment, the band-shaped bone model corresponding to the simulation form is substantially the same as the simulation object, but the size is different, and therefore, the size adjustment and the rotation angle adjustment need to be performed again on the band-shaped bone model. The retraction of the bandage bones is carried out on the basis of the model units, the number of the bandage bones retracted by each model unit is calculated through the retraction rate, and the bandage bones are numbered again after each retraction.
Specifically, in ribbon bone model T, the ribbon bone number of segments of the vertical line of the component is 24, the ribbon bone number of segments of the semicircle and the quarter circle is 37, and then in the length ratio of the three, the vertical line: semi-circle: 1: 0.5 pi: 0.5 pi, if the vertical line retracts 1 section of the bandage bone at a time according to the retraction efficiency, the semicircle and the quarter circle need to retract 1.57 sections of the bandage bone, and then rounding down, namely retract 1 section of the bandage bone at a time.
405. According to the contraction length, contracting the bandage bone model corresponding to the simulation form, and calculating a third rotation angle of each bandage bone after the bandage bone model is contracted;
in this embodiment, after each retraction, the third rotation angle to be selected for each cable tie bone in each model unit is recalculated based on the contracted length.
Specifically, in the bandage bone model T, if, according to the adjustment rate, each model unit needs to retract into 1 section of the bandage bone each time, after the bandage bone model is retracted for the first time, the bandage bone model contains No. 1-95 bandage bones, wherein the third rotation angle of the bandage bones is calculated as follows:
after the No. 1-24 binding belt bones corresponding to the vertical lines retract, the numbers are renumbered to be No. 1-23, and the increment of the rotation angle of the No. 1-23 binding belt bones is 0 degree, so that the corresponding third rotation angle is 0 degree;
after the 25-61 number of the binding band bones corresponding to the semicircle are retracted, the number is renumbered to be 24-59, and then the increment of the rotation angle of the 24-59 number of the binding band bones is as follows: 180 °/36 is 5 °, so the corresponding third angle of rotation is 5 ° x (n-23);
after the number 62-98 bandaged bones corresponding to the quarter circle are retracted, the number is renumbered to be 60-95, and then the increment of the rotation angle of the number 60-95 bandaged bones is as follows: since 90 °/36 is 2.5 °, the corresponding third rotation angle is 2.5 ° x (n-59).
Similarly, after the ribbon bone model is retracted for the second time, the ribbon bone model contains No. 1-92 ribbon bones, wherein the third rotation angles of the ribbon bones are respectively: the vertical line contains 1-22 # cable tie bones, and the third rotation angle is 0; the semicircle contains 23-57 gauge cable tie bone and the third rotation angle is 5.143 ° x (n-22); the quarter circle contains 58-92 gauge cable tie bone and the third rotational angle is 2.571 ° x (n-57); and so on.
406. Rotating each band bone in the contracted band bone model according to the third rotation angle to obtain a new current simulation form of the band bone model;
in this embodiment, the band skeleton is rotated according to the renumbered sequence based on the calculated third rotation angle, and a new current simulation form is obtained after each rotation. Specifically, in the cable tie bone model T, the cable tie bone rotates as follows:
after the first retraction, the bandage bones numbered 1-23 do not need to rotate, the bandage bones numbered 24-59 sequentially rotate by 5 degrees x (n-23), and the bandage bones numbered 60-95 sequentially rotate by 2.5 degrees x (n-59);
the second retraction, the bandage bones numbered 1-23 do not need to rotate, the bandage bones numbered 23-57 rotate 5.143 degrees x (n-22) in sequence, and the bandage bones numbered 57-92 rotate 2.571 degrees x (n-57) in sequence; and so on.
407. Judging whether the current bandage bone model in the latest simulation form is reduced to the simulation size;
408. if so, ending the simulation, otherwise, continuing to perform simulation contraction on the band-tied bone model based on the current latest simulation form of the band-tied bone model until the band-tied bone model is reduced to the simulation size, and ending the simulation.
In the embodiment of the invention, the gradual reduction size of the bandage skeleton model is introduced in detail until the bandage skeleton model is consistent with a simulation object, and the bandage skeleton model and the simulation object are basically similar in visual effect, so that the simulation process of bandage binding can be completed.
In the above description of the simulation method for binding a ribbon according to the embodiment of the present invention, referring to fig. 5, a simulation device for binding a ribbon according to the embodiment of the present invention is described below, where one embodiment of the simulation device for binding a ribbon according to the embodiment of the present invention includes:
the building module 501 is used for building a simulation object to obtain a bandage bone model;
an obtaining module 502, configured to obtain a ribbon binding simulation instruction, and determine a trajectory function set and a simulation size of the simulation object according to the simulation instruction;
a surrounding module 503, configured to perform simulated surrounding on the cable tie bone model according to the trajectory function set, so as to obtain a simulated form of the cable tie bone model;
a contraction module 504, configured to perform simulated contraction on the cable tie bone model based on the current simulated form of the cable tie bone model, so as to obtain a new simulated form of the cable tie bone model;
a judging module 505, configured to judge whether the band-bone model in the current latest simulation form is reduced to the simulation size;
and a circulation module 506, configured to finish the simulation if the cable tie bone model in the current latest simulation form is reduced to the simulation size, or continue to perform simulation contraction on the cable tie bone model based on the current latest simulation form of the cable tie bone model until the simulation size is reduced.
In the embodiment of the invention, a bandage bone model is obtained by constructing a simulation object; acquiring a ribbon binding simulation instruction, and determining a track function set and a simulation size of a simulation object according to the simulation instruction; according to the track function set, carrying out simulation surrounding on the ribbon skeleton model to obtain a simulation form of the ribbon skeleton model; performing simulation contraction on the bandage bone model based on the current simulation form of the bandage bone model to obtain a new simulation form of the bandage bone model; judging whether the current bandage bone model in the latest simulation form is reduced to the simulation size; and when the bandage bone model is reduced to the simulation size, ending the simulation. And a banding picture of the ribbon is realized in the virtual real world.
Referring to fig. 6, another embodiment of the band binding simulation device in the embodiment of the present invention includes:
the building module 601 is used for building a simulation object to obtain a bandage bone model;
an obtaining module 602, configured to obtain a ribbon binding simulation instruction, and determine a trajectory function set and a simulation size of the simulation object according to the simulation instruction;
a surrounding module 603, configured to perform simulated surrounding on the cable tie bone model according to the trajectory function set, so as to obtain a simulated form of the cable tie bone model;
a contraction module 604, configured to perform simulated contraction on the cable tie bone model based on the current simulated form of the cable tie bone model, so as to obtain a new simulated form of the cable tie bone model;
a judging module 605, configured to judge whether the band skeleton model in the current latest simulation form is reduced to the simulation size;
and a circulation module 606, configured to finish the simulation if the cable tie bone model in the current latest simulation form is reduced to the simulation size, or continue to perform simulation contraction on the cable tie bone model based on the current latest simulation form of the cable tie bone model until the simulation size is reduced.
Specifically, the obtaining module 602 is further configured to:
splitting the simulation object to obtain a plurality of corresponding simulation object units;
and screening the track function corresponding to each simulation object unit from a preset function set to obtain a track function set of the simulation object.
Specifically, the surrounding module 603 further includes:
a first calculation unit 6031 configured to calculate a length ratio between the simulation target units and a first rotation angle of each simulation target unit from the set of trajectory functions;
a segmentation unit 6032, configured to segment the band-bone model according to the length ratio to obtain a plurality of model units;
a second calculation unit 6033 for calculating a second rotation angle of each of the taped bones in each of the model units based on the first rotation angle;
and a rotating unit 6034, configured to rotate each cable tie bone according to the second rotation angle, so as to obtain a simulated form of the cable tie bone model.
Specifically, the second calculating unit 6033 further includes:
a computing subunit 60331 configured to compute an increment of the rotation angle of each of the taped bones from the first rotation angle;
a numbering subunit 60332 for numbering the bones of the bandage in the bandage bone model to obtain the rotation sequence of each of the bones of the bandage;
and the accumulation subunit 60333 is configured to perform accumulation of corresponding rotation angle increments on the included angle between the bone bands according to the rotation order, so as to obtain a second rotation angle of each bone band.
Specifically, the contraction module 604 further includes:
a third calculating unit 6041, configured to calculate, according to a preset contraction rate, a contraction length of each model unit in the band skeleton model corresponding to the simulation form;
a contraction unit 6042, configured to contract the bone model of the cable tie corresponding to the simulation form according to the contraction length, and calculate a third rotation angle of each cable tie bone after the cable tie bone model contracts;
and an adjusting unit 6043, configured to rotate, according to the third rotation angle, each band bone in the contracted band bone model to obtain a new current simulation form of the band bone model.
Specifically, the band ligation simulation device further comprises a branch generation module 607, and the branch generation module 607 is configured to:
judging whether the bone of the bandage overflows after the simulation and surrounding of the bone model of the bandage;
and if the overflow rotation angle exists, rotating the overflow cable tie skeleton after the cable tie skeleton model is simulated and surrounded according to the preset overflow rotation angle to obtain the out-of-ring branch of the cable tie skeleton model.
Specifically, the branch generation module 607 is further configured to:
determining the overflow bandage bone after the contraction of the bandage bone model according to the current latest simulation form;
and rotating the overflowing cable tie skeleton after the cable tie skeleton model is contracted until an included angle between the overflowing cable tie skeleton and the outer ring branch is zero, and merging the overflowing cable tie skeleton after the cable tie skeleton model is contracted into the outer ring branch.
In the embodiment of the invention, a bandage bone model is obtained by constructing a simulation object; acquiring a ribbon binding simulation instruction, and determining a track function set and a simulation size of a simulation object according to the simulation instruction; according to the track function set, carrying out simulation surrounding on the ribbon skeleton model to obtain a simulation form of the ribbon skeleton model; performing simulation contraction on the bandage bone model based on the current simulation form of the bandage bone model to obtain a new simulation form of the bandage bone model; judging whether the current bandage bone model in the latest simulation form is reduced to the simulation size; and when the bandage bone model is reduced to the simulation size, ending the simulation. And a banding picture of the ribbon is realized in the virtual real world. The process of surrounding the ribbon bone model is introduced in detail, the ribbon bone model is segmented through the length and the first rotation angle of a simulation object unit in a simulation object, the second rotation angle of the ribbon bone in each model unit is calculated, and each ribbon bone is rotated, so that the ribbon binding simulation form can be obtained; the encircling process of forming the simulation form of the bandage skeleton model is introduced in detail, and the bandage skeleton is sequentially rotated through a second rotation angle, so that the bandage skeleton model gradually encircles from an original straight line shape or an irregular shape, and the visual effect of simulating the real ligating process is obtained; the detailed description shows that the bandage skeleton model gradually retracts until the bandage skeleton model is consistent with a simulation object, and the bandage skeleton model and the simulation object are basically similar in visual effect, so that the simulation process of bandage binding can be completed.
Fig. 5 and 6 above describe the band binding simulation device in the embodiment of the present invention in detail from the perspective of the modular functional entity, and the band binding simulation apparatus in the embodiment of the present invention is described in detail from the perspective of the hardware processing.
Fig. 7 is a schematic structural diagram of a band ligation simulation device according to an embodiment of the present invention, where the band ligation simulation device 700 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 710 (e.g., one or more processors) and a memory 720, one or more storage media 730 (e.g., one or more mass storage devices) for storing applications 733 or data 732. Memory 720 and storage medium 730 may be, among other things, transient storage or persistent storage. The program stored on the storage medium 730 may include one or more modules (not shown), each of which may include a series of instructions operating on the strap tie simulation device 700. Still further, the processor 710 may be configured to communicate with the storage medium 730 to perform a series of instructional operations on the storage medium 730 on the strap tie simulation device 700.
The strap tie simulation device 700 may also include one or more power supplies 740, one or more wired or wireless network interfaces 750, one or more input-output interfaces 760, and/or one or more operating systems 731, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will appreciate that the strap binding simulation device configuration shown in FIG. 7 does not constitute a limitation of the strap binding simulation device, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
The present invention also provides a computer readable storage medium, which may be a non-volatile computer readable storage medium, which may also be a volatile computer readable storage medium, having stored therein instructions, which, when run on a computer, cause the computer to perform the steps of the strap binding simulation method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A ribbon binding simulation method is characterized by comprising the following steps:
constructing a simulation object to obtain a bandage skeleton model;
acquiring a ribbon binding simulation instruction, and determining a track function set and a simulation size of the simulation object according to the simulation instruction;
according to the track function set, carrying out simulation surrounding on the bandage bone model to obtain a simulation form of the bandage bone model;
performing simulation contraction on the bandage bone model based on the current simulation form of the bandage bone model to obtain a new simulation form of the bandage bone model;
judging whether the current bandage bone model in the latest simulation form is reduced to the simulation size;
if so, ending the simulation, otherwise, continuing to perform simulation contraction on the band-tied bone model based on the current latest simulation form of the band-tied bone model until the band-tied bone model is reduced to the simulation size, and ending the simulation.
2. The tie wrap simulation method of claim 1, wherein said determining a set of trajectory functions of the simulated object from the simulation instructions comprises:
splitting the simulation object to obtain a plurality of corresponding simulation object units;
and screening the track function corresponding to each simulation object unit from a preset function set to obtain a track function set of the simulation object.
3. The method for simulating the binding of the binding tape according to claim 2, wherein the step of performing simulated wrapping on the bone model of the binding tape according to the trajectory function set to obtain a simulated form of the bone model of the binding tape comprises the steps of:
calculating the length proportion among the simulation object units and the first rotation angle of each simulation object unit according to the track function set;
segmenting the bandage bone model according to the length proportion to obtain a plurality of model units;
calculating a second rotation angle of each cable-tied bone in each model unit according to the first rotation angle;
and rotating each cable tie bone according to the second rotation angle to obtain the simulation form of the cable tie bone model.
4. The strap binding simulation method of claim 3, wherein calculating a second angle of rotation of each strap bone in each model unit based on the first angle of rotation comprises:
calculating an increment of the rotation angle of each of the taped bones according to the first rotation angle;
numbering the bones of the bandage in the skeleton model of the bandage to obtain the rotation sequence of each bone of the bandage;
and accumulating corresponding rotation angle increments of the included angles among the bones of the cable ties according to the rotation sequence to obtain a second rotation angle of each cable tie bone.
5. The strap binding simulation method of claim 4, wherein the simulated contraction of the strap bone model based on the current simulated form of the strap bone model to obtain a new simulated form of the strap bone model comprises:
calculating the contraction length of each model unit in the bandage skeleton model corresponding to the simulation form according to a preset contraction rate;
according to the contraction length, contracting the bandage bone model corresponding to the simulation form, and calculating a third rotation angle of each bandage bone after the bandage bone model is contracted;
and rotating each band bone in the contracted band bone model according to the third rotation angle to obtain a new current simulation form of the band bone model.
6. The strap binding simulation method according to any one of claims 1 to 5, wherein after the simulated wrapping of the strap bone model according to the set of trajectory functions to obtain the simulated morphology of the strap bone model, the method further comprises:
judging whether the bone of the bandage overflows after the simulation and surrounding of the bone model of the bandage;
and if the overflow rotation angle exists, rotating the overflow cable tie skeleton after the cable tie skeleton model is simulated and surrounded according to the preset overflow rotation angle to obtain the out-of-ring branch of the cable tie skeleton model.
7. The strap binding simulation method of claim 6, wherein after the simulated contraction of the strap bone model based on the current simulated form of the strap bone model to obtain a new simulated form of the strap bone model, further comprising:
determining the overflow bandage bone after the contraction of the bandage bone model according to the current latest simulation form;
and rotating the overflowing cable tie skeleton after the cable tie skeleton model is contracted until an included angle between the overflowing cable tie skeleton and the outer ring branch is zero, and merging the overflowing cable tie skeleton after the cable tie skeleton model is contracted into the outer ring branch.
8. The utility model provides a ribbon ligature analogue means which characterized in that, ribbon ligature analogue means includes:
the system comprises a building module, a bone model and a bone model constructing module, wherein the bone model is composed of multiple sections of cable ties;
the building module is used for building a simulation object to obtain a bandage bone model;
the acquisition module is used for acquiring a ribbon binding simulation instruction and determining a track function set and a simulation size of the simulation object according to the simulation instruction;
the surrounding module is used for performing simulation surrounding on the cable tie bone model according to the track function set to obtain a simulation form of the cable tie bone model;
the contraction module is used for carrying out simulated contraction on the bandage bone model based on the current simulated form of the bandage bone model to obtain a new simulated form of the bandage bone model;
the judging module is used for judging whether the band skeleton model in the current latest simulation form is reduced to the simulation size or not;
and the circulation module is used for ending the simulation if the band-tie bone model in the current latest simulation form is reduced to the simulation size, and otherwise, continuing to perform simulation contraction on the band-tie bone model based on the current latest simulation form of the band-tie bone model until the simulation size is reduced.
9. The utility model provides a ribbon ligature simulation equipment which characterized in that, ribbon ligature simulation equipment includes: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line;
the at least one processor invokes the instructions in the memory to cause the strap tie simulation device to perform the strap tie simulation method of any of claims 1-7.
10. A computer-readable storage medium, having stored thereon a computer program, characterized in that the computer program, when being executed by a processor, carries out a band tie simulation method according to any one of the claims 1-7.
CN202010476622.7A 2020-05-29 2020-05-29 Ribbon binding simulation method, device, equipment and storage medium Active CN111625096B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010476622.7A CN111625096B (en) 2020-05-29 2020-05-29 Ribbon binding simulation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010476622.7A CN111625096B (en) 2020-05-29 2020-05-29 Ribbon binding simulation method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111625096A true CN111625096A (en) 2020-09-04
CN111625096B CN111625096B (en) 2023-06-16

Family

ID=72260781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010476622.7A Active CN111625096B (en) 2020-05-29 2020-05-29 Ribbon binding simulation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111625096B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112884907A (en) * 2021-02-02 2021-06-01 深圳市瑞立视多媒体科技有限公司 Ribbon binding simulation method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019109729A1 (en) * 2017-12-08 2019-06-13 华为技术有限公司 Bone posture determining method and device, and computer readable storage medium
CN110264552A (en) * 2019-06-24 2019-09-20 网易(杭州)网络有限公司 It is a kind of to simulate pilomotor method, apparatus, electronic equipment and storage medium
CN111161427A (en) * 2019-12-04 2020-05-15 北京代码乾坤科技有限公司 Self-adaptive adjustment method and device of virtual skeleton model and electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019109729A1 (en) * 2017-12-08 2019-06-13 华为技术有限公司 Bone posture determining method and device, and computer readable storage medium
CN110264552A (en) * 2019-06-24 2019-09-20 网易(杭州)网络有限公司 It is a kind of to simulate pilomotor method, apparatus, electronic equipment and storage medium
CN111161427A (en) * 2019-12-04 2020-05-15 北京代码乾坤科技有限公司 Self-adaptive adjustment method and device of virtual skeleton model and electronic device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张莹;李志俊;: "骨骼肌肉建模及其仿真" *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112884907A (en) * 2021-02-02 2021-06-01 深圳市瑞立视多媒体科技有限公司 Ribbon binding simulation method, device, equipment and storage medium
CN112884907B (en) * 2021-02-02 2024-03-15 瑞立视多媒体科技(北京)有限公司 Ribbon binding simulation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111625096B (en) 2023-06-16

Similar Documents

Publication Publication Date Title
CN101473351B (en) Musculo-skeletal shape skinning
JP2016112108A5 (en) Exercise information generation apparatus, exercise information generation method, and exercise information generation program
CN111583367B (en) Hair simulation method and system
CN103824316A (en) Method and equipment for generating action pictures for object
US10482647B2 (en) Computer-implemented method for simulating a body taking a posture
CN104008561A (en) Simulation process type animation realizing method based on GPU
CN111625096A (en) Ribbon binding simulation method, device, equipment and storage medium
CN111508080B (en) Method for realizing adhesive tape winding simulation based on UE4 engine and related equipment
GB2546820A (en) Animating a virtual object in a virtual world
GB2546817A (en) Animating a virtual object in a virtual world
CN104517310A (en) Robot animation method using inverse dynamical simulation
CN102184342A (en) Virtual-real fused hand function rehabilitation training system and method
CN113096235A (en) Virtual object control method and device, electronic equipment and storage medium
CN107038430B (en) Method and device for constructing human body posture data sample
CN111402371A (en) Animation object processing method, device, equipment and storage medium
GB2546815B (en) Animating a virtual object in a virtual world
WO2016188551A1 (en) Animating a virtual object in a virtual world
Guo et al. Skinning With Deformable Chunks.
CN112884907B (en) Ribbon binding simulation method, device, equipment and storage medium
CN114332317A (en) Animation data processing method, animation data processing device, program product, medium, and electronic apparatus
Mithraratne et al. An efficient heterogeneous continuum model to simulate active contraction of facial soft tissue structures
Baxter et al. Automatic addition of physics components to procedural content
CN116968075A (en) Method, apparatus and device for correcting joint distortion in a gesture drive
Pai et al. Eulerian solids for soft tissue and more
WO2009006727A1 (en) Modeling the motion of an articulated object

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