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

A method and terminal for picking up objects in a three-dimensional scene based on a touch screen

A 3D scene and touch screen technology, applied in the computer field, can solve problems such as fault tolerance of small objects that cannot be accurately picked up in 3D scenes, time spent rendering textures, and high complexity of intersecting, so as to improve the efficiency of calculating the intersection area, improve accuracy and Fault tolerance, the effect of simplifying complex models

Active Publication Date: 2020-03-17
FUJIAN TQ DIGITAL
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are two main picking solutions for touch screens. One is the ray picking algorithm based on three-dimensional space, which is easier to implement and widely used, but the intersection complexity is higher; the other is the picking algorithm based on GPU programming. , first draw the 3D graphics with geometric primitive ID codes on the off-screen buffer FBO map on the GPU for rendering, and then select the selected primitive by reading the texture map to determine whether to select the corresponding texture
Its limitation is that it needs the support of the rendering pipeline, and it takes time to render the texture in the background every time it is picked up, which is equivalent to repeatedly drawing the scene twice
Moreover, the above two algorithms are based on point picking, so small objects in 3D scenes cannot be accurately picked up and have low fault tolerance. Therefore, a picking method and terminal that can accurately pick up small objects in 3D scenes and have high fault tolerance are needed.

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
  • A method and terminal for picking up objects in a three-dimensional scene based on a touch screen
  • A method and terminal for picking up objects in a three-dimensional scene based on a touch screen

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] A method for picking up a three-dimensional scene object based on a touch screen, comprising steps:

[0057] S1. Project all the pickable objects in the 3D scene to the screen space, and respectively obtain the first graphics corresponding to each pickable object;

[0058] Step S1 specifically includes:

[0059] S11. Project the 8 vertices of the bounding boxes corresponding to all the pickable objects in the 3D scene to the screen space respectively, and obtain the projection coordinates corresponding to the 8 vertices of each bounding box in the screen space;

[0060] S12. According to the projection coordinates corresponding to the 8 vertices of each bounding box in the screen space, respectively obtain the smallest rectangle containing the 8 vertices of the bounding box, and use each of the obtained smallest rectangles as the first graphics corresponding to each pickable object. ;

[0061] S2. Acquire the coordinates of the touch point when the touch screen is cli...

Embodiment 2

[0070] A terminal for picking up three-dimensional scene objects based on a touch screen, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the following steps when executing the program:

[0071] S1. Project all the pickable objects in the 3D scene to the screen space, and respectively obtain the first graphics corresponding to each pickable object;

[0072] Step S1 specifically includes:

[0073] S11. Project the 8 vertices of the bounding boxes corresponding to all the pickable objects in the 3D scene to the screen space respectively, and obtain the projection coordinates corresponding to the 8 vertices of each bounding box in the screen space;

[0074] S12. According to the projection coordinates corresponding to the 8 vertices of each bounding box in the screen space, respectively obtain the smallest rectangle containing the 8 vertices of the bounding box, and use each of the obtained ...

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 terminal for picking up objects in a three-dimensional scene based on a touch screen. All pickable objects in the three-dimensional scene are projected into the screen space, and the first graphics corresponding to each pickable object are obtained respectively; the touch when the touch screen is clicked is obtained. Point coordinates, according to the touch point coordinates, generate a corresponding second graphic in the screen space; determine whether the first graphic and the second graphic intersect in turn, and if not, do not pick up the three-dimensional scene the pickable object; otherwise, determine whether to pick up the pickable object in the three-dimensional scene corresponding to the first graphic based on the intersection area of ​​the first graphic and the second graphic, simplifying the complex model of the three-dimensional scene object and improving calculation Intersection area efficiency expands the touch point into a second graphic in the screen space, improving the accuracy and fault tolerance of picking.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and terminal for picking up three-dimensional scene objects based on a touch screen. Background technique [0002] The picking of 3D graphics objects on the touch screen is an important function in computer graphics processing systems. Most of the 3D graphics systems require users to interact with the system through input devices. There are two main picking solutions for touch screens. One is the ray picking algorithm based on three-dimensional space, which is easier to implement and widely used, but the intersection complexity is higher; the other is the picking algorithm based on GPU programming. , first draw the 3D graphics with geometric primitive ID codes on the off-screen buffer FBO map on the GPU for rendering, and then select the selected primitive by reading the texture map to determine whether to select the corresponding texture. Its limitation is th...

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): G06F3/0484G06F3/0488G06T3/00
CPCG06F3/0484G06F3/0488G06T3/067
Inventor 刘德建陈可林郁欣陈开河陈宏展
Owner FUJIAN TQ DIGITAL