Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for realizing Chinese marking in three-dimensional scene

A three-dimensional scene, Chinese technology, applied in the 3D field, can solve problems such as low efficiency, and achieve the effect of reducing workload, improving efficiency and high efficiency

Inactive Publication Date: 2013-01-09
GUANGDONG VTRON TECH CO LTD
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Based on this, it is necessary to provide a method and device for realizing Chinese annotation in a 3D scene for the problem of inefficiency in the above scheme 3

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
  • Method and device for realizing Chinese marking in three-dimensional scene
  • Method and device for realizing Chinese marking in three-dimensional scene
  • Method and device for realizing Chinese marking in three-dimensional scene

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In the OGRE 3D engine, the font format exists as a material object, which collects character texture and coordinate information. The font information is stored in a file in .fontdef format, which is parsed when the system starts, and its basic format is as follows:

[0030]

[0031] Among them, the type attribute: TrueType font, tells OGRE to generate texture fonts;

[0032] source attribute: load ttf files representing Chinese fonts, such as simkai.ttf file loading;

[0033] size attribute: the size of the font point, where the point is the unit of traditional measurement of word size, 1p≈0.35mm;

[0034] resolution attribute: display resolution / dots per inch, which is used to combine the size of the dots to determine the final size of the font on the target display;

[0035] code points attribute: This attribute allows the user to specify which Unicode code points need to obtain the glyph texture, that is, the set of characters in the text annotation.

[0036] T...

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 provides a method and a device for realizing Chinese marking in a three-dimensional scene. The method comprises the following steps of: establishing a corresponding font file for each font, wherein the parameters of each attribute are preset in the font files; finding a target font file according to the font style selected by a user, performing Unicode code conversion on a Chinese characters input by the user to obtain a corresponding Unicode code set, and modifying the parameters in the target font file according to the Unicode code set; loading the target font file in which the parameters are modified and generating corresponding font texture; acquiring a UV coordinate of the font texture; performing rectangle establishing and texture mapping according to the UV coordinate of the font texture; setting the color and the size of the font texture which is subjected to the texture mapping; and performing three-dimensional (3d) rendering. The method and the device provided by the invention have the advantages that the efficiency is high, real-time Chinese marking is realized, and a plurality of fonts are supported.

Description

technical field [0001] The invention relates to 3D technology, in particular to a method for realizing Chinese labeling in a three-dimensional scene and a device for realizing Chinese labeling in a three-dimensional scene. Background technique [0002] With the continuous development of computer technology, more and more 3D scene applications have changed from concept to reality, such as 3D games, virtual navigation, virtual simulation systems and so on. 3D scenes are generally realized with the help of 3D design engines provided by third parties. Among many 3D graphics engines, OGRE (Object-Oriented Graphics Rendering Engine, Object-Oriented Graphics Rendering Engine) is an open source 3D graphics rendering engine that makes full use of Object-oriented technology makes the realization of 3D software more convenient, and thus has been widely used. At present, OGRE has been successfully applied in many 3D simulation projects, including online games and some commercial 3D sim...

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): G06T11/60G06T19/20
Inventor 李金凤康晓林
Owner GUANGDONG VTRON TECH CO LTD