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

Method and terminal for picking up objects in three-dimensional scene based on touch screen

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

Active Publication Date: 2018-05-15
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
  • Method and terminal for picking up objects in three-dimensional scene based on touch screen
  • Method and terminal for picking up objects in three-dimensional scene based on 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 the pickable objects in the three-dimensional scene can be projected to ascreen space, and a first graph corresponding to each pickable object is obtained; the touch-point coordinate is obtained when the touch screen is clicked, and according to the touch-point coordinate,corresponding second graph in the screen space is generated; whether the second graph and the first graphs are intersected or not is sequentially judged, and if no, the pickable objects in the three-dimensional scene are not picked up; otherwise, according to the intersection area of the first graphs and the second graph, whether the pickable objects, corresponding to the first graphs, in the three-dimensional scene is picked up or not is determined. A complex model of the objects in the three-dimensional scene is simplified, the intersection area calculation efficiency is improved, a touch point is expanded to the second graph of the screen space, and the pick-up precision and the fault tolerance are improved.

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