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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com