CN104091359A - Method and device for conducting vector deformation animation simulation on texture map of bitmap format - Google Patents

Method and device for conducting vector deformation animation simulation on texture map of bitmap format Download PDF

Info

Publication number
CN104091359A
CN104091359A CN201410353899.5A CN201410353899A CN104091359A CN 104091359 A CN104091359 A CN 104091359A CN 201410353899 A CN201410353899 A CN 201410353899A CN 104091359 A CN104091359 A CN 104091359A
Authority
CN
China
Prior art keywords
texture mapping
state
texture
model
former
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
CN201410353899.5A
Other languages
Chinese (zh)
Other versions
CN104091359B (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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201410353899.5A priority Critical patent/CN104091359B/en
Publication of CN104091359A publication Critical patent/CN104091359A/en
Application granted granted Critical
Publication of CN104091359B publication Critical patent/CN104091359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Generation (AREA)

Abstract

The invention provides a method for conducting vector deformation animation simulation on a texture map of a bitmap format. The method aims to solve the technical problem that when deformation animations of maps of bitmap formats are achieved in the prior art, bitmaps are distorted. The method comprises the following steps that at least one of shifting, zooming and rotating is conducted on the portion, except for a map body, of the original texture map of the bitmap format, so that a texture map of a first state is obtained; a keyframe is added to the texture map of the first state; at least one of shifting, zooming and rotating is conducted on the portion, except for a map body, of the texture map of the first state, so that a texture map of a second state is obtained; a keyframe is added to the texture map of the second state. According to the method, even though deformation is conducted on the texture map of the bitmap format, it is guaranteed that the map body is free of a distortion phenomenon in the deformation process, a vector deformation animation is simulated well, and an effect obtained when the texture map of the bitmap format is used for conducting the deformation animation can be achieved.

Description

The method and apparatus of the texture mapping simulation vector shape animation to bitmap format
Technical field
The invention belongs to image processing field, relate in particular to the method for the texture mapping simulation vector shape animation to bitmap format.
Background technology
Vector graphics, based on intrinsic advantage, has very large advantage in the irregular shape animation of processing.For the image of vector graphics, by summit and boundary curve before and after computed image deformation, can complete relevant effect very simple and easyly, accurate, perfect.Vector graphics does not need aid in guide deformation operation in deformation process, and can reach in deformation process curve without the obvious effect of sawtooth, improves display effect, increases user's visual experience.
If image is bitmap (bitmap), cannot directly complete similar shape animation, can only, by the additional grid deformation controller of image, simulate deformation effect.Particularly, need the coordinate figure to every frame computing grid summit in whole process, and the fine and smooth degree of shape animation depends on the sparse degree of grid, what closeer grid brought is larger calculated amount.Under three-dimensional (3Dimensions, 3D) environment, similarly grid control, is equivalent to the patch model apex coordinate of mobile divided several piece, thereby reaches the control of deformation.
But, above-mentioned in the image deformation process of bitmap format, by the sampling to image zones of different, can cause the problem such as distortion, sawtooth of bitmap itself.
Summary of the invention
The object of the present invention is to provide the method for the texture mapping simulation vector shape animation to bitmap format, the technical matters of the own distortion of bitmap when the pinup picture that is intended to solve the bitmap form that prior art provides is realized shape animation.
The present invention is achieved in that a kind of method of the simulation of the texture mapping to bitmap format vector shape animation, and described method comprises:
Part to the former texture mapping of bitmap format except pinup picture itself is carried out at least one operation in displacement, convergent-divergent and rotation operation, obtain the texture mapping of the first state, the part of the former texture mapping of described bitmap format except pinup picture itself comprises the model of described former texture mapping and/or the texture of described former texture mapping;
The texture mapping of described the first state is beaten to key frame;
Part to the texture mapping of described the first state except pinup picture itself is carried out at least one operation in displacement, convergent-divergent and rotation operation, obtain the texture mapping of the second state, the part of the texture mapping of described the first state except pinup picture itself comprises the model of texture mapping of described the first state and/or the texture of the texture mapping of described the first state;
The texture mapping of described the second state is beaten to key frame.
The device that another object of the present invention is to provide the texture mapping simulation vector shape animation to bitmap format, described device comprises:
The first control module, be used for the part except pinup picture itself to the former texture mapping of bitmap format and carry out displacement, convergent-divergent and at least one operation of rotation operation, obtain the texture mapping of the first state, the part of the former texture mapping of described bitmap format except pinup picture itself comprises the model of described former texture mapping and/or the texture of described former texture mapping;
The first key frame marker module, for beating key frame by the texture mapping of described the first state;
The second control module, be used for the part except pinup picture itself to the texture mapping of described the first state and carry out displacement, convergent-divergent and at least one operation of rotation operation, obtain the texture mapping of the second state, the part of the texture mapping of described the first state except pinup picture itself comprises the model of texture mapping of described the first state and/or the texture of the texture mapping of described the first state;
The second key frame marker module, for beating key frame by the texture mapping of described the second state.
From the invention described above embodiment, due in the time texture mapping being carried out to displacement, convergent-divergent and/or rotation, only the part of the texture mapping of the former texture mapping to bitmap format or the first state except pinup picture itself carried out at least one operation in displacement, convergent-divergent and rotation operation,, only model and/or the texture of the texture mapping to former texture mapping or the first state carry out displacement, convergent-divergent and/or rotation, and pinup picture itself is not carried out to displacement, convergent-divergent and/or rotation operation.Therefore, compared with prior art, although method provided by the invention is that the texture mapping of bitmap format is carried out to deformation, but in deformation process, ensure that pinup picture itself (does not for example occur distortion phenomenon, still kept some length breadth ratios and the angle of inclination of pinup picture in former texture mapping itself and kept pinup picture Chinese word not to be out of shape etc.), simulate vector shape animation, the effect that the texture mapping that can reach polar plot form reaches while carrying out shape animation.
Brief description of the drawings
Fig. 1 is the realization flow schematic diagram of the method for the texture mapping to the bitmap format simulation vector shape animation that provides of the embodiment of the present invention one;
Fig. 2 is the realization flow schematic diagram of the method for the texture mapping to the bitmap format simulation vector shape animation that provides of the embodiment of the present invention two;
Fig. 3 is that the texture of the former texture mapping to bitmap format that provides of the embodiment of the present invention carries out displacement diagram;
Fig. 4 is the realization flow schematic diagram of the method for the texture mapping to the bitmap format simulation vector shape animation that provides of the embodiment of the present invention three;
Fig. 5 is the convergent-divergent of the model that passes through the former texture mapping to bitmap format that provides of the embodiment of the present invention four, the size of the model of former texture mapping is fitted to the large logotype of the texture mapping of the first state;
Fig. 6-a is the convergent-divergent of the model that passes through the texture mapping to the first state that provides of the embodiment of the present invention five, the size of the model of the texture mapping of the first state is fitted to the large logotype of the texture mapping of the second state;
Fig. 6-b is that after the size by the model of the texture mapping of the first state that the embodiment of the present invention six provides is fitted to the size of texture mapping of the second state, the texture of the texture mapping to the second state carries out convergent-divergent schematic diagram;
Fig. 7 is the structural representation of the device of the texture mapping to the bitmap format simulation vector shape animation that provides of the embodiment of the present invention seven;
Fig. 8 is the structural representation of the device of the texture mapping to the bitmap format simulation vector shape animation that provides of the embodiment of the present invention eight;
Fig. 9 is the structural representation of the device of the texture mapping to the bitmap format simulation vector shape animation that provides of the embodiment of the present invention nine;
Figure 10 is the structural representation of the device of the texture mapping to the bitmap format simulation vector shape animation that provides of the embodiment of the present invention ten;
Figure 11 is the structural representation of the device of the texture mapping to the bitmap format simulation vector shape animation that provides of the embodiment of the present invention 11;
Figure 12 is the structural representation of the device of the texture mapping to the bitmap format simulation vector shape animation that provides of the embodiment of the present invention 12.
Embodiment
In order to make object of the present invention, technical scheme and beneficial effect clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The embodiment of the present invention provides the method for the texture mapping simulation vector shape animation to bitmap format, described method comprises: the part to the former texture mapping of bitmap format except pinup picture itself is carried out at least one operation in displacement, convergent-divergent and rotation operation, obtain the texture mapping of the first state, the part of the former texture mapping of described bitmap format except pinup picture itself comprises the model of described former texture mapping and/or the texture of described former texture mapping; The texture mapping of described the first state is beaten to key frame; Part to the texture mapping of described the first state except pinup picture itself is carried out at least one operation in displacement, convergent-divergent and rotation operation, obtain the texture mapping of the second state, the part of the texture mapping of described the first state except pinup picture itself comprises the model of texture mapping of described the first state and/or the texture of the texture mapping of described the first state; The texture mapping of described the second state is beaten to key frame.The embodiment of the present invention also provides the device of the texture mapping simulation vector shape animation to bitmap format accordingly.Below be elaborated respectively.
Referring to accompanying drawing 1, is the realization flow of the method for the texture mapping to the bitmap format simulation vector shape animation that provides of the embodiment of the present invention one, mainly comprises the following steps S101 to step S104:
S101, part to the former texture mapping of bitmap format except pinup picture itself is carried out at least one operation in displacement, convergent-divergent and rotation operation, obtain the texture mapping of the first state, wherein, the part of the former texture mapping of bitmap format except pinup picture itself comprises the model of former texture mapping and/or the texture of former texture mapping.
Under 3D environment, the texture mapping of a bitmap format comprises three parts: model, texture and pinup picture itself.From level, model is in innermost layer, and texture classes is like shades such as the fabrics of real world on model, and pinup picture is in the superiors, is the figure being attached on texture; The border of model and the border of texture can overlap, and both have confined the size in length and breadth of pinup picture itself.It should be noted that, in the present embodiment, the former texture mapping of so-called bitmap format, just for deformation after texture mapping distinguish and to an appellation, its essence is the same with the texture mapping of bitmap format.
S102, beats key frame by the texture mapping of the first state.
In embodiments of the present invention, the texture mapping of the first state is beaten to key frame, be in former texture mapping in the deformation process of the texture mapping of the first state, computing equipment (for example, computing machine) can calculate any frame texture mapping between the texture mapping of former texture mapping to the first state, thus realize efficiently animation effect.
S103, part to the texture mapping of the first state except pinup picture itself is carried out at least one operation in displacement, convergent-divergent and rotation operation, obtain the texture mapping of the second state, wherein, the part of the texture mapping of the first state except pinup picture itself comprises the model of texture mapping of the first state and/or the texture of the texture mapping of the first state.
In embodiments of the present invention, the texture mapping of the texture mapping of the first state and the second state is all identical with the former texture mapping of bitmap format, also be to comprise three parts of model, texture and pinup picture itself, the definition of model, texture and pinup picture wherein itself and hierarchical structure are also identical with definition and the hierarchical structure of model, texture and the pinup picture of the former texture mapping of bitmap format itself, do not repeat herein.
S104, beats key frame by the texture mapping of the second state.
S102 is similar with step, in embodiments of the present invention, the texture mapping of the second state is beaten to key frame, be in the texture mapping of the first state in the deformation process of the texture mapping of the second state, computing equipment (for example, computing machine) can calculate any frame texture mapping between the texture mapping of texture mapping to the second state of the first state, thus realize efficiently animation effect.
The method of the simulation of the texture mapping to the bitmap format vector shape animation providing from the invention described above embodiment, due in the time that texture mapping is carried out to displacement and/or convergent-divergent, only the part of the texture mapping of the former texture mapping to bitmap format or the first state except pinup picture itself carried out at least one operation in displacement, convergent-divergent and rotation operation,, only model and/or the texture of the texture mapping to former texture mapping or the first state carry out displacement, convergent-divergent and/or rotation, and pinup picture itself is not carried out to displacement, convergent-divergent and/or rotation operation.Therefore, compared with prior art, although method provided by the invention is that the texture mapping of bitmap format is carried out to deformation, but in deformation process, ensure that pinup picture itself (does not for example occur distortion phenomenon, still kept some length breadth ratios and the angle of inclination of pinup picture in former texture mapping itself and kept pinup picture Chinese word not to be out of shape etc.), simulate vector shape animation, the effect that the texture mapping that can reach polar plot form reaches while carrying out shape animation.
Referring to accompanying drawing 2, is the realization flow of the method for the texture mapping to the bitmap format simulation vector shape animation that provides of the embodiment of the present invention two, mainly comprises the following steps S201 to step S204:
S201, the texture of the former texture mapping to bitmap format carries out displacement, obtains the texture mapping of the first state.
For example, if do the animation that can simulate the texture mapping deformation of polar plot form, for example, the movement of the texture mapping of simulation polar plot form, move without the texture mapping to whole bitmap format as prior art, only need to carry out displacement to the texture of the former texture mapping of bitmap format.If the subgraph A of accompanying drawing 3 is to as shown in subgraph C, subgraph A is the former texture mapping of bitmap format, and wherein, the parallelogram of black is pinup picture itself, represents texture with the rectangle of tiny grid, the scope of the boundary representation model of rectangle, and it overlaps with the border of texture.Now will be by subgraph A being moved to the animation of the texture mapping deformation of simulating polar plot form, can only move texture, for example, be that Texture Editing point is mobile by the UV point of the texture corresponding summit, the upper right corner of model, as shown in the subgraph B of accompanying drawing 3, the former texture mapping of bitmap format is moved, and the texture mapping after moving is the texture mapping of the first state, as shown in the subgraph C of accompanying drawing 3.
S202, beats key frame by the texture mapping of the first state.
As previously mentioned, the texture mapping after change state being beaten to key frame, is to realize efficiently animation for computing equipment.Particularly, in the present embodiment, can record the attribute of Texture Editing point in the texture mapping of the first state, for example, the parameters such as the X, Y, Z axis coordinate of each Texture Editing point.Then, texture mapping after texture mapping before computing equipment can change state and state change i.e. texture mapping between the texture mapping of the first state is carried out interpolation, for example, linear interpolation or Bezier method of interpolation, the state that simulates changes any frame texture mapping between the texture mapping after front and state change, thereby realizes the shape animation of the texture mapping of bitmap format.
S203, the texture of the texture mapping to the first state carries out displacement, obtains the texture mapping of the second state.
Carry out displacement with the texture of the aforementioned former texture mapping to bitmap format, the texture mapping that obtains the first state is similar, here to obtain the texture mapping of the second state, also can carry out displacement by the texture of the texture mapping to the first state and realize, and without as prior art, the texture mapping of whole the first state being moved.For example, for the texture mapping of the first state shown in the subgraph C of accompanying drawing 3, can be that Texture Editing point is mobile by the UV point of the texture corresponding summit, the lower left corner of model, as shown in the subgraph D of accompanying drawing 3, the former texture mapping of bitmap format is moved, texture mapping after movement is the texture mapping of the second state, as shown in the subgraph E of accompanying drawing 3.
S204, beats key frame by the texture mapping of the second state.
As step, S202 is similar, and the texture mapping after change state is beaten to key frame, is to realize efficiently animation for computing equipment.Particularly, in the present embodiment, can record the attribute of Texture Editing point in the texture mapping of the second state, for example, the parameters such as the X, Y, Z axis coordinate of each Texture Editing point.Then, texture mapping before computing equipment can change state the texture mapping of the first state and the state texture mapping after changing the texture mapping between the texture mapping of the second state carry out interpolation, for example, linear interpolation or Bezier method of interpolation, simulate any frame texture mapping between the texture mapping of the first state and the texture mapping of the second state, thereby realize the shape animation of the texture mapping of bitmap format.
Referring to accompanying drawing 4, is the realization flow of the method for the texture mapping to the bitmap format simulation vector shape animation that provides of the embodiment of the present invention three, mainly comprises the following steps S401 to step S404:
S401, the convergent-divergent of the model by the former texture mapping to bitmap format, is fitted to the size of the model of former texture mapping the size of the texture mapping of the first state.
For the texture mapping of bitmap format, by changing to greatly little and changing to large deformation by little again, be more common animation mode.In above-mentioned this deformation process of texture mapping of realizing bitmap format, the method that the present embodiment provides is not that the texture mapping of whole bitmap format is carried out to convergent-divergent, but realizes by the convergent-divergent of the model to texture mapping.Particularly, the embodiment of the present invention four as shown in Figure 5, is by the convergent-divergent of the model of the former texture mapping to bitmap format, the size of the model of former texture mapping is fitted to the size of the texture mapping of the first state, obtains the texture mapping of the first state.The subgraph A of accompanying drawing 5 is the convergent-divergent of the model of the former texture mapping to bitmap format to subgraph B example, the size of the model of former texture mapping is fitted to the big or small process of the texture mapping of the first state, the subgraph C of accompanying drawing 5 is by the convergent-divergent of the model of the former texture mapping to bitmap format to subgraph D example, obtains the process of the texture mapping of the first state.
It should be noted that, when the above-mentioned size by the model of former texture mapping is fitted to texture mapping big or small of the first state, specifically can rely on user's eyesight, manual adjustments, for example, estimate the size of the texture mapping of the first state, then, the size of the model of former texture mapping is fitted to the size of the texture mapping of the first state, this mode is applicable to not need the very scene of precise results, or, cannot know the big or small scene of the texture mapping of the first state.The big or small another kind of mode that the above-mentioned size by the model of former texture mapping is fitted to the texture mapping of the first state is, first know the size of the texture mapping of the first state, for example, the parameter such as length and width, then, by by the corresponding parameter of the model of former texture mapping, for example, length and width are set to length and the width of the texture mapping that equals respectively the first state, thereby the size of the model of former texture mapping is fitted to the size of the texture mapping of the first state, this mode is applicable to the very scene of precise results, or, can know the big or small scene of the texture mapping of the first state.
S402, beats key frame by the texture mapping of the first state.
Here the texture mapping of the first state is beaten to the object of key frame identical with the object of in previous embodiment one or embodiment tri-, the texture mapping of the first state being beaten to key frame.Difference is, because the present embodiment is by the convergent-divergent of the model of the former texture mapping to bitmap format, realize the texture mapping simulation vector shape animation of bitmap format, therefore, in the present embodiment, the texture mapping of the first state is beaten to the attribute that key frame can be specifically the central point of the model of the texture mapping of record the first state, for example, the parameters such as X-axis, Y-axis and the Z axis coordinate of the central point of the model of the texture mapping of record the first state.
S403, the convergent-divergent of the model by the texture mapping to the first state, is fitted to the size of the model of the texture mapping of the first state the size of the texture mapping of the second state.
Detailed process can be consulted the embodiment of the present invention five shown in accompanying drawing 6-a.The subgraph A of accompanying drawing 6-a is the convergent-divergent of the model of the texture mapping to the first state to subgraph B example, the size of the model of the texture mapping of the first state is fitted to the big or small process of the texture mapping of the second state, the subgraph C of accompanying drawing 6-a is by the convergent-divergent of the model of the texture mapping to the first state to subgraph D example, obtain the big or small process of the texture mapping of the second state, wherein, subgraph C example be the texture mapping of the first state, subgraph D example be the texture mapping of the second state.
S404, beats key frame by the texture mapping of the second state.
Similar with the step S402 of the present embodiment, in the present embodiment, the texture mapping of the second state is beaten to the attribute that key frame can be specifically the central point of the model of the texture mapping of record the second state, for example, the parameter such as X-axis, Y-axis and Z axis coordinate of the central point of the model of the texture mapping of record the second state.
In the above-described embodiments, the convergent-divergent of the model by the texture mapping to the first state, after the size of the model of the texture mapping of described the first state being fitted to the size of texture mapping of described the second state, a kind of situation that may occur is: compared with the texture mapping of former texture mapping or the first state, the texture mapping of the second state exists and stretches, , there is in various degree inconsistent at the width of the texture mapping of the width of the texture mapping of the second state and/or angle of inclination and former texture mapping or the first state and/or angle of inclination, or, while having another texture mapping (for example, " You Tube " this logo on the subgraph D of accompanying drawing 6-a) on texture mapping, this another texture mapping is compared with original texture pinup picture (" You Tube " this logo), also there is stretching or distortion to a certain degree.
In order to address the above problem, the embodiment of the present invention six as shown in accompanying drawing 6-b, the convergent-divergent of the model by the texture mapping to the first state, after the size of the model of the texture mapping of described the first state being fitted to the size of texture mapping of described the second state, can carry out convergent-divergent to the texture of the texture mapping of described the second state.The texture that can be specifically the texture mapping to the second state does the axial convergent-divergent of XY, make height, width and the angle of inclination of the texture mapping of the second state identical respectively with the height of the texture mapping of former texture mapping or the first state, width and angle of inclination, as shown in accompanying drawing 6-b.
Referring to accompanying drawing 7, is the structural representation of the device of the texture mapping to the bitmap format simulation vector shape animation that provides of the embodiment of the present invention seven.For convenience of explanation, only show the part relevant to the embodiment of the present invention.The device of the simulation of the texture mapping to the bitmap format vector shape animation of accompanying drawing 7 examples mainly comprises the first control module 701, the first key frame marker module 702, the second control module 703 and the second key frame marker module 704, and each functional module is described in detail as follows:
The first control module 701, be used for the part except pinup picture itself to the former texture mapping of bitmap format and carry out displacement, convergent-divergent and at least one operation of rotation operation, obtain the texture mapping of the first state, the part of the former texture mapping of described bitmap format except pinup picture itself comprises the model of described former texture mapping and/or the texture of described former texture mapping;
The first key frame marker module 702, for beating key frame by the texture mapping of described the first state;
The second control module 703, be used for the part except pinup picture itself to the texture mapping of described the first state and carry out displacement, convergent-divergent and at least one operation of rotation operation, obtain the texture mapping of the second state, the part of the texture mapping of described the first state except pinup picture itself comprises the model of texture mapping of described the first state and/or the texture of the texture mapping of described the first state;
The second key frame marker module 704, for beating key frame by the texture mapping of described the second state.
The first control module 701 of accompanying drawing 7 examples can comprise the first displacement unit 801, the second control module 703 can comprise the second displacement unit 802, the device of the simulation of the texture mapping to the bitmap format vector shape animation that the embodiment of the present invention eight provides as shown in Figure 8, wherein:
The first displacement unit 801, for the texture of described former texture mapping is carried out to displacement, obtains the texture mapping of described the first state;
The second displacement unit 802, carries out displacement for the texture of the texture mapping to described the first state, obtains the texture mapping of described the second state.
The first key frame marker module 702 of accompanying drawing 7 examples can comprise the first record cell 901, the second key frame marker module 704 can comprise the second record cell 902, the device of the simulation of the texture mapping to the bitmap format vector shape animation that the embodiment of the present invention nine provides as shown in Figure 9, wherein:
The first record cell 901, for recording the attribute of texture mapping Texture Editing point of described the first state;
The second record cell 902, for recording the attribute of texture mapping Texture Editing point of described the second state.
The first control module 701 of accompanying drawing 7 examples can comprise the first adaptation unit 1001, the second control module 703 can comprise the second adaptation unit 1002, the device of the simulation of the texture mapping to the bitmap format vector shape animation that the embodiment of the present invention ten provides as shown in Figure 10, wherein:
The first adaptation unit 1001, for the convergent-divergent of the model by described former texture mapping, is fitted to the size of the model of described former texture mapping the size of the texture mapping of described the first state;
The second adaptation unit 1002, for the convergent-divergent of the model of the texture mapping by described the first state, is fitted to the size of the model of the texture mapping of described the first state the size of the texture mapping of described the second state.
The device of the simulation of the texture mapping to the bitmap format vector shape animation of accompanying drawing 10 examples can also comprise texture scale module 1101, the device of the simulation of the texture mapping to the bitmap format vector shape animation that the embodiment of the present invention 11 provides as shown in Figure 11.Texture scale module 1101 is for after the second adaptation unit 1002 is fitted to the size of the model of the texture mapping of described the first state the size of texture mapping of described the second state, and the texture of the texture mapping to described the second state carries out convergent-divergent.
The first key frame marker module 702 of accompanying drawing 10 examples can comprise the 3rd record cell 1201, the second key frame marker module 704 can comprise the 4th record cell 1202, the device of the simulation of the texture mapping to the bitmap format vector shape animation that the embodiment of the present invention 12 provides as shown in Figure 9, wherein:
The 3rd record cell 1201, for recording the attribute of central point of model of texture mapping of described the first state;
The 4th record cell 1202, for recording the attribute of central point of model of texture mapping of described the second state.
It should be noted that, the content such as information interaction, implementation between the each module/unit of said apparatus, due to the inventive method embodiment based on same design, its technique effect bringing is identical with the inventive method embodiment, particular content can, referring to the narration in the inventive method embodiment, repeat no more herein.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is can carry out the hardware that instruction is relevant by program to complete, this program can be stored in a computer-readable recording medium, storage medium can comprise: ROM (read-only memory) (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
The method and apparatus of the simulation of the texture mapping to the bitmap format vector the shape animation above embodiment of the present invention being provided is described in detail, applied specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.

Claims (12)

1. a method for the texture mapping simulation vector shape animation to bitmap format, is characterized in that, described method comprises:
Part to the former texture mapping of bitmap format except pinup picture itself is carried out at least one operation in displacement, convergent-divergent and rotation operation, obtain the texture mapping of the first state, the part of the former texture mapping of described bitmap format except pinup picture itself comprises the model of described former texture mapping and/or the texture of described former texture mapping;
The texture mapping of described the first state is beaten to key frame;
Part to the texture mapping of described the first state except pinup picture itself is carried out at least one operation in displacement, convergent-divergent and rotation operation, obtain the texture mapping of the second state, the part of the texture mapping of described the first state except pinup picture itself comprises the model of texture mapping of described the first state and/or the texture of the texture mapping of described the first state;
The texture mapping of described the second state is beaten to key frame.
2. the method for claim 1, it is characterized in that, described to the former texture mapping of bitmap format the part except pinup picture itself carry out at least one operation in displacement, convergent-divergent and rotation operation, obtain the texture mapping of the first state, comprise: the texture of described former texture mapping is carried out to displacement, obtain the texture mapping of described the first state;
Described to the texture mapping of described the first state the part except pinup picture itself carry out at least one operation in displacement, convergent-divergent and rotation operation, obtain the texture mapping of the second state, comprise: the texture of the texture mapping to described the first state carries out displacement, obtain the texture mapping of described the second state.
3. method as claimed in claim 2, is characterized in that, the described texture mapping by described the first state is beaten key frame, comprising: the attribute that records Texture Editing point in the texture mapping of described the first state;
The described texture mapping by described the second state is beaten key frame, comprising: the attribute that records Texture Editing point in the texture mapping of described the second state.
4. the method for claim 1, it is characterized in that, described to the former texture mapping of bitmap format the part except pinup picture itself carry out at least one operation in displacement, convergent-divergent and rotation operation, obtain the texture mapping of the first state, comprise: by the convergent-divergent of the model to described former texture mapping, the size of the model of described former texture mapping is fitted to the size of the texture mapping of described the first state;
Described to the texture mapping of described the first state the part except pinup picture itself carry out at least one operation in displacement, convergent-divergent and rotation operation, obtain the texture mapping of the second state, comprise: the convergent-divergent of the model by the texture mapping to described the first state, is fitted to the size of the model of the texture mapping of described the first state the size of the texture mapping of described the second state.
5. method as claimed in claim 4, it is characterized in that, the convergent-divergent of the described model by the texture mapping to described the first state, after the size of the model of the texture mapping of described the first state being fitted to the size of texture mapping of described the second state, also comprises:
The texture of the texture mapping to described the second state carries out convergent-divergent.
6. method as claimed in claim 4, is characterized in that, the described texture mapping by described the first state is beaten key frame, comprising: the attribute that records the central point of the model of the texture mapping of described the first state;
The described texture mapping by described the second state is beaten key frame, comprising: the attribute that records the central point of the model of the texture mapping of described the second state.
7. a device for the texture mapping simulation vector shape animation to bitmap format, is characterized in that, described device comprises:
The first control module, be used for the part except pinup picture itself to the former texture mapping of bitmap format and carry out displacement, convergent-divergent and at least one operation of rotation operation, obtain the texture mapping of the first state, the part of the former texture mapping of described bitmap format except pinup picture itself comprises the model of described former texture mapping and/or the texture of described former texture mapping;
The first key frame marker module, for beating key frame by the texture mapping of described the first state;
The second control module, be used for the part except pinup picture itself to the texture mapping of described the first state and carry out displacement, convergent-divergent and at least one operation of rotation operation, obtain the texture mapping of the second state, the part of the texture mapping of described the first state except pinup picture itself comprises the model of texture mapping of described the first state and/or the texture of the texture mapping of described the first state;
The second key frame marker module, for beating key frame by the texture mapping of described the second state.
8. device as claimed in claim 7, is characterized in that, described the first control module comprises the first displacement unit, and described the second control module comprises the second displacement unit;
Described the first displacement unit, for the texture of described former texture mapping is carried out to displacement, obtains the texture mapping of described the first state;
Described the second displacement unit, carries out displacement for the texture of the texture mapping to described the first state, obtains the texture mapping of described the second state.
9. device as claimed in claim 8, is characterized in that, described the first key frame marker module comprises the first record cell, and described the second key frame marker module comprises the second record cell;
Described the first record cell, for recording the attribute of texture mapping Texture Editing point of described the first state;
Described the second record cell, for recording the attribute of texture mapping Texture Editing point of described the second state.
10. device as claimed in claim 7, is characterized in that, described the first control module comprises the first adaptation unit, and described the second control module comprises the second adaptation unit;
Described the first adaptation unit, for the convergent-divergent of the model by described former texture mapping, is fitted to the size of the model of described former texture mapping the size of the texture mapping of described the first state;
Described the second adaptation unit, for the convergent-divergent of the model of the texture mapping by described the first state, is fitted to the size of the model of the texture mapping of described the first state the size of the texture mapping of described the second state.
11. devices as claimed in claim 10, is characterized in that, described device also comprises:
Texture scale module, for after described the second adaptation unit is fitted to the size of the model of the texture mapping of described the first state the size of texture mapping of described the second state, the texture of the texture mapping to described the second state carries out convergent-divergent.
12. devices as claimed in claim 10, is characterized in that, described the first key frame marker module comprises the 3rd record cell, and described the second key frame marker module comprises the 4th record cell;
Described the 3rd record cell, for recording the attribute of central point of model of texture mapping of described the first state;
Described the 4th record cell, for recording the attribute of central point of model of texture mapping of described the second state.
CN201410353899.5A 2014-07-23 2014-07-23 The method and apparatus that vector shape animation is simulated to the texture mapping of bitmap format Active CN104091359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410353899.5A CN104091359B (en) 2014-07-23 2014-07-23 The method and apparatus that vector shape animation is simulated to the texture mapping of bitmap format

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410353899.5A CN104091359B (en) 2014-07-23 2014-07-23 The method and apparatus that vector shape animation is simulated to the texture mapping of bitmap format

Publications (2)

Publication Number Publication Date
CN104091359A true CN104091359A (en) 2014-10-08
CN104091359B CN104091359B (en) 2018-01-16

Family

ID=51639074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410353899.5A Active CN104091359B (en) 2014-07-23 2014-07-23 The method and apparatus that vector shape animation is simulated to the texture mapping of bitmap format

Country Status (1)

Country Link
CN (1) CN104091359B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113808243A (en) * 2021-09-23 2021-12-17 光线云(杭州)科技有限公司 Method and device for drawing deformable snow grid

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1894727A (en) * 2003-12-19 2007-01-10 英特尔公司 Method and apparatus for producing animation
CN101339668A (en) * 2008-08-08 2009-01-07 浙江大学 Three-dimensional animations cartoon flame creation method
CN101436310A (en) * 2008-11-28 2009-05-20 牡丹江新闻传媒集团有限公司 Method for automatically generating middle frame during two-dimension cartoon making process
US20130088491A1 (en) * 2011-10-07 2013-04-11 Zynga Inc. 2d animation from a 3d mesh

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1894727A (en) * 2003-12-19 2007-01-10 英特尔公司 Method and apparatus for producing animation
CN101339668A (en) * 2008-08-08 2009-01-07 浙江大学 Three-dimensional animations cartoon flame creation method
CN101436310A (en) * 2008-11-28 2009-05-20 牡丹江新闻传媒集团有限公司 Method for automatically generating middle frame during two-dimension cartoon making process
US20130088491A1 (en) * 2011-10-07 2013-04-11 Zynga Inc. 2d animation from a 3d mesh

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113808243A (en) * 2021-09-23 2021-12-17 光线云(杭州)科技有限公司 Method and device for drawing deformable snow grid
CN113808243B (en) * 2021-09-23 2023-09-15 光线云(杭州)科技有限公司 Drawing method and device for deformable snowfield grid

Also Published As

Publication number Publication date
CN104091359B (en) 2018-01-16

Similar Documents

Publication Publication Date Title
CN110956673B (en) Map drawing method and device
CN103488339B (en) A kind of generation method of personalized Chinese-character digital ink
CN102902848A (en) Three-dimensional visualization simulation method directed at boundary element analysis
CN102163340A (en) Method for labeling three-dimensional (3D) dynamic geometric figure data information in computer system
KR101591427B1 (en) Method for Adaptive LOD Rendering in 3-D Terrain Visualization System
WO2022033009A1 (en) Rendering processing method and apparatus, electronic device and storage medium
CN105184843B (en) A kind of three-dimensional animation manufacturing method based on OpenSceneGraph
CN110717005A (en) Thermodynamic diagram texture generation method, device and equipment
CN110503726A (en) Page end threedimensional model markup information shows browsing method and system
CN104571887A (en) Static picture based dynamic interaction method and device
CN107707965A (en) The generation method and device of a kind of barrage
CN117292079B (en) Multi-dimensional scene coordinate point position conversion and mapping method applied to digital twin
CN109712236A (en) Three-dimensional visualization implementation method based on SVG map datum
JP2017532667A (en) Layout engine
US20170301126A1 (en) Techniques for generating dynamic illustrations using principles of animation
CN107978018A (en) Method and device for constructing three-dimensional graph model, electronic equipment and storage medium
CN110400366A (en) A kind of real-time flood disaster visual simulating method based on OpenGL
CN104091359A (en) Method and device for conducting vector deformation animation simulation on texture map of bitmap format
CN111428455B (en) Form management method, device, equipment and storage medium
CN103310409A (en) Quick triangle partitioning method of Tile-based rendering architecture central processing unit (CPU)
CN111210486B (en) Method and device for realizing streamer effect
CN116943163A (en) Method for determining model flow information, method and device for manufacturing flow effect
CN106775634A (en) One kind displaying block display method and device
US11887255B2 (en) Method and system for rendering boundary of map area within game map, and computer-readable storage medium
CN107507265A (en) Model pinup picture method and device based on three-dimensional rendering two dimension

Legal Events

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