Method and device for realizing single arrow animation
An implementation method and arrow technology, applied in the field of single arrow animation implementation, can solve the problems of blurred arrow images, unsmooth edges, blurred edges of arrows, etc., and achieve the effect of simple implementation and overcoming blurred arrow display.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] refer to figure 1 , showing a flow chart of Embodiment 1 of a method of the present invention, including:
[0046] Step 101, creating a single arrow with a control point;
[0047] The purpose of creating a single arrow with a control point is to change the shape and direction of the arrow conveniently, instead of making pictures of arrows with various shapes and directions as in the prior art. When implementing step 101 to create a single arrow, the following steps can be used:
[0048] determine the vertices that make up the single arrow;
[0049] Connect the determined vertices in sequence to form a single arrow.
[0050] In the embodiment of the present invention, the created single arrow includes 8 vertices, that is, vertex 1...vertex 8, and the created single arrow including 8 vertices can be found in figure 2 shown.
[0051] Furthermore, a single arrow can also be created in the following way, which specifically includes the following steps:
[0052] determ...
Embodiment 2
[0061] In this embodiment, the method of how to determine the vertex of a single arrow is given, see image 3 , specifically may include the following steps:
[0062]Step 301, selecting a first group of discrete points on the Bezier curve formed by the preset path;
[0063] Step 302, preset the coordinates of two initial points, that is, input the coordinates of the first coordinate point and the second coordinate point, wherein the first coordinate point is a point in the first group of discrete points, and the first coordinate point is a single arrow the first vertex of ;
[0064] Step 303, determining the second vertex of the single arrow according to the horizontal axis value of the first vertex and the vertical axis value of the second coordinate point, and the second vertex is a point in the first group of discrete points;
[0065] Step 304, obtain the coordinate value of the third vertex of the single arrow according to the horizontal axis value of the center point A ...
Embodiment 3
[0074] The present invention also provides an embodiment of a single arrow animation realization device, see Figure 4 , the device can include:
[0075] A creating unit 401, configured to create a single arrow with a control point;
[0076] The adjustment unit 402 is configured to adjust the single arrow control point to obtain a group of single arrows at different time points, and the control points are vertices constituting the single arrow;
[0077] The processing unit 403 is configured to perform interpolation processing on the group of single arrows to realize single arrow animation.
[0078] Further, the creation unit 401 may include:
[0079] Vertex subunit, used to determine the vertices that make up a single arrow;
[0080] The patch subunit is used to create a triangular patch constituting a single arrow according to the vertices determined by the vertex subunit;
[0081] The rendering subunit is used to integrate and render the triangular patches to obtain a si...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 