CN115619984A - Data processing method and device - Google Patents
Data processing method and device Download PDFInfo
- Publication number
- CN115619984A CN115619984A CN202110790967.4A CN202110790967A CN115619984A CN 115619984 A CN115619984 A CN 115619984A CN 202110790967 A CN202110790967 A CN 202110790967A CN 115619984 A CN115619984 A CN 115619984A
- Authority
- CN
- China
- Prior art keywords
- dimensional
- virtual
- selection frame
- dimensional selection
- virtual area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/006—Mixed reality
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Graphics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明公开了一种数据的处理方法及装置。其中,该方法包括:接收生成于第一虚拟区域中的选择操作,并根据选择操作在第一虚拟区域中生成预设大小的立体选择框,其中,立体选择框内包括至少一个虚拟对象;确定容置于立体选择框内的虚拟对象为选中的目标虚拟对象,其中,目标虚拟对象为待移动的虚拟对象;接收移动操作,并根据移动操作将立体选择框从第一虚拟区域移动至第二虚拟区域,其中,立体选择框内的目标虚拟对象跟随立体选择框的移动而移动,第一虚拟区域和第二虚拟区域均为沉浸式三维虚拟空间的区域。本发明解决了现有技术中AR或者MR虚拟空间中仅能对物体和窗口进行逐一移动,导致用户移动多个物体时效率较低的技术问题。
The invention discloses a data processing method and device. Wherein, the method includes: receiving a selection operation generated in the first virtual area, and generating a three-dimensional selection frame of a preset size in the first virtual area according to the selection operation, wherein the three-dimensional selection frame includes at least one virtual object; determining The virtual object contained in the three-dimensional selection frame is the selected target virtual object, wherein the target virtual object is the virtual object to be moved; receiving the movement operation, and moving the three-dimensional selection frame from the first virtual area to the second according to the movement operation The virtual area, wherein, the target virtual object in the three-dimensional selection frame moves following the movement of the three-dimensional selection frame, and the first virtual area and the second virtual area are areas of an immersive three-dimensional virtual space. The invention solves the technical problem in the prior art that only objects and windows can be moved one by one in the AR or MR virtual space, resulting in low efficiency when the user moves multiple objects.
Description
技术领域technical field
本发明涉及数据处理领域,具体而言,涉及一种数据的处理方法及装置。The present invention relates to the field of data processing, in particular to a data processing method and device.
背景技术Background technique
AR(Augmented Reality,增强现实)或者MR(Mixed Reality,混合现实)的穿戴设备(比如,眼镜设备),可以为用户呈现出与现实世界融合的虚拟空间。在使用AR或者MR穿戴设备时,用户可以通过拖动虚拟空间中虚拟物品或者功能窗口,实现对虚拟物品或者功能窗口的移动。然而,当存在多个需要移动的虚拟物品或者功能窗口时,用户需要单独选中每个虚拟物品或者功能窗口,并进行逐一移动,导致移动效率较低,尤其是在两个空间(例如,不同的场景)之间进行移动时,用户需要选中虚拟物品后跑到另一空间后放下,移动多个虚拟物品会导致用户在两个空间往复跑动挪移,耗费用户的时间和体力,用户体验较差。AR (Augmented Reality, Augmented Reality) or MR (Mixed Reality, Mixed Reality) wearable devices (such as glasses devices) can present users with a virtual space that is integrated with the real world. When using an AR or MR wearable device, the user can move the virtual item or the function window by dragging the virtual item or the function window in the virtual space. However, when there are multiple virtual items or function windows that need to be moved, the user needs to individually select each virtual item or function window and move them one by one, resulting in low moving efficiency, especially in two spaces (for example, different When moving between scenes), the user needs to select the virtual item and then run to another space and put it down. Moving multiple virtual items will cause the user to move back and forth between the two spaces, which consumes the user's time and energy, and the user experience is poor. .
针对上述现有技术中AR或者MR虚拟空间中仅能对物体和窗口进行逐一移动,导致用户移动多个物体时效率较低的问题,目前尚未提出有效的解决方案。For the above-mentioned problem in the prior art that only objects and windows can be moved one by one in the AR or MR virtual space, resulting in low efficiency when the user moves multiple objects, no effective solution has been proposed yet.
发明内容Contents of the invention
本发明实施例提供了一种数据的处理方法及装置,以至少解决现有技术中AR或者MR虚拟空间中仅能对物体和窗口进行逐一移动,导致用户移动多个物体时效率较低的技术问题。The embodiment of the present invention provides a data processing method and device to at least solve the problem that in the prior art AR or MR virtual space can only move objects and windows one by one, resulting in low efficiency when the user moves multiple objects question.
根据本发明实施例的一个方面,提供了一种数据的处理方法,包括:接收生成于第一虚拟区域中的选择操作,并根据选择操作在第一虚拟区域中生成预设大小的立体选择框,其中,立体选择框内包括至少一个虚拟对象;确定容置于立体选择框内的虚拟对象为选中的目标虚拟对象,其中,目标虚拟对象为待移动的虚拟对象;接收移动操作,并根据移动操作将立体选择框从第一虚拟区域移动至第二虚拟区域,其中,立体选择框内的目标虚拟对象跟随立体选择框的移动而移动,第一虚拟区域和第二虚拟区域均为沉浸式三维虚拟空间的区域。According to an aspect of an embodiment of the present invention, a data processing method is provided, including: receiving a selection operation generated in the first virtual area, and generating a three-dimensional selection frame of a preset size in the first virtual area according to the selection operation , wherein at least one virtual object is included in the three-dimensional selection frame; the virtual object contained in the three-dimensional selection frame is determined as the selected target virtual object, wherein the target virtual object is the virtual object to be moved; receiving the moving operation, and according to the moving The operation moves the three-dimensional selection frame from the first virtual area to the second virtual area, wherein the target virtual object in the three-dimensional selection frame moves following the movement of the three-dimensional selection frame, and both the first virtual area and the second virtual area are immersive three-dimensional regions of virtual space.
根据本发明实施例的另一方面,还提供了一种数据的处理装置,包括:生成模块,用于接收生成于第一虚拟区域中的选择操作,并根据选择操作在第一虚拟区域中生成预设大小的立体选择框,其中,立体选择框内包括至少一个虚拟对象;选中模块,用于确定容置于立体选择框内的虚拟对象为选中的目标虚拟对象,其中,目标虚拟对象为待移动的虚拟对象;移动模块,用于接收移动操作,并根据移动操作将立体选择框从第一虚拟区域移动至第二虚拟区域,其中,立体选择框内的目标虚拟对象跟随立体选择框的移动而移动,第一虚拟区域和第二虚拟区域均为沉浸式三维虚拟空间的区域。According to another aspect of the embodiments of the present invention, there is also provided a data processing device, including: a generating module, configured to receive a selection operation generated in the first virtual area, and generate a data in the first virtual area according to the selection operation A three-dimensional selection frame with a preset size, wherein the three-dimensional selection frame includes at least one virtual object; a selection module is used to determine that the virtual object contained in the three-dimensional selection frame is the selected target virtual object, wherein the target virtual object is to be selected A moving virtual object; a moving module, configured to receive a moving operation, and move the three-dimensional selection frame from the first virtual area to the second virtual area according to the movement operation, wherein the target virtual object in the three-dimensional selection frame follows the movement of the three-dimensional selection frame While moving, both the first virtual area and the second virtual area are areas of an immersive three-dimensional virtual space.
根据本发明实施例的另一方面,还提供了一种计算机存储介质,计算机存储介质存储有多条指令,指令适于由处理器加载并执行上述任意一项的方法步骤。According to another aspect of the embodiments of the present invention, there is also provided a computer storage medium, where a plurality of instructions are stored in the computer storage medium, and the instructions are suitable for being loaded by a processor and executing any one of the above method steps.
根据本发明实施例的另一方面,还提供了一种穿戴设备,包括,处理器和存储器;其中,存储器存储有计算机程序,计算机程序适于由处理器加载并执行上述任意一项的方法步骤。According to another aspect of the embodiments of the present invention, there is also provided a wearable device, including a processor and a memory; wherein, the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing any one of the above-mentioned method steps .
在本发明实施例中,通过接收生成于第一虚拟区域中的选择操作,并根据选择操作在第一虚拟区域中生成预设大小的立体选择框,其中,立体选择框内包括至少一个虚拟对象,确定容置于立体选择框内的虚拟对象为选中的目标虚拟对象,接收移动操作,并根据移动操作将立体选择框从第一虚拟区域移动至第二虚拟区域,可以实现将第一虚拟区域中的至少一个虚拟对象移动至第一虚拟区域,进而可实现对多个虚拟对象的批量移动,用户不需要对单个虚拟对象进行移动,尤其在两个虚拟空间的移动过程中,用户可以一次完成全部虚拟对象的移动,提高了对虚拟对象的移动效率,进而解决了现有技术中AR或者MR虚拟空间中仅能对物体和窗口进行逐一移动,导致用户移动多个物体时效率较低的技术问题。In the embodiment of the present invention, by receiving a selection operation generated in the first virtual area, and generating a stereoscopic selection frame with a preset size in the first virtual area according to the selection operation, wherein the stereoscopic selection frame includes at least one virtual object , determine the virtual object contained in the three-dimensional selection frame as the selected target virtual object, receive the movement operation, and move the three-dimensional selection frame from the first virtual area to the second virtual area according to the movement operation, so that the first virtual area can be moved At least one virtual object in the virtual space is moved to the first virtual area, so that multiple virtual objects can be moved in batches, and the user does not need to move a single virtual object, especially during the movement of two virtual spaces, the user can complete the movement at one time The movement of all virtual objects improves the efficiency of moving virtual objects, and thus solves the problem that in the prior art AR or MR virtual space can only move objects and windows one by one, resulting in low efficiency when users move multiple objects question.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:
图1是根据本发明实施例的一种数据的处理方法的流程图;Fig. 1 is a flowchart of a data processing method according to an embodiment of the present invention;
图2是根据本发明实施例的一种可选的立体选择框的示意图;Fig. 2 is a schematic diagram of an optional three-dimensional selection frame according to an embodiment of the present invention;
图3是根据本发明实施例可选的根据大小调节操作对立体选择框进行尺寸调节的示意图;Fig. 3 is a schematic diagram of optionally adjusting the size of a three-dimensional selection frame according to a size adjustment operation according to an embodiment of the present invention;
图4是根据本发明实施例可选的根据大小调节操作对立体选择框进行尺寸调节的示意图;Fig. 4 is a schematic diagram of optionally adjusting the size of a three-dimensional selection frame according to a size adjustment operation according to an embodiment of the present invention;
图5是根据本发明实施例对虚拟对象进行移动的示意图;Fig. 5 is a schematic diagram of moving a virtual object according to an embodiment of the present invention;
图6是根据本发明实施例对取消显示立体选择框的示意图;Fig. 6 is a schematic diagram of canceling the display of a three-dimensional selection box according to an embodiment of the present invention;
图7是根据本发明实施例的一种数据的处理装置的示意图。Fig. 7 is a schematic diagram of a data processing device according to an embodiment of the present invention.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
实施例1Example 1
根据本发明实施例,提供了一种数据的处理方法实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。According to an embodiment of the present invention, an embodiment of a data processing method is provided. It should be noted that the steps shown in the flowcharts of the drawings can be executed in a computer system such as a set of computer-executable instructions, and, although A logical order is shown in the flowcharts, but in some cases the steps shown or described may be performed in an order different from that shown or described herein.
图1是根据本发明实施例的数据的处理方法的流程图,如图1所示,该方法包括如下步骤:Fig. 1 is a flowchart of a data processing method according to an embodiment of the present invention, as shown in Fig. 1, the method includes the following steps:
步骤S101,接收生成于第一虚拟区域中的选择操作,并根据选择操作在第一虚拟区域中生成预设大小的立体选择框,其中,立体选择框内包括至少一个虚拟对象。Step S101, receiving a selection operation generated in the first virtual area, and generating a three-dimensional selection frame with a preset size in the first virtual area according to the selection operation, wherein the three-dimensional selection frame includes at least one virtual object.
上述虚拟对象可以为第一虚拟区域中的虚拟物品或者与用户进行交互的窗口,立体选择框内可以仅包含一个虚拟物品或者一个窗口,也可以包含多个虚拟物品或者多个窗口,也可以包含多个虚拟物品与窗口的组合。The above-mentioned virtual object may be a virtual item in the first virtual area or a window for interacting with the user, and the three-dimensional selection frame may only contain one virtual item or one window, or may contain multiple virtual items or multiple windows, or may contain A combination of multiple virtual items and windows.
上述选择操作可以由用户在手持设备或者穿戴设备发出,例如,手持设备可以为遥控器或触控板,用户可以将光标选中虚拟对象,通过按压遥控器的按键或者触控板上的图标,以拖出立体选择框选中第一虚拟区域中的虚拟对象。上述选择操作也可以通过用户在第一虚拟区域中的交互手势实现,例如,交互手势可以为用户在第一虚拟区域中对虚拟对象的点击操作。The above selection operation can be issued by the user on a handheld device or a wearable device. For example, the handheld device can be a remote control or a touchpad. The user can select a virtual object with the cursor and press a button on the remote control or an icon on the touchpad to Drag out the three-dimensional selection box to select the virtual object in the first virtual area. The above selection operation may also be implemented by a user's interactive gesture in the first virtual area. For example, the interactive gesture may be a user's click operation on a virtual object in the first virtual area.
立体选择框为具有三维立体结构的选择框,其形状可以根据用户的需求设定,例如,立体选择框可以为立体矩形,或者球体,或者具有特定设计的多面体等。The three-dimensional selection frame is a selection frame with a three-dimensional structure, and its shape can be set according to user requirements. For example, the three-dimensional selection frame can be a three-dimensional rectangle, or a sphere, or a polyhedron with a specific design.
预设大小为立体选择框在三维坐标系下具有预设大小的尺寸,立体选择框的尺寸根据其不同形状可以用长度、宽度和高度或者直径来表征,预设大小可以根据用户需求设定。例如,图2是根据本发明实施例的一种可选的立体选择框的示意图,如图2所示,在三维XYZ坐标系下,立体选择框200在生成时的长、宽和高分别对应于X轴、Z轴和Y轴。预设大小可以为立体选择框生成时具有固定的长度、宽度和高度,即每次生成的立体选择框具有相同的尺寸。预设大小也可以根据用户的选择操作确定,例如,用户按压住遥控器的触控板在第一虚拟区域中拖出立体选择框,立体选择框的大小根据用户拖动的区域范围确定,拖动的区域范围越大,所生成的立体选择框的尺寸越大。预设大小也可以根据第一虚拟区域中虚拟对象的尺寸确定,例如,用户对虚拟对象的选择操作,生成立体选择框,立体选择框可根据虚拟对象的尺寸自动确定,虚拟对象的尺寸越大,生成的立体选择框越大。The preset size is the preset size of the three-dimensional selection frame in the three-dimensional coordinate system. The size of the three-dimensional selection frame can be represented by length, width and height or diameter according to its different shapes, and the preset size can be set according to user needs. For example, FIG. 2 is a schematic diagram of an optional three-dimensional selection frame according to an embodiment of the present invention. As shown in FIG. 2 , in the three-dimensional XYZ coordinate system, the length, width and height of the three-
在一种可选的实施例中,立体选择框的预设大小可以为在生成时,立体选择框的高度(即图2中的Y轴方向)和长度(即图2中的X轴方向)由用户拖动的区域范围确定,宽度方向由第一虚拟区域中的虚拟对象的尺寸确定。In an optional embodiment, the preset size of the three-dimensional selection frame may be the height (that is, the Y-axis direction in FIG. 2 ) and the length (that is, the X-axis direction in FIG. 2 ) of the three-dimensional selection frame when it is generated. The range of the area dragged by the user is determined, and the width direction is determined by the size of the virtual object in the first virtual area.
步骤S102,确定容置于立体选择框内的虚拟对象为选中的目标虚拟对象,其中,目标虚拟对象为待移动的虚拟对象。Step S102, determining that the virtual object accommodated in the three-dimensional selection frame is the selected target virtual object, wherein the target virtual object is the virtual object to be moved.
目标虚拟对象为上述至少一个虚拟对象。通过上述选择操作,可通过立体选择框框选中多个虚拟对象。在一种可选的实施例中,通过立体选择框完成了对多个虚拟对象的框选后,立体选择框可以改变边框线条的显示状态(例如,改变边框线条的颜色或者粗细,或者增加发光效果等),向用户显示立体选择框处于待移动状态,即立体选择框内部容置的目标虚拟对象处于待移动状态。The target virtual object is at least one virtual object mentioned above. Through the above selection operation, multiple virtual objects can be selected through the three-dimensional selection frame. In an optional embodiment, after completing the frame selection of multiple virtual objects through the three-dimensional selection box, the three-dimensional selection box can change the display state of the border lines (for example, change the color or thickness of the border lines, or increase the luminous effects, etc.), to display to the user that the three-dimensional selection frame is in a state to be moved, that is, the target virtual object accommodated inside the three-dimensional selection frame is in a state to be moved.
步骤S103,接收移动操作,并根据移动操作将立体选择框从第一虚拟区域移动至第二虚拟区域,其中,立体选择框内的目标虚拟对象跟随立体选择框的移动而移动,第一虚拟区域和第二虚拟区域均为沉浸式三维虚拟空间的区域。Step S103, receiving a moving operation, and moving the three-dimensional selection frame from the first virtual area to the second virtual area according to the moving operation, wherein the target virtual object in the three-dimensional selection frame moves following the movement of the three-dimensional selection frame, and the first virtual area Both the second virtual area and the second virtual area are areas of an immersive three-dimensional virtual space.
上述移动操作可以由用户在手持设备或者穿戴设备上发出,例如,用户可以通过长按遥控器的按键或者触控板上的图标,拖动立体选择框移动,在立体选择框到达用户指定的第二虚拟区域时,用户放开遥控器的按键或者触控板上的图标,使得立体选择框停止移动。上述移动操作也可以通过用户的交互手势实现,例如,用户可以在第一虚拟区域用户用手长按住立体选择框,将手滑动至第二虚拟区域后放开,使得立体选择框停止移动。在一种可选的实施例中,当立体选择框处于待移动状态时,用户可以直接用手或者遥控器的光标点击第二虚拟区域,使得立体选择框自动移动至第二虚拟区域。The above-mentioned moving operation can be issued by the user on the handheld device or the wearable device. For example, the user can drag the three-dimensional selection box to move by long pressing the button of the remote control or the icon on the touch panel. In the second virtual area, the user releases the buttons on the remote control or the icons on the touch panel, so that the three-dimensional selection frame stops moving. The above moving operation can also be realized by user's interactive gestures. For example, the user can press and hold the three-dimensional selection frame with the hand in the first virtual area, slide the hand to the second virtual area and release it, so that the three-dimensional selection frame stops moving. In an optional embodiment, when the three-dimensional selection frame is in a state to be moved, the user may directly click the second virtual area with a hand or a cursor of a remote controller, so that the three-dimensional selection frame is automatically moved to the second virtual area.
需要说明的是,目标虚拟对象跟随立体选择框的移动而移动,即无论目标虚拟对象中的虚拟对象的类型或者数量,均会随立体选择框移动而移动,使得用户仅通过移动立体选择框,就可以实现对目标虚拟对象的移动,进而可以实现对多个虚拟对象的移动。It should be noted that the target virtual object moves with the movement of the three-dimensional selection frame, that is, regardless of the type or quantity of the virtual objects in the target virtual object, it will move with the movement of the three-dimensional selection frame, so that the user only needs to move the three-dimensional selection frame, Thus, the movement of the target virtual object can be realized, and then the movement of multiple virtual objects can be realized.
沉浸式三维虚拟空间可以为增强现实虚拟空间、混合现实虚拟空间以及虚拟现实虚拟空间中的任意一个。第一虚拟区域和第二虚拟区域可以为同一个虚拟空间下的不同区域(例如,虚拟空间为一个房间,第一虚拟区域和第二虚拟区域对应于该房间的不同位置),也可以为不同的虚拟空间对应的区域(例如,第一虚拟区域和第二虚拟区域为具有不同场景的两个虚拟房间中的对应区域)。The immersive three-dimensional virtual space may be any one of an augmented reality virtual space, a mixed reality virtual space, and a virtual reality virtual space. The first virtual area and the second virtual area can be different areas under the same virtual space (for example, the virtual space is a room, and the first virtual area and the second virtual area correspond to different positions of the room), or they can be different areas. The corresponding areas of the virtual space (for example, the first virtual area and the second virtual area are corresponding areas in two virtual rooms with different scenes).
在一种可选的实施例中,图5是根据本发明实施例对虚拟对象进行移动的示意图,如图5所示,第一虚拟区域501中包含交互窗口1、窗口2、窗口3和窗口4,以及虚拟物体A和虚拟物体B,用户需要将目标虚拟对象移动至第二虚拟区域502中,目标虚拟对象为用户需要移动的窗口1和虚拟物体A和虚拟物体B,用户可以通过将遥控器发出的射线光标61指向第一虚拟区域501中,按压遥控器的按键,生成立体选择框500,框选中窗口1、虚拟物体A和虚拟物体B使三者容置于立体选择框500内部,长按住遥控器的按键,拖动立体选择框500移动至第二虚拟区域502中,窗口1、虚拟物体A和虚拟物体B随立体选择框500移动而移动,实现了将窗口1和虚拟物体A和虚拟物体B批量移动至第二虚拟区域502中。In an optional embodiment, FIG. 5 is a schematic diagram of moving a virtual object according to an embodiment of the present invention. As shown in FIG. 5 , the first
本实施例中,通过接收生成于第一虚拟区域中的选择操作,并根据选择操作在第一虚拟区域中生成预设大小的立体选择框,其中,立体选择框内包括至少一个虚拟对象,确定容置于立体选择框内的虚拟对象为选中的目标虚拟对象,接收移动操作,并根据移动操作将立体选择框从第一虚拟区域移动至第二虚拟区域,可以实现将第一虚拟区域中的至少一个虚拟对象移动至第一虚拟区域,进而可实现对多个虚拟对象的批量移动,用户不需要对单个虚拟对象进行移动,尤其在两个虚拟空间的移动过程中,用户可以一次完成全部虚拟对象的移动,提高了对虚拟对象的移动效率,解决了现有技术中AR或者MR虚拟空间中仅能对物体和窗口进行逐一移动,导致用户移动多个物体时效率较低的问题。In this embodiment, by receiving a selection operation generated in the first virtual area, and generating a three-dimensional selection frame of a preset size in the first virtual area according to the selection operation, wherein the three-dimensional selection frame includes at least one virtual object, it is determined that The virtual object accommodated in the three-dimensional selection frame is the selected target virtual object, receives the movement operation, and moves the three-dimensional selection frame from the first virtual area to the second virtual area according to the movement operation, which can realize the virtual object in the first virtual area At least one virtual object is moved to the first virtual area, so that multiple virtual objects can be moved in batches, and the user does not need to move a single virtual object, especially during the movement of two virtual spaces, the user can complete all virtual objects at one time. The movement of objects improves the efficiency of moving virtual objects, and solves the problem that only objects and windows can be moved one by one in AR or MR virtual space in the prior art, resulting in low efficiency when users move multiple objects.
作为一种可选的实施例,选择操作包括:生成操作和拖动操作,接收生成于第一虚拟区域中的选择操作,并根据选择操作在第一虚拟区域中生成预设大小的立体选择框,包括:接收生成于第一虚拟区域的空白区域的生成操作,生成预设大小的立体选择框;接收拖动操作,根据拖动操作移动立体选择框的位置,以将虚拟对象容置于立体选择框内部。As an optional embodiment, the selection operation includes: a generation operation and a drag operation, receiving the selection operation generated in the first virtual area, and generating a three-dimensional selection frame of a preset size in the first virtual area according to the selection operation , comprising: receiving a generation operation of a blank area generated in the first virtual area, and generating a three-dimensional selection frame with a preset size; receiving a drag operation, and moving the position of the three-dimensional selection frame according to the drag operation, so as to accommodate the virtual object in the three-dimensional Inside the selection box.
上述第一虚拟区域的空白区域指第一虚拟区域中未放置虚拟对象的区域。上述生成操作和拖动操作可以通过用户按压遥控器的按键或者触控板生成,也可以通过用户的交互手势生成。The above-mentioned blank area of the first virtual area refers to an area in the first virtual area where no virtual object is placed. The above generating operation and dragging operation may be generated by the user pressing a button of the remote controller or a touch panel, or may be generated by the user's interactive gesture.
例如,在第一虚拟区域中,用户可以通过在第一虚拟区域中空白区域按下遥控器的按键或者触控板,在第一虚拟区域中空白区域生成预设大小的立体选择框,此时由于虚拟对象并未将容置于立体选择框中,用户可以将遥控器的光标指向立体选择框,通过长按遥控器的按键或者触控板选中并拖动立体选择框,使得立体选择框移动至虚拟对象的对应位置,将虚拟对象容置于立体选择框内部,完成对虚拟对象的框选。用户也可以通过手指在第一虚拟区域中空白区域的长按操作,生成立体选择框。For example, in the first virtual area, the user may press a button of the remote control or a touchpad in the blank area of the first virtual area, and a three-dimensional selection frame of a preset size is generated in the blank area of the first virtual area. Since the virtual object is not placed in the three-dimensional selection box, the user can point the cursor of the remote control to the three-dimensional selection box, select and drag the three-dimensional selection box by pressing and holding the button of the remote control or the touchpad, so that the three-dimensional selection box moves Go to the corresponding position of the virtual object, place the virtual object inside the three-dimensional selection frame, and complete the frame selection of the virtual object. The user may also generate a three-dimensional selection frame by long-pressing a finger on a blank area in the first virtual area.
作为一种可选的实施例,选择操作包括:生成操作和大小调节操作,接收生成于第一虚拟区域中的选择操作,并根据选择操作在第一虚拟区域中生成预设大小的立体选择框,包括:接收生成于第一虚拟区域的空白区域的生成操作,生成立体选择框,其中,立体选择框包括大小调节控件;接收用于操作大小调节控件的大小调节操作,并根据大小调节操作调节立体选择框的尺寸,以将多个虚拟对象容置于立体选择框内部。As an optional embodiment, the selection operation includes: a generation operation and a size adjustment operation, receiving a selection operation generated in the first virtual area, and generating a three-dimensional selection frame of a preset size in the first virtual area according to the selection operation , comprising: receiving a generation operation of a blank area generated in the first virtual area, and generating a three-dimensional selection frame, wherein the three-dimensional selection frame includes a size adjustment control; receiving a size adjustment operation for operating the size adjustment control, and adjusting the size according to the size adjustment operation The size of the stereoscopic selection box to accommodate multiple virtual objects inside the stereoscopic selection box.
上述大小调节操作可以通过用户按压遥控器的按键或者触控板生成,也可以通过用户的交互手势生成。大小调节控件的显示效果可以为立体选择框的组成元素,例如,立体选择框为矩形时,其边框可以作为大小调节控件,通过拖动边框移动以调整该边框对应的尺寸调整。大小调节控件的显示效果可以为也可以为立体选择框本身,例如,用户通过按压遥控器的按键选中立体选择框,滑动遥控器上的滑动键,可控制立体选择框的尺寸成比例的增大或者缩小;用户也可以在第一虚拟区域中通过手指在立体选择框的放大或缩小手势,控制立体选择框的尺寸成比例的增大或者缩小。The above-mentioned size adjustment operation may be generated by the user pressing a button of the remote controller or a touch panel, or may be generated by the user's interactive gesture. The display effect of the size adjustment control can be a constituent element of the three-dimensional selection box. For example, when the three-dimensional selection box is a rectangle, its border can be used as the size adjustment control, and the size adjustment corresponding to the border can be adjusted by dragging the border to move. The display effect of the size adjustment control can be the three-dimensional selection box itself. For example, the user selects the three-dimensional selection box by pressing the button on the remote control, and slides the sliding key on the remote control to control the size of the three-dimensional selection box to increase proportionally. Or zoom out; the user can also control the size of the three-dimensional selection frame to increase or decrease proportionally by zooming in or zooming out the three-dimensional selection frame with a finger in the first virtual area.
通过对立体选择框的尺寸的调整,可以实现根据目标虚拟对象的数量调整立体选择框的预设大小,使得立体选择框可以框选全部的待移动的虚拟对象。此外,对立体选择框的尺寸的调整还可以灵活的调整目标虚拟对象的数量,将立体选择框内不需要移动的虚拟对象从立体选择框中调整出去。例如,通过生成操作在第一虚拟区域的空白区域生成的预设大小的立体选择框,通过拖动操作将立体选择框移动至待移动的虚拟对象上,但是由于立体选择框尺寸有限,仅能容置其中一部分虚拟对象,则通过对大小调节控件的大小调节操作,将立体选择框尺寸放大,使得立体选择框可容置全部的虚拟对象。By adjusting the size of the three-dimensional selection frame, the preset size of the three-dimensional selection frame can be adjusted according to the number of target virtual objects, so that the three-dimensional selection frame can frame all the virtual objects to be moved. In addition, adjusting the size of the three-dimensional selection frame can also flexibly adjust the number of target virtual objects, and adjust the virtual objects that do not need to be moved within the three-dimensional selection frame from the three-dimensional selection frame. For example, a three-dimensional selection frame of a preset size is generated in the blank area of the first virtual area through the generating operation, and the three-dimensional selection frame is moved to the virtual object to be moved by dragging. However, due to the limited size of the three-dimensional selection frame, only To accommodate a part of the virtual objects, the size of the three-dimensional selection frame is enlarged through the size adjustment operation of the size adjustment control, so that the three-dimensional selection frame can accommodate all the virtual objects.
需要说明的是,立体选择框可以包含多个大小调节控件,多个大小调节控件分别用于不同坐标维度的尺寸调整,例如,设置多个大小调整空间,分别用于调节立体选择框的长度、宽度以及高度。It should be noted that the three-dimensional selection box may contain multiple size adjustment controls, and the multiple size adjustment controls are respectively used for size adjustment of different coordinate dimensions. For example, multiple size adjustment spaces are set to adjust the length, width as well as height.
作为一种可选的实施例,立体选择框为矩形立体选择框,大小调节控件显示于矩形立体选择框的顶角或者边框,接收用于操作大小调节控件的大小调节操作,并根据大小调节操作调节立体选择框的尺寸,包括:接收用于操作显示于顶角的大小调节控件的大小调节操作,并根据大小调节操作调节立体选择框的尺寸在三维方向中的任意方向变化;或者,接收用于操作显示于边框的大小调节控件的大小调节操作,并根据大小调节操作调节立体选择框的尺寸在边框对应的一维或者二维方向上变化。As an optional embodiment, the three-dimensional selection frame is a rectangular three-dimensional selection frame, and the size adjustment control is displayed on the top corner or border of the rectangular three-dimensional selection frame, receives the size adjustment operation for operating the size adjustment control, and adjusts the size according to the Adjusting the size of the three-dimensional selection box includes: receiving a size adjustment operation for operating the size adjustment control displayed on the top corner, and adjusting the size of the three-dimensional selection box to change in any direction in the three-dimensional direction according to the size adjustment operation; or, receiving Based on the size adjustment operation of the size adjustment control displayed on the frame, and according to the size adjustment operation, the size of the three-dimensional selection box is adjusted to change in the one-dimensional or two-dimensional direction corresponding to the frame.
大小调节控件的显示效果可以为显示于矩形立体选择框的顶角或者边框的独立图标,例如可以将控件图标放置于矩形立体选择框的顶角或者边框,也可以将大小调节控件的显示效果与矩形立体选择框的组成元素融合在一起,以实现更好的视觉和操作体验,例如,将矩形立体选择框的边框中的一段进行加粗处理,将加粗部分作为大小调节控件的显示效果,用户通过选中该加粗部分并进行拖动以实现对矩形立体选择框对应尺寸的调整。The display effect of the size adjustment control can be an independent icon displayed on the top corner or border of the rectangular three-dimensional selection box. The constituent elements of the rectangular three-dimensional selection box are fused together to achieve a better visual and operating experience. For example, a part of the border of the rectangular three-dimensional selection box is thickened, and the bold part is used as the display effect of the size adjustment control. The user selects the thickened part and drags to adjust the corresponding size of the rectangular three-dimensional selection frame.
图3是根据本发明实施例可选的根据大小调节操作对立体选择框进行尺寸调节的示意图,如图3所示,用户通过生成操作在第一虚拟区域中生成矩形立体选择框300,矩形立体选择框300的8个顶角进行视觉放大处理后可形成显示于顶角的8个大小调节控件301-308,用户可以用遥控器的光标选中大小调节控件301-308中的任意一个,沿X\Y\Z坐标轴的三维方向中任意一个方向拖动,可实现矩形立体选择框300对应尺寸的调整。例如,选中大小调节控件301,拖动大小调节控件301沿X轴的正向移动,可以增大矩形立体选择框在X轴方向的尺寸(即矩形立体选择框300的长度),拖动大小调节控件301沿X轴和Y轴中的任意方向移动,可以增大矩形立体选择框在X轴和Y轴两个方向的尺寸(即矩形立体选择框300的长度和高度),拖动大小调节控件301沿X轴、Y轴和Z轴中的三维方向移动,可以成比例的增加矩形立体选择框300的体积(即矩形立体选择框300的长度、高度和宽度同时增大)。Fig. 3 is a schematic diagram of adjusting the size of a three-dimensional selection frame according to an optional size adjustment operation according to an embodiment of the present invention. The 8 top corners of the
矩形立体选择框300的边框中的一部分进行加粗处理后,加粗部分可以作为大小调节控件,如图3所示的显示于立体选择框的边框的大小调节控件309-316,用户可以用遥控器的光标选中大小调节控件309-316中的任意一个,沿X\Y\Z坐标轴的任意一个方向拖动,可实现矩形立体选择框300对应尺寸的调整。例如,选中大小调节控件309,拖动大小调节控件309沿X轴的正向移动,可以增大矩形立体选择框在X轴方向的尺寸(即矩形立体选择框300的长度),拖动大小调节控件309沿X轴和Y轴中的任意方向移动,可以增大矩形立体选择框在X轴和Z轴两个方向的尺寸(即矩形立体选择框300的长度和宽度)。After a part of the border of the rectangular three-
在一种可选的实施例中,如图3所示,用户通过上述生成操作生成了矩形立体选择框,预设大小的矩形立体选择框内部容置的虚拟对象包括窗口1、窗口2、窗口3和窗口4,以及虚拟物品A和虚拟物品B。其中,窗口1、窗口2、窗口3和窗口4在三维坐标系下具有不同的三维坐标,具体的,窗口1、窗口2、窗口3和窗口4沿Z轴方向具有不同的坐标值,即窗口1、窗口2、窗口3和窗口4在Z轴方向上分布在不同的位置,用户仅需要移动虚拟物品A和虚拟物品B以及窗口1时,图4是根据本发明实施例可选的根据大小调节操作对立体选择框进行尺寸调节的示意图,如图4所示,可以通过遥控器的光标选中大小调节控件309,拖动大小调节控件309沿Z轴的负方向移动,使得矩形立体选择框在Z轴方向上的尺寸减少,将窗口2-4从矩形立体选择框中排除在外,进而将虚拟物品A和虚拟物品B以及窗口1作为目标虚拟对象。In an optional embodiment, as shown in FIG. 3 , the user generates a rectangular three-dimensional selection frame through the above-mentioned generating operation, and the virtual objects accommodated inside the rectangular three-dimensional selection frame of a preset size include
作为一种可选的实施例,方法还包括:接收旋转操作;根据旋转操作调节立体选择框的朝向。As an optional embodiment, the method further includes: receiving a rotation operation; and adjusting an orientation of the three-dimensional selection frame according to the rotation operation.
上述旋转操作可以通过用户按压遥控器的按键或者触控板生成,也可以通过用户的交互手势生成。例如,用户可以将遥控器的光标指向立体选择框,长按住遥控器的按键并通过将遥控器在左右方向或者上下方向上进行滑动或者旋转,实现立体选择框的朝向调节,具体的,将遥控器向左滑动可实现立体选择框的朝向向左调整,将遥控器向右滑动可实现立体选择框的朝向向右调整。用户也可以用手选中立体选择框后,通过手在第一虚拟区域中不同方向的滑动实现对立体选择框的朝向的调节。The above-mentioned rotation operation may be generated by the user pressing a button of the remote controller or a touch panel, or may be generated by the user's interactive gesture. For example, the user can point the cursor of the remote control to the three-dimensional selection frame, press and hold the button of the remote control, and slide or rotate the remote control in the left, right or up and down directions to adjust the orientation of the three-dimensional selection frame. Slide the remote control to the left to adjust the direction of the three-dimensional selection frame to the left, and slide the remote control to the right to adjust the direction of the three-dimensional selection frame to the right. The user can also adjust the orientation of the three-dimensional selection frame by sliding the hand in different directions in the first virtual area after selecting the three-dimensional selection frame by hand.
在一种可选的实施例中,可以在根据生成操作生成立体选择框之后,通过旋转操作调整立体选择框的朝向,使得用户可以更方面的操控显示于立体选择框不同位置的大小调节控件,例如,如图3所示,刚生成立体选择框时,相对于用于的视角,大小调节控件316位于立体选择框的背面,不方便用户的操作,则可以通过旋转操作改变立体选择框的朝向,使得大小调节控件316可以调整至立体选择框的正面或者便于用于操作的位置。In an optional embodiment, after the three-dimensional selection frame is generated according to the generating operation, the orientation of the three-dimensional selection frame can be adjusted through a rotation operation, so that the user can manipulate the size adjustment controls displayed at different positions of the three-dimensional selection frame in a more comprehensive manner, For example, as shown in FIG. 3 , when the three-dimensional selection frame is just generated, the
作为一种可选的实施例,在接收移动操作,并根据移动操作将立体选择框从第一虚拟区域移动至第二虚拟区域之后,上述方法还包括:接收生成于第二虚拟区域的空白区域的取消操作,根据取消操作取消显示立体选择框。As an optional embodiment, after receiving the moving operation and moving the three-dimensional selection frame from the first virtual area to the second virtual area according to the moving operation, the above method further includes: receiving a blank area generated in the second virtual area According to the cancel operation, the display of the three-dimensional selection box is canceled according to the cancel operation.
上述取消操作可以与上述生成操作的操作方法相同,取消操作可以由用户在第二虚拟区域的空白区域按压遥控器的按键或者触控板生成,也可以通过用户的交互手势生成。The aforementioned cancel operation may be performed in the same manner as the aforementioned generating operation. The canceling operation may be generated by the user pressing a button on the remote control or a touchpad in a blank area of the second virtual area, or may be generated by a user's interactive gesture.
在完成了对目标虚拟对象的移动后,通过取消操作取消显示立体选择框,使得移动完成的虚拟对象在第二虚拟区域中位置固定。如图5所示,第一虚拟区域501中包含窗口1、窗口2、窗口3和窗口4,以及虚拟物品A和虚拟物品B,用户通过移动操作将窗口1、虚拟物品A和虚拟物品B移动至第二虚拟区域502,立体选择框仍显示于第二虚拟区域502中。图6是根据本发明实施例对取消显示立体选择框的示意图,如图6所示,在完成了上述移动操作后,通过取消操作可以取消显示立体选择框,具体的,通过将射线光标指向第二虚拟区域502的空白区域,按压遥控器的按键取消显示立体选择框,此时,在第二虚拟区域502仅显示移动后的窗口1、虚拟物品A和虚拟物品B。After the movement of the target virtual object is completed, the three-dimensional selection frame is canceled through the cancel operation, so that the moved virtual object is fixed in the second virtual area. As shown in Fig. 5, the first
需要说明的是,立体选择框仅为在虚拟对象移动时便于用户操作的中间产物,在完成虚拟对象的移动后,立体选择框不再显示,提高用户在沉浸式三维虚拟空间中的视听体验。It should be noted that the three-dimensional selection frame is only an intermediate product that is convenient for the user to operate when the virtual object is moving. After the virtual object is moved, the three-dimensional selection frame is no longer displayed, which improves the user's audio-visual experience in the immersive three-dimensional virtual space.
作为一种可选的实施例,上述方法还包括,根据手持设备发出的用于指示的射线,生成选择操作和移动操作。As an optional embodiment, the above method further includes generating a selection operation and a movement operation according to the indicating rays emitted by the handheld device.
上述手持设备可以为AR或者MR设备中的遥控设备,例如遥控器或者手柄或者触控板,用户通过在手持设备上的按键或者触控板的按压操作,进而实现对立体选中框的选择操作和移动操作。The above-mentioned handheld device can be a remote control device in an AR or MR device, such as a remote controller or a handle or a touchpad. The user can perform a selection operation on a three-dimensional selection box by pressing a button on the handheld device or a touchpad. Mobile operation.
具体的,手持设备可以在虚拟区域中生成用户指示的射线,该射线为手持设备的指示光标,可用于指示用户通过手持设备所进行操作的目标位置。如图3所示,用户通过遥控器发出的射线光标61所指示的位置确定并选中大小调节控件,也可以通过遥控器发出的射线光标确定第一虚拟区域或者第二虚拟区域的空白区域,以进行选择操作或者取消操作,进而生成或取消立体选择框。Specifically, the handheld device may generate a ray indicated by the user in the virtual area, and the ray is an indicating cursor of the handheld device, and may be used to indicate a target position of an operation performed by the user through the handheld device. As shown in FIG. 3 , the user determines and selects the size adjustment control by the position indicated by the
实施例2Example 2
根据本发明实施例,提供了一种数据的处理装置实施例,图7是根据本发明实施例的数据的处理方法的流程图,如图7所示,该装置包括:According to an embodiment of the present invention, an embodiment of a data processing device is provided. FIG. 7 is a flowchart of a data processing method according to an embodiment of the present invention. As shown in FIG. 7 , the device includes:
生成模块71,用于接收生成于第一虚拟区域中的选择操作,并根据选择操作在第一虚拟区域中生成预设大小的立体选择框,其中,立体选择框内包括至少一个虚拟对象;选中模块72,用于确定容置于立体选择框内的虚拟对象为选中的目标虚拟对象,其中,目标虚拟对象为待移动的虚拟对象;移动模块73,用于接收移动操作,并根据移动操作将立体选择框从第一虚拟区域移动至第二虚拟区域,其中,立体选择框内的目标虚拟对象跟随立体选择框的移动而移动,第一虚拟区域和第二虚拟区域均为沉浸式三维虚拟空间的区域。The generating module 71 is configured to receive a selection operation generated in the first virtual area, and generate a three-dimensional selection frame of a preset size in the first virtual area according to the selection operation, wherein the three-dimensional selection frame includes at least one virtual object; Module 72 is used to determine that the virtual object contained in the three-dimensional selection frame is the selected target virtual object, wherein the target virtual object is the virtual object to be moved; the moving module 73 is used to receive the moving operation, and move the virtual object according to the moving operation. The three-dimensional selection frame moves from the first virtual area to the second virtual area, wherein the target virtual object in the three-dimensional selection frame moves following the movement of the three-dimensional selection frame, and both the first virtual area and the second virtual area are immersive three-dimensional virtual spaces Area.
作为一种可选的实施例,选择操作包括:生成操作和拖动操作,上述生成模块,包括:第一生成子模块,用于接收生成于第一虚拟区域的空白区域的生成操作,生成预设大小的立体选择框;拖动子模块,用于接收拖动操作,根据拖动操作移动立体选择框的位置,以将虚拟对象容置于立体选择框内部。As an optional embodiment, the selection operation includes: a generating operation and a dragging operation, and the above-mentioned generating module includes: a first generating sub-module, configured to receive a generating operation generated in a blank area of the first virtual area, and generate a preset A three-dimensional selection frame with a set size; the dragging submodule is used to receive a drag operation, and move the position of the three-dimensional selection frame according to the drag operation, so as to accommodate the virtual object in the three-dimensional selection frame.
作为一种可选的实施例,选择操作包括:生成操作和大小调节操作,上述生成模块,包括:第二生成子模块,用于接收生成于第一虚拟区域的空白区域的生成操作,生成立体选择框,其中,立体选择框包括大小调节控件;大小调节子模块,用于接收用于操作大小调节控件的大小调节操作,并根据大小调节操作调节立体选择框的尺寸,以将多个虚拟对象容置于立体选择框内部。As an optional embodiment, the selection operation includes: a generation operation and a size adjustment operation, and the above generation module includes: a second generation submodule, configured to receive the generation operation of the blank area generated in the first virtual area, and generate a three-dimensional The selection box, wherein the three-dimensional selection box includes a size adjustment control; the size adjustment sub-module is used to receive a size adjustment operation for operating the size adjustment control, and adjust the size of the three-dimensional selection box according to the size adjustment operation, so that multiple virtual objects It is contained inside the three-dimensional selection box.
作为一种可选的实施例,立体选择框为矩形立体选择框,大小调节控件显示于矩形立体选择框的顶角或者边框,上述大小调节子模块,包括:顶角大小调节子模块,用于接收用于操作显示于顶角的大小调节控件的大小调节操作,并根据大小调节操作调节立体选择框的尺寸在三维方向中的任意方向变化;或者,边框大小调节子模块,用于接收用于操作显示于边框的大小调节控件的大小调节操作,并根据大小调节操作调节立体选择框的尺寸在边框对应的一维或者二维方向上变化。As an optional embodiment, the three-dimensional selection frame is a rectangular three-dimensional selection frame, and the size adjustment control is displayed on the top corner or frame of the rectangular three-dimensional selection frame. The above-mentioned size adjustment submodule includes: a top angle size adjustment submodule, for Receive a size adjustment operation for operating the size adjustment control displayed on the top corner, and adjust the size of the three-dimensional selection box in any direction in the three-dimensional direction according to the size adjustment operation; or, the frame size adjustment submodule is used to receive Operate the size adjustment operation displayed on the size adjustment control of the frame, and adjust the size of the three-dimensional selection frame to change in the one-dimensional or two-dimensional direction corresponding to the frame according to the size adjustment operation.
作为一种可选的实施例,上述装置还包括:旋转操作接收模块,用于接收旋转操作;旋转模块,用于根据旋转操作调节立体选择框的朝向。As an optional embodiment, the above device further includes: a rotation operation receiving module, configured to receive a rotation operation; and a rotation module, configured to adjust the orientation of the three-dimensional selection frame according to the rotation operation.
作为一种可选的实施例,上述装置还包括:取消模块,用于在接收移动操作,并根据所述移动操作将所述立体选择框从所述第一虚拟区域移动至第二虚拟区域之后,接收生成于第二虚拟区域的空白区域的取消操作,根据取消操作取消显示立体选择框。As an optional embodiment, the above device further includes: a cancel module, configured to, after receiving a moving operation and moving the three-dimensional selection frame from the first virtual area to the second virtual area according to the moving operation , receiving a cancel operation generated in the blank area of the second virtual area, and canceling the display of the three-dimensional selection frame according to the cancel operation.
作为一种可选的实施例,上述装置还包括:指示模块,用于根据手持设备发出的用于指示的射线,生成选择操作和移动操作。As an optional embodiment, the above-mentioned apparatus further includes: an indication module, configured to generate a selection operation and a movement operation according to a ray for indication emitted by the handheld device.
实施例3Example 3
根据本发明实施例,提供了一种计算机存储介质的实施例,计算机存储介质存储有多条指令,指令适于由处理器加载并执行上述任意一项的方法步骤。According to an embodiment of the present invention, an embodiment of a computer storage medium is provided. The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing any one of the above method steps.
根据本发明实施例,还提供了一种穿戴设备,包括,处理器和存储器;其中,存储器存储有计算机程序,计算机程序适于由处理器加载并执行上述任意一项的方法步骤。According to an embodiment of the present invention, there is also provided a wearable device, including a processor and a memory; wherein, the memory stores a computer program, and the computer program is adapted to be loaded by the processor to execute any one of the method steps above.
本发明实施例序号仅仅为了描述,不代表实施例的优劣。在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。The serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments. In the above-mentioned embodiments of the present invention, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,可以为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed technical content can be realized in other ways. Wherein, the device embodiments described above are only illustrative. For example, the division of the units may be a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or may be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of units or modules may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes. .
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that, for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110790967.4A CN115619984A (en) | 2021-07-13 | 2021-07-13 | Data processing method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110790967.4A CN115619984A (en) | 2021-07-13 | 2021-07-13 | Data processing method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115619984A true CN115619984A (en) | 2023-01-17 |
Family
ID=84854811
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110790967.4A Pending CN115619984A (en) | 2021-07-13 | 2021-07-13 | Data processing method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115619984A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113849518A (en) * | 2015-10-14 | 2021-12-28 | 微软技术许可有限责任公司 | Assisted search query |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170256096A1 (en) * | 2016-03-07 | 2017-09-07 | Google Inc. | Intelligent object sizing and placement in a augmented / virtual reality environment |
| CN110209276A (en) * | 2019-05-28 | 2019-09-06 | 网易(杭州)网络有限公司 | Object selection method and device, electronic equipment, storage medium in virtual reality |
| CN110825280A (en) * | 2018-08-09 | 2020-02-21 | 北京微播视界科技有限公司 | Method, apparatus and computer-readable storage medium for controlling position movement of virtual object |
| CN111583268A (en) * | 2020-05-19 | 2020-08-25 | 北京数字绿土科技有限公司 | Point cloud virtual selection and cutting method, device and equipment |
| CN112169314A (en) * | 2020-10-20 | 2021-01-05 | 网易(杭州)网络有限公司 | Method and device for selecting target object in game |
| CN112381953A (en) * | 2020-10-28 | 2021-02-19 | 华南理工大学 | Rapid selection method of three-dimensional space unmanned aerial vehicle cluster |
| CN112915530A (en) * | 2021-04-06 | 2021-06-08 | 腾讯科技(深圳)有限公司 | Virtual article selection method, device, equipment and medium |
-
2021
- 2021-07-13 CN CN202110790967.4A patent/CN115619984A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170256096A1 (en) * | 2016-03-07 | 2017-09-07 | Google Inc. | Intelligent object sizing and placement in a augmented / virtual reality environment |
| CN110825280A (en) * | 2018-08-09 | 2020-02-21 | 北京微播视界科技有限公司 | Method, apparatus and computer-readable storage medium for controlling position movement of virtual object |
| CN110209276A (en) * | 2019-05-28 | 2019-09-06 | 网易(杭州)网络有限公司 | Object selection method and device, electronic equipment, storage medium in virtual reality |
| CN111583268A (en) * | 2020-05-19 | 2020-08-25 | 北京数字绿土科技有限公司 | Point cloud virtual selection and cutting method, device and equipment |
| CN112169314A (en) * | 2020-10-20 | 2021-01-05 | 网易(杭州)网络有限公司 | Method and device for selecting target object in game |
| CN112381953A (en) * | 2020-10-28 | 2021-02-19 | 华南理工大学 | Rapid selection method of three-dimensional space unmanned aerial vehicle cluster |
| CN112915530A (en) * | 2021-04-06 | 2021-06-08 | 腾讯科技(深圳)有限公司 | Virtual article selection method, device, equipment and medium |
Non-Patent Citations (1)
| Title |
|---|
| 鸿涛,徐洁,裘实等编著: "《Visual J++ 编程指南》", vol. 1, 31 January 1999, 北京:国防工业出版社, pages: 155 - 157 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113849518A (en) * | 2015-10-14 | 2021-12-28 | 微软技术许可有限责任公司 | Assisted search query |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12307580B2 (en) | Methods for manipulating objects in an environment | |
| Grossman et al. | Multi-finger gestural interaction with 3d volumetric displays | |
| US9886102B2 (en) | Three dimensional display system and use | |
| Telkenaroglu et al. | Dual-finger 3d interaction techniques for mobile devices | |
| US20170263033A1 (en) | Contextual Virtual Reality Interaction | |
| CN114546212B (en) | Method, device and equipment for adjusting interface display state and storage medium | |
| CN114138106B (en) | Transition between states in a hybrid virtual reality desktop computing environment | |
| CN111161396B (en) | Virtual content control method, device, terminal equipment and storage medium | |
| EP2669781B1 (en) | A user interface for navigating in a three-dimensional environment | |
| Bogdan et al. | HybridSpace: Integrating 3D freehand input and stereo viewing into traditional desktop applications | |
| Chae et al. | Wall-based space manipulation technique for efficient placement of distant objects in augmented reality | |
| CN113961107A (en) | Screen-oriented augmented reality interaction method and device and storage medium | |
| CN111708504A (en) | Display method of extended screen | |
| JP5236708B2 (en) | Content display device, control method, portable terminal, program, and recording medium | |
| US20180165877A1 (en) | Method and apparatus for virtual reality animation | |
| CN115619984A (en) | Data processing method and device | |
| JP5767371B1 (en) | Game program for controlling display of objects placed on a virtual space plane | |
| JP6191851B2 (en) | Document presentation method and user terminal | |
| EP2791773B1 (en) | Remote display area including input lenses each depicting a region of a graphical user interface | |
| ElSayed et al. | Blended ui controls for situated analytics | |
| CN116126205A (en) | Interactive control method, device, wearable device and storage medium | |
| CN212256285U (en) | Extended screen display system | |
| CN113961069A (en) | Augmented reality interaction method and device suitable for real object and storage medium | |
| JP2016016319A (en) | Game program for display-controlling objects arranged on virtual spatial plane | |
| US20250110614A1 (en) | Capturing visual properties |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |