CN102169592B - Method and device for realizing single arrow animation - Google Patents
Method and device for realizing single arrow animation Download PDFInfo
- Publication number
- CN102169592B CN102169592B CN201010116487.1A CN201010116487A CN102169592B CN 102169592 B CN102169592 B CN 102169592B CN 201010116487 A CN201010116487 A CN 201010116487A CN 102169592 B CN102169592 B CN 102169592B
- Authority
- CN
- China
- Prior art keywords
- summit
- single arrow
- arrow
- coordinate
- value
- 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.)
- Expired - Fee Related
Links
Landscapes
- Processing Or Creating Images (AREA)
- Image Generation (AREA)
Abstract
The invention provides a method for realizing single arrow animation, which comprises the following steps of: creating a single arrow with a control point; adjusting the control point of the single arrow to obtain a set of single arrows in different time points, wherein the control point is a top point for constructing the single arrow; and performing the interpolation process on the set of single arrows to realize the single arrow animation. By using the method for realizing single arrow animation in the embodiment of the invention, the shape and direction of the arrow can be conveniently changed by adjusting the control point of the arrow; and the single arrow animation can be realized by performing the interpolation process on the arrow with changed shape and direction at a certain time. The single arrow animation can be realized in a way different from the prior art which comprises: firstly manufacturing the arrow pictures with different shapes and directions, and performing the interpolation process on the arrow pictures. The method for realizing the single arrow animation is simpler to realize in comparison with the prior art.
Description
Technical field
The present invention relates to animation design technique field, particularly relate to a kind of single arrow animation implementation method and device.
Background technology
In present weather forecast, usually need to use arrow for representing the movement of satellite cloud layer, the trend of storm, the trend of cold current, such arrow can think that spectators present more intuitive weather information.
In the prior art, arrow is made into a pictures form by method often that make arrow, then as required, arrow artwork is pasted onto appropriate location.When adopting this quadrat method, if when needing in practical application to regulate arrowhead form, direction, then need to make another width arrow artwork according to the shape or direction that regulate rear arrow again.If when will realize the animation of single arrow in the prior art, then need to know in advance that single arrow is in the shape of each time point, direction, then according to time sequencing, make a width width arrow artwork, interpolation processing is done to these arrow artwork, single arrow animation could be realized.The single arrow being exactly employing picture format in addition after amplification, there will be arrow image fuzzy, the slack phenomenon in edge.This is because arrow is picture format, namely arrow consists of pixel, amplify arrow then to need to increase new pixel by the method for interpolation between the neighbor pixel of original composition arrow, when arrow Nonlinear magnify to a certain extent time, because constantly increase new pixel by the method for interpolation between neighbor pixel, and the track of the not exclusively corresponding original arrow of the new pixel increased, thus the arrow after amplifying is caused to occur the fuzzy or rough phenomenon in edge.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of single arrow animation implementation method, can realize single arrow animation easily, user-friendly.
In order to solve the problem, the invention discloses a kind of single arrow animation implementation method, comprising:
Create the single arrow with reference mark;
Regulate single arrow reference mark, obtain one group of list arrow in different time points, described reference mark is the summit forming single arrow;
Interpolation processing is done to described one group of list arrow, realizes single arrow animation.
Further, create single arrow to comprise: the summit determining to form single arrow; Described summit is sequentially connected, forms single arrow.
Further, the summit forming single arrow has 8.
Further, create single arrow to comprise: the summit determining to form single arrow; According to described summit, create the tri patch forming single arrow; Tri patch is integrated and plays up, obtain single arrow.
Further, the summit forming single arrow has 8, i.e. summit 1... summit 8.
Further, 8 summits are determined as follows:
The Bezier that preset path is formed selects first group of discrete point;
Preset the coordinate of two initial points, namely input the coordinate of the first coordinate points and the second coordinate points, wherein the first coordinate points is the point in described first group of discrete point, and the first coordinate points is the 1st summit of single arrow;
Determine the 2nd summit of single arrow according to the transverse axis value on the 1st summit and the longitudinal axis value of the second coordinate points, described 2nd summit is the point in first group of discrete point;
Single arrow the 3rd apex coordinate value is obtained according to the transverse axis value of central point A of the 1st summit and the 2nd summit line and the longitudinal axis value of the second coordinate points;
According to the coordinate figure of the 3rd apex coordinate value and central point A, obtain single arrow the 4th apex coordinate value;
By the connecting line decile of the 4th summit isocenter A, obtain single arrow the 5th apex coordinate value;
By the connecting line decile of the 3rd summit isocenter A, obtain single arrow the 6th apex coordinate value;
The 7th apex coordinate of single arrow is determined according to the transverse axis value on the 1st summit and the longitudinal axis value on the 5th summit;
The 8th apex coordinate of single arrow is determined according to the transverse axis value on the 1st summit and the longitudinal axis value on the 6th summit.
Further, create the tri patch forming single arrow to comprise:
8 summits according to single arrow build 6 tri patchs: tri patch 1-5-7, tri patch 1-6-8, tri patch 1-5-6, tri patch 2-4-5, tri patch 2-3-6, tri patch 2-5-6.
Further, single arrow reference mark is regulated to refer to:
Regulate single arrow the 1st, 2,4,5, the vector value on one or more summits in 7 summits;
Obtain single arrow in difformity and direction.
The embodiment of the present invention additionally provides a kind of single arrow animation implement device, comprising:
Creating unit, for creating the single arrow with reference mark;
Regulon, for regulating single arrow reference mark, obtain one group of list arrow in different time points, described reference mark is the summit forming single arrow;
Processing unit, for doing interpolation processing to described one group of list arrow, realizes single arrow animation.
Further, creating unit comprises:
Summit subelement, for determining the summit forming single arrow;
Dough sheet subelement, for the summit determined according to summit subelement, creates the tri patch forming single arrow;
Play up subelement, play up for tri patch is integrated, obtain single arrow.
Compared with prior art, the present invention has the following advantages:
The one list arrow animation implementation method that the inventive method embodiment provides, by the adjustment at arrow reference mark, change the shape of arrow, direction easily, within a period of time, interpolation processing is done to the arrow in change shape, direction, just can realize single arrow animation.No longer need as prior art, first produce the arrow artwork in difformity, direction, then interpolation processing is done to these arrow artwork could realize single arrow animation.The present invention realizes the method for single arrow animation relative to prior art, implements simpler.
Further, the single arrow created in the inventive method embodiment is obtained after being played up by tri patch integration, when amplifying arrow, because the design feature of tri patch, overcome fuzzy, the rough problem in edge of arrow display that single arrow of picture format in prior art exists after amplifying.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of a kind of single arrow animation implementation method embodiment one of the present invention;
Fig. 2 is the single ARROW structure schematic diagram created in a kind of single arrow animation implementation method embodiment one of the present invention;
Fig. 3 is the process flow diagram determining single arrow summit in a kind of single arrow animation implementation method embodiment two of the present invention;
Fig. 4 is the structural representation of a kind of single arrow animation implement device embodiment three of the present invention.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Embodiment one
With reference to Fig. 1, show the process flow diagram of a kind of embodiment of the method one of the present invention, comprising:
Step 101, creates the single arrow with reference mark;
Creating with the object of single arrow at reference mark is exactly shape and direction in order to change arrow easily, and does not need again as making the every arrow artwork of a width width shape and direction in the prior art.When implementation step 101 creates single arrow, can following steps be adopted:
Determine the summit forming single arrow;
The summit determined sequentially is connected, forms single arrow.
In embodiments of the present invention, single arrow of establishment comprises 8 summits, i.e. summit 1... summit 8, and the single arrow comprising 8 summits of establishment can be shown in Figure 2.
Further, single arrow can also be created in the following way, specifically comprise the steps:
Determine the summit forming single arrow;
According to described summit, create the tri patch forming single arrow;
Tri patch is integrated and plays up, obtain single arrow.
Step 102, regulates single arrow reference mark, obtains one group of list arrow in different time points, and described reference mark is the summit forming single arrow;
When implementing this step, the reference mark of single arrow can be one or more summits of single arrow, regulates single arrow reference mark can realize by regulating in single arrow the vector value of any one or multiple summit.
Step 103, does interpolation processing to described one group of list arrow, realizes single arrow animation.
Method of interpolation is also known as " interpolation method ".Utilize the functional value of function some points in certain interval, make suitable specific function, these aspects get given value, by the approximate value of the value of this specific function as function on other aspects in interval, this method is called method of interpolation.If this specific function is polynomial expression, it is just claimed to be interpolation polynomial.Utilize method of interpolation to choose coordinate points and have multiple way of realization, it belongs to known technology field, and the present invention does not limit at this.
The one list arrow animation implementation method that the inventive method embodiment provides, by the adjustment at arrow reference mark, change the shape of arrow, direction easily, within a period of time, interpolation processing is done to the arrow in change shape, direction, just can realize single arrow animation.No longer need as prior art, first produce the arrow artwork in difformity, direction, then interpolation processing is done to these arrow artwork could realize single arrow animation.The present invention realizes the method for single arrow animation relative to prior art, implements simpler.
Embodiment two
In the present embodiment, give the method how determining single arrow summit, see Fig. 3, specifically can comprise the steps:
Step 301, the Bezier that preset path is formed selects first group of discrete point;
Step 302, preset the coordinate of two initial points, namely input the coordinate of the first coordinate points and the second coordinate points, wherein the first coordinate points is the point in described first group of discrete point, and the first coordinate points is the 1st summit of single arrow;
Step 303, determines the 2nd summit of single arrow according to the transverse axis value on the 1st summit and the longitudinal axis value of the second coordinate points, described 2nd summit is the point in first group of discrete point;
Step 304, obtains single arrow the 3rd apex coordinate value according to the transverse axis value of central point A of the 1st summit and the 2nd summit line and the longitudinal axis value of the second coordinate points;
Step 305, according to the coordinate figure of the 3rd apex coordinate value and central point A, obtains single arrow the 4th apex coordinate value;
Step 306, by the connecting line decile of the 4th summit isocenter A, obtains single arrow the 5th apex coordinate value;
Step 307, by the connecting line decile of the 3rd summit isocenter A, obtains single arrow the 6th apex coordinate value;
Step 308, determines the 7th apex coordinate of single arrow according to the transverse axis value on the 1st summit and the longitudinal axis value on the 5th summit;
Step 309, determines the 8th apex coordinate of single arrow according to the transverse axis value on the 1st summit and the longitudinal axis value on the 6th summit.
In the present embodiment, after determining 8 summits of single arrow, 6 tri patchs (see Fig. 2) can be built according to 8 summits, i.e. tri patch 1-5-7, tri patch 1-6-8, tri patch 1-5-6, tri patch 2-4-5, these six tri patchs integration are played up and can be obtained a single arrow by tri patch 2-3-6, tri patch 2-5-6.
Single arrow that the mode adopting the inventive method embodiment two to provide creates is obtained after being played up by tri patch integration, when amplifying arrow, because the design feature of tri patch, overcome fuzzy, the rough problem in edge of arrow display that single arrow of picture format in prior art exists after amplifying.
Embodiment three
Present invention also offers a kind of embodiment of single arrow animation implement device, see Fig. 4, this device can comprise:
Creating unit 401, for creating the single arrow with reference mark;
Regulon 402, for regulating single arrow reference mark, obtain one group of list arrow in different time points, described reference mark is the summit forming single arrow;
Processing unit 403, for doing interpolation processing to described one group of list arrow, realizes single arrow animation.
Further, creating unit 401 can comprise:
Summit subelement, for determining the summit forming single arrow;
Dough sheet subelement, for the summit determined according to summit subelement, creates the tri patch forming single arrow;
Play up subelement, play up for tri patch is integrated, obtain single arrow.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Above to the single arrow animation implementation method of one provided by the present invention and device, be described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, 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.
Claims (7)
1. a single arrow animation implementation method, is characterized in that, comprising:
Create the single arrow with reference mark;
Regulate single arrow reference mark, obtain one group of list arrow in different time points, described reference mark is the summit forming single arrow;
Interpolation processing is done to described one group of list arrow, realizes single arrow animation;
Wherein, the summit of the single arrow of described formation has 8, i.e. summit 1 ..., summit 8, described 8 summits are determined as follows:
The Bezier that preset path is formed selects first group of discrete point;
Preset the coordinate of two initial points, namely input the coordinate of the first coordinate points and the second coordinate points, wherein the first coordinate points is the point in described first group of discrete point, and the first coordinate points is the 1st summit of single arrow;
Determine the 2nd summit of single arrow according to the transverse axis value on the 1st summit and the longitudinal axis value of the second coordinate points, described 2nd summit is the point in first group of discrete point;
Single arrow the 3rd apex coordinate value is obtained according to the transverse axis value of central point A of the 1st summit and the 2nd summit line and the longitudinal axis value of the second coordinate points;
According to the coordinate figure of the 3rd apex coordinate value and central point A, obtain single arrow the 4th apex coordinate value;
By the connecting line decile of the 4th summit isocenter A, obtain single arrow the 5th apex coordinate value;
By the connecting line decile of the 3rd summit isocenter A, obtain single arrow the 6th apex coordinate value;
The 7th apex coordinate of single arrow is determined according to the transverse axis value on the 1st summit and the longitudinal axis value on the 5th summit;
The 8th apex coordinate of single arrow is determined according to the transverse axis value on the 1st summit and the longitudinal axis value on the 6th summit.
2. method according to claim 1, it is characterized in that, the single arrow of described establishment comprises:
Determine the summit forming single arrow;
Described summit is sequentially connected, forms single arrow.
3. method according to claim 1, it is characterized in that, the single arrow of described establishment comprises:
Determine the summit forming single arrow;
According to described summit, create the tri patch forming single arrow;
Tri patch is integrated and plays up, obtain single arrow.
4. method according to claim 3, is characterized in that, the described tri patch forming single arrow that creates comprises:
8 summits according to single arrow build 6 tri patchs: tri patch 1-5-7, tri patch 1-6-8, tri patch 1-5-6, tri patch 2-4-5, tri patch 2-3-6, tri patch 2-5-6.
5. method according to claim 4, is characterized in that, regulates single arrow reference mark to refer to:
Regulate single arrow the 1st, 2,4,5, the vector value on one or more summits in 7 summits;
Obtain single arrow in difformity and direction.
6. a single arrow animation implement device, is characterized in that, comprising:
Creating unit, for creating the single arrow with reference mark;
Regulon, for regulating single arrow reference mark, obtain one group of list arrow in different time points, described reference mark is the summit forming single arrow;
Processing unit, for doing interpolation processing to described one group of list arrow, realizes single arrow animation;
Wherein, the summit of the single arrow of described formation has 8, i.e. summit 1 ..., summit 8, described 8 summits are determined in the following way:
The Bezier that preset path is formed selects first group of discrete point;
Preset the coordinate of two initial points, namely input the coordinate of the first coordinate points and the second coordinate points, wherein the first coordinate points is the point in described first group of discrete point, and the first coordinate points is the 1st summit of single arrow;
Determine the 2nd summit of single arrow according to the transverse axis value on the 1st summit and the longitudinal axis value of the second coordinate points, described 2nd summit is the point in first group of discrete point;
Single arrow the 3rd apex coordinate value is obtained according to the transverse axis value of central point A of the 1st summit and the 2nd summit line and the longitudinal axis value of the second coordinate points;
According to the coordinate figure of the 3rd apex coordinate value and central point A, obtain single arrow the 4th apex coordinate value;
By the connecting line decile of the 4th summit isocenter A, obtain single arrow the 5th apex coordinate value;
By the connecting line decile of the 3rd summit isocenter A, obtain single arrow the 6th apex coordinate value;
The 7th apex coordinate of single arrow is determined according to the transverse axis value on the 1st summit and the longitudinal axis value on the 5th summit;
The 8th apex coordinate of single arrow is determined according to the transverse axis value on the 1st summit and the longitudinal axis value on the 6th summit.
7. device according to claim 6, is characterized in that, described creating unit comprises:
Summit subelement, for determining the summit forming single arrow;
Dough sheet subelement, for the summit determined according to summit subelement, creates the tri patch forming single arrow;
Play up subelement, play up for tri patch is integrated, obtain single arrow.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010116487.1A CN102169592B (en) | 2010-02-26 | 2010-02-26 | Method and device for realizing single arrow animation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010116487.1A CN102169592B (en) | 2010-02-26 | 2010-02-26 | Method and device for realizing single arrow animation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102169592A CN102169592A (en) | 2011-08-31 |
CN102169592B true CN102169592B (en) | 2015-02-18 |
Family
ID=44490741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010116487.1A Expired - Fee Related CN102169592B (en) | 2010-02-26 | 2010-02-26 | Method and device for realizing single arrow animation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102169592B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109254767A (en) * | 2018-08-28 | 2019-01-22 | 中国科学院海洋研究所 | A kind of polar region Sea Ice Drift vector visualized algorithm |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0909508B1 (en) * | 1996-06-21 | 2004-01-21 | Sony Electronics Inc. | Device user interface with topology map |
US6847364B1 (en) * | 1999-12-23 | 2005-01-25 | Intel Corporation | Methods and apparatus for creating three-dimensional motion illusion in a graphics processing system |
CN100552718C (en) * | 2007-12-26 | 2009-10-21 | 广东威创视讯科技股份有限公司 | The method of graphing and device |
CN101246018B (en) * | 2008-03-14 | 2012-04-11 | 深圳市凯立德欣软件技术有限公司 | Road indication method, device and navigator supporting image |
CN101465973B (en) * | 2008-11-04 | 2010-12-01 | 新奥特(北京)视频技术有限公司 | Method for rendering subtitling based on curved profile closed loop domain and pixel mask matrix |
-
2010
- 2010-02-26 CN CN201010116487.1A patent/CN102169592B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN102169592A (en) | 2011-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108062453B (en) | Flood high-efficiency simulation and high-fidelity visual dynamic display method for water conservancy information system | |
CN101819684B (en) | Spatial acceleration structure for virtual three-dimensional scene of animated film and creation and update method thereof | |
CN102073986A (en) | Method for amplifying frame of display device | |
CN104182999A (en) | Panoramic animation jumping method and system | |
CN102903138B (en) | A kind of two-dimensional digital character skeleton method of operating considering shape | |
CN103198470B (en) | Image cutting method and image cutting system | |
CN107993455B (en) | Single-intersection signal timing method based on complete information static game | |
CN102169592B (en) | Method and device for realizing single arrow animation | |
CN104463954A (en) | Three-dimensional image surface detail simulation method and system | |
CN102800119A (en) | Animation display method and device of three-dimensional curve | |
CN102387413A (en) | Method for displaying weather information on television | |
JP2015103001A5 (en) | ||
CN108090946A (en) | A kind of construction method and device of material ball | |
CN102541488B (en) | Image processing method and system for realizing seamless alignment of projection screen | |
CN103646378A (en) | High reduction degree spatial domain image zooming method based on FPGA platform | |
CN105957002A (en) | Image interpolation enlargement method and device based on triangular grid | |
CN107610062A (en) | The quick identification and bearing calibration of piecture geometry fault based on BP neural network | |
CN101887593A (en) | Method for deforming smart graph-driven grid image | |
CN101276474A (en) | Linear constrained image distortion method based on local coordinates | |
Irving et al. | Developing fractal curves | |
CN104899889A (en) | Video vectorization method based on tetrahedral mesh | |
CN102169595B (en) | A kind of many arrowhead path animation implementation methods and device | |
CN1302440C (en) | Three-D texture chartlet method based on master drawing covering and separating | |
Christian | Beyond big video: The instability of independent networks in a new media market | |
CN109712236A (en) | Three-dimensional visualization implementation method based on SVG map datum |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150218 Termination date: 20170226 |