A kind of method and device adjusting virtual reality scenario parameterTechnical field
The present invention relates to the field of virtual reality, particularly relate to a kind of method adjusting virtual reality scenario parameter and dressPut.
Background technology
Virtual reality (Virtual Reality, be called for short VR) is the new and high technology occurred in recent years, also referred to as virtual reality orArtificial environment.Virtual reality is to utilize the VR helmet and VR electronic equipment to match, and simulation produces a three-dimensional virtual generationBoundary, it is provided that to user about the simulation of the sense organs such as vision, audition, sense of touch, allow user as on the spot in person.
At present, virtual reality to realize process as follows: first user wears the VR helmet;Then set up the VR helmet and VRThe communication connection of electronic equipment, is provided with the program realizing a certain virtual reality, is such as provided with reality in described VR electronic equipmentThe program of existing sea floor world virtual reality;Finally, user uses the display screen of VR helmet viewing VR electronic equipment, can experienceThree-dimensional virtual world.
In actual applications, user often has the demand adjusting currently playing virtual reality scenario parameter, such as adjusts and works asThe luminance parameter etc. of front scene.And in actual applications, the adjustment button that user is only capable of by the VR helmet carries out parameter adjustment.ByIn user when wearing the VR helmet, above-mentioned adjustment button cannot be seen, so that user adjusts virtual scene parameterProcess is complicated, reduces regulated efficiency.
Summary of the invention
It is an object of the invention to provide a kind of method and device adjusting virtual reality scenario parameter, to improve user's adjustmentThe efficiency of virtual reality scenario parameter.
It is an object of the invention to be achieved through the following technical solutions:
On the one hand, the present invention discloses a kind of method adjusting virtual reality scenario parameter, including:
In currently playing virtual reality scenario, show adjustment frame, described adjustment frame, be used for adjusting virtual reality scenarioParameter;
The ray that selects according to being received is projected to the position of display screen, determines the adjustment frame that user is selected, describedDisplay screen, is used for playing virtual reality scenario and showing described adjustment frame, described selection ray, is used for selecting to adjust frame;
Set the tone selected by user the preset function of whole frame, adjust the parameter of currently playing virtual reality scenario.
Optionally, described according to the selection received
Ray is projected to the position of display screen, determines the adjustment frame that user is selected, including:
Detect whether described display screen receives the projection selecting ray;
If receiving the projection of described selection ray, obtaining described selection ray and being projected to the position seat of display screenMark;
Judge whether described position coordinates is positioned at the regional extent of described adjustment frame;
If located in described regional extent, determine that user selectes described adjustment frame.
Optionally, described according to the position selecting ray to be projected to display screen received, determine what user was selectedAdjust frame, including:
Detect whether described display screen receives the projection selecting ray;
If receiving the projection of described selection ray, obtaining described selection ray and being projected to the position seat of display screenMark;
Judge whether described position coordinates is positioned at the regional extent adjusting frame;
If located in described regional extent, it is judged that described selection ray is in the stay time of described adjustment frame regional extentWhether more than preset duration;
If greater than preset duration, determine that user selectes described adjustment frame.
Optionally, described method also includes:
The adjustment frame being selected user, is identified operation.
Optionally, vision-control frame in currently playing virtual reality scenario, including: in currently playing virtual realityScene shows multiple conditioning box, and the preset function of each adjustment frame is different.
On the other hand, the present invention discloses a kind of device adjusting virtual reality scenario parameter, including:
Display module, for showing adjustment frame, described adjustment frame in currently playing virtual reality scenario, is used for adjustingThe parameter of virtual reality scenario;
Determine module, for being selected ray at the launching position of display screen according to receive, determine that user is selectedAdjustment frame, described display screen, is used for playing virtual reality scenario and display adjusts frame, described selection ray, is used for selectingSelect adjustment frame,;
Adjusting module, for the preset function of whole frame of setting the tone selected by user, adjusts currently playing virtual reality scenarioParameter.
Optionally, described determine module, including:
Whether the first detector unit, receive the projection of selection ray for detecting described display screen;
First acquiring unit, for when described display screen receives the projection selecting ray, obtaining described selection and penetrateLine is projected to the position coordinates of display screen;
First judging unit, for judging whether described position coordinates is positioned at the regional extent of described adjustment frame;
First selectes unit, for when described position coordinates is positioned at described regional extent, determines that user selectes described tuneWhole frame.
Optionally, described determine module, including:
Whether the second detector unit, receive the projection of selection ray for detecting described display screen;
Second acquisition unit, for when described display screen receives the projection selecting ray, obtaining described selection and penetrateLine is projected to the position coordinates of display screen;
Second judging unit, for judging whether described position coordinates is positioned at the regional extent of adjustment frame;
3rd judging unit, for when described position coordinates is positioned at described regional extent, it is judged that described selection ray existsWhether the stay time of described adjustment frame regional extent is more than preset duration;
Second selectes unit, for when described stay time is more than described preset duration, determining that user selectes described tuneWhole frame.
Optionally, described device also includes:
Mark module, for the adjustment frame being selected user, is identified operation.
Optionally, described display module, it is additionally operable to: in currently playing virtual reality scenario, show multiple conditioning box,And the preset function of each adjustment frame is different.
Beneficial effect: therefore, in embodiments of the present invention, first show in currently playing virtual reality scenarioAdjust frame;Then it is projected to the position of display screen according to the ray that selects received, determines the adjustment frame that user is selected;?After, according to the preset function of selected whole frame of setting the tone, adjust the parameter of currently playing virtual reality scenario.Owing to implementing in the present inventionIn example, user by selecting ray, adjustment frame can be selected, and then realize the tune to currently playing virtual reality scenario parameterWhole;So, relative to the adjustment button of user's adjustment VR helmet blindly, use the method and device of the present invention, use can be improvedThe regulated efficiency at family.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existingIn having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is thisSome bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to rootOther accompanying drawing is obtained according to these accompanying drawings.
One schematic flow sheet of the method adjusting virtual reality scenario parameter that Fig. 1 provides for the present invention;
The schematic diagram adjusting frame that Fig. 2 provides for the present invention;
One schematic flow sheet of the method adjusting virtual reality scenario parameter that Fig. 3 provides for the present invention;
Another schematic flow sheet of the method adjusting virtual reality scenario parameter that Fig. 4 provides for the present invention;
One structural representation of the device adjusting virtual reality scenario parameter that Fig. 5 provides for the present invention;
Another structural representation of the method adjusting virtual reality scenario parameter that Fig. 6 provides for the present invention;
Another structural representation of the method adjusting virtual reality scenario parameter that Fig. 7 provides for the present invention;
Another structural representation of the method adjusting virtual reality scenario parameter that Fig. 8 provides for the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, completeDescribe, it is clear that described embodiment is only a part of embodiment of the present invention wholely, be not whole embodiments.Based onEmbodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premiseEmbodiment, broadly falls into the scope of protection of the invention.
Embodiment one
The present invention provides a kind of method adjusting virtual reality scenario parameter, and the application scenarios of the method is as follows: Yong HupeiWear VR (Virtual Reality, the virtual reality) helmet;User sets up the communication connection of the VR helmet and VR electronic equipment, describedVR electronic equipment is provided with realization void in can being specially the smart machine such as smart mobile phone, panel computer, and described VR electronic equipmentIntend the program of reality;User utilizes the display screen of VR helmet viewing VR electronic equipment, and the most now VR electronic equipment is broadcastPut a series of scenes of virtual reality;And the method adjusting virtual reality scenario parameter that the present invention provides, as it is shown in figure 1, extremelyComprise the following steps less:
Step S11: described VR electronic equipment shows adjustment frame, described adjustment in currently playing virtual reality scenarioFrame, for adjusting the parameter of currently playing virtual reality scenario, such as, luminance parameter, the offset parameter of scene, and, patternParameter etc..
In embodiments of the present invention, adjustment frame shown in virtual reality scenario, can the most as shown in Figure 2;NeedIllustrating, Fig. 2 is only exemplary to have marked 3 and adjust frames, in actual applications, those skilled in the art, can be according to needAsk, quantity and the size adjusting frame is set voluntarily.
Step S12: described VR electronic equipment is projected to the position of display screen according to the ray that selects received, and determines useThe adjustment frame that family is selected, described display screen, it is used for playing virtual reality scenario and showing described adjustment frame, described selectionRay, is used for selecting to adjust frame;
In embodiments of the present invention, described selection ray can be specially the projection of the VR helmet.In actual applications, user is worked asWhen wearing the VR helmet, the position of the VR helmet can be adjusted, so that the focus of user's eyes is consistent with the focus of VR helmet glasses lens,And after both focuses are consistent, the VR helmet can project select ray (in embodiments of the present invention, described from this focusSelect ray can be specially infrared-ray) on the display screen of VR electronic equipment.Further, examine when the sensor of the VR helmetWhen measuring user mobile, the distance that user moves, the distance then moved according to user can be obtained, adjust projection and select rayPosition, that is, the position of ray thrown in by the VR helmet, can move along with the movement of user.Concrete, in the embodiment of the present inventionIn, selection ray can be worked as when being projected in the region of a certain adjustment frame, it is believed that user selectes this operation box.
Step S13: described VR electronic equipment is seted the tone the preset function of whole frame selected by user, adjusts currently playing virtualThe parameter of reality scene.
In embodiments of the present invention, multiple adjustment frame can be set in the display screen of VR electronic equipment, and preset eachAdjust the function of frame, such as can adjust frame by one, be preset as, by the brightness of currently playing scene, lightening 5 degree;Another adjusts frame,It is preset as, by the pattern of currently playing scene, being adjusted to film mode.So, the selected operation of user is received when an adjustment frameTime, described VR electronics is arranged can be according to the preset function of described selected adjustment frame, directly to currently playing virtual reality scenarioParameter is adjusted,.
Therefore, in embodiments of the present invention, in currently playing virtual reality scenario, first show adjustment frame;SoIt is projected to the position of display screen according to the ray that selects received afterwards, determines the adjustment frame that user is selected;Finally, according to instituteThe selected preset function adjusting frame, adjusts the parameter of currently playing virtual reality scenario.Due in embodiments of the present invention, userBy selecting ray, adjustment frame can be selected, and then realize the adjustment to currently playing virtual reality scenario parameter;So, phaseUser's blindness is adjusted to the adjustment button of the VR helmet, the method using the present invention, can improve the regulated efficiency of user.
Embodiment two
The present invention also provides for a kind of method adjusting virtual reality scenario parameter, as it is shown on figure 3, at least include following stepRapid:
Step S31: described VR electronic equipment shows adjustment frame, described adjustment in currently playing virtual reality scenarioFrame, for adjusting the parameter of currently playing virtual reality scenario;
Step S32: whether described VR electronic equipment detection display screen receives the projection selecting ray;If receivedArrive, perform step S33;Otherwise, flow process is terminated;
In embodiments of the present invention, described display screen the most described VR electronic equipment is used for playing virtual reality fieldScape, and, display adjusts the screen of frame;
Step S33: described VR electronic equipment obtains described selection ray and is projected to the position coordinates of display screen;
Step S34: described VR electronic equipment judges whether described position coordinates is positioned at the regional extent adjusting frame;IfIt is positioned at, performs step S35;Otherwise, flow process is terminated;
Step S35: described VR electronic equipment determines that user selectes this adjustment frame.
In embodiments of the present invention, the adjustment frame self selected to make user know, can specifically user be selectedAdjustment frame be identified operation, described mark operation can be specially highlighted operation.
Step S36: described VR electronic equipment is seted the tone the preset function of whole frame selected by user, adjusts currently playing virtualThe parameter of reality scene.
Therefore, in embodiments of the present invention, can determine that user is selected according to the launching position coordinate of selection rayAdjustment frame.
Embodiment three
The present invention also provides for a kind of method adjusting virtual reality scenario parameter, as shown in Figure 4, at least includes following stepRapid:
Step S41: described VR electronic equipment shows adjustment frame, described adjustment in currently playing virtual reality scenarioFrame, for adjusting the parameter of currently playing virtual reality scenario;
Step S42: whether described VR electronic equipment detection display screen receives the projection selecting ray;If receivedArrive, perform step S43;Otherwise, flow process is terminated;
In embodiments of the present invention, described display screen the most described VR electronic equipment is used for playing virtual reality fieldThe screen of scape;
Step S43: described VR electronic equipment determines that described selection ray is projected to the position coordinates of display screen;
Step S44: described VR electronic equipment judges whether described position coordinates is positioned at the regional extent adjusting frame;IfIt is positioned at, performs step S45;Otherwise, flow process is terminated;
Step S45: described VR electronic equipment judges that described selection ray is when being positioned at the stop adjusting frame regional extentLong whether more than preset duration;If it does, perform step S46;Otherwise, flow process is terminated;
In embodiments of the present invention, described preset duration, those skilled in the art can sets itself.
Step S46: determine that user selectes described adjustment frame;
In embodiments of the present invention, the adjustment frame self selected to make user know, can specifically user be selectedAdjustment frame be identified operation, described mark operation can be specially highlighted operation.
Step S47: described VR electronic equipment is seted the tone the preset function of whole frame selected by user, adjusts currently playing virtualThe parameter of reality scene.
Therefore, in embodiments of the present invention, only select ray to adjust the duration of frame stop more than when presetting oneTime long, just determine that user selectes this adjustment frame, so, the maloperation of user can be avoided.
Embodiment four
Corresponding with the embodiment of above-mentioned adjustment virtual reality scenario parameter, it is virtual existing that the present invention also provides for a kind of adjustmentThe device of real scenario parameters, as it is shown in figure 5, described device includes:
Display module 51, for showing adjustment frame, described adjustment frame in currently playing virtual reality scenario, is used for adjustingThe parameter of whole virtual reality scenario;
Determine module 52, for being selected ray at the launching position of display screen according to receive, determine selected by userFixed adjustment frame, described selection ray, be used for selecting adjusting frame, described display screen, be used for playing virtual reality scenario andDisplay adjusts frame;
Adjusting module 53, for the preset function of whole frame of setting the tone selected by user, adjusts currently playing virtual reality fieldThe parameter of scape.
Therefore, in embodiments of the present invention, in currently playing virtual reality scenario, first show adjustment frame;SoIt is projected to the position of display screen according to the ray that selects received afterwards, determines the adjustment frame that user is selected;Finally, according to instituteThe selected preset function adjusting frame, adjusts the parameter of currently playing virtual reality scenario.Due in embodiments of the present invention, userBy selecting ray, adjustment frame can be selected, and then realize the adjustment to currently playing virtual reality scenario parameter;So, phaseUser's blindness is adjusted to the adjustment button of the VR helmet, use assembly of the invention, the regulated efficiency of user can be improved.
It should be noted that the display module 51 of the present invention, determine that the function of module 52 and adjusting module 53 can be concreteRealized by VR electronic equipment.
Embodiment five
The present invention also provides for a kind of device adjusting virtual reality scenario parameter, and as shown in Figure 6, described device includes:
Display module 51, for showing adjustment frame, described adjustment frame in currently playing virtual reality scenario, is used for adjustingThe parameter of whole virtual reality scenario;
Determine module 52, for being selected ray at the launching position of display screen according to receive, determine selected by userFixed adjustment frame, described selection ray, be used for selecting adjusting frame, described display screen, be used for playing virtual reality scenario andDisplay adjusts frame;
In embodiments of the present invention, described determine module 52, may particularly include: the first detector unit 61, be used for detecting aobviousWhether display screen curtain receives the projection selecting ray;First acquiring unit 62, for penetrating when described display screen receives selectionDuring the projection of line, obtain described selection ray and be projected to the position coordinates of display screen;First judging unit 63, is used for judging instituteState whether position coordinates is positioned at the regional extent of described adjustment frame;First selectes unit 64, for when described position coordinates positionWhen described regional extent, determine that user selectes described adjustment frame.
Adjusting module 53, for the preset function of whole frame of setting the tone selected by user, adjusts currently playing virtual reality fieldThe parameter of scape.
Therefore, in embodiments of the present invention, can determine that user is selected according to the launching position coordinate of selection rayAdjustment frame.
Embodiment six
The present invention also provides for a kind of device adjusting virtual reality scenario parameter, as it is shown in fig. 7, described device includes:
Display module 51, for showing adjustment frame, described adjustment frame in currently playing virtual reality scenario, is used for adjustingThe parameter of whole virtual reality scenario;
Determine module 52, for being selected ray at the launching position of display screen according to receive, determine selected by userFixed adjustment frame, described selection ray, be used for selecting adjusting frame, described display screen, be used for playing virtual reality scenario andDisplay adjusts frame;
In embodiments of the present invention, described determine module 52, may particularly include: the second detector unit 71, be used for detecting aobviousWhether display screen curtain receives the projection selecting ray;Second acquisition unit 72, for penetrating when described display screen receives selectionDuring the projection of line, obtain described selection ray and be projected to the position coordinates of display screen;Second judging unit 73, is used for judging instituteState whether position coordinates is positioned at the regional extent adjusting frame;
3rd judging unit 74, for when described position coordinates is positioned at described regional extent, it is judged that described selection is penetratedWhether line is more than preset duration in the stay time of described adjustment frame regional extent;Second selectes unit 75, stops described in working asWhen staying duration to be more than described preset duration, determine that user selectes described adjustment frame.
Adjusting module 53, for the preset function of whole frame of setting the tone selected by user, adjusts currently playing virtual reality fieldThe parameter of scape.
Therefore, in embodiments of the present invention, only select ray to adjust the duration of frame stop more than when presetting oneTime long, just determine that user selectes this adjustment frame, so, the maloperation of user can be avoided.
Embodiment seven
Present invention also offers a kind of device adjusting virtual reality scenario parameter, as shown in Figure 8, described device includes:
Display module 51, for showing adjustment frame, described adjustment frame in currently playing virtual reality scenario, is used for adjustingThe parameter of whole virtual reality scenario;
In embodiments of the present invention, described display module, it is additionally operable to: show many in currently playing virtual reality scenarioIndividual conditioning box, and the preset function of each adjustment frame is different.
Determine module 52, for being selected ray at the launching position of display screen according to receive, determine selected by userFixed adjustment frame, described selection ray, be used for selecting adjusting frame, described display screen, be used for playing virtual reality scenario andDisplay adjusts frame;
Mark module 81, for the adjustment frame being selected user, is identified operation.
Adjusting module 53, for the preset function of whole frame of setting the tone selected by user, adjusts currently playing virtual reality fieldThe parameter of scape.
Therefore, in embodiments of the present invention, in currently playing virtual reality scenario, first show adjustment frame;SoIt is projected to the position of display screen according to the ray that selects received afterwards, determines the adjustment frame that user is selected;Finally, according to instituteThe selected preset function adjusting frame, adjusts the parameter of currently playing virtual reality scenario.Due in embodiments of the present invention, userBy selecting ray, adjustment frame can be selected, and then realize the adjustment to currently playing virtual reality scenario parameter;So, phaseUser's blindness is adjusted to the adjustment button of the VR helmet, use assembly of the invention, the regulated efficiency of user can be improved.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer programProduct.Therefore, the reality in terms of the present invention can use complete hardware embodiment, complete software implementation or combine software and hardwareExecute the form of example.And, the present invention can use at one or more computers wherein including computer usable program codeThe upper computer program product implemented of usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.)The form of product.
The present invention is with reference to method, equipment (system) and the flow process of computer program according to embodiments of the present inventionFigure and/or block diagram describe.It should be understood that can the most first-class by computer program instructions flowchart and/or block diagramFlow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be providedInstruction arrives the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produceA raw machine so that the instruction performed by the processor of computer or other programmable data processing device is produced for realThe device of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame now.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spyDetermine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring toMake the manufacture of device, this command device realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram orThe function specified in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that at meterPerform sequence of operations step on calculation machine or other programmable devices to produce computer implemented process, thus at computer orThe instruction performed on other programmable devices provides for realizing at one flow process of flow chart or multiple flow process and/or block diagram oneThe step of the function specified in individual square frame or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creationProperty concept, then can make other change and amendment to these embodiments.So, claims are intended to be construed to include excellentSelect embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the embodiment of the present inventionThe spirit and scope of bright embodiment.So, if these amendments of the embodiment of the present invention and modification belong to the claims in the present inventionAnd within the scope of equivalent technologies, then the present invention is also intended to comprise these change and modification.