发明名称 |
Method and Device for Clicking and Selecting Object in Three-Dimensional Virtual Reality Scene |
摘要 |
A method for clicking and selecting an object in a three-dimensional virtual reality scene is provided. The method includes: receiving a positioning signal of a target object in a three-dimensional virtual reality scene; projecting the target object to a set position in a display window according to the positioning signal; if the target object is displayed at the set position, after a behavior for clicking the target object is perceived, acquiring two-dimensional coordinates corresponding to a clicking position in the display window; determining a single object corresponding to the clicking position according to the two-dimensional coordinates; acquiring a leaf node corresponding to the single object in a tree management structure, and acquiring a father node of the leaf node; if the attribute of the father node is unlock, selecting the single object; if the attribute of the father node is lock, tracing a node from the father node along the direction towards the root node of the tree management structure, wherein the node is closest to the father node and the attribute of the node as a father node is unlock, and selecting a combined object corresponding to the node. Also, a device for clicking and selecting an object in a three-dimensional virtual reality scene is provided. |
申请公布号 |
US2015135128(A1) |
申请公布日期 |
2015.05.14 |
申请号 |
US201214403672 |
申请日期 |
2012.09.12 |
申请人 |
Ren Weifeng |
发明人 |
Ren Weifeng |
分类号 |
G06F3/0481;G06F3/0484;G06T19/00 |
主分类号 |
G06F3/0481 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for clicking and selecting an object in a three-dimensional virtual reality scene, comprising:
A1: receiving a positioning signal of a target object in a three-dimensional virtual reality scene; A2: projecting the target object to a set position in a display window according to the positioning signal; A3: if the target object is displayed at the set position, after a behavior for clicking the target object is perceived, acquiring two-dimensional coordinates corresponding to a clicking position in the display window; A4: determining a single object corresponding to the clicking position according to the two-dimensional coordinates; A5: acquiring a leaf node corresponding to the single object in a tree management structure, and acquiring a father node of the leaf node; A6: if the attribute of the father node is unlock, selecting the single object; A7: if the attribute of the father node is lock, tracing a node from the father node along a direction towards a root node of the tree management structure, wherein the node is closest to the father node and the attribute of the node as a father node is unlock, and selecting a combined object corresponding to the node in the three-dimensional virtual reality scene. |
地址 |
Beijing CN |