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

Trigonometric function calculating method in three-dimensional (3D) graphics rendering

A graphics rendering and trigonometric function technology, applied in the field of 3D graphics rendering, can solve problems such as low computing efficiency, achieve simple calculation methods, and improve the efficiency of trigonometric function computing

Active Publication Date: 2012-07-11
BEIJING PIXEL SOFTWARE TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] It can be seen that in the prior art, the calculation of trigonometric functions is mainly realized through the 12-term power series expansion, because the power series expansion has too many items, so the calculation efficiency is relatively low

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
  • Trigonometric function calculating method in three-dimensional (3D) graphics rendering
  • Trigonometric function calculating method in three-dimensional (3D) graphics rendering
  • Trigonometric function calculating method in three-dimensional (3D) graphics rendering

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the object, technical solution and advantages of the present invention clearer, the solutions of the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0029] The core idea of ​​the present invention is: decompose radian r into large angle t and small angle k, according to the one-to-one correspondence between each sequence number and the sine function value of the large angle corresponding to the sequence number established in advance, and the relationship between each sequence number and the sequence number The one-to-one correspondence between the cosine function values ​​of the corresponding large angle Find the sine function value sin(t) and the cosine function value cos(t) of the large angle t, and then use the power series expansion of the two terms to calculate the sine function value sin of the small angle k (k) and cosine function value cos(k), and finally calculate the sine f...

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 discloses a trigonometric function calculating method in three-dimensional graphics (3D) rendering. The method comprises the following steps of: decomposing a radian r into a big angle t and a small angle k; searching the sine function value sin(t) and the cosine function cos(t) of the big angle t according to pre-created one-to-one corresponding relation between each sequence number and the sine function value of the big angle corresponding to the sequence number, and the one-to-one corresponding relation between each sequence number and the cosine function value of the big angle corresponding to the sequence number; calculating the sine function value sin(k) and the cosine function cos(k) of the small angle k by using the power series expansion equation of the sine function value sin(t) and the cosine function cos(t); and calculating the sine function value sin(r) and the cosine function cos(r) of the radian r according to a trigonometric function and a difference formula. By the method, the trigonometric function calculation efficiency in 3D rendering can be improved.

Description

technical field [0001] The invention relates to 3D graphics rendering technology, in particular to a trigonometric function calculation method in 3D graphics rendering. Background technique [0002] In 3D graphics programs, trigonometric function evaluation operations are often used, such as particle systems, Billboard algorithms, grass body generation in scenes, and skeletal animation modules. The operation efficiency of trigonometric functions will affect the effect of graphics. Improving the operation efficiency of trigonometric functions will help the program to run smoothly and enhance the performance of particle effects. [0003] In the prior art, the calculation of trigonometric functions is realized according to the mathematics library XNAMath in the DirectX SDK toolkit, and the details are as follows: [0004] DirectX SDK is a software development toolkit for Microsoft's multimedia interface solution, the most important part of which is the graphics rendering inter...

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 Patents(China)
IPC IPC(8): G06T15/00
Inventor 蒋黎
Owner BEIJING PIXEL SOFTWARE TECH