CN105094327B - Adjust the method and device of virtual article attitude angle in Virtual Space - Google Patents

Adjust the method and device of virtual article attitude angle in Virtual Space Download PDF

Info

Publication number
CN105094327B
CN105094327B CN201510432251.1A CN201510432251A CN105094327B CN 105094327 B CN105094327 B CN 105094327B CN 201510432251 A CN201510432251 A CN 201510432251A CN 105094327 B CN105094327 B CN 105094327B
Authority
CN
China
Prior art keywords
attitude angle
angle
equipment
trigger condition
initial
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.)
Active
Application number
CN201510432251.1A
Other languages
Chinese (zh)
Other versions
CN105094327A (en
Inventor
张大为
龙寿伦
李刚
张丰学
熊旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Dlodlo Technologies Co Ltd
Original Assignee
Shenzhen Dlodlo Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Dlodlo Technologies Co Ltd filed Critical Shenzhen Dlodlo Technologies Co Ltd
Priority to CN201510432251.1A priority Critical patent/CN105094327B/en
Publication of CN105094327A publication Critical patent/CN105094327A/en
Priority to PCT/CN2016/076520 priority patent/WO2017012362A1/en
Application granted granted Critical
Publication of CN105094327B publication Critical patent/CN105094327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses the method and devices of adjustment virtual article attitude angle in Virtual Space.The method includes:It detects whether to meet preset trigger condition of the adjustment from the attitude angle in Virtual Space of object corresponding to equipment;When the preset trigger condition meets, initial attitude angle and current pose angle are obtained using calculation corresponding with the preset trigger condition, the corresponding object attitude angle in the current pose angle is calculated according to the initial attitude angle;It is posture indicated by object attitude angle described in the specified coordinate system by the pose adjustment of the virtual article.Using method and device provided by the invention, equipment can be according to the angle change from equipment in realistic space, angles of display of the corresponding adjustment virtual article in Virtual Space, to realize when in realistic space angle change occurs for equipment, corresponding virtual article is also carrying out corresponding angle adjustment in Virtual Space.

Description

Adjust the method and device of virtual article attitude angle in Virtual Space
Technical field
The present invention relates to field of virtual reality, more particularly to adjustment virtual article in Virtual Space the method for attitude angle and Device.
Background technique
Virtual reality (Virtual Reality, abbreviation VR) technology, which refers to, constructs a Virtual Space using electronic equipment, And a kind of technology simulated about sense organs such as vision, the sense of hearings is provided for user according to the Virtual Space.Using virtual reality skill Art can be used family and be interacted with the virtual article in the Virtual Space, for user provide as be personally on the scene vision, listen The experience such as feel, tactile.
For the authenticity for enhancing Virtual Space, the interaction of virtual article in user and Virtual Space is realized, electronic equipment exists When constructing Virtual Space, it is often necessary to pre-select some from equipment present in real world and corresponding in Virtual Space Building is somebody's turn to do virtual article corresponding from equipment with these.When user in realistic space it is mobile these from equipment when, these from The corresponding virtual article of equipment can also be corresponded in Virtual Space and be moved, empty in user and Virtual Space so as to realize The interaction of quasi- object.For example, a virtual palm, the virtual hand can be arranged in Virtual Space when constructing Virtual Space The palm is corresponding with the data glove in realistic space, when user rotates the data glove in realistic space, the virtual palm Also correspondence is rotated, so that user be made to can control object in Virtual Space, realizes virtual article in user and possible space Interaction.
It can thus be seen that ensure that user and the interaction of virtual article in the imaginary space can be realized, it is necessary to from equipment When attitude angle variation occurring in realistic space, corresponding virtual article is also carrying out corresponding attitude angle change in Virtual Space Change.
Summary of the invention
The embodiment of the invention provides the method and devices of adjustment virtual article attitude angle in Virtual Space, to meet root According to the technical need of attitude angle of the attitude angle variation adjustment virtual article of peripheral apparatus in Virtual Space.
In a first aspect, the embodiment of the invention provides a kind of method for adjusting virtual article attitude angle in Virtual Space, This method includes:Main equipment detects whether to meet predetermined trigger of the adjustment from the attitude angle in Virtual Space of object corresponding to equipment Condition;When the preset trigger condition meets, main equipment obtains initial attitude angle and current pose angle, wherein described initial Attitude angle refers to when meeting the preset trigger condition, the attitude angle from equipment in realistic space preset coordinate system, The current pose angle, which refers to, is meeting the preset trigger condition and after specified duration, it is described from equipment described existing Attitude angle in real space coordinate system;Main equipment uses calculation corresponding with the preset trigger condition, according to described first Beginning attitude angle calculates the corresponding object attitude angle in the current pose angle;The pose adjustment of the virtual article is by main equipment Posture indicated by object attitude angle described in the specified coordinate system.
With reference to first aspect, in a first possible implementation of that first aspect, main equipment uses and the predetermined touching The corresponding calculation of clockwork spring part calculates the corresponding object attitude angle packet in the current pose angle according to the initial attitude angle It includes:Main equipment determines the first attitude angle transfer function corresponding with the preset trigger condition, the first attitude angle conversion Function is used to be that input parameter calculates the attitude angle with the initial attitude angle and the current pose angle;Main equipment is with described Initial attitude angle and the current pose angle are input parameter, calculate the target using the first attitude angle transfer function Attitude angle.
With reference to first aspect, in a second possible implementation of that first aspect, main equipment uses and the predetermined touching The corresponding calculation of clockwork spring part calculates the corresponding object attitude angle packet in the current pose angle according to the initial attitude angle It includes:Main equipment determines the second attitude angle transfer function corresponding with the preset trigger condition, the second attitude angle conversion Function be used for the initial attitude angle, the current pose angle and it is described specified when a length of input parameter calculating Virtual Space at the beginning of Beginning attitude angle;Main equipment with the initial attitude angle, the current pose angle and it is described specified when a length of input parameter, use institute It states the second attitude angle transfer function and calculates the target initial attitude angle.
With reference to first aspect, in first aspect in the third possible implementation, the preset trigger condition includes:Institute It states and is pressed from the designated button in equipment;Alternatively, described out of, equipment is located at realistic space designated space;Alternatively, The event that collides between equipment and other equipment;Alternatively, main equipment or from equipment start.
With reference to first aspect or any one in the first to three kind of first aspect possible implementation, in first aspect In four in possible implementation, the method also includes:When the preset trigger condition meets, main equipment obtains initial three Tie up coordinate and current three-dimensional coordinate, wherein the initial three-dimensional coordinate refers to when meeting the preset trigger condition, it is described from Position coordinates of the equipment in realistic space coordinate system, the current three-dimensional coordinate, which refers to, is meeting the preset trigger condition simultaneously After specified duration, the position coordinates from equipment in the realistic space coordinate system, the realistic space coordinate System is the three-dimensional system of coordinate to be established with specified point by origin in realistic space;Main equipment uses and the preset trigger condition Corresponding calculation calculates the corresponding target three-dimensional coordinate of the current three-dimensional coordinate according to the initial three-dimensional coordinate; The virtual article is adjusted into the Virtual Space target three-dimensional coordinate described in any one specified coordinate system by main equipment Indicated position.
4th kind of possible implementation with reference to first aspect, it is main in the 5th kind of possible implementation of first aspect Equipment uses calculation corresponding with the preset trigger condition, is calculated according to the initial three-dimensional coordinate described when first three Tieing up the corresponding target three-dimensional coordinate of coordinate includes:Main equipment determines the first movement letter corresponding with the preset trigger condition Number, first function of movement are used to be described in input parameter calculates with the initial three-dimensional coordinate and the current three-dimensional coordinate Three-dimensional coordinate;Main equipment is input parameter with the initial three-dimensional coordinate and the current three-dimensional coordinate, dynamic using described first The target three-dimensional coordinate is calculated as function.
4th kind of possible implementation with reference to first aspect, it is main in the 6th kind of possible implementation of first aspect Equipment uses calculation corresponding with the preset trigger condition, is calculated according to the initial three-dimensional coordinate described when first three Tieing up the corresponding target three-dimensional coordinate of coordinate includes:Main equipment determines the second movement letter corresponding with the preset trigger condition Number, second function of movement be used for the initial three-dimensional coordinate, the current three-dimensional coordinate and it is described specified when it is a length of defeated Enter parameter and calculates Virtual Space target three-dimensional coordinate;Main equipment is with the initial three-dimensional coordinate, the current three-dimensional coordinate and institute A length of input parameter when stating specified calculates the target three-dimensional coordinate using second function of movement.
Second aspect, the embodiment of the invention also provides a kind of dresses for adjusting virtual article attitude angle in Virtual Space It sets, described device includes:Detection unit, for detecting whether meet adjustment from object corresponding to equipment in Virtual Space posture The preset trigger condition at angle;Acquiring unit, for obtaining initial attitude angle and current appearance when the preset trigger condition meets State angle, wherein the initial attitude angle refers to when meeting the preset trigger condition, described default in realistic space from equipment Attitude angle in coordinate system, the current pose angle, which refers to, is meeting the preset trigger condition and after specified duration, The attitude angle from equipment in the realistic space coordinate system;Computing unit, for using and the preset trigger condition Corresponding calculation calculates the corresponding object attitude angle in the current pose angle according to the initial attitude angle;Adjustment is single Member, for being posture indicated by object attitude angle described in the specified coordinate system by the pose adjustment of the virtual article.
In conjunction with second aspect, in second aspect in the first possible implementation, the computing unit includes:First really Stator unit, for determining the first attitude angle transfer function corresponding with the preset trigger condition, first attitude angle Transfer function is used to be that input parameter calculates the attitude angle with the initial attitude angle and the current pose angle;First calculates Subelement is converted for being input parameter with the initial attitude angle and the current pose angle using first attitude angle Function calculates the object attitude angle.
In conjunction with second aspect, in second of second aspect possible implementation, the computing unit includes:Second really Stator unit, for determining the second attitude angle transfer function corresponding with the preset trigger condition, second attitude angle Transfer function be used for the initial attitude angle, the current pose angle and it is described specified when a length of input parameter calculate virtual sky Between initial attitude angle;Second computation subunit, for the initial attitude angle, the current pose angle and the specified duration To input parameter, the target initial attitude angle is calculated using the second attitude angle transfer function.
Detected whether in the embodiment of the present invention meet adjustment from object corresponding to equipment in Virtual Space attitude angle it is pre- Determine trigger condition;When the preset trigger condition meets, initial attitude angle and current pose angle are obtained, is made a reservation for using with described The corresponding calculation of trigger condition calculates the corresponding targeted attitude in the current pose angle according to the initial attitude angle Angle;It is posture indicated by object attitude angle described in the specified coordinate system by the pose adjustment of the virtual article.Using Method and device provided by the invention, equipment can be according to the angle changes from equipment in realistic space, and corresponding adjustment is virtual Angles of display of the object in Virtual Space, to realize the corresponding void when in realistic space angle change occurs for equipment Quasi- object is also carrying out corresponding angle adjustment in Virtual Space.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow chart of present invention adjustment virtual article method one embodiment of attitude angle in Virtual Space;
Fig. 2 is the flow chart of present invention adjustment virtual article another embodiment of the method for attitude angle in Virtual Space;
Fig. 3 is the structural representation of present invention adjustment virtual article device one embodiment of attitude angle in Virtual Space Figure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Whole description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, for the process of present invention adjustment virtual article method one embodiment of attitude angle in Virtual Space Figure.This method can be executed by virtual reality (Virtual Reality, abbreviation VR) equipment, and the VR equipment can be VR Mirror, VR helmet etc., the equipment that the peripheral apparatus can have display space attitude angle acquisition and reporting ability.This method includes Following steps:
Step 101, main equipment detect whether meet adjustment from object corresponding to equipment in Virtual Space attitude angle it is pre- Determine trigger condition.
Wherein, the preset trigger condition, which can according to need, is configured, and can be specified from equipment from described Button is pressed;Alternatively, described out of, equipment is located at realistic space designated space;Alternatively, described from equipment and other Collide event between equipment;Alternatively, main equipment or from equipment starting etc..
Whether main equipment can be periodically detected whether meet preset trigger condition, can also full according to triggering infomation detection Sufficient preset trigger condition.For example, main equipment, which can be periodically detected from equipment, is when the trigger condition is to start from equipment No starting;It can have been turned on instruction information judgement whether is started from equipment according to whether reporting from equipment.
Step 102, when the preset trigger condition meets, main equipment obtains initial attitude angle and current pose angle, In, the initial attitude angle refers to when meeting the preset trigger condition, it is described from equipment in realistic space preset coordinate system In attitude angle, the current pose angle, which refers to, is meeting the preset trigger condition and after specified duration, it is described from Attitude angle of the equipment in the realistic space coordinate system.
When meeting preset trigger condition, the available initial attitude angle M1 and current pose angle from equipment of main equipment M2。
Step 103, main equipment uses calculation corresponding with the preset trigger condition, according to the initial attitude angle Calculate the corresponding object attitude angle in the current pose angle.
When calculating object attitude angle N, attitude angle conversion corresponding with the preset trigger condition can be determined first Function, the attitude angle transfer function may include for being input with the initial attitude angle M1 and current pose angle M2 Parameter calculates the first attitude angle transfer function of the object attitude angle N, or also may include for the initial attitude Angle M1, the current pose angle M2 and specified duration t are the second attitude angle conversion for inputting parameter and calculating the object attitude angle N Function.
The first attitude angle transfer function can indicate that the second attitude angle transfer function can be used with f (M1, M2) F (M1, M2, t) is indicated.Difference according to actual needs, the first attitude angle transfer function and the second attitude angle transfer function Particular content can also be different, for example, the first attitude angle transfer function can be f (M1, M2)=M2-M1, institute Stating the second attitude angle transfer function can be f (M1, M2, t)=(M2-M1) × t etc..
Main equipment can determine the first attitude angle transfer function corresponding with the preset trigger condition first, described One attitude angle transfer function is used to be that input parameter calculates the attitude angle with the initial attitude angle and the current pose angle; Then it is input parameter with the initial attitude angle and the current pose angle, is calculated using the first attitude angle transfer function The attitude angle out.
Alternatively, main equipment can also determine the second attitude angle conversion letter corresponding with the preset trigger condition first Number, the second attitude angle transfer function be used for the initial attitude angle, the current pose angle and it is described specified when it is a length of It inputs parameter and calculates Virtual Space initial attitude angle;Then with the initial attitude angle, the current pose angle and described specified Shi Changwei inputs parameter, calculates the Virtual Space initial attitude angle using the second attitude angle transfer function.
After calculating attitude angle using the first attitude angle transfer function or the second attitude angle transfer function, main equipment can be with It, can also be using the attitude angle as void directly using the attitude angle as the object attitude angle N for being used to indicate virtual article display position Quasi- space initial target attitude angle Nt, obtains the object attitude angle N after further calculating.
Main equipment can calculate institute according to the Virtual Space initial target attitude angle Nt and specified reference point attitude angle State object attitude angle N, wherein the specified reference point refer to it is former with realistic space attitude angle system coordinate in the coordinate system of Virtual Space The corresponding coordinate points of point.That is N=Vt+K, wherein K is specified with reference to attitude angle in Virtual Space.It is different by being arranged It is specified to refer to attitude angle, the references angle that displaying of the virtual article in Virtual Space is set as needed may be implemented, thus The position from equipment in realistic space is avoided to limit angles of display of the virtual unit in Virtual Space.
For example, in the first attitude angle transfer function f (M1, M2)=M2-M1, it as needed, can be by the value M of M2-M1 As object attitude angle N;It can also be further calculated according to the specified reference point in Virtual Space, be made M+K as value For object attitude angle N.
Step 104, the pose adjustment of the virtual article is targeted attitude described in the specified coordinate system by main equipment Posture indicated by angle.
It, can be by virtual article with angle indicated by the object attitude angle N after the object attitude angle N is determined It is configured, to realize according to aobvious in Virtual Space from angle change adjustment virtual article of the equipment in realistic space Show angle.
Using the present embodiment, main equipment can be according to the angle change from equipment in realistic space, and corresponding adjustment is virtual Angles of display of the object in Virtual Space, to realize the corresponding void when in realistic space angle change occurs for equipment Quasi- object is also carrying out corresponding angle adjustment in Virtual Space.
Due in practical application, from equipment other than it attitudes vibration can occur, it also occur that position is mobile, such as outer If equipment may be moved to another place from a place.Therefore, main equipment in addition to need realize from equipment in reality When moving in space, corresponding virtual article except also being moved in Virtual Space accordingly, it is also necessary to realize from When angle change occurs in realistic space for equipment, corresponding virtual article carries out corresponding angle adjustment in Virtual Space. Therefore in another embodiment, shown in Fig. 2, can also include after step 104:
Step 105, when the preset trigger condition meets, main equipment obtains initial three-dimensional coordinate E1 and current three-dimensional seat Mark E2, wherein the initial three-dimensional coordinate E1 refers to when meeting the preset trigger condition, it is described from equipment in realistic space Position coordinates in coordinate system, the current three-dimensional coordinate E2, which refers to, to be met the preset trigger condition and is passing through specified duration After t, the position coordinates from equipment in the realistic space coordinate system, the realistic space coordinate system is with real empty Between in the three-dimensional system of coordinate established using specified point by origin.
When meeting preset trigger condition, the available initial three-dimensional coordinate E1 and current three-dimensional seat from equipment of main equipment Mark E2.
Step 106, main equipment uses calculation corresponding with the preset trigger condition, according to the initial three-dimensional seat Mark E1 calculates the corresponding target three-dimensional coordinate V of the current three-dimensional coordinate E2.
When calculating target three-dimensional coordinate V, function of movement corresponding with the preset trigger condition can be determined first, The function of movement may include by being inputted in terms of parameter by the initial three-dimensional coordinate E1 and current three-dimensional coordinate E2 The first function of movement of the target three-dimensional coordinate V is calculated, or also may include for the initial three-dimensional coordinate E1, described Current three-dimensional coordinate E2 and specified duration t is the second function of movement for inputting parameter and calculating the target three-dimensional coordinate V.
First function of movement indicates that second function of movement can be indicated with f (E1, E2, t) with f (E1, E2). The particular content of difference according to actual needs, first function of movement and the second function of movement can also be different, example Such as, f (E1, E2)=E2-E1, f (E1, E2, t)=(E2-E1) × t etc..
Main equipment can determine the first function of movement corresponding with the preset trigger condition, first movement first Function is used to be that input parameter calculates the three-dimensional coordinate with the initial three-dimensional coordinate and the current three-dimensional coordinate;Then with The initial three-dimensional coordinate and the current three-dimensional coordinate are input parameter, calculate described three using first function of movement Tie up coordinate.
Alternatively, main equipment can also determine the second function of movement corresponding with the preset trigger condition first, it is described Second function of movement by by the initial three-dimensional coordinate, the current three-dimensional coordinate and it is described specified when a length of input parameter in terms of Calculate Virtual Space target three-dimensional coordinate;Then with the initial three-dimensional coordinate, the current three-dimensional coordinate and the specified duration To input parameter, the target three-dimensional coordinate is calculated using second function of movement.
After calculating three-dimensional coordinate using the first function of movement or the second function of movement, main equipment can directly by this three Dimension coordinate, can also be using the three-dimensional coordinate as virtual empty as the target three-dimensional coordinate V for being used to indicate virtual article display position Between initial target three-dimensional coordinate Vt, the target three-dimensional coordinate V is obtained after further calculating.
Main equipment can be calculated according to the Virtual Space initial target three-dimensional coordinate Vt and specified reference point three-dimensional coordinate The target three-dimensional coordinate V out, wherein the specified reference point refer in the coordinate system of Virtual Space with realistic space three-dimensional coordinate It is the corresponding coordinate points of coordinate origin.That is V=Vt+Z, wherein Z is the specified reference point three-dimensional coordinate in Virtual Space.It is logical It crosses and different specified reference points is set, the benchmark position that displaying of the virtual article in Virtual Space is set as needed may be implemented It sets, so that the position from equipment in realistic space be avoided to limit display position of the virtual unit in Virtual Space.
For example, in the first function of movement f (E1, E2)=E2-E1, it as needed, can be using the value E of E2-E1 as mesh Mark three-dimensional coordinate V;It can also be further calculated according to the specified reference point in Virtual Space, regard E+Z as mesh as value Mark three-dimensional coordinate V.
Step 107, the virtual article is adjusted into the Virtual Space mesh described in any one specified coordinate system Mark position indicated by three-dimensional coordinate V.
After the target three-dimensional coordinate V is determined, virtual article can be arranged signified in the target three-dimensional coordinate V The position shown, to realize according to aobvious in Virtual Space from change in location adjustment virtual article of the equipment in realistic space Show position.
Using the present embodiment, main equipment can be according to the movement from equipment in realistic space, corresponding adjustment virtual article Position in Virtual Space, to realize when equipment moves in realistic space, corresponding virtual article is also virtual It is moved accordingly in space.
Corresponding with present invention adjustment virtual article method of attitude angle in Virtual Space, the embodiment of the present invention also provides The device of adjustment virtual article attitude angle in Virtual Space.
Referring to Fig. 3, for device one embodiment structural representation of present invention adjustment virtual article position in Virtual Space Figure.
As shown in figure 3, the apparatus may include:Detection unit 301, acquiring unit 302, computing unit 303, adjustment unit 304。
Wherein, detection unit 301, for detecting whether meet adjustment from object corresponding to equipment in Virtual Space posture The preset trigger condition at angle;Acquiring unit 302, for when the preset trigger condition meets, obtaining initial attitude angle and working as Preceding attitude angle, wherein the initial attitude angle refers to when meeting the preset trigger condition, it is described from equipment in realistic space Attitude angle in preset coordinate system, the current pose angle refer to meet the preset trigger condition and by specified duration it Afterwards, the attitude angle from equipment in the realistic space coordinate system;Computing unit 303, for using and the predetermined touching The corresponding calculation of clockwork spring part calculates the corresponding object attitude angle in the current pose angle according to the initial attitude angle; Adjustment unit 304, for being that object attitude angle described in the specified coordinate system is signified by the pose adjustment of the virtual article The posture shown.
Optionally, the computing unit 303 includes:First determines subelement, for the determining and preset trigger condition Corresponding first attitude angle transfer function, the first attitude angle transfer function are used for the initial attitude angle and described work as Preceding attitude angle is that input parameter calculates the attitude angle;First computation subunit, for the initial attitude angle and described working as Preceding attitude angle is input parameter, calculates the object attitude angle using the first attitude angle transfer function.
Optionally, the computing unit 303 includes:Second determines subelement, for the determining and preset trigger condition Corresponding second attitude angle transfer function, the second attitude angle transfer function are used for the initial attitude angle, described work as Preceding attitude angle and it is described specified when a length of input parameter calculate Virtual Space initial attitude angle;Second computation subunit, for The initial attitude angle, the current pose angle and it is described specified when a length of input parameter, use second attitude angle to convert Function calculates the target initial attitude angle.
Using the present embodiment, described device can be according to the angle change from equipment in realistic space, and corresponding adjustment is empty Quasi- angles of display of the object in Virtual Space, thus realize when in realistic space angle change occurs for equipment, it is corresponding Virtual article is also carrying out corresponding angle adjustment in Virtual Space.
It is required that those skilled in the art can be understood that the technology in the embodiment of the present invention can add by software The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present invention substantially or Say that the part that contributes to existing technology can be embodied in the form of software products, which can deposit Storage is in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that computer equipment (can be with It is personal computer, server or the network equipment etc.) execute certain part institutes of each embodiment of the present invention or embodiment The method stated.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The embodiments of the present invention described above are not intended to limit the scope of the present invention.It is any in the present invention Spirit and principle within made modifications, equivalent substitutions and improvements etc., should all be included in the protection scope of the present invention.

Claims (9)

1. a kind of method for adjusting virtual article attitude angle in Virtual Space, which is characterized in that including:
Main equipment detects whether to meet preset trigger condition of the adjustment from the attitude angle in Virtual Space of object corresponding to equipment;Institute Stating preset trigger condition includes:The designated button from equipment is pressed;Alternatively, described be located at realistic space from equipment Within the scope of designated space;Alternatively, the event that collides between equipment and other equipment;Alternatively, main equipment or from equipment Starting;
When the preset trigger condition meets, main equipment obtains initial attitude angle and current pose angle, wherein the initial appearance State angle refers to when meeting the preset trigger condition, the attitude angle from equipment in realistic space preset coordinate system, institute State current pose angle and refer to and meeting the preset trigger condition and after specified duration, it is described from equipment in the reality Attitude angle in space coordinates;
Main equipment uses calculation corresponding with the preset trigger condition, calculates described work as according to the initial attitude angle The corresponding object attitude angle of preceding attitude angle;
The pose adjustment of the virtual article is appearance indicated by object attitude angle described in the specified coordinate system by main equipment State.
2. the method as described in claim 1, which is characterized in that main equipment uses calculating corresponding with the preset trigger condition Mode, calculating the corresponding object attitude angle in the current pose angle according to the initial attitude angle includes:
Main equipment determines the first attitude angle transfer function corresponding with the preset trigger condition, the first attitude angle conversion Function is used to be that input parameter calculates the attitude angle with the initial attitude angle and the current pose angle;
Main equipment is input parameter with the initial attitude angle and the current pose angle, converts letter using first attitude angle Number calculates the object attitude angle.
3. the method as described in claim 1, which is characterized in that main equipment uses calculating corresponding with the preset trigger condition Mode, calculating the corresponding object attitude angle in the current pose angle according to the initial attitude angle includes:
Main equipment determines the second attitude angle transfer function corresponding with the preset trigger condition, the second attitude angle conversion Function be used for the initial attitude angle, the current pose angle and it is described specified when a length of input parameter calculating Virtual Space at the beginning of Beginning attitude angle;
Main equipment with the initial attitude angle, the current pose angle and it is described specified when a length of input parameter, use described Two attitude angle transfer functions calculate the target initial attitude angle.
4. method as described in any one of claims 1 to 3, which is characterized in that the method also includes:
When the preset trigger condition meets, main equipment obtains initial three-dimensional coordinate and current three-dimensional coordinate, wherein described first Beginning three-dimensional coordinate refers to that when meeting the preset trigger condition, the position from equipment in realistic space coordinate system is sat Mark, the current three-dimensional coordinate refers to after meeting the preset trigger condition and passing through specified duration, described to exist from equipment Position coordinates in the realistic space coordinate system, the realistic space coordinate system be using in realistic space using specified point as origin The three-dimensional system of coordinate established;
Main equipment uses calculation corresponding with the preset trigger condition, is calculated according to the initial three-dimensional coordinate described The corresponding target three-dimensional coordinate of current three-dimensional coordinate;
The virtual article is adjusted into the Virtual Space three-dimensional of target described in any one specified coordinate system by main equipment Position indicated by coordinate.
5. method as claimed in claim 4, which is characterized in that main equipment uses calculating corresponding with the preset trigger condition Mode, calculating the corresponding target three-dimensional coordinate of the current three-dimensional coordinate according to the initial three-dimensional coordinate includes:
Main equipment determines that the first function of movement corresponding with the preset trigger condition, first function of movement are used for institute It states initial three-dimensional coordinate and the current three-dimensional coordinate and calculates the target three-dimensional coordinate for input parameter;
Main equipment is input parameter with the initial three-dimensional coordinate and the current three-dimensional coordinate, uses first function of movement Calculate the target three-dimensional coordinate.
6. method as claimed in claim 4, which is characterized in that main equipment uses calculating corresponding with the preset trigger condition Mode, calculating the corresponding target three-dimensional coordinate of the current three-dimensional coordinate according to the initial three-dimensional coordinate includes:
Main equipment determines that the second function of movement corresponding with the preset trigger condition, second function of movement are used for institute State initial three-dimensional coordinate, the current three-dimensional coordinate and it is described specified when a length of input parameter calculate Virtual Space target three-dimensional and sit Mark;
Main equipment with the initial three-dimensional coordinate, the current three-dimensional coordinate and it is described specified when a length of input parameter, use institute It states the second function of movement and calculates the target three-dimensional coordinate.
7. a kind of device for adjusting virtual article attitude angle in Virtual Space, which is characterized in that including:
Detection unit, for detecting whether meeting predetermined trigger of the adjustment from the attitude angle in Virtual Space of object corresponding to equipment Condition;The preset trigger condition includes:The designated button from equipment is pressed;Alternatively, described be located at now from equipment Within the scope of the designated space of the real space;Alternatively, the event that collides between equipment and other equipment;Alternatively, main equipment Or start from equipment;
Acquiring unit, for obtaining initial attitude angle and current pose angle, wherein institute when the preset trigger condition meets It states initial attitude angle to refer to when meeting the preset trigger condition, the appearance from equipment in realistic space preset coordinate system State angle, the current pose angle refers to after meeting the preset trigger condition and passing through specified duration, described to exist from equipment Attitude angle in the realistic space coordinate system;
Computing unit is calculated for using calculation corresponding with the preset trigger condition according to the initial attitude angle The corresponding object attitude angle in the current pose angle out;
Adjustment unit, for being that object attitude angle described in the specified coordinate system is signified by the pose adjustment of the virtual article The posture shown.
8. device as claimed in claim 7, which is characterized in that the computing unit includes:
First determines subelement, described for determining the first attitude angle transfer function corresponding with the preset trigger condition First attitude angle transfer function is used to be that input parameter calculates the posture with the initial attitude angle and the current pose angle Angle;
First computation subunit uses described for being input parameter with the initial attitude angle and the current pose angle One attitude angle transfer function calculates the object attitude angle.
9. device as claimed in claim 7, which is characterized in that the computing unit includes:
Second determines subelement, described for determining the second attitude angle transfer function corresponding with the preset trigger condition Second attitude angle transfer function be used for the initial attitude angle, the current pose angle and it is described specified when a length of input parameter Calculate Virtual Space initial attitude angle;
Second computation subunit, for the initial attitude angle, the current pose angle and it is described specified when a length of input join Number, calculates the target initial attitude angle using the second attitude angle transfer function.
CN201510432251.1A 2015-07-22 2015-07-22 Adjust the method and device of virtual article attitude angle in Virtual Space Active CN105094327B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510432251.1A CN105094327B (en) 2015-07-22 2015-07-22 Adjust the method and device of virtual article attitude angle in Virtual Space
PCT/CN2016/076520 WO2017012362A1 (en) 2015-07-22 2016-03-16 Method and apparatus for adjusting attitude angle of virtual object in virtual space

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510432251.1A CN105094327B (en) 2015-07-22 2015-07-22 Adjust the method and device of virtual article attitude angle in Virtual Space

Publications (2)

Publication Number Publication Date
CN105094327A CN105094327A (en) 2015-11-25
CN105094327B true CN105094327B (en) 2018-11-30

Family

ID=54574961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510432251.1A Active CN105094327B (en) 2015-07-22 2015-07-22 Adjust the method and device of virtual article attitude angle in Virtual Space

Country Status (2)

Country Link
CN (1) CN105094327B (en)
WO (1) WO2017012362A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094327B (en) * 2015-07-22 2018-11-30 深圳多新哆技术有限责任公司 Adjust the method and device of virtual article attitude angle in Virtual Space
CN105068679A (en) * 2015-07-22 2015-11-18 深圳多新哆技术有限责任公司 Method and device for regulating position of virtual object in virtual space
CN107577337A (en) * 2017-07-25 2018-01-12 北京小鸟看看科技有限公司 A kind of keyboard display method for wearing display device, device and wear display device
CN111427447B (en) * 2020-03-04 2023-08-29 青岛小鸟看看科技有限公司 Virtual keyboard display method, head-mounted display device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7826641B2 (en) * 2004-01-30 2010-11-02 Electronic Scripting Products, Inc. Apparatus and method for determining an absolute pose of a manipulated object in a real three-dimensional environment with invariant features
CN102553232A (en) * 2010-12-07 2012-07-11 鼎亿数码科技(上海)有限公司 Human posture capture apparatus and implementing method thereof
CN103900473A (en) * 2014-03-31 2014-07-02 浙江大学 Intelligent mobile device six-degree-of-freedom fused pose estimation method based on camera and gravity inductor

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3183632B2 (en) * 1997-06-13 2001-07-09 株式会社ナムコ Information storage medium and image generation device
US7961909B2 (en) * 2006-03-08 2011-06-14 Electronic Scripting Products, Inc. Computer interface employing a manipulated object with absolute pose detection component and a display
US9229540B2 (en) * 2004-01-30 2016-01-05 Electronic Scripting Products, Inc. Deriving input from six degrees of freedom interfaces
JP4789745B2 (en) * 2006-08-11 2011-10-12 キヤノン株式会社 Image processing apparatus and method
CN102961871B (en) * 2012-11-28 2015-07-01 广州代代星电子科技有限公司 Method for realizing motion sensing game
CN104102332B (en) * 2013-04-08 2017-07-28 鸿富锦精密工业(深圳)有限公司 Display device and its control system and method
CN104679246B (en) * 2015-02-11 2017-10-20 华南理工大学 The Wearable and control method of human hand Roaming control in a kind of interactive interface
CN105094327B (en) * 2015-07-22 2018-11-30 深圳多新哆技术有限责任公司 Adjust the method and device of virtual article attitude angle in Virtual Space

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7826641B2 (en) * 2004-01-30 2010-11-02 Electronic Scripting Products, Inc. Apparatus and method for determining an absolute pose of a manipulated object in a real three-dimensional environment with invariant features
CN102553232A (en) * 2010-12-07 2012-07-11 鼎亿数码科技(上海)有限公司 Human posture capture apparatus and implementing method thereof
CN103900473A (en) * 2014-03-31 2014-07-02 浙江大学 Intelligent mobile device six-degree-of-freedom fused pose estimation method based on camera and gravity inductor

Also Published As

Publication number Publication date
WO2017012362A1 (en) 2017-01-26
CN105094327A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN106582012B (en) Climbing operation processing method and device under a kind of VR scene
CN105096384B (en) Adjust the method and device of virtual article position and attitude angle
US9914047B2 (en) Aiming method and device for shooting game
CN105094327B (en) Adjust the method and device of virtual article attitude angle in Virtual Space
WO2017012361A1 (en) Method and apparatus for adjusting position of virtual object in virtual space
KR20220016274A (en) artificial reality system with sliding menu
KR101833253B1 (en) Object manipulation method in augmented reality environment and Apparatus for augmented reality implementing the same
EP3639120A1 (en) Displacement oriented interaction in computer-mediated reality
KR20220018559A (en) Artificial Reality System with Self-Haptic Virtual Keyboard
CN106178504B (en) Virtual objects motion control method and device
CN109529327B (en) Target positioning method and device in virtual interaction scene and electronic equipment
JP2013097805A (en) Three-dimensional interactive system and three-dimensional interactive method
CN106445118A (en) Virtual reality interaction method and apparatus
WO2017028527A1 (en) Method and apparatus for determining touch event in virtual space
CN106371579B (en) Control the method, apparatus and virtual reality interactive system of virtual reality interaction controller deformation flexible
CN110147159B (en) Target positioning method and device in virtual interaction scene and electronic equipment
CN106681506B (en) Interaction method for non-VR application in terminal equipment and terminal equipment
JP6732078B2 (en) System, method and non-transitory computer readable medium for integrating haptic overlays in augmented reality
CN108803862B (en) Account relation establishing method and device used in virtual reality scene
CN108628452B (en) Virtual reality equipment, display control method and device based on virtual reality equipment
CN106371574B (en) The method, apparatus and virtual reality interactive system of touch feedback
Nguyen et al. Poster: 3-Point++: A new technique for 3D manipulation of virtual objects
US20210041944A1 (en) User interface device and control method thereof for supporting easy and accurate selection of overlapped virtual objects
KR101962464B1 (en) Gesture recognition apparatus for functional control
CN108664124A (en) A kind of control method and device based on attitude information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant