[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111127621A - Picture rendering method and device and readable storage medium - Google Patents

Picture rendering method and device and readable storage medium Download PDF

Info

Publication number
CN111127621A
CN111127621A CN201911425529.7A CN201911425529A CN111127621A CN 111127621 A CN111127621 A CN 111127621A CN 201911425529 A CN201911425529 A CN 201911425529A CN 111127621 A CN111127621 A CN 111127621A
Authority
CN
China
Prior art keywords
canvas
display
dimensional
dynamic
rendering
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.)
Granted
Application number
CN201911425529.7A
Other languages
Chinese (zh)
Other versions
CN111127621B (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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201911425529.7A priority Critical patent/CN111127621B/en
Publication of CN111127621A publication Critical patent/CN111127621A/en
Application granted granted Critical
Publication of CN111127621B publication Critical patent/CN111127621B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/10Geometric effects
    • G06T15/20Perspective computation
    • G06T15/205Image-based rendering
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Geometry (AREA)
  • Computer Graphics (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a picture rendering method, a device and a readable storage medium, wherein the picture rendering method is used for head-mounted display equipment and comprises the following steps: acquiring an observation visual angle; creating a dynamic canvas; setting a display canvas on the dynamic canvas according to the observation visual angle; and performing picture rendering on the display canvas. According to the technical scheme, the pictures of other visual angles can be watched in the virtual scene, and the flexibility of the user in immersive experience is improved.

Description

Picture rendering method and device and readable storage medium
Technical Field
The invention relates to the technical field of human-computer interaction, in particular to a picture rendering method, a picture rendering device and a readable storage medium.
Background
The head-mounted display device is a wearable virtual display product. The current technical principles of head-mounted display devices are roughly divided into Virtual Reality (VR), Augmented Reality (AR), Mixed Reality (MR) and Extended Reality (XR).
As the application of the head-mounted display device product is more and more extensive, the application scenes are more and more. When the user wears the head-mounted display device, other user visual angles or other visual angles cannot be observed in the virtual scene, and the flexibility of immersion experience is poor.
The above is only for the purpose of assisting understanding of the technical solutions of the present application, and does not represent an admission that the above is prior art.
Disclosure of Invention
Based on this, for the problem that the current user cannot observe other user viewing angles or other viewing angles in the virtual scene when wearing the head-mounted display device, and the flexibility of the immersive experience is not good, it is necessary to provide a picture rendering method, a device and a readable storage medium, which can observe pictures at other viewing angles in the virtual scene, and improve the flexibility of the user in the immersive experience.
In order to achieve the above object, the present invention provides a picture rendering method for a head-mounted display device, the picture rendering method including:
acquiring an observation visual angle;
creating a dynamic canvas;
setting a display canvas on the dynamic canvas according to the observation visual angle;
and performing picture rendering on the display canvas.
Optionally, the display canvas comprises at least one two-dimensional canvas;
the step of setting a display canvas on the dynamic canvas according to the viewing angle comprises:
setting at least one two-dimensional canvas on the dynamic canvas according to the observation visual angle;
the step of performing screen rendering on the display canvas comprises the following steps:
and establishing rendering windows corresponding to the two-dimensional canvas according to the number of the two-dimensional canvas, and binding the content of picture rendering with the two-dimensional canvas.
Optionally, the viewing perspective comprises a first perspective and a second perspective;
the step of setting up the display canvas on the dynamic canvas according to the viewing angle further comprises:
setting a two-dimensional canvas on the dynamic canvas according to the first view angle; and/or the presence of a gas in the gas,
and setting two pieces of two-dimensional canvas on the dynamic canvas according to the second visual angle.
Optionally, the step of acquiring the viewing angle is preceded by:
constructing a virtual scene, and selecting a viewing angle in the virtual scene.
Optionally, the step of creating a dynamic canvas includes:
and acquiring an operation instruction for creating a dynamic canvas, and creating the dynamic canvas according to the operation instruction in the virtual scene.
Optionally, the obtaining an operation instruction for creating a dynamic canvas includes, before the step of creating the dynamic canvas according to the operation instruction in the virtual scene:
and receiving the gesture and/or eyeball fixation point of the user and generating an operation instruction.
Optionally, the step of performing screen rendering on the display canvas includes:
if the transparency of the display canvas is equal to 100%, deleting at least part of contents of the picture below the outermost layer of the display canvas;
and if the transparency of the display canvas is less than 100%, displaying the outermost picture of the display canvas.
Further, in order to achieve the above object, the present invention also provides a screen rendering apparatus for a head-mounted display device, the screen rendering apparatus including:
the acquisition module is used for acquiring an observation visual angle;
a creation module to create a dynamic canvas;
the setting module is used for setting a display canvas on the dynamic canvas according to the observation visual angle;
and the rendering module is used for performing picture rendering on the display canvas.
Optionally, the display canvas comprises at least one two-dimensional canvas,
the setting module is also used for setting at least one piece of two-dimensional canvas on the dynamic canvas according to the observation visual angle;
the rendering module is used for establishing rendering windows corresponding to the two-dimensional canvas according to the number of the two-dimensional canvas and binding the content of picture rendering with the two-dimensional canvas.
In addition, in order to achieve the above object, the present invention also provides a readable storage medium on which a screen rendering program is stored, the screen rendering program implementing the steps of the screen rendering method as described above when executed by a processor.
According to the technical scheme, the observation visual angle is acquired, the dynamic canvas is created, the corresponding display canvas is arranged on the dynamic canvas according to the observation visual angle, and the display canvas is subjected to picture rendering, so that the display pictures at other angles can be watched through the observation visual angle, and the flexibility of a user in immersive experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a first embodiment of a method for rendering a screen according to the present invention;
FIG. 2 is a flowchart illustrating a second embodiment of a method for rendering a screen according to the present invention;
FIG. 3 is a flowchart illustrating a screen rendering method according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating a fourth embodiment of a method for rendering a screen according to the present invention;
FIG. 5 is a flowchart illustrating a fifth embodiment of a method for rendering a screen according to the present invention;
FIG. 6 is a flowchart illustrating a sixth embodiment of a method for rendering a screen according to the present invention;
FIG. 7 is a flowchart illustrating a sixth embodiment of a method for rendering a screen according to the present invention
FIG. 8 is a schematic diagram illustrating a connection structure of a screen rendering apparatus according to the present invention.
The reference numbers illustrate:
reference numerals Name (R) Reference numerals Name (R)
10 Acquisition module 40 Rendering module
20 Creation module 50 Structural modelingBlock
30 Setting module 60 Generation module
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are only for descriptive purposes and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "connected," "secured," and the like are to be construed broadly, and for example, "secured" may be a fixed connection, a removable connection, or an integral part; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In addition, the technical solutions in the embodiments of the present invention may be combined with each other, but it must be based on the realization of those skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination of technical solutions should not be considered to exist, and is not within the protection scope of the present invention.
Referring to fig. 1, a first embodiment of the present invention provides a picture rendering method, where the picture rendering method is used for a head-mounted display device, and the picture rendering method includes:
step S10, obtaining an observation angle; the observation angle includes expansion or reduction of the angle range, and also includes switching of the observation angle. For example, the viewing angle range is widened, and the user can observe a wider range. Or the visual angle range is reduced, so that the details of the scene can be observed. Still alternatively, one of the positions is selected as a viewing perspective in the virtual environment. For example, the original user's view angle is a landscape standing on the bridge to look at the shore, and by selectively observing the view angle, the user can also look at the bridge by switching the view angle to the shore, which is equivalent to standing on the shore to look at the landscape on the bridge. Or the scene in two viewing angles is observed simultaneously in the display interface. The selection of the observation visual angle may be a pre-bound visual angle, or may be a coordinate point arbitrarily selected by a user as a point of the observation visual angle in the virtual scene.
Step S20, creating a dynamic canvas; the dynamic canvas can be understood as the bottom layer of the picture, in the head-mounted display device, the display process of the picture is a dynamic continuous process, and the setting of the canvas on the dynamic canvas can ensure that the picture watched by a user is a dynamic process. For example, a user watches a live game while wearing a head-mounted display device, and the progress of the game is persistent. A viewing perspective is created in which the display is also built upon the dynamic canvas.
Step S30, setting a display canvas on the dynamic canvas according to the observation angle; on the basis of the selected observation visual angle, new display content is constructed, the display canvas is arranged on the dynamic canvas, and a user can watch a new picture under the newly selected observation visual angle by performing picture rendering on the display canvas. For example, in the virtual environment, the user watches the game, and selects a viewing angle near the goalkeeper in the picture of the live game, so that the user can watch the picture in two viewing angles simultaneously, and can switch the picture between the two viewing angles.
In step S40, screen rendering is performed on the display canvas. The picture rendering is simply to render a picture on the display canvas according to the frame-section frequency on the surface of the display canvas. The head-mounted display equipment is provided with the processor, the picture rendering of the display canvas is controlled and executed by the processor, and the display canvas is switched to the display screen of the head-mounted display equipment after the picture rendering.
In the technical scheme of this embodiment, acquire the viewing angle, establish dynamic canvas, according to the viewing angle set up corresponding display canvas on the dynamic canvas, right the display canvas carries out the picture and renders, can watch the display picture of other angles through viewing angle from this, improves the flexibility of user in immersive experience.
Referring to fig. 2, on the basis of the first embodiment proposed by the present invention, a second embodiment of the present invention is proposed, in which the display canvas includes at least one two-dimensional canvas;
step S30 of setting a display canvas on the dynamic canvas according to the viewing perspective, includes:
and step S31, setting at least one two-dimensional canvas on the dynamic canvas according to the observation visual angle.
The user needs to set up a two-dimensional canvas on the dynamic canvas when needing to watch the planar two-dimensional picture, if need watch a plurality of two-dimensional pictures, then can set up a plurality of independent two-dimensional canvases on the dynamic canvas, wherein every two-dimensional canvas corresponds an observation visual angle, and these observation visual angles can be the same, also can be different.
Two pieces of two-dimensional canvas can be further arranged, the two pieces of two-dimensional canvas are combined to generate the three-dimensional canvas, the user can be switched to a newly-established observation visual angle through the current visual angle through visual angle switching, and in the three-dimensional canvas, the two pieces of two-dimensional canvas are overlapped and combined to form a three-dimensional picture. Likewise, a plurality of three-dimensional canvases can be set, and a user can switch among the three-dimensional canvases at will, so that an immersive experience can be obtained at any observation visual angle.
Step S40 of screen rendering the display canvas includes:
and step S41, establishing rendering windows corresponding to the two-dimensional canvas according to the number of the two-dimensional canvas, and binding the content of the picture rendering with the two-dimensional canvas.
For example, a two-dimensional canvas is created, a rendering window corresponding to the two-dimensional canvas and the eyes of the user is created, the content of the picture rendering is bound with the two-dimensional canvas, and the user can view the picture at the corresponding observation angle through the rendering window. Similarly, corresponding rendering windows are established on a plurality of two-dimensional canvases, and a plurality of display windows can be displayed in the virtual interface.
Referring to fig. 3, on the basis of the second embodiment proposed by the present invention, a third embodiment of the present invention is proposed, and the observation angle includes a first angle and a second angle;
step S30 of setting a display canvas on the dynamic canvas according to the viewing perspective, further comprising:
step S310, setting a two-dimensional canvas on the dynamic canvas according to a first view angle; and/or the presence of a gas in the gas,
and step S320, setting two pieces of two-dimensional canvas on the dynamic canvas according to the second visual angle.
It will also be appreciated that step S30 includes three situations, the first situation, where a two-dimensional canvas is placed on the dynamic canvas according to a first perspective. In the second case, two-dimensional canvases are provided on the dynamic canvas according to the second viewing angle. And in the third condition, according to the first visual angle, a two-dimensional canvas is arranged on the dynamic canvas, and simultaneously, according to the second visual angle, two-dimensional canvases are arranged on the dynamic canvas, one two-dimensional canvas is arranged to form a two-dimensional picture, two-dimensional canvases are arranged, and a three-dimensional picture can be formed by rendering the picture on the two-dimensional canvases. Wherein the first viewing angle and the second viewing angle may be the same viewing angle or different viewing angles.
In addition, rendering windows can be created on a three-dimensional picture formed by two-dimensional canvases, and a user can select any one of the rendering windows to switch the view angle of the picture. That is to say, in the virtual display interface, a plurality of small windows are arranged, through these small windows, the user can observe the display pictures of other observation visual angles, the size of the small window can be adjusted according to the user's requirements, and the pictures are switched by selecting the corresponding small window.
Furthermore, according to the use requirement of the user, a plurality of two-dimensional pictures and a plurality of picture canvases can be created at the same time, so that a plurality of two-dimensional display windows and a plurality of three-dimensional display window pictures are obtained, namely, the two-dimensional display windows and the three-dimensional display windows can be displayed at the same time or can be displayed independently.
Referring to fig. 4, a fourth embodiment of the present invention is proposed on the basis of the first embodiment of the present invention, and before the step S10 of acquiring the viewing angle, the method includes:
step S50, a virtual scene is constructed, and an observation angle is selected in the virtual scene.
The viewing angle is selected in the virtual scene, so that the user can select the viewing angle according to the display content of the virtual scene, and the selection flexibility is higher.
In addition, the selection of the viewing angle may be preset, and the user may select among the preset viewing angles in the virtual scene.
Referring to fig. 5, on the basis of the fourth embodiment proposed by the present invention, a fifth embodiment proposed by the present invention, the step S20 of creating a dynamic canvas, includes:
step S21, an operation instruction for creating a dynamic canvas is obtained, and in the virtual scene, the dynamic canvas is created according to the operation instruction.
Specifically, the operation instruction may be generated according to an input instruction, where the input instruction source may be a voice command, a gesture command, or the like. Or an instruction input completed by the eyeball fixation point of the user.
Referring to fig. 6, on the basis of the fifth embodiment proposed by the present invention, a sixth embodiment proposed by the present invention obtains an operation instruction for creating a dynamic canvas, and before the step S21 of creating the dynamic canvas according to the operation instruction in the virtual scene, the method includes:
and step S60, receiving the user gesture and/or the eyeball fixation point, and generating an operation instruction.
In the virtual scene, the corresponding operation content can be determined through the gesture change of the user, and the operation instruction is generated. The corresponding operation content can be determined through the change of the fixation point of the eyeballs of the user, and the operation instruction is generated. Or determining corresponding operation content and generating an operation instruction in a mode of combining the user gesture and the eyeball fixation point. Through the selection of the user gesture or the eyeball fixation point, the response to the user gesture and the selection of the eyeball fixation point is easier to be made in the virtual scene, and the user gesture and the eyeball fixation point are more in line with the operation conditions in the virtual scene.
Referring to fig. 7, on the basis of any one of the first to sixth embodiments of the present invention, a seventh embodiment of the present invention is proposed, and the step S40 of performing screen rendering on a display canvas includes:
in step S401, if the transparency of the display canvas is equal to 100%, at least part of the content of the screen below the outermost layer of the display canvas is deleted.
In general, in a display canvas, if the transparency of the display canvas is equal to 100%, a user views a picture in a transparent state, and lines of objects or scenes in the picture are disordered and difficult to distinguish the display effect of the picture.
And step S402, if the transparency of the display canvas is less than 100%, displaying the outermost picture of the display canvas.
The outermost picture refers to a picture which is the uppermost picture facing the human eyes of a user when the user views a display picture. The transparency of the display canvas is not equal to 100%, namely the display canvas is opaque, so that the layer at the uppermost part of the display canvas is subjected to picture rendering.
Referring to fig. 8, the present invention further provides a screen rendering apparatus, where the screen rendering apparatus is used for a head-mounted display device, and the screen rendering apparatus includes: an acquisition module 10, a creation module 20, a setup module 30 and a rendering module 40.
An obtaining module 10, configured to obtain an observation angle; the observation angle includes expansion or reduction of the angle range, and also includes switching of the observation angle. For example, the viewing angle range is widened, and the user can observe a wider range. Or the visual angle range is reduced, so that the details of the scene can be observed. Still alternatively, one of the positions is selected as a viewing perspective in the virtual environment. For example, the original user's view angle is a landscape standing on the bridge to look at the shore, and by selectively observing the view angle, the user can also look at the bridge by switching the view angle to the shore, which is equivalent to standing on the shore to look at the landscape on the bridge. Or the scene in two viewing angles is observed simultaneously in the display interface. The selection of the observation visual angle may be a pre-bound visual angle, or may be a coordinate point arbitrarily selected by a user as a point of the observation visual angle in the virtual scene.
A creation module 20 for creating a dynamic canvas; the dynamic canvas can be understood as the bottom layer of the picture, in the head-mounted display device, the display process of the picture is a dynamic continuous process, and the setting of the canvas on the dynamic canvas can ensure that the picture watched by a user is a dynamic process. For example, a user watches a live game while wearing a head-mounted display device, and the progress of the game is persistent. A viewing perspective is created in which the display is also built upon the dynamic canvas.
A setting module 30, configured to set a display canvas on the dynamic canvas according to the viewing angle; on the basis of the selected observation visual angle, new display content is constructed, the display canvas is arranged on the dynamic canvas, and a user can watch a new picture under the newly selected observation visual angle by performing picture rendering on the display canvas. For example, in the virtual environment, the user watches the game, and selects a viewing angle near the goalkeeper in the picture of the live game, so that the user can watch the picture in two viewing angles simultaneously, and can switch the picture between the two viewing angles.
And the rendering module 40 is used for performing picture rendering on the display canvas. The picture rendering is simply to render a picture on the display canvas according to the frame-section frequency on the surface of the display canvas. The head-mounted display equipment is provided with the processor, the picture rendering of the display canvas is controlled and executed by the processor, and the display canvas is switched to the display screen of the head-mounted display equipment after the picture rendering.
In the technical scheme of this embodiment, acquire the viewing angle, establish dynamic canvas, according to the viewing angle set up corresponding display canvas on the dynamic canvas, right the display canvas carries out the picture and renders, can watch the display picture of other angles through viewing angle from this, improves the flexibility of user in immersive experience.
Further, the display canvas comprises at least one two-dimensional canvas.
The setting module 30 is further configured to set at least one two-dimensional canvas on the dynamic canvas according to the viewing angle; the user needs to set up a two-dimensional canvas on the dynamic canvas when needing to watch the planar two-dimensional picture, if need watch a plurality of two-dimensional pictures, then can set up a plurality of independent two-dimensional canvases on the dynamic canvas, wherein every two-dimensional canvas corresponds an observation visual angle, and these observation visual angles can be the same, also can be different.
Two pieces of two-dimensional canvas can be further arranged, the two pieces of two-dimensional canvas are combined to generate the three-dimensional canvas, the user can be switched to a newly-established observation visual angle through the current visual angle through visual angle switching, and in the three-dimensional canvas, the two pieces of two-dimensional canvas are overlapped and combined to form a three-dimensional picture. Likewise, a plurality of three-dimensional canvases can be set, and a user can switch among the three-dimensional canvases at will, so that an immersive experience can be obtained at any observation visual angle.
The rendering module 40 is further configured to establish a rendering window corresponding to the two-dimensional canvas according to the number of the two-dimensional canvas, and bind the content of the picture rendering with the two-dimensional canvas.
For example, a two-dimensional canvas is created, a rendering window corresponding to the two-dimensional canvas and the eyes of the user is created, the content of the picture rendering is bound with the two-dimensional canvas, and the user can view the picture at the corresponding observation angle through the rendering window. Similarly, corresponding rendering windows are established on a plurality of two-dimensional canvases, and a plurality of display windows can be displayed in the virtual interface.
Further, the setting module 30 is further configured to set a two-dimensional canvas on the dynamic canvas according to the first view angle; and/or two-dimensional canvases are arranged on the dynamic canvases according to the second visual angle.
It will also be appreciated that there are three total cases, the first case, where a two-dimensional canvas is placed on the dynamic canvas according to a first perspective. In the second case, two-dimensional canvases are provided on the dynamic canvas according to the second viewing angle. And in the third condition, according to the first visual angle, a two-dimensional canvas is arranged on the dynamic canvas, and simultaneously, according to the second visual angle, two-dimensional canvases are arranged on the dynamic canvas, one two-dimensional canvas is arranged to form a two-dimensional picture, two-dimensional canvases are arranged, and a three-dimensional picture can be formed by rendering the picture on the two-dimensional canvases. Wherein the first viewing angle and the second viewing angle may be the same viewing angle or different viewing angles.
In addition, rendering windows can be created on a three-dimensional picture formed by two-dimensional canvases, and a user can select any one of the rendering windows to switch the view angle of the picture. That is to say, in the virtual display interface, a plurality of small windows are arranged, through these small windows, the user can observe the display pictures of other observation visual angles, the size of the small window can be adjusted according to the user's requirements, and the pictures are switched by selecting the corresponding small window.
Furthermore, according to the use requirement of the user, a plurality of two-dimensional pictures and a plurality of picture canvases can be created at the same time, so that a plurality of two-dimensional display windows and a plurality of three-dimensional display window pictures are obtained, namely, the two-dimensional display windows and the three-dimensional display windows can be displayed at the same time or can be displayed independently
In addition, a rendering window can be created on a three-dimensional canvas composed of two-dimensional canvases, and a user can select any one of the rendering windows to switch the view angle of the picture. That is to say, in the virtual display interface, a plurality of small windows are arranged, through these small windows, the user can observe the display pictures of other observation visual angles, the size of the small window can be adjusted according to the user's requirements, and the pictures are switched by selecting the corresponding small window.
Furthermore, according to the use requirement of the user, a plurality of two-dimensional canvases and a plurality of three-dimensional canvases can be created simultaneously, so that a plurality of two-dimensional display windows and a plurality of three-dimensional display window pictures are obtained, namely, the two-dimensional display windows and the three-dimensional display windows can be displayed simultaneously.
Further, the screen rendering apparatus further includes:
and the building module 50 is used for building a virtual scene, and selecting an observation angle in the virtual scene.
The viewing angle is selected in the virtual scene, so that the user can select the viewing angle according to the display content of the virtual scene, and the selection flexibility is higher.
In addition, the selection of the viewing angle may be preset, and the user may select among the preset viewing angles in the virtual scene.
Further, the creating module 20 is further configured to obtain an operation instruction for creating a dynamic canvas, and in the virtual scene, the dynamic canvas is created according to the operation instruction.
Specifically, the operation instruction may be generated according to an input instruction, where the input instruction source may be a voice command, a gesture command, or the like. Or an instruction input completed by the eyeball fixation point of the user.
Further, the screen rendering apparatus further includes a generating module 60, and the generating module 60 is configured to receive a user gesture and/or an eye gaze point, and generate an operation instruction.
In the virtual scene, the corresponding operation content can be determined through the gesture change of the user, and the operation instruction is generated. The corresponding operation content can be determined through the change of the fixation point of the eyeballs of the user, and the operation instruction is generated. Or determining corresponding operation content and generating an operation instruction in a mode of combining the user gesture and the eyeball fixation point. Through the selection of the user gesture or the eyeball fixation point, the response to the user gesture and the selection of the eyeball fixation point is easier to be made in the virtual scene, and the user gesture and the eyeball fixation point are more in line with the operation conditions in the virtual scene.
Further, the rendering module 40 is further configured to delete at least part of the contents of the screen below the outermost layer of the display canvas if the transparency of the display canvas is equal to 100%.
Generally, in a display canvas, if the transparency of the display canvas is equal to 100%, a user is in a transparent state when watching a picture, and lines of objects or scenes in the picture are disordered and are difficult to distinguish the display effect of the picture.
The rendering module 40 is further configured to display an outermost screen of the display canvas if the transparency of the display canvas is less than 100%.
The outermost picture refers to a picture which is the uppermost picture facing the human eyes of a user when the user views a display picture. The transparency of the display canvas is not equal to 100%, namely the display canvas is opaque, so that the layer at the uppermost part of the display canvas is subjected to picture rendering.
The present invention also provides a readable storage medium on which a picture rendering program is stored, which, when executed by a processor, implements the steps of the picture rendering method as described above.
The detailed implementation of the readable storage medium of the present invention may refer to the embodiments of the image rendering method, which are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A picture rendering method, which is used for a head-mounted display device, the picture rendering method comprising:
acquiring an observation visual angle;
creating a dynamic canvas;
setting a display canvas on the dynamic canvas according to the observation visual angle;
and performing picture rendering on the display canvas.
2. The screen rendering method according to claim 1, wherein the display canvas comprises at least one two-dimensional canvas;
the step of setting a display canvas on the dynamic canvas according to the viewing angle comprises:
setting at least one two-dimensional canvas on the dynamic canvas according to the observation visual angle;
the step of performing screen rendering on the display canvas comprises the following steps:
and establishing rendering windows corresponding to the two-dimensional canvas according to the number of the two-dimensional canvas, and binding the content of picture rendering with the two-dimensional canvas.
3. The screen rendering method of claim 2, wherein the viewing perspective comprises a first perspective and a second perspective;
the step of setting up the display canvas on the dynamic canvas according to the viewing angle further comprises:
setting a two-dimensional canvas on the dynamic canvas according to the first view angle; and/or the presence of a gas in the gas,
and setting two pieces of two-dimensional canvas on the dynamic canvas according to the second visual angle.
4. The picture rendering method according to claim 1, wherein the step of obtaining the viewing perspective is preceded by:
constructing a virtual scene, and selecting a viewing angle in the virtual scene.
5. The screen rendering method of claim 4, wherein the step of creating the dynamic canvas comprises:
and acquiring an operation instruction for creating a dynamic canvas, and creating the dynamic canvas according to the operation instruction in the virtual scene.
6. The screen rendering method according to claim 5, wherein the obtaining of the operation instruction for creating the dynamic canvas comprises, before the step of creating the dynamic canvas according to the operation instruction in the virtual scene:
and receiving the gesture and/or eyeball fixation point of the user and generating an operation instruction.
7. The screen rendering method according to any one of claims 1 to 6, wherein the screen rendering the display canvas comprises:
if the transparency of the display canvas is equal to 100%, deleting at least part of contents of the picture below the outermost layer of the display canvas;
and if the transparency of the display canvas is less than 100%, displaying the outermost picture of the display canvas.
8. A screen rendering apparatus, wherein the screen rendering apparatus is used for a head-mounted display device, and the screen rendering apparatus comprises:
the acquisition module is used for acquiring an observation visual angle;
a creation module to create a dynamic canvas;
the setting module is used for setting a display canvas on the dynamic canvas according to the observation visual angle;
and the rendering module is used for performing picture rendering on the display canvas.
9. The screen rendering apparatus of claim 7, wherein the display canvas comprises at least one two-dimensional canvas,
the setting module is also used for setting at least one piece of two-dimensional canvas on the dynamic canvas according to the observation visual angle;
the rendering module is used for establishing rendering windows corresponding to the two-dimensional canvas according to the number of the two-dimensional canvas and binding the content of picture rendering with the two-dimensional canvas.
10. A readable storage medium, on which a screen rendering program is stored, the screen rendering program, when executed by a processor, implementing the steps of the screen rendering method according to any one of claims 1 to 7.
CN201911425529.7A 2019-12-31 2019-12-31 Picture rendering method, device and readable storage medium Active CN111127621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911425529.7A CN111127621B (en) 2019-12-31 2019-12-31 Picture rendering method, device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911425529.7A CN111127621B (en) 2019-12-31 2019-12-31 Picture rendering method, device and readable storage medium

Publications (2)

Publication Number Publication Date
CN111127621A true CN111127621A (en) 2020-05-08
CN111127621B CN111127621B (en) 2024-02-09

Family

ID=70507217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911425529.7A Active CN111127621B (en) 2019-12-31 2019-12-31 Picture rendering method, device and readable storage medium

Country Status (1)

Country Link
CN (1) CN111127621B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113313840A (en) * 2021-06-15 2021-08-27 周永奇 Real-time virtual system and real-time virtual interaction method
CN114037794A (en) * 2021-11-26 2022-02-11 郑州捷安高科股份有限公司 Display method, device, equipment and storage medium
CN114979732A (en) * 2022-05-12 2022-08-30 咪咕数字传媒有限公司 Video stream pushing method and device, electronic equipment and medium
CN117152324A (en) * 2023-09-04 2023-12-01 艾迪普科技股份有限公司 Data driving method and device based on three-dimensional player

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090295789A1 (en) * 2008-06-03 2009-12-03 Amlogic, Inc. Methods for Dynamically Displaying Digital Images on Digital Display Devices
CN104147781A (en) * 2014-07-29 2014-11-19 京东方科技集团股份有限公司 Electronic device, electronic system and electronic device control method
US20150097860A1 (en) * 2013-10-03 2015-04-09 Honda Motor Co., Ltd. System and method for dynamic in-vehicle virtual reality
CN106383655A (en) * 2016-09-19 2017-02-08 北京小度互娱科技有限公司 Interaction control method for controlling visual angle conversion in panorama playing process, and device for realizing interaction control method
CN106710002A (en) * 2016-12-29 2017-05-24 深圳迪乐普数码科技有限公司 AR implementation method and system based on positioning of visual angle of observer
CN107343206A (en) * 2017-08-11 2017-11-10 北京铂石空间科技有限公司 Support video generation method, device, medium and the electronic equipment of various visual angles viewing
US20180088890A1 (en) * 2016-09-23 2018-03-29 Daniel Pohl Outside-facing display for head-mounted displays
CN108124150A (en) * 2017-12-26 2018-06-05 歌尔科技有限公司 Virtual reality wears display device and observes the method for real scene by it
CN108717733A (en) * 2018-06-07 2018-10-30 腾讯科技(深圳)有限公司 View angle switch method, equipment and the storage medium of virtual environment
CN108877848A (en) * 2018-05-30 2018-11-23 链家网(北京)科技有限公司 The method and device that user's operation is coped in room mode is said in virtual three-dimensional space
US20190171047A1 (en) * 2017-12-01 2019-06-06 Boe Technology Group Co., Ltd. Viewing angle switching structure, display device and viewing angle switching method thereof
CN109861948A (en) * 2017-11-30 2019-06-07 腾讯科技(成都)有限公司 Virtual reality data processing method, device, storage medium and computer equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090295789A1 (en) * 2008-06-03 2009-12-03 Amlogic, Inc. Methods for Dynamically Displaying Digital Images on Digital Display Devices
US20150097860A1 (en) * 2013-10-03 2015-04-09 Honda Motor Co., Ltd. System and method for dynamic in-vehicle virtual reality
CN104147781A (en) * 2014-07-29 2014-11-19 京东方科技集团股份有限公司 Electronic device, electronic system and electronic device control method
CN106383655A (en) * 2016-09-19 2017-02-08 北京小度互娱科技有限公司 Interaction control method for controlling visual angle conversion in panorama playing process, and device for realizing interaction control method
US20180088890A1 (en) * 2016-09-23 2018-03-29 Daniel Pohl Outside-facing display for head-mounted displays
CN106710002A (en) * 2016-12-29 2017-05-24 深圳迪乐普数码科技有限公司 AR implementation method and system based on positioning of visual angle of observer
CN107343206A (en) * 2017-08-11 2017-11-10 北京铂石空间科技有限公司 Support video generation method, device, medium and the electronic equipment of various visual angles viewing
CN109861948A (en) * 2017-11-30 2019-06-07 腾讯科技(成都)有限公司 Virtual reality data processing method, device, storage medium and computer equipment
US20190171047A1 (en) * 2017-12-01 2019-06-06 Boe Technology Group Co., Ltd. Viewing angle switching structure, display device and viewing angle switching method thereof
CN108124150A (en) * 2017-12-26 2018-06-05 歌尔科技有限公司 Virtual reality wears display device and observes the method for real scene by it
CN108877848A (en) * 2018-05-30 2018-11-23 链家网(北京)科技有限公司 The method and device that user's operation is coped in room mode is said in virtual three-dimensional space
CN108717733A (en) * 2018-06-07 2018-10-30 腾讯科技(深圳)有限公司 View angle switch method, equipment and the storage medium of virtual environment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113313840A (en) * 2021-06-15 2021-08-27 周永奇 Real-time virtual system and real-time virtual interaction method
CN114037794A (en) * 2021-11-26 2022-02-11 郑州捷安高科股份有限公司 Display method, device, equipment and storage medium
CN114979732A (en) * 2022-05-12 2022-08-30 咪咕数字传媒有限公司 Video stream pushing method and device, electronic equipment and medium
CN114979732B (en) * 2022-05-12 2023-10-20 咪咕数字传媒有限公司 Video stream pushing method and device, electronic equipment and medium
CN117152324A (en) * 2023-09-04 2023-12-01 艾迪普科技股份有限公司 Data driving method and device based on three-dimensional player

Also Published As

Publication number Publication date
CN111127621B (en) 2024-02-09

Similar Documents

Publication Publication Date Title
CN111127621B (en) Picture rendering method, device and readable storage medium
CN109829981B (en) Three-dimensional scene presentation method, device, equipment and storage medium
US8866848B2 (en) Image processing device, control method for an image processing device, program, and information storage medium
WO2018188499A1 (en) Image processing method and device, video processing method and device, virtual reality device and storage medium
CN105528207B (en) A kind of virtual reality system and the method and apparatus for wherein showing Android application image
US11880956B2 (en) Image processing method and apparatus, and computer storage medium
CN106774937A (en) Image interactive method and its device in a kind of augmented reality
CN106027910A (en) Preview picture presentation method and device and terminal
CN109584152A (en) Image processing method, device, electronic equipment and computer readable storage medium
CN106873886B (en) Control method and device for stereoscopic display and electronic equipment
CN105204618B (en) The method for displaying projection and device of virtual article in Virtual Space
US11182950B2 (en) Information processing device and information processing method
CN106598250B (en) A kind of VR display methods, device and electronic equipment
JP2024138030A (en) Choosing a Virtual Location for Your Virtual Content
CN106600669A (en) Device based on variable-color fluorescent drawing board and augmented reality, and operation method
JP2021034885A (en) Image generation device, image display device, and image processing method
CN111862349A (en) Virtual brush implementation method and device and computer readable storage medium
CN109089144A (en) A kind of method, apparatus, electronic equipment and storage medium sending paster present
JP5686611B2 (en) Information processing device
CN113206993A (en) Method for adjusting display screen and display device
CN108615261B (en) Method and device for processing image in augmented reality and storage medium
CN108093245B (en) Multi-screen fusion method, system, device and computer readable storage medium
JP2013257621A (en) Image display system, puzzle game system, image display method, puzzle game method, image display device, puzzle game device, image display program and puzzle game program
CN113223186B (en) Processing method, equipment, product and device for realizing augmented reality
CN105892663A (en) Information processing method and electronic device

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
TA01 Transfer of patent application right

Effective date of registration: 20201010

Address after: 261031, north of Jade East Street, Dongming Road, Weifang hi tech Zone, Shandong province (GoerTek electronic office building, Room 502)

Applicant after: GoerTek Optical Technology Co.,Ltd.

Address before: 266104 Laoshan Qingdao District North House Street investment service center room, Room 308, Shandong

Applicant before: GOERTEK TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20221123

Address after: 266104 No. 500, Songling Road, Laoshan District, Qingdao, Shandong

Applicant after: GOERTEK TECHNOLOGY Co.,Ltd.

Address before: 261031 east of Dongming Road, north of Yuqing East Street, high tech Zone, Weifang City, Shandong Province (Room 502, Geer electronics office building)

Applicant before: GoerTek Optical Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant