CN111625096B - 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
CN111625096B
CN111625096B CN202010476622.7A CN202010476622A CN111625096B CN 111625096 B CN111625096 B CN 111625096B CN 202010476622 A CN202010476622 A CN 202010476622A CN 111625096 B CN111625096 B CN 111625096B
Authority
CN
China
Prior art keywords
simulation
ribbon
band
bone model
model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010476622.7A
Other languages
Chinese (zh)
Other versions
CN111625096A (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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to the technical field of computer vision recognition, and discloses a method, a device, equipment and a storage medium for simulating binding of a binding belt, which are used for solving the problem of how to reproduce the binding process of the binding belt in the virtual reality world. The ribbon binding simulation method comprises the following steps: constructing a simulation object to obtain a ribbon skeleton model; acquiring a binding simulation instruction of the binding belt, 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, simulating and encircling the band bone model to obtain a simulation form of the band bone model; based on the current simulation form of the ribbon-bone model, performing simulation shrinkage on the ribbon-bone model to obtain a new simulation form of the ribbon-bone model; judging whether the band bone model of the current latest simulation form is reduced to the simulation size; and when the band bone model is reduced to the simulation size, ending the simulation. The binding picture of the binding band is realized in the virtual reality 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 method, a device, equipment and a storage medium for simulating binding of a binding belt.
Background
The virtual reality technology is a set of multiple technologies such as simulation technology, computer graphics, man-machine interface technology, multimedia technology, sensing technology, network technology and the like, and is a leading edge subject and research field with strong intersection. Virtual reality technology mainly includes aspects such as natural skills, sensing equipment, simulation environment, perception and the like. The natural skill is that the human body behavior is processed by a computer to acquire data related to the behavior, responds in real time and is fed back to the five sense organs of the human body; the sensing equipment refers to three-dimensional interaction equipment; the simulation environment is a three-dimensional stereo image which is generated by a computer and simulates a real transaction; perception refers to the computer being able to generate human vision, hearing, touch, force sense, exercise, smell, taste, etc.
Some prop operations are performed in the virtual space by people, some are physical props, some are not, and some are directly generated by a computer without the physical props, so that the binding of the binding belt belongs to the latter. The ribbon is widely applied in the display life, and if the ribbon binding process is to be simulated in virtual reality, the ribbon is very difficult.
Disclosure of Invention
The invention mainly aims to solve the technical problem of how to reproduce the binding process of the binding belt in the virtual reality world.
The first aspect of the invention provides a ribbon binding simulation method, which comprises the following steps:
constructing a simulation object to obtain a ribbon skeleton model;
acquiring a binding simulation instruction of a binding belt, 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, simulating and encircling the band-based skeleton model to obtain a simulation form of the band-based skeleton model;
based on the current simulation form of the ribbon-bone model, performing simulation shrinkage on the ribbon-bone model to obtain a new simulation form of the ribbon-bone model;
judging whether the band bone model of the current latest simulation form is reduced to the simulation size;
if yes, ending the simulation, otherwise, based on the current latest simulation form of the ribbon-bone model, continuing to perform simulation shrinkage on the ribbon-bone model, and ending the simulation until the ribbon-bone model is reduced to the simulation size.
Optionally, in a first implementation manner of the first aspect of the present invention, the determining, according to the simulation instruction, a trajectory function set of the simulation object includes:
splitting the simulation object to obtain a plurality of corresponding simulation object units;
And screening track functions 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, according to the trajectory function set, simulation surrounding on the ribbon-skeleton model to obtain a simulated form of the ribbon-skeleton 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 ribbon skeleton model according to the length proportion to obtain a plurality of model units;
calculating a second rotation angle of each ribbon bone in each model unit according to the first rotation angle;
and rotating each ribbon-bone according to the second rotation angle to obtain the simulation form of the ribbon-bone model.
Optionally, in a third implementation manner of the first aspect of the present invention, calculating the second rotation angle of each ribbon-skeleton in each model unit according to the first rotation angle includes:
calculating a rotation angle increment of each ribbon bone according to the first rotation angle;
numbering the band bones in the band bone model to obtain the rotation sequence of each band bone;
And according to the rotation sequence, accumulating corresponding rotation angle increments of the included angles among all the ribbon bones to obtain a second rotation angle of each ribbon bone.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the performing, based on the current simulated morphology of the ribbon-skeleton model, the simulated shrinkage of the ribbon-skeleton model to obtain a new simulated morphology of the ribbon-skeleton model includes:
calculating the contraction length of each model unit in the ribbon-bone model corresponding to the simulation form according to the preset contraction rate;
according to the contraction length, contracting the band bone model corresponding to the simulation form, and calculating a third rotation angle of each band bone after the band bone model is contracted;
and according to the third rotation angle, rotating each ribbon bone in the contracted ribbon bone model to obtain a new current simulation form of the ribbon bone model.
Optionally, in a fifth implementation manner of the first aspect of the present invention, after the performing simulation surrounding on the band bone model according to the trajectory function set to obtain a simulated form of the band bone model, the method further includes:
Judging whether overflow ribbon bones exist after the ribbon bone model is simulated and surrounded;
if the band bone model exists, according to a preset overflow rotation angle, the overflow band bone after the band bone model simulation surrounds is rotated, and the extra-annular branch of the band bone model is obtained.
Optionally, in a sixth implementation manner of the first aspect of the present invention, after performing simulated shrinkage on the band-bone model based on the current simulated morphology of the band-bone model, obtaining a new simulated morphology of the band-bone model, the method further includes:
determining overflow ribbon bones after the ribbon bone model is contracted according to the current latest simulation form;
and rotating the overflowing ribbon bones after the ribbon bone model is contracted until the included angle between the overflowing ribbon bones and the outer ring branches is zero, stopping rotating, and merging the overflowing ribbon bones after the ribbon bone model is contracted to the outer ring branches.
A second aspect of the present invention provides a tie-binding simulation apparatus comprising:
the building module is used for building a simulation object to obtain a ribbon skeleton model;
the acquisition module is used for acquiring a binding simulation instruction of the binding belt 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 carrying out simulation surrounding on the ribbon-bone model according to the track function set to obtain a simulation form of the ribbon-bone model;
the contraction module is used for carrying out simulated contraction on the band-based bone model based on the current simulated form of the band-based bone model to obtain a new simulated form of the band-based bone model;
the judging module is used for judging whether the band bone model in the current latest simulation form is reduced to the simulation size;
and the circulation module is used for ending the simulation if the band bone model with the current latest simulation form is reduced to the simulation size, otherwise, continuing to perform simulation shrinkage on the band bone model based on the current latest simulation form of the band bone model until the band bone model is reduced to the simulation size, and ending the simulation.
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 track functions 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 surrounding module further includes:
the first calculation unit is used for 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;
the segmentation unit is used for segmenting the ribbon skeleton 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 band bone in each model unit based on the first rotation angle;
and the rotating unit is used for rotating each ribbon-bone according to the second rotation angle to obtain the simulation form of the ribbon-bone model.
Optionally, in a third implementation manner of the second aspect of the present invention, the second computing unit further includes:
a calculation subunit for calculating a rotation angle increment of each band bone according to the first rotation angle;
a numbering subunit, configured to number the band bones in the band bone model, and obtain a rotation sequence of each band bone;
and the accumulation subunit is used for accumulating the corresponding rotation angle increment of the included angle between the band bones according to the rotation sequence to obtain a second rotation angle of each band bone.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the contraction module further includes:
the third calculation unit is used for calculating the contraction length of each model unit in the ribbon-bone model corresponding to the simulation form according to the preset contraction rate;
the contraction unit is used for contracting the band bone model corresponding to the simulation form according to the contraction length and calculating a third rotation angle of each band bone after the band bone model is contracted;
and the adjusting unit is used for rotating each ribbon bone in the contracted ribbon bone model according to the third rotation angle to obtain a new current simulation form of the ribbon bone model.
Optionally, in a fifth implementation manner of the second aspect of the present invention, the band ligature simulation apparatus further includes a branch generating module, where the branch generating module is configured to:
judging whether overflow ribbon bones exist after the ribbon bone model is simulated and surrounded;
if the band bone model exists, according to a preset overflow rotation angle, the overflow band bone after the band bone model simulation surrounds is rotated, and the extra-annular branch of the band bone model is obtained.
Optionally, in a sixth implementation manner of the second aspect of the present invention, the branch generating module is further configured to:
Determining overflow ribbon bones after the ribbon bone model is contracted according to the current latest simulation form;
and rotating the overflowing ribbon bones after the ribbon bone model is contracted until the included angle between the overflowing ribbon bones and the outer ring branches is zero, stopping rotating, and merging the overflowing ribbon bones after the ribbon bone model is contracted to the outer ring branches.
A third aspect of the present invention provides a ligature simulation apparatus comprising: a memory and at least one processor, the memory having instructions stored therein, the memory and the at least one processor being interconnected by a line; the at least one processor invokes the instructions in the memory to cause the ligature simulation apparatus to perform the ligature simulation method described above.
A fourth aspect of the invention provides a computer readable storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the above-described tie wrap simulation method.
The technical scheme provided by the invention comprises the steps of constructing a simulation object to obtain a ribbon skeleton model; acquiring a binding simulation instruction of the binding belt, 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, simulating and encircling the band bone model to obtain a simulation form of the band bone model; based on the current simulation form of the ribbon-bone model, performing simulation shrinkage on the ribbon-bone model to obtain a new simulation form of the ribbon-bone model; judging whether the band bone model of the current latest simulation form is reduced to the simulation size; and when the band bone model is reduced to the simulation size, ending the simulation. The binding picture of the binding band is realized in the virtual reality world.
Drawings
FIG. 1 is a schematic view of a first embodiment of a method for simulating banding in an embodiment of the invention;
FIG. 2 is a schematic view of a second embodiment of a band ligature simulation method in accordance with an embodiment of the invention;
FIG. 3 is a schematic view of a third embodiment of a band ligature simulation method in accordance with an embodiment of the invention;
FIG. 4 is a schematic view of a fourth embodiment of a band ligature simulation method in accordance with an embodiment of the invention;
FIG. 5 is a schematic view of one embodiment of a band ligature simulation apparatus in accordance with an embodiment of the invention;
FIG. 6 is a schematic view of another embodiment of a tie wrap simulation device in accordance with an embodiment of the present invention;
FIG. 7 is a schematic view of an embodiment of a band ligature simulation apparatus in accordance with an embodiment of the invention.
Detailed Description
The embodiment of the invention provides a method, a device, equipment and a storage medium for simulating binding of a binding belt, which comprise the steps of constructing a simulation object to obtain a bone model of the binding belt; acquiring a binding simulation instruction of the binding belt, 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, simulating and encircling the band bone model to obtain a simulation form of the band bone model; based on the current simulation form of the ribbon-bone model, performing simulation shrinkage on the ribbon-bone model to obtain a new simulation form of the ribbon-bone model; judging whether the band bone model of the current latest simulation form is reduced to the simulation size; and when the band bone model is reduced to the simulation size, ending the simulation. The binding picture of the binding band is realized in the virtual reality world.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, 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 or inherent to such process, method, article, or apparatus.
For ease of understanding, a specific flow of an embodiment of the present invention is described below with reference to fig. 1, where a first embodiment of a method for simulating tie binding according to the present invention includes:
101. constructing a simulation object to obtain a ribbon skeleton model;
it will be appreciated that the execution body of the present invention may be a tie wrap simulation device, or may be a terminal or server, and is not limited in this particular context. The embodiment of the invention is described by taking a server as an execution main body as an example.
In this embodiment, simulation of band binding is implemented in a virtual reality space, a simulation object of the band needs to be constructed first, and here, a band bone model of the simulation object is constructed by using UE4 (universal Engine4, phantom 4 Engine), wherein the band bone model is composed of a plurality of band bones, each band bone has a fixed length, and the total length of the band bone model is obtained by combining. For example, the band bone model consists of 100 band bones, and each band bone has a length of 0.1cm, and the band bone model has a length of 10cm.
102. Acquiring a binding simulation instruction of a binding belt, and determining a track function set and a simulation size of the simulation object according to the simulation instruction;
in this embodiment, the band binding simulation instruction of the band skeleton model is actively triggered and sent by a user, and the triggering of the band binding simulation instruction can be realized through a prop control, that is, through a user interface control, after the user carries VR (Virtual Realty) equipment, any visual control or element of the visual virtual space, such as a control of a picture, an input frame, a text frame, a button, a label, a band binding action and the like, can respond to the operation of the user, and can make a specified action in a corresponding band binding section, that is, can trigger the band binding simulation instruction of the band skeleton model; the other method is to detect the behavior operation of the user through the photographing equipment, and when the detected user is used as the preset action of the band binding, the band binding simulation instruction of the band bone model can be triggered.
In addition, parameters of the simulation object in the simulation instruction are bound by the binding tape so as to describe the shape track and the size of the simulation object. The simulation object is formed by combining a plurality of different shapes or parts of shapes, so that the simulation object is needed to be cut into a plurality of simulation object units describing a single shape, such as a linear equation, a circular equation, an elliptic equation, a spherical equation and the like. For example, the composition of the ribbon skeleton model T is a vertical line with a length of a, a semicircle with a diameter of a, which is tangent to the right of the vertical line and extends out, and a quarter circle with a radius of a, which extends out from the semicircle to the left and up direction, so that the simulation object can be divided into the simulation object units with the three shapes, and three track functions of a straight line equation, a circle equation with a radius of a and a circle equation with a diameter of a are obtained, namely the function set of the prevention object. The simulation size of the simulation object may be represented by calculating the length or diameter of each simulation object unit. The final form of the binding simulation of the binding belt can be obtained by limiting the shape and the length of the simulation object.
103. According to the track function set, simulating and encircling the band-based skeleton model to obtain a simulation form of the band-based skeleton model;
In this embodiment, the fitting function set has described the motion trajectory of the simulation object, so the ribbon bone model may be controlled to encircle 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 dividing the ribbon skeleton model according to the length proportion to obtain a multi-section model unit; according to the track function and the rotation angle of each section of model unit, the rotation angle of each band skeleton is calculated, and the visual effect of simulation surrounding of the band skeleton can be achieved by rotating the band skeleton. Preferably, the UE4 (Unreal Engine4, phantom 4 Engine) may be used to control the wrapping of the band bone model along the set of fitting functions.
The initial simulation form of the binding simulation is formed here, and it should be noted that the direction should be uniform when calculating the rotation angle of the binding bone, for example, all clockwise or all counterclockwise.
104. Based on the current simulation form of the ribbon-bone model, performing simulation shrinkage on the ribbon-bone model to obtain a new simulation form of the ribbon-bone model;
in this embodiment, after the ribbon-skeleton model forms the simulation form in the virtual space, the shape of the ribbon-skeleton model is only similar to or the same as that of the simulation object, and the size of the ribbon-skeleton model needs to be adjusted, so that the ribbon-skeleton model is completely the same as the simulation object.
The size of the model is adjusted by adjusting the size of the ribbon bone model, and then the simulation form of the bone model is kept unchanged by adjusting the rotation angle. Specifically, the number of the ribbon bones which are retracted each time can be determined by taking the ribbon bones as fine grains through the contraction rate, the ribbon bone model is contracted, and then the rotation angles of the model units are adjusted, so that the whole rotation angles of the model units are consistent with those before contraction, and new simulation forms with the same shape but different sizes are obtained.
105. Judging whether the band bone model of the current latest simulation form is reduced to the simulation size;
in this embodiment, the simulation size of the simulation object defines the shape and size of the ribbon-skeleton model, and when the ribbon-skeleton model of the latest simulation shape is identical to the simulation size of the simulation object, the ribbon-skeleton model and the simulation object can be considered to be approximately the same, wherein the ribbon-skeleton model and the simulation object can be compared according to the length of the ribbon-skeleton model and the simulation object as the discrimination criteria.
Specifically, the number of band-oriented bones corresponding to the length of each simulation object unit in the simulation object can be calculated, then compared with the number of band-oriented bones of each model unit in the corresponding band-oriented bone model, and when the number of band-oriented bones of each simulation object unit is the same as the number of band-oriented bones of each model unit, the simulation object unit and the model unit can be considered to be approximately the same.
106. If yes, ending the simulation, otherwise, based on the current latest simulation form of the ribbon-bone model, continuing to perform simulation shrinkage on the ribbon-bone model, and ending the simulation until the ribbon-bone model is reduced to the simulation size.
In this embodiment, when the band bone model is approximately the same as the simulation object, the band binding simulation is determined to be completed, and the simulation is ended. If the two are not approximately the same, the contraction and the discrimination of the ribbon-bone model are needed to be carried out again, and the cyclic operation is carried out until the two are approximately the same.
In the embodiment of the invention, a band skeleton model is obtained by constructing a simulation object; acquiring a binding simulation instruction of the binding belt, 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, simulating and encircling the band bone model to obtain a simulation form of the band bone model; based on the current simulation form of the ribbon-bone model, performing simulation shrinkage on the ribbon-bone model to obtain a new simulation form of the ribbon-bone model; judging whether the band bone model of the current latest simulation form is reduced to the simulation size; and when the band bone model is reduced to the simulation size, ending the simulation. The binding picture of the binding band is realized in the virtual reality world.
Referring to fig. 2, a second embodiment of a band binding simulation method according to an embodiment of the present invention includes:
201. constructing a simulation object to obtain a ribbon skeleton model;
202. acquiring a binding simulation instruction of a binding belt, 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 binding simulation instruction of the binding belt;
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 ribbon-bone model is segmented by calculating the length ratio between the simulation object units, and then determining the second rotation angle of the corresponding model unit according to the first rotation angles. Specifically, for example, the composition shape of the ribbon skeleton model T is a vertical line with a length a, a semicircle with a diameter a tangent to the right of the vertical line and extending from the vertical line, and a quarter circle with a radius a extending from the upper left of the semicircle is formed, the track length of the vertical line is a, the track length of the quarter circle is 2pi× (a/2) ×0.5=0.5pi a, the track length of the semicircle is 2pi×a×0.25=0.5pi a, 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 ribbon skeleton model according to the length proportion to obtain a plurality of model units;
in this embodiment, the ribbon skeleton model is divided according to the length ratio between the simulation object units in the simulation object, so as to obtain the lengths required by the model units, and the model units are folded to correspond to the shapes of the simulation object units, so that the ribbon skeleton model is more real in vision. It is worth mentioning that the shape of the tie bone model constructed by the UE4 preferably used is transformed in the manner of a tie bone, which is folded by the angle of the tie bone and finally rotated into the desired shape.
Specifically, in the band bone model T of the previous step, the vertical line length is a, the track length of the semicircle is 0.5 pi a, the track length of the quarter circle is 0.5 pi a, if the band bone model length is 100 cm, there are 100 band bones in total, according to the formula: 0.5pi a+0.5pi a+a=100, giving a= 24.145, i.e. a vertical line length of 24.145 cm, a semicircular and quarter circle track length of 37.927 cm, or a vertical line consisting of 24.145 tie bones, with 24 being rounded down, a semicircle and quarter circle consisting of 37.927 tie bones, with 37 being rounded down.
206. Calculating a second rotation angle of each ribbon 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 knots of the band skeleton in the model unit may be calculated, and the average angles may be accumulated according to the rotation order, so as to obtain the second rotation angle of each band skeleton.
If the first rotation angle of one of the model units of the band bone model 1 is a and the number of band bone nodes of the model unit is w, the second rotation angle of each band bone according to the rotation sequence is: a/w (m), where m is the rotation order number.
207. Rotating each ribbon-bone according to the second rotation angle to obtain a simulation form of the ribbon-bone model;
in this embodiment, the band skeleton is rotated by the magnitude corresponding to the second rotation angle in the numbering order, and the simulation form of the band skeleton model conforming to the simulation object is gradually obtained, wherein the two are identical in form only and different in size.
208. Based on the current simulation form of the ribbon-bone model, performing simulation shrinkage on the ribbon-bone model to obtain a new simulation form of the ribbon-bone model;
209. Judging whether the band bone model of the current latest simulation form is reduced to the simulation size;
210. if yes, ending the simulation, otherwise, based on the current latest simulation form of the ribbon-bone model, continuing to perform simulation shrinkage on the ribbon-bone model, and ending the simulation until the ribbon-bone model is reduced to the simulation size.
In the embodiment of the invention, the process of encircling the band skeleton model is described in detail, the band skeleton model is segmented through the length and the first rotation angle of the simulation object units in the simulation object, the second rotation angle of the band skeleton in each model unit is calculated, and each band skeleton is rotated, so that the band binding simulation form can be obtained.
Referring to fig. 3, a third embodiment of a band binding simulation method according to an embodiment of the present invention includes:
301. constructing a simulation object to obtain a ribbon skeleton model;
302. acquiring a binding simulation instruction of a binding belt, 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 ribbon skeleton model according to the length proportion to obtain a plurality of model units;
305. calculating a rotation angle increment of each ribbon bone according to the first rotation angle;
in this embodiment, for the second rotation angle, the average angle of the second rotation angle with respect to the number of knots may be calculated based on the number of knots of the ribbon-skeleton in the model unit, resulting in an increase in rotation angle.
Specifically, in the band bone model T, the band bone pitch number of the vertical line is 24, and the band bone pitch number of the semicircle and the quarter circle is 37; the first rotation angle of the vertical line is 0 degrees, the first rotation angle of the semicircle is 180 degrees, the first rotation angle of the quarter circle is 90 degrees, and the rotation angle increment of the three is calculated as follows:
the ribbon bone model is vertically placed, and the rotation angle increment of the model unit corresponding to the vertical line is 0 degrees;
the rotation angle increment of the model unit corresponding to the semicircle is as follows: 180/37= 4.865;
the rotation angle increment of the model unit corresponding to the quarter circle is as follows: 90/37=2.432°.
306. Numbering the band bones in the band bone model to obtain the rotation sequence of each band bone;
in this embodiment, the band skeleton is sequentially numbered for sequential rotation of the band skeleton according to the number, and the display effect thereof is as in the band forming process of the band.
Specifically, if each of the strap bones in the strap-bone model T is numbered 1-98, the strap bones of the vertical lines are numbered 1-24 sequentially, the strap bones of the semicircle are numbered 25-61 sequentially, and the quarter circle is numbered 62-98 sequentially.
307. According to the rotation sequence, accumulating corresponding rotation angle increments of the included angles among all the ribbon bones to obtain a second rotation angle of each ribbon bone;
in this embodiment, the second rotational angle of each strap bone may be obtained by accumulating the rotational angle increments according to the rotational sequence.
Specifically, in the band bone model T of the previous step, the second rotation angles of the three are calculated as follows:
the rotation angle increment of the model unit corresponding to the vertical line is 0 degrees, and the second rotation angle of the 1-24-number ribbon bones in the model unit is also 0;
the rotation angle increment of the model unit corresponding to the semicircle is as follows: 180/37= 4.865 °, the second rotation angle of the 25-61 band bone in the semicircle is: 4.865 DEG x (N-24), where N is the strap skeleton number and N ε N;
the rotation angle increment of the model unit corresponding to the quarter circle is as follows: 90/37=2.432 °, the second rotation angle of the 62-98 band bone in the quarter circle is: 2.432 DEG x (n-61).
308. Rotating each ribbon-bone according to the second rotation angle to obtain a simulation form of the ribbon-bone model;
in this embodiment, according to the calculated second rotation angle, the band bone is sequentially rotated according to the rotation sequence, so that the simulation form of the band bone model can be obtained.
Specifically, if for the tie bone model T, the rotation angle of the tie bones is kept unchanged for the tie bones 1-24, 4.865 DEG x (n-24) is rotated for the tie bones 25-61, 2.432 DEG x (n-61) is rotated for the tie bones 62-98, the vertical line is kept unchanged, the tie bones 25-61 gradually form a semicircle, and the tie bones 62-98 gradually form a quarter circle.
309. Based on the current simulation form of the ribbon-bone model, performing simulation shrinkage on the ribbon-bone model to obtain a new simulation form of the ribbon-bone model;
310. judging whether the band bone model of the current latest simulation form is reduced to the simulation size;
311. if yes, ending the simulation, otherwise, based on the current latest simulation form of the ribbon-bone model, continuing to perform simulation shrinkage on the ribbon-bone model, and ending the simulation until the ribbon-bone model is reduced to the simulation size.
In the embodiment of the invention, the surrounding process of the band skeleton model to form the simulation form is described in detail, and the band skeleton is sequentially rotated through the second rotation angle, so that the band skeleton model gradually surrounds from the original linear shape or irregular shape, and the visual effect of the simulation reality binding process is obtained.
Referring to fig. 4, a fourth embodiment of a band binding simulation method according to an embodiment of the present invention includes:
401. constructing a simulation object to obtain a ribbon skeleton model;
402. acquiring a binding simulation instruction of a binding belt, 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, simulating and encircling the band-based skeleton model to obtain a simulation form of the band-based skeleton model;
404. calculating the contraction length of each model unit in the ribbon-bone model corresponding to the simulation form according to the preset contraction rate;
in this embodiment, the band bone model corresponding to the simulated form is only substantially the same as the simulated object, but the size is different, so that the band bone model needs to be subjected to size adjustment and rotation angle adjustment again. The retraction of the band skeleton is performed on the basis of the model units, and the number of band skeletons for each retraction of each model unit is calculated by the retraction rate, and it is noted that the band skeletons are numbered again sequentially after each retraction.
Specifically, in the band bone model T, the band bone pitch number of the vertical line of the component parts is 24, and the band bone pitch number of the semicircle and the quarter circle is 37, so that the vertical line is formed in the length ratio of the three: semicircle: quarter circle = 1:0.5 pi: if 1 section of ribbon bone is retracted at a time according to the retraction efficiency vertical line, the semicircle and the quarter circle need to be retracted by 1.57 sections of ribbon bone, and then the semicircle and the quarter circle are rounded downwards, namely 1 section of ribbon bone is retracted at a time.
405. According to the contraction length, contracting the band bone model corresponding to the simulation form, and calculating a third rotation angle of each band bone after the band bone model is contracted;
in this embodiment, after each retraction, the third rotation angle to be selected for each tie bone in each model element is recalculated based on the length after retraction.
Specifically, in the band-bone model T, if 1 band-bone is to be retracted for each model unit according to the adjustment rate, the band-bone model includes No. 1-95 band-bones after the first retraction of the band-bone model, wherein the third rotation angle of the band-bone is calculated as follows:
after the 1-24 band skeletons corresponding to the vertical lines are retracted, the corresponding third rotation angle is 0 because the rotation angle increment of the 1-23 band skeletons is 0 degrees when the renumbered 1-23 band skeletons are renumbered;
After the 25-61 band skeletons corresponding to the semicircle are retracted, the band skeletons are renumbered as 24-59, and the rotation angle increment of the 24-59 band skeletons is as follows: 180 °/36=5°, so the corresponding third rotation angle is 5 ° x (n-23);
after the corresponding 62-98 band skeletons of the quarter circle are retracted, the renumbered 60-95 band skeletons are renumbered, and the rotation angle increment of the 60-95 band skeletons is as follows: 90 °/36=2.5°, the corresponding third rotation angle is 2.5 ° x (n-59).
Similarly, after the second retraction of the band bone model, the band bone model comprises band bones of numbers 1-92, wherein the third rotation angles of the band bones are respectively: the vertical line comprises 1-22 # strapping bones, and the third rotation angle is 0; the semicircle comprises 23-57 # ribbon bones, and the third rotation angle is 5.143 DEG x (n-22); the quarter circle comprises 58-92 # strapping bones, and the third rotation angle is 2.571 DEG x (n-57); and so on.
406. According to the third rotation angle, each ribbon bone in the contracted ribbon bone model is rotated to obtain a new current simulation form of the ribbon bone model;
in this embodiment, the band skeleton is rotated according to the third rotation angle obtained by calculation in the renumbering order, and after each rotation, a new current simulation form is obtained. Specifically, in the tie bone model T, the tie bone rotation is as follows:
After the first retraction, the band skeletons numbered 1-23 do not need to be rotated, the band skeletons numbered 24-59 are sequentially rotated by 5 degrees x (n-23), and the band skeletons numbered 60-95 are sequentially rotated by 2.5 degrees x (n-59) in the sequence of numbers;
the second time of retraction, the band skeletons numbered 1-23 do not need to be rotated, the band skeletons numbered 23-57 are sequentially rotated by 5.143 degrees x (n-22), and the band skeletons numbered 57-92 are sequentially rotated by 2.571 degrees x (n-57); and so on.
407. Judging whether the band bone model of the current latest simulation form is reduced to the simulation size;
408. if yes, ending the simulation, otherwise, based on the current latest simulation form of the ribbon-bone model, continuing to perform simulation shrinkage on the ribbon-bone model, and ending the simulation until the ribbon-bone model is reduced to the simulation size.
In the embodiment of the invention, the method and the device have the advantages that the dimension of the band bone model is gradually reduced until the band bone model is consistent with the simulation object, and the band bone model and the simulation object are basically similar in visual effect, so that the simulation process of band binding can be completed.
The method for simulating the binding of the binding tape in the embodiment of the present invention is described above, and the device for simulating the binding tape in the embodiment of the present invention is described below, referring to fig. 5, one embodiment of the device for simulating the binding tape in the embodiment of the present invention includes:
A construction module 501, configured to construct a simulation object to obtain a ribbon skeleton model;
the acquisition module 502 is used for acquiring a binding simulation instruction of the binding belt and determining a track 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 ribbon-skeleton model according to the trajectory function set, so as to obtain a simulated form of the ribbon-skeleton model;
a contraction module 504, configured to perform simulated contraction on the ribbon-bone model based on a current simulated form of the ribbon-bone model, to obtain a new simulated form of the ribbon-bone model;
the judging module 505 is used for judging whether the band bone model of the current latest simulation form is reduced to the simulation size;
and the circulation module 506 is configured to end the simulation if the band-based bone model with the current latest simulation form is reduced to the simulation size, or else, continue performing simulation shrinkage on the band-based bone model based on the current latest simulation form of the band-based bone model until the band-based bone model is reduced to the simulation size, and end the simulation.
In the embodiment of the invention, a band skeleton model is obtained by constructing a simulation object; acquiring a binding simulation instruction of the binding belt, 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, simulating and encircling the band bone model to obtain a simulation form of the band bone model; based on the current simulation form of the ribbon-bone model, performing simulation shrinkage on the ribbon-bone model to obtain a new simulation form of the ribbon-bone model; judging whether the band bone model of the current latest simulation form is reduced to the simulation size; and when the band bone model is reduced to the simulation size, ending the simulation. The binding picture of the binding band is realized in the virtual reality world.
Referring to fig. 6, another embodiment of a band ligature simulation apparatus according to an embodiment of the present invention includes:
the construction module 601 is configured to construct a simulation object to obtain a ribbon skeleton model;
the acquisition module 602 is configured to acquire a band binding simulation instruction, and determine a trajectory function set and a simulation size of the simulation object according to the simulation instruction;
the surrounding module 603 is configured to perform simulated surrounding on the ribbon-skeleton model according to the trajectory function set, so as to obtain a simulated form of the ribbon-skeleton model;
a contraction module 604, configured to perform simulated contraction on the ribbon-bone model based on the current simulated morphology of the ribbon-bone model, to obtain a new simulated morphology of the ribbon-bone model;
a judging module 605, configured to judge whether the band skeleton model of the current latest simulation form is reduced to the simulation size;
and the circulation module 606 is configured to end the simulation if the band-based bone model with the current latest simulation form is reduced to the simulation size, or else, continue to perform simulation shrinkage on the band-based bone model based on the current latest simulation form of the band-based bone model until the band-based bone model is reduced to the simulation size, and end the simulation.
Specifically, the obtaining module 602 is further configured to:
splitting the simulation object to obtain a plurality of corresponding simulation object units;
and screening track functions 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 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;
a segmentation unit 6032, configured to segment the ribbon-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 band skeleton in each model unit based on the first rotation angle;
and a rotation unit 6034, configured to rotate each band bone according to the second rotation angle, so as to obtain a simulated shape of the band bone model.
Specifically, the second computing unit 6033 further includes:
a calculation subunit 60331 for calculating a rotation angle increment of each band bone according to the first rotation angle;
a numbering subunit 60332, configured to number the band bones in the band bone model, and obtain a rotation sequence of each band bone;
And the accumulation subunit 60333 is configured to accumulate the angles between the band bones according to the rotation sequence by corresponding rotation angle increments to obtain a second rotation angle of each band bone.
Specifically, the shrinking module 604 further includes:
a third calculation unit 6041, configured to calculate, according to a preset shrinkage rate, a shrinkage length of each model unit in the ribbon-bone model corresponding to the simulated morphology;
a contraction unit 6042, configured to contract the band bone model corresponding to the simulated form according to the contraction length, and calculate a third rotation angle of each band bone after the band bone model is contracted;
and the adjusting unit 6043 is used for rotating each ribbon bone in the ribbon bone model after shrinkage according to the third rotation angle to obtain a new current simulation form of the ribbon bone model.
Specifically, the band binding simulation apparatus further includes a branch generation module 607, where the branch generation module 607 is configured to:
judging whether overflow ribbon bones exist after the ribbon bone model is simulated and surrounded;
if the band bone model exists, according to a preset overflow rotation angle, the overflow band bone after the band bone model simulation surrounds is rotated, and the extra-annular branch of the band bone model is obtained.
Specifically, the branch generation module 607 is further configured to:
determining overflow ribbon bones after the ribbon bone model is contracted according to the current latest simulation form;
and rotating the overflowing ribbon bones after the ribbon bone model is contracted until the included angle between the overflowing ribbon bones and the outer ring branches is zero, stopping rotating, and merging the overflowing ribbon bones after the ribbon bone model is contracted to the outer ring branches.
In the embodiment of the invention, a band skeleton model is obtained by constructing a simulation object; acquiring a binding simulation instruction of the binding belt, 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, simulating and encircling the band bone model to obtain a simulation form of the band bone model; based on the current simulation form of the ribbon-bone model, performing simulation shrinkage on the ribbon-bone model to obtain a new simulation form of the ribbon-bone model; judging whether the band bone model of the current latest simulation form is reduced to the simulation size; and when the band bone model is reduced to the simulation size, ending the simulation. The binding picture of the binding band is realized in the virtual reality world. The method comprises the steps of describing the process of encircling the band skeleton model in detail, segmenting the band skeleton model through the length and the first rotation angle of a simulation object unit in a simulation object, calculating the second rotation angle of the band skeleton in each model unit, and rotating each band skeleton to obtain a band binding simulation form; the surrounding process that the band bone model forms the simulation form is described in detail, the band bone is sequentially rotated through the second rotation angle, so that the band bone model gradually surrounds from the original linear shape or the irregular shape, and the visual effect of the simulation reality binding process is obtained; the method has the advantages that the dimension of the band bone model is gradually retracted until the band bone model is consistent with the simulation object, at the moment, the band bone model is basically similar to the simulation object in visual effect, and the simulation process of band binding can be completed.
The band ligature simulation apparatus in the embodiment of the present invention is described in detail from the point of view of the modularized functional entity in fig. 5 and 6 above, and the band ligature simulation device in the embodiment of the present invention is described in detail from the point of view of hardware processing below.
Fig. 7 is a schematic structural diagram of a band ligature simulation apparatus according to an embodiment of the invention, where the band ligature simulation apparatus 700 may have a relatively large difference due to different configurations or performances, and may include one or more processors (central processing units, CPU) 710 (e.g., one or more processors) and a memory 720, and one or more storage mediums 730 (e.g., one or more mass storage devices) storing application programs 733 or data 732. Wherein memory 720 and storage medium 730 may be transitory or persistent. The program stored in the storage medium 730 may include one or more modules (not shown), each of which may include a series of instruction operations for the tie strap tie bar simulation device 700. Still further, the processor 710 may be configured to communicate with the storage medium 730 to perform a series of instruction operations in the storage medium 730 on the ligature simulation apparatus 700.
The ligature simulation apparatus 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 Serve, mac OS X, unix, linux, freeBSD, etc. It will be appreciated by those skilled in the art that the tie-down simulation device structure shown in FIG. 7 is not limiting of the tie-down simulation device and may include more or fewer components than shown, or certain 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, or a volatile computer readable storage medium, having instructions stored therein that, when executed on a computer, cause the computer to perform the steps of the banding simulation method.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The ribbon binding simulation method is characterized by comprising the following steps of:
constructing a simulation object to obtain a ribbon skeleton model;
acquiring a binding simulation instruction of a binding belt, 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, simulating and encircling the band-based skeleton model to obtain a simulation form of the band-based skeleton model;
based on the current simulation form of the ribbon-bone model, performing simulation shrinkage on the ribbon-bone model to obtain a new simulation form of the ribbon-bone model;
judging whether the band bone model of the current latest simulation form is reduced to the simulation size;
if yes, ending the simulation, otherwise, based on the current latest simulation form of the ribbon-bone model, continuing to perform simulation shrinkage on the ribbon-bone model, and ending the simulation until the ribbon-bone model is reduced to the simulation size.
2. The method of claim 1, wherein determining the set of trajectory functions for the simulated object based on the simulation instructions comprises:
splitting the simulation object to obtain a plurality of corresponding simulation object units;
And screening track functions corresponding to each simulation object unit from a preset function set to obtain a track function set of the simulation object.
3. The method of claim 2, wherein the simulating the band bone model according to the trajectory function set, to obtain the simulated morphology of the band bone model comprises:
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 ribbon skeleton model according to the length proportion to obtain a plurality of model units;
calculating a second rotation angle of each ribbon bone in each model unit according to the first rotation angle;
and rotating each ribbon-bone according to the second rotation angle to obtain the simulation form of the ribbon-bone model.
4. A method of simulating ligature according to claim 3, wherein said calculating a second rotation angle of each ligature bone in each model element based on said first rotation angle comprises:
calculating a rotation angle increment of each ribbon bone according to the first rotation angle;
numbering the band bones in the band bone model to obtain the rotation sequence of each band bone;
And according to the rotation sequence, accumulating corresponding rotation angle increments of the included angles among all the ribbon bones to obtain a second rotation angle of each ribbon bone.
5. The method of claim 4, wherein simulating the band bone model for shrinkage based on the current simulated morphology of the band bone model, the obtaining a new simulated morphology of the band bone model comprises:
calculating the contraction length of each model unit in the ribbon-bone model corresponding to the simulation form according to the preset contraction rate;
according to the contraction length, contracting the band bone model corresponding to the simulation form, and calculating a third rotation angle of each band bone after the band bone model is contracted;
and according to the third rotation angle, rotating each ribbon bone in the contracted ribbon bone model to obtain a new current simulation form of the ribbon bone model.
6. The method according to any one of claims 1 to 5, further comprising, after said simulating surrounding the band bone model according to the trajectory function set to obtain a simulated morphology of the band bone model:
Judging whether overflow ribbon bones exist after the ribbon bone model is simulated and surrounded;
if the band bone model exists, according to a preset overflow rotation angle, the overflow band bone after the band bone model simulation surrounds is rotated, and the extra-annular branch of the band bone model is obtained.
7. The method of claim 6, further comprising, after said simulating shrinkage of said band-bone model based on said current simulated morphology of said band-bone model to obtain a new simulated morphology of said band-bone model:
determining overflow ribbon bones after the ribbon bone model is contracted according to the current latest simulation form;
and rotating the overflowing ribbon bones after the ribbon bone model is contracted until the included angle between the overflowing ribbon bones and the outer ring branches is zero, stopping rotating, and merging the overflowing ribbon bones after the ribbon bone model is contracted to the outer ring branches.
8. The utility model provides a ribbon ligature analogue means, its characterized in that, ribbon ligature analogue means includes:
the construction module is used for constructing a ribbon-bone model, wherein the ribbon-bone model consists of a plurality of sections of ribbon bones;
The building module is used for building a simulation object to obtain a ribbon skeleton model;
the acquisition module is used for acquiring a binding simulation instruction of the binding belt 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 carrying out simulation surrounding on the ribbon-bone model according to the track function set to obtain a simulation form of the ribbon-bone model;
the contraction module is used for carrying out simulated contraction on the band-based bone model based on the current simulated form of the band-based bone model to obtain a new simulated form of the band-based bone model;
the judging module is used for judging whether the band bone model in the current latest simulation form is reduced to the simulation size;
and the circulation module is used for ending the simulation if the band bone model with the current latest simulation form is reduced to the simulation size, otherwise, continuing to perform simulation shrinkage on the band bone model based on the current latest simulation form of the band bone model until the band bone model is reduced to the simulation size, and ending the simulation.
9. The utility model provides a ribbon ligature emulation equipment, its characterized in that, ribbon ligature emulation equipment includes: a memory and at least one processor, the memory having instructions stored therein, the memory and the at least one processor being interconnected by a line;
The at least one processor invoking the instructions in the memory to cause the ligature simulation apparatus to perform the ligature 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 executed by a processor, implements the banding simulation method according to any one of claims 1 to 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 CN111625096A (en) 2020-09-04
CN111625096B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112884907B (en) * 2021-02-02 2024-03-15 瑞立视多媒体科技(北京)有限公司 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
张莹 ; 李志俊 ; .骨骼肌肉建模及其仿真.现代生物医学进展.2009,(第10期),全文. *

Also Published As

Publication number Publication date
CN111625096A (en) 2020-09-04

Similar Documents

Publication Publication Date Title
CN111625096B (en) Ribbon binding simulation method, device, equipment and storage medium
CN101473351A (en) Musculo-skeletal shape skinning
CN104008561A (en) Simulation process type animation realizing method based on GPU
CN105528804B (en) The processing method and processing device of skeletal chain in computer animation
US20150139532A1 (en) Camara tracking apparatus and method using reconstruction segments and volumetric surface
CN111583367B (en) Hair simulation method and system
CN111508080B (en) Method for realizing adhesive tape winding simulation based on UE4 engine and related equipment
GB2519848A (en) Method and system for interactively matching motion platform with 3D video data
CN104517310A (en) Robot animation method using inverse dynamical simulation
CN102184342A (en) Virtual-real fused hand function rehabilitation training system and method
CN111402371A (en) Animation object processing method, device, equipment and storage medium
CN107038430B (en) Method and device for constructing human body posture data sample
KR20200066971A (en) Relative movement based motion recognition method and apparatus
CN109003319B (en) Meta-ball driving skinning method with dynamic constraint in character animation
CN112884907B (en) Ribbon binding simulation method, device, equipment and storage medium
Zheng et al. Graphic processing units (GPUs)-based haptic simulator for dental implant surgery
CN110414663A (en) The convolution implementation method and Related product of neural network
WO2008088703A1 (en) System for mapping animation from a source character to a destination character
CN105930566B (en) The method and apparatus of gingiva deformity emulation
CN112933579B (en) Motion quality evaluation method and device and storage medium
Sado et al. Pelvic elevation induces vertical kinetic energy without losing horizontal energy during running single-leg jump for distance
CN111681306B (en) Rope realization method, device, equipment and storage medium based on UE4
CN108108694A (en) A kind of man face characteristic point positioning method and device
CN105011954A (en) Control method and system for C-shaped arm of digital substraction angiography (DSA) machine
CN112206534B (en) Vegetation object processing method, device, equipment and storage medium

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