Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Nine-grid frame drawing method and device and nine-grid frame rotating method and device

A texture rendering and conversion unit technology, which is applied in graphics and image conversion, image data processing, 3D image processing, etc., and can solve problems such as low processing efficiency

Inactive Publication Date: 2013-01-02
TCL CORPORATION
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the embodiments of the present invention is to provide a method and device for drawing a nine-square grid, and a method and a device for rotating a nine-square grid, aiming to solve the problem that the existing nine-square grid implementation method makes the processing efficiency too low when the icons in the nine-square grid need to be changed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Nine-grid frame drawing method and device and nine-grid frame rotating method and device
  • Nine-grid frame drawing method and device and nine-grid frame rotating method and device
  • Nine-grid frame drawing method and device and nine-grid frame rotating method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] Such as figure 1 Shown is a flow chart of a preferred Jiugongge drawing method provided by the first embodiment of the present invention. For ease of description, only the parts related to the embodiment of the present invention are shown.

[0029] In step S101, the vertices of each icon and background of the Jiugongge are loaded, and the projection mode of the Jiugongge is set to perspective projection.

[0030] In the embodiment of the present invention, the vertex coordinates of the nine icons and the background of the Jiugongge are loaded into the memory, wherein each icon has four vertices, and the background also has four vertices, and a total of 40 vertex coordinates are loaded into the memory. And set the projection mode of Jiugongge to perspective projection by setting each parameter of perspective projection in the perspective projection function, wherein, the method of setting the projection mode of Jiugongge to perspective projection is not limited here, the...

Embodiment 2

[0039] Because the existing Jiugongge cannot dynamically modify the display effect of each icon. Therefore if figure 2 Shown is a flow chart of a preferred nine-square grid implementation method based on the nine-square grid drawn in the first embodiment provided by the second embodiment of the present invention. For ease of description, only the parts related to the embodiment of the present invention are shown.

[0040] in such as figure 1 After the step S101 and step S102, the implementation method of the preferred Jiugongge provided by the second embodiment of the present invention also includes the following steps:

[0041] In step S201, it is judged whether the icon lighting instruction or the icon grayscale instruction is received, if the icon lighting instruction is received, step S202 is executed, and if the icon grayscale instruction is received, step S203 is executed.

[0042] In step S202, a preset highlight mask image is mixed with the icon specified by the ico...

Embodiment 3

[0050] Such as image 3 Shown is a flow chart of a Jiugongge rotation method based on the Jiugongge drawn in Embodiment 1 or Embodiment 2 provided by the third embodiment of the present invention. part.

[0051] In step S301, when a nine-square grid rotation command is received, the nine-square grid is converted into a 3D nine-square grid.

[0052] In the embodiment of the present invention, when receiving a nine-square grid rotation command from the user, a 3D nine-square grid is drawn, and the single-sided nine-square grid drawn in the above-mentioned embodiment 1 or embodiment 2 is replaced with a 3D nine-square grid. Wherein, the 3D nine-square grid includes front and bottom two-sided nine-square grid, and each side nine-square grid is the same as the single-sided nine-square grid drawn in Embodiment 1 or Embodiment 2, and each icon and background are drawn with different textures. The Jiugongge rotation instruction can be activated by the user hovering the mouse on the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention is suitable for the field of multimedia application, and provides a nine-grid frame drawing method, a nine-grid frame drawing device, a nine-grid frame rotating method and a nine-grid frame rotating device based on a drawn nine-grid frame. The nine-grid frame drawing method comprises the steps of loading icons of the nine-grid frame and peaks of a background, and setting a projection mode of the nine-grid frame into perspective projection; and respectively drawing the background and the icons of the perspective projection by adopting different textures. According to the embodiment, the nine-grid frame is drawn by a adopting method of mixing multiple textures; if the icons in the nine-grid frame are changed, only the changed icons are required to be replaced, and the whole nine-grid frame is not required to be replaced; and the drawing efficiency of the nine-grid frame is guaranteed.

Description

technical field [0001] The invention belongs to the field of multimedia applications, and in particular relates to a method and a device for drawing a nine-square grid, and a method and a device for rotating a nine-square grid. Background technique [0002] The traditional Jiugongge implementation method is to dynamically synthesize nine icons and a background image into a picture with a program, and then generate a Jiugongge texture from the picture. Therefore, when one of the icons changes, it is necessary to recombine 9 icons and backgrounds into a new picture and regenerate a texture of all icons and backgrounds, which makes the processing efficiency of icon changes extremely low. Every time you change the Jiugongge, you need to re-acquire the image files of the 9 icons for decoding, and synthesize the 9 icons into a picture. If the acquired 9 pictures are not the same size, you need to stretch or stretch the picture itself. Scaling takes up too much CPU and memory reso...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T3/60G06T15/80G06T15/04
Inventor 卢伟超赵智宝李星张颖黄雅琳
Owner TCL CORPORATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products