CN106502654A - Virtual reality scenario loading method and equipment - Google Patents
Virtual reality scenario loading method and equipment Download PDFInfo
- Publication number
- CN106502654A CN106502654A CN201610869829.4A CN201610869829A CN106502654A CN 106502654 A CN106502654 A CN 106502654A CN 201610869829 A CN201610869829 A CN 201610869829A CN 106502654 A CN106502654 A CN 106502654A
- Authority
- CN
- China
- Prior art keywords
- virtual reality
- scene
- loading
- reality scene
- resource
- 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
Links
- 238000011068 loading method Methods 0.000 title claims abstract description 116
- 238000000034 method Methods 0.000 claims abstract description 21
- 230000004044 response Effects 0.000 claims abstract description 8
- 238000012545 processing Methods 0.000 claims description 16
- 238000004806 packaging method and process Methods 0.000 claims description 7
- 238000005538 encapsulation Methods 0.000 claims description 5
- 238000003860 storage Methods 0.000 description 19
- 238000010586 diagram Methods 0.000 description 14
- 238000005516 engineering process Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 238000011161 development Methods 0.000 description 6
- 230000007246 mechanism Effects 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000001902 propagating effect Effects 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 1
- 241001465754 Metazoa Species 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 229910052802 copper Inorganic materials 0.000 description 1
- 239000010949 copper Substances 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 230000000670 limiting effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
技术领域technical field
本发明涉及虚拟现实技术领域,更具体地,涉及虚拟现实场景加载方法及设备。The present invention relates to the technical field of virtual reality, and more specifically, to a method and device for loading a virtual reality scene.
背景技术Background technique
虚拟现实技术是一种通过计算机技术生成虚拟现实的模拟环境,将包含多源信息融合的交互式的三维动态视景和仿真的实体行为响应的虚拟现实场景呈现给用户,使用户沉浸到该环境中。目前已经有不少厂商基于虚拟现实技术推出可以在诸如手机、可穿戴设备、平板电脑等终端设备上运行的虚拟现实应用(例如,虚拟现实游戏、虚拟现实影音播放应用程序等),以向用户提供虚拟现实的用户体验。Virtual reality technology is a simulated environment that generates virtual reality through computer technology. It presents to users an interactive three-dimensional dynamic scene including multi-source information fusion and simulated physical behavior responses to virtual reality scenes, allowing users to immerse themselves in the environment. middle. At present, many manufacturers have launched virtual reality applications (for example, virtual reality games, virtual reality audio and video playback applications, etc.) that can run on terminal devices such as mobile phones, wearable devices, and tablet computers based on virtual reality technology. Provides a virtual reality user experience.
但是,随着计算机技术的发展,以及人们对虚拟现实应用所提供的交互体验的要求不断提高,在虚拟现实应用中向用户呈现的虚拟现实场景中所包含三维模型的规模以及复杂度呈梯度增加。而对当前的支持运行虚拟现实应用的终端设备的处理能力仍然无法满足对大型三维模型或者大量的三维矢量数据进行实时处理,因此在运行虚拟现实应用通常会出现渲染效率低,造成虚拟现实场景中的三维画面的帧率下降,在加载虚拟现实场景特别是虚拟现实场景之间跳转时,场景的模型资源加载时间太长,出现黑屏现象,严重影响用户体验。However, with the development of computer technology and the continuous improvement of people's requirements for the interactive experience provided by virtual reality applications, the scale and complexity of the 3D models contained in the virtual reality scenes presented to users in virtual reality applications increase gradually. . However, the processing capability of current terminal devices that support running virtual reality applications is still not enough for real-time processing of large 3D models or a large amount of 3D vector data. Therefore, when running virtual reality applications, the rendering efficiency is usually low, resulting in The frame rate of the 3D image drops. When loading a virtual reality scene, especially when jumping between virtual reality scenes, the loading time of the model resources of the scene is too long, resulting in a black screen phenomenon, which seriously affects the user experience.
因此,发明人认为,有必要针对上述现有技术中存在的问题进行改进。Therefore, the inventor believes that it is necessary to improve on the problems existing in the above-mentioned prior art.
发明内容Contents of the invention
本发明的一个目的是提供一种用于加载虚拟现实场景的新技术方案。An object of the present invention is to provide a new technical solution for loading virtual reality scenes.
根据本发明的第一方面,提供了一种虚拟现实场景加载方法:According to a first aspect of the present invention, a method for loading a virtual reality scene is provided:
响应于对目标虚拟现实场景的加载请求,删除当前虚拟现实场景中的独有模型资源,保留共用模型资源以及场景摄像机,其中,所述独用模型资源是对应的虚拟现实场景中独有的模型资源,所述共用模型资源是当前虚拟现实应用中所涉及的所有虚拟现实场景中都包含的模型资源;In response to the loading request of the target virtual reality scene, delete the unique model resource in the current virtual reality scene, retain the shared model resource and the scene camera, wherein the unique model resource is a unique model in the corresponding virtual reality scene resources, the shared model resources are model resources included in all virtual reality scenes involved in the current virtual reality application;
加载所述目标虚拟现实场景的独有模型资源,以用于根据所述目标现实场景的独有模型资源、所述共用模型资源以及所述场景摄像机呈现所述目标现实虚拟场景。Loading the unique model resource of the target virtual reality scene for presenting the target real virtual scene according to the unique model resource of the target real scene, the shared model resource and the scene camera.
可选地,所述虚拟现实场景加载方法,还包括:Optionally, the virtual reality scene loading method also includes:
在加载初始的虚拟现实场景时,动态加载所述共用模型资源以及场景摄像机。When loading the initial virtual reality scene, dynamically load the shared model resource and the scene camera.
可选地,所述虚拟现实场景加载方法,还包括:Optionally, the virtual reality scene loading method also includes:
对当前虚拟现实应用中涉及的所有虚拟现实场景中包含的模型资源进行分类,以确定所述共用模型资源以及当前虚拟现实应用中涉及的每个虚拟现实场景中包含的所有独有模型资源。Classify the model resources contained in all the virtual reality scenes involved in the current virtual reality application, so as to determine the shared model resources and all the unique model resources contained in each virtual reality scene involved in the current virtual reality application.
可选地,所述虚拟现实场景加载方法,还包括:Optionally, the virtual reality scene loading method also includes:
在执行所述加载所述目标虚拟现实场景的步骤前,对当前虚拟现实应用中涉及的所有虚拟现实场景中包含的模型资源以及所述场景摄像机进行Prefab封装。Before performing the step of loading the target virtual reality scene, prefab packaging is performed on the model resources contained in all virtual reality scenes involved in the current virtual reality application and the scene cameras.
在一个例子中,通过异步加载的方式执行所述加载所述目标虚拟现实场景的独有模型资源的步骤。In an example, the step of loading the unique model resource of the target virtual reality scene is performed by means of asynchronous loading.
根据本发明的第二方面,提供一种虚拟现实场景加载设备,包括:According to a second aspect of the present invention, a virtual reality scene loading device is provided, including:
资源处理单元,用于响应于对目标虚拟现实场景的加载请求,删除当前虚拟现实场景中的独有模型资源,保留共用模型资源以及场景摄像机,其中,所述独用模型资源是对应的虚拟现实场景中独有的模型资源,所述共用模型资源是当前虚拟现实应用中所涉及的所有虚拟现实场景中都包含的模型资源;The resource processing unit is configured to delete the unique model resources in the current virtual reality scene in response to the loading request of the target virtual reality scene, and retain the shared model resources and the scene camera, wherein the unique model resources are the corresponding virtual reality Unique model resources in the scene, the shared model resources are model resources included in all virtual reality scenes involved in the current virtual reality application;
资源加载单元,用于加载所述目标虚拟现实场景的独有模型资源,以用于根据所述目标现实场景的独有模型资源、所述共用模型资源以及所述场景摄像机呈现所述目标虚拟现实场景。A resource loading unit, configured to load the unique model resource of the target virtual reality scene, so as to present the target virtual reality according to the unique model resource of the target real scene, the shared model resource and the scene camera Scenes.
可选地,所述虚拟现实场景加载设备,还包括:Optionally, the virtual reality scene loading device also includes:
初始加载单元,用于在加载初始的虚拟现实场景时动态加载所述共用模型资源以及场景摄像机。The initial loading unit is configured to dynamically load the shared model resource and the scene camera when loading the initial virtual reality scene.
可选地,所述虚拟现实场景加载设备,还包括:Optionally, the virtual reality scene loading device also includes:
资源分类单元,用于对当前虚拟现实应用中涉及的所有虚拟现实场景中包含的模型资源进行分类,以确定所述共用模型资源以及当前虚拟现实应用中涉及的每个虚拟现实场景中包含的所有独有模型资源。The resource classification unit is configured to classify the model resources contained in all the virtual reality scenes involved in the current virtual reality application, so as to determine the shared model resources and all the model resources contained in each virtual reality scene involved in the current virtual reality application. Exclusive model resources.
可选地,所述虚拟现实场景加载设备,还包括:Optionally, the virtual reality scene loading device also includes:
资源封装单元,在执行所述加载所述目标虚拟现实场景的步骤前,用于对当前虚拟现实应用中涉及的所有虚拟现实场景中包含的模型资源以及所述场景摄像机进行Prefab封装。The resource packaging unit is configured to prefab package the model resources contained in all virtual reality scenes involved in the current virtual reality application and the scene cameras before executing the step of loading the target virtual reality scene.
在一个例子中,所述资源加载单元用于通过异步加载的方式执行所述加载所述目标虚拟现实场景的独有模型资源的步骤。In an example, the resource loading unit is configured to execute the step of loading the unique model resource of the target virtual reality scene by means of asynchronous loading.
本发明的发明人发现,在现有技术中,尚未存在一种可以缩短虚拟现实场景的加载时间以避免出现黑屏现象的虚拟现实场景加载方法及设备。因此,本发明所要实现的技术任务或者所要解决的技术问题是本领域技术人员从未想到的或者没有预期到的,故本发明是一种新的技术方案。The inventors of the present invention have found that in the prior art, there is no virtual reality scene loading method and device that can shorten the loading time of the virtual reality scene and avoid black screen phenomenon. Therefore, the technical tasks to be achieved or the technical problems to be solved by the present invention are never thought of or expected by those skilled in the art, so the present invention is a new technical solution.
通过以下参照附图对本发明的示例性实施例的详细描述,本发明的其它特征及其优点将会变得清楚。Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the accompanying drawings.
附图说明Description of drawings
被结合在说明书中并构成说明书的一部分的附图示出了本发明的实施例,并且连同其说明一起用于解释本发明的原理;The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention;
图1是显示可用于实现本发明的实施例的计算系统的硬件配置的例子的框图;1 is a block diagram showing an example of a hardware configuration of a computing system that can be used to implement an embodiment of the invention;
图2示出了本发明的实施例的虚拟现实场景加载方法的流程图;Fig. 2 shows the flowchart of the virtual reality scene loading method of the embodiment of the present invention;
图3示出了本发明的实施例的虚拟现实场景加载设备的框图;Fig. 3 shows the block diagram of the virtual reality scene loading device of the embodiment of the present invention;
图4是本发明的实施例的虚拟现实场景加载方法的例子的示意图。Fig. 4 is a schematic diagram of an example of a method for loading a virtual reality scene according to an embodiment of the present invention.
具体实施方式detailed description
现在将参照附图来详细描述本发明的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本发明的范围。Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangements of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本发明及其应用或使用的任何限制。The following description of at least one exemplary embodiment is merely illustrative in nature and in no way taken as limiting the invention, its application or uses.
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of the description.
在这里示出和讨论的所有例子中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它例子可以具有不同的值。In all examples shown and discussed herein, any specific values should be construed as exemplary only, and not as limitations. Therefore, other instances of the exemplary embodiment may have different values.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that like numerals and letters denote like items in the following figures, therefore, once an item is defined in one figure, it does not require further discussion in subsequent figures.
<硬件配置><hardware configuration>
图1是示出可以实现本发明的实施例的计算机系统1000的硬件配置的框图。FIG. 1 is a block diagram showing a hardware configuration of a computer system 1000 that can implement an embodiment of the present invention.
如图1所示,计算机系统1000包括计算机1110。计算机1110包括经由系统总线1121连接的处理单元1120、系统存储器1130、固定非易失性存储器接口1140、移动非易失性存储器接口1150、用户输入接口1160、网络接口1170、视频接口1190和输出外围接口1195。As shown in FIG. 1 , computer system 1000 includes computer 1110 . Computer 1110 includes processing unit 1120 connected via system bus 1121, system memory 1130, fixed nonvolatile memory interface 1140, removable nonvolatile memory interface 1150, user input interface 1160, network interface 1170, video interface 1190, and output peripherals Interface 1195.
系统存储器1130包括ROM(只读存储器)和RAM(随机存取存储器)。BIOS(基本输入输出系统)驻留在ROM内。操作系统、应用程序、其它程序模块和某些程序数据驻留在RAM内。The system memory 1130 includes ROM (Read Only Memory) and RAM (Random Access Memory). BIOS (Basic Input Output System) resides in ROM. The operating system, application programs, other program modules, and certain program data reside in RAM.
诸如硬盘的固定非易失性存储器连接到固定非易失性存储器接口1140。固定非易失性存储器例如可以存储操作系统、应用程序、其它程序模块和某些程序数据。A fixed nonvolatile memory such as a hard disk is connected to the fixed nonvolatile memory interface 1140 . Fixed nonvolatile memory can store, for example, the operating system, application programs, other program modules, and certain program data.
诸如软盘驱动器和CD-ROM驱动器的移动非易失性存储器连接到移动非易失性存储器接口1150。例如,软盘可以被插入到软盘驱动器中,以及CD(光盘)可以被插入到CD-ROM驱动器内。Removable nonvolatile storage such as a floppy disk drive and a CD-ROM drive is connected to the removable nonvolatile storage interface 1150 . For example, a floppy disk can be inserted into a floppy disk drive, and a CD (Compact Disk) can be inserted into a CD-ROM drive.
诸如鼠标和键盘的输入设备被连接到用户输入接口1160。Input devices such as a mouse and a keyboard are connected to the user input interface 1160 .
计算机1110可以通过网络接口1170连接到远程计算机1180。例如,网络接口1170可以通过局域网连接到远程计算机。或者,网络接口1170可以连接到调制解调器(调制器-解调器),以及调制解调器经由广域网连接到远程计算机1180。The computer 1110 can be connected to a remote computer 1180 through a network interface 1170 . For example, network interface 1170 may connect to a remote computer through a local area network. Alternatively, network interface 1170 may be connected to a modem (modulator-demodulator), and the modem connected to remote computer 1180 via a wide area network.
远程计算机1180可以包括诸如硬盘的存储器,其可以存储远程应用程序。Remote computer 1180 may include memory, such as a hard disk, that may store remote applications.
视频接口1190连接到监视器。Video interface 1190 connects to a monitor.
输出外围接口1195连接到打印机和扬声器。The output peripheral interface 1195 connects to a printer and speakers.
图1所示的计算机系统1000仅是解释性的,并且决不是为了要限制本发明、其应用或用途。应用于本发明的实施例中,计算机1100的所述存储器1120用于存储指令,所述指令用于控制所述处理器1110进行操作以执行本发明实施例提供的任意一项虚拟现实场景加载方法。尽管在图1中对计算机1100示出了多个装置,但是,本发明可以仅涉及其中的部分装置,例如,网页服务器1100只涉及处理器1110和存储装置1120等。技术人员可以根据本发明所公开方案设计指令。指令如何控制处理器进行操作,这是本领域公知,故在此不再详细描述。The computer system 1000 shown in Figure 1 is illustrative only, and is in no way intended to limit the invention, its application or uses. Applied in the embodiment of the present invention, the memory 1120 of the computer 1100 is used to store instructions, and the instructions are used to control the processor 1110 to operate to execute any one of the virtual reality scene loading methods provided in the embodiments of the present invention . Although multiple devices are shown for the computer 1100 in FIG. 1 , the present invention may only involve some of them. For example, the web server 1100 only involves the processor 1110 and the storage device 1120 . A skilled person can design instructions according to the solutions disclosed in the present invention. How the instructions control the processor to operate is well known in the art, so it will not be described in detail here.
<实施例><Example>
本实施例中提供一种虚拟现实场景加载方法,如图2所示,包括:A method for loading a virtual reality scene is provided in this embodiment, as shown in FIG. 2 , including:
步骤S2100,响应于对目标虚拟现实场景的加载请求,删除当前虚拟现实场景中的独有模型资源,保留共用模型资源以及场景摄像机,其中,所述独用模型资源是对应的虚拟现实场景中独有的模型资源,所述共用模型资源是当前虚拟现实应用中所涉及的所有虚拟现实场景中都包含的模型资源。Step S2100, in response to the loading request of the target virtual reality scene, delete the unique model resources in the current virtual reality scene, and keep the shared model resources and the scene camera, wherein the exclusive model resources are the unique model resources in the corresponding virtual reality scene There are model resources, and the shared model resources are model resources included in all virtual reality scenes involved in the current virtual reality application.
在本实施例中,所述虚拟现实场景是在当前虚拟现实应用通过显示设备(例如虚拟现实设备的显示屏幕等)向用户呈现的场景。所述虚拟现实应用是可以通过诸如手机、可穿戴设备、平板电脑等终端设备上运行的应用,例如,虚拟现实游戏、虚拟现实影音播放应用程序,可以提供用户虚拟现实的感受。In this embodiment, the virtual reality scene is a scene presented to the user by the current virtual reality application through a display device (such as a display screen of the virtual reality device, etc.). The virtual reality application is an application that can be run on a terminal device such as a mobile phone, a wearable device, or a tablet computer, for example, a virtual reality game or a virtual reality audio and video playback application program, which can provide users with a virtual reality experience.
所述虚拟现实场景通常根据各种场景开发工具平台生成,包括各种模型资源以及场景摄像机(Camera),所述模型资源是虚拟现实场景中虚拟现实场景可能涉及的各种建筑、人物、植被、机械、动物、山川、河流、景观等对应的三维模型资源。在一个例子中,该场景开发工具平台可以是Unity3D,Unity3D是由Unity Technologies开发的一个让用户轻松开发创建诸如三维视频游戏、建筑可视化、实时三维动画等类型互动内容的多平台的综合型游戏开发工具,是一个全面整合的专业游戏引擎。The virtual reality scene is usually generated according to various scene development tool platforms, including various model resources and scene cameras (Camera), and the model resource is various buildings, characters, vegetation, etc. that may be involved in the virtual reality scene in the virtual reality scene. 3D model resources corresponding to machinery, animals, mountains, rivers, landscapes, etc. In one example, the scene development tool platform may be Unity3D, which is a multi-platform comprehensive game development developed by Unity Technologies that allows users to easily develop and create interactive content such as 3D video games, architectural visualization, and real-time 3D animation. Tool, is a fully integrated professional game engine.
在本实施例中,所述虚拟现实场景中包含的各种模型资源,可以根据实际应用需求划分为共用模型资源以及独有模型资源。例如,所述独用模型资源是对应的虚拟现实场景中独有的模型资源,所述共用模型资源是当前虚拟现实应用中所涉及的所有虚拟现实场景中都包含的模型资源。因此,在一个例子中,本实施例中所提供的虚拟现实场景加载方法还包括:对当前虚拟现实应用中涉及的所有虚拟现实场景中包含的模型资源进行分类,以确定所述共用模型资源以及当前虚拟现实应用中涉及的每个虚拟现实场景中包含的所有独有模型资源。例如,通过对虚拟现实场景中包含的模型资源自带的Tag(标签)进行分类,将当前虚拟现实应用中涉及的所有虚拟现实场景中包含的模型资源通过Tag标记为共用模型资源,其他的模型资源均通过Tag标记为独有模型资源。In this embodiment, various model resources included in the virtual reality scene may be divided into shared model resources and unique model resources according to actual application requirements. For example, the exclusive model resource is a unique model resource in the corresponding virtual reality scene, and the shared model resource is a model resource included in all virtual reality scenes involved in the current virtual reality application. Therefore, in an example, the virtual reality scene loading method provided in this embodiment further includes: classifying the model resources contained in all the virtual reality scenes involved in the current virtual reality application, so as to determine the shared model resources and All unique model assets contained in each VR scene involved in the current VR application. For example, by classifying the Tags (tags) that come with the model resources contained in the virtual reality scene, the model resources contained in all virtual reality scenes involved in the current virtual reality application are marked as shared model resources by Tag, and other models All resources are marked as unique model resources by Tag.
在步骤S2100中,删除当前虚拟现实场景中的独有模型资源,保留共用模型资源以及场景摄像机,具体地,可以定义与现有技术中对虚拟现实场景定义的场景生命周期机制不同的机制来实现。现有技术中的场景生命周期机制定义的是虚拟现实场景中包含的模型资源和场景摄像机具有相同的场景生命周期,当场景生命周期到达时,例如需要结束当前虚拟现实场景,加载目标虚拟现实场景实现场景跳转时,当前虚拟现实场景中包含的模型资源和场景摄像机会被全部销毁,在加载目标虚拟现实场景时,需要重新加载目标虚拟现实场景包含的全部模型资源,这样就可能存在受限于运行虚拟现实应用的终端设备的处理能力,加载时间太长导致出现黑屏影响用户的体验。场景生命周期机制是目前虚拟现实场景的开发工具平台(例如Unity3D)的固有机制,而在本发明实施例中,可以在对目标虚拟现实场景中包含模型资源划分为共用模型资源和独有模型资源后,对共用模型资源和场景摄像机不再实现场景生命周期的机制,使得可以在对目标虚拟现实场景加载实施场景跳转时,可以保留共用模型资源和场景摄像机,避免重复加载共用模型资源缩短场景加载时间,保留场景摄像机以避免出现黑屏。In step S2100, the unique model resource in the current virtual reality scene is deleted, and the shared model resource and the scene camera are reserved. Specifically, a mechanism different from the scene life cycle mechanism defined for the virtual reality scene in the prior art can be defined to achieve . The scene life cycle mechanism in the prior art defines that the model resources contained in the virtual reality scene and the scene camera have the same scene life cycle. When the scene life cycle is reached, for example, it is necessary to end the current virtual reality scene and load the target virtual reality scene When the scene jump is implemented, the model resources and scene cameras contained in the current virtual reality scene will be completely destroyed. When loading the target virtual reality scene, all model resources contained in the target virtual reality scene need to be reloaded, so there may be limitations Due to the processing capability of the terminal device running the virtual reality application, the loading time is too long, resulting in a black screen and affecting the user experience. The scene life cycle mechanism is the inherent mechanism of the development tool platform (such as Unity3D) of the current virtual reality scene. In the embodiment of the present invention, the model resources contained in the target virtual reality scene can be divided into shared model resources and unique model resources. Finally, the scene life cycle mechanism is no longer implemented for the shared model resources and scene cameras, so that when the target virtual reality scene is loaded and the scene jump is performed, the shared model resources and scene cameras can be retained to avoid repeated loading of the shared model resources and shorten the scene Loading time, keep scene camera to avoid black screen.
在步骤S2100之后,进入步骤S2200,加载所述目标虚拟现实场景的独有模型资源,以用于根据所述目标现实场景的独有模型资源、所述共用模型资源以及所述场景摄像机呈现所述目标虚拟现实场景。After step S2100, enter step S2200, and load the unique model resource of the target virtual reality scene, so as to present the Target virtual reality scene.
通过如图2所示的虚拟现实场景加载方法,在加载目标虚拟现实场景时,可以不必再重复加载共用模型资源以及场景摄像机,缩短加载目标虚拟现实场景的时间,并且,保留场景摄像机,可以避免出现黑屏现象。提升用户体验。Through the virtual reality scene loading method shown in Figure 2, when loading the target virtual reality scene, it is not necessary to repeatedly load the shared model resources and scene cameras, shorten the time for loading the target virtual reality scene, and keep the scene camera, which can avoid A black screen appears. Improve user experience.
而所述共用模型资源以及场景摄像机可以保存在对应的虚拟现实应用中或者运行对应的虚拟现实应用的终端设备中,也可以保存在远端服务器或者云端服务器中。当目标虚拟现实场景为当前的虚拟现实应用的初始的虚拟现实场景时,需要加载所述共用模型资源以及场景摄像机。因此,在一个例子中,本实施例中提供的虚拟现实场景加载方法还包括:在加载初始的虚拟现实场景时,动态加载所述共用模型资源以及场景摄像机。The shared model resource and scene camera can be stored in the corresponding virtual reality application or a terminal device running the corresponding virtual reality application, or can be stored in a remote server or a cloud server. When the target virtual reality scene is the initial virtual reality scene of the current virtual reality application, the shared model resource and the scene camera need to be loaded. Therefore, in an example, the method for loading a virtual reality scene provided in this embodiment further includes: when loading an initial virtual reality scene, dynamically loading the shared model resource and the scene camera.
而在一个例子中,还可以执行步骤S2100的同时,执行步骤S2200,实现在用户对虚拟现实场景进行交互操作时,可以将用户请求加载的目标虚拟现实场景的目标虚拟现实场景中独有模型资源通过多线程的方式进行异步加载备份,进一步缩短目标虚拟现实场景的加载时间,给予用户无需等待就实现场景跳转的用户体验。因此,本实施例中所提供的虚拟现实场景加载方法,还可以包括:通过异步加载的方式执行所述加载所述目标虚拟现实场景的独有模型资源的步骤。In an example, step S2100 can also be executed at the same time as step S2200, so that when the user interacts with the virtual reality scene, the unique model resources in the target virtual reality scene that the user requests to load can be loaded. Asynchronous loading and backup is carried out in a multi-threaded manner, further shortening the loading time of the target virtual reality scene, and giving users the user experience of realizing scene jump without waiting. Therefore, the method for loading a virtual reality scene provided in this embodiment may further include: performing the step of loading the unique model resource of the target virtual reality scene by means of asynchronous loading.
此外,在一个例子中,实施例中所提供的虚拟现实场景加载方法,还可以包括:在执行所述加载所述目标虚拟现实场景的步骤前,对当前虚拟现实应用中涉及的所有虚拟现实场景中包含的模型资源以及所述场景摄像机进行Prefab封装。例如,通过Unit3D对虚拟现实场景中包含的模型资源以及所述场景摄像机(Camera)进行Prefab封装。如此可以简化虚拟现实场景的加载过程,缩短虚拟现实场景的加载时间。In addition, in an example, the virtual reality scene loading method provided in the embodiment may further include: before performing the step of loading the target virtual reality scene, all virtual reality scenes involved in the current virtual reality application The model resources contained in and the scene camera are packaged in Prefab. For example, Unit3D is used to prefab package the model resources contained in the virtual reality scene and the scene camera (Camera). In this way, the loading process of the virtual reality scene can be simplified, and the loading time of the virtual reality scene can be shortened.
通过以上所述的本实施例中所提供的虚拟现实场景加载方法,在加载目标虚拟现实场景时,可以不必再重复加载共用模型资源以及场景摄像机,缩短加载目标虚拟现实场景的时间,并且,保留场景摄像机,可以避免出现黑屏现象。提升用户体验。Through the virtual reality scene loading method provided in this embodiment described above, when loading the target virtual reality scene, it is not necessary to repeatedly load the shared model resources and scene cameras, shorten the time for loading the target virtual reality scene, and retain The scene camera can avoid black screen phenomenon. Improve user experience.
在本实施例中,还提供一种虚拟现实场景加载设备3000,如图3所示,包括资源处理单元3100和资源加载单元3200,可选地,还包括初始加载单元3300、资源分类单元3400以及资源封装单元3500,用于实施本实施例中提供的任何一项虚拟现实场景加载方法,在此不再赘述。In this embodiment, a virtual reality scene loading device 3000 is also provided, as shown in FIG. The resource encapsulation unit 3500 is configured to implement any one of the virtual reality scene loading methods provided in this embodiment, which will not be repeated here.
虚拟现实场景加载设备3000,包括:Virtual reality scene loading device 3000, including:
资源处理单元3100,用于响应于对目标虚拟现实场景的加载请求,删除当前虚拟现实场景中的独有模型资源,保留共用模型资源以及场景摄像机,其中,所述独用模型资源是对应的虚拟现实场景中独有的模型资源,所述共用模型资源是当前虚拟现实应用中所涉及的所有虚拟现实场景中都包含的模型资源;The resource processing unit 3100 is configured to delete the unique model resources in the current virtual reality scene in response to the loading request of the target virtual reality scene, and retain the shared model resources and the scene camera, wherein the unique model resources are the corresponding virtual A unique model resource in a real scene, the shared model resource is a model resource included in all virtual reality scenes involved in the current virtual reality application;
资源加载单元3200,用于加载所述目标虚拟现实场景的独有模型资源,以用于根据所述目标现实场景的独有模型资源、所述共用模型资源以及所述场景摄像机呈现所述目标虚拟现实场景。The resource loading unit 3200 is configured to load the unique model resource of the target virtual reality scene, so as to present the target virtual reality according to the unique model resource of the target real scene, the shared model resource and the scene camera. realistic scene.
可选地,所述虚拟现实场景加载设备3000,还包括:Optionally, the virtual reality scene loading device 3000 also includes:
初始加载单元3300,用于在加载初始的虚拟现实场景时动态加载所述共用模型资源以及场景摄像机。The initial loading unit 3300 is configured to dynamically load the shared model resource and the scene camera when loading the initial virtual reality scene.
可选地,所述虚拟现实场景加载设备3000,还包括:Optionally, the virtual reality scene loading device 3000 also includes:
资源分类单元3400,用于对当前虚拟现实应用中涉及的所有虚拟现实场景中包含的模型资源进行分类,以确定所述共用模型资源以及当前虚拟现实应用中涉及的每个虚拟现实场景中包含的所有独有模型资源。The resource classification unit 3400 is configured to classify the model resources contained in all virtual reality scenes involved in the current virtual reality application, so as to determine the shared model resources and the model resources contained in each virtual reality scene involved in the current virtual reality application. All exclusive model resources.
可选地,所述虚拟现实场景加载设备3000,还包括:Optionally, the virtual reality scene loading device 3000 also includes:
资源封装单元3400,用于在执行所述加载所述目标虚拟现实场景的步骤前,对当前虚拟现实应用中涉及的所有虚拟现实场景中包含的模型资源以及所述场景摄像机进行Prefab封装。The resource encapsulation unit 3400 is configured to perform Prefab encapsulation on model resources contained in all virtual reality scenes involved in the current virtual reality application and the scene cameras before performing the step of loading the target virtual reality scene.
可选地,所述资源加载单元3200用于通过异步加载的方式执行所述加载所述目标虚拟现实场景的独有模型资源的步骤。Optionally, the resource loading unit 3200 is configured to perform the step of loading the unique model resource of the target virtual reality scene by means of asynchronous loading.
在本实施例中,所述虚拟现实场景加载设备3000可以有多种实体设备形式,例如可以作为功能单元可以包含在虚拟现实应用中,也可以作为功能单元包含在运行所述虚拟现实应用的虚拟现实设备中,还可以部分功能单元包含在在虚拟现实应用中以及剩余功能单元包含在运行所述虚拟现实应用的虚拟现实设备中的形式。只要实施了在本实施例中虚拟现实场景加载设备3000所具有的功能的实体设备,均在本发明实施例所披露的保护范围之中。In this embodiment, the virtual reality scene loading device 3000 can have various forms of physical equipment, for example, it can be included in a virtual reality application as a functional unit, or it can be included in a virtual reality system running the virtual reality application as a functional unit. In the real device, some functional units may also be included in the virtual reality application and the rest of the functional units may be included in the virtual reality device running the virtual reality application. As long as the physical device implements the functions of the virtual reality scene loading device 3000 in this embodiment, it is within the scope of protection disclosed in the embodiment of the present invention.
<例子><example>
以下将结合图4举一个例子,进一步说明本实施例中虚拟场景加载方法。在图4所示方法中,包括以下步骤:An example will be given below in conjunction with FIG. 4 to further illustrate the method for loading a virtual scene in this embodiment. In the method shown in Figure 4, comprise the following steps:
步骤S401,对当前虚拟现实应用中涉及的所有虚拟现实场景中包含的模型资源以及场景摄像机进行Prefab封装,例如,通过Unity3D对模型资源以及场景摄像机进行Prefab封装,场景摄像机可以是Unity3D中的Camera,在对模型资源以及场景摄像机进行Prefab封装之后,进入步骤S402;Step S401, prefab packaging the model resources and scene cameras contained in all virtual reality scenes involved in the current virtual reality application, for example, prefab packaging the model resources and scene cameras through Unity3D, the scene camera can be a Camera in Unity3D, After prefab packaging the model resource and the scene camera, enter step S402;
步骤S402,对当前虚拟现实应用中涉及的所有虚拟现实场景中包含的模型资源自带的Tag(标签)进行分类,将当前虚拟现实应用中涉及的所有虚拟现实场景中包含的模型资源通过Tag标记为共用模型资源,其他的模型资源均通过Tag标记为独有模型资源,之后进入步骤S403;Step S402, classify the Tags (labels) of the model resources contained in all the virtual reality scenes involved in the current virtual reality application, and mark the model resources contained in all the virtual reality scenes involved in the current virtual reality application through Tag In order to share model resources, other model resources are marked as unique model resources by Tag, and then enter step S403;
步骤S403,判断是否需要加载目标虚拟现实场景:如果收到用户加载目标虚拟现实场景的请求,进入步骤S404,否则,如果收到停止加载虚拟现实场景的请求,例如用户操作退出当前虚拟现实应用,结束;Step S403, judging whether the target virtual reality scene needs to be loaded: if a request from the user to load the target virtual reality scene is received, proceed to step S404; otherwise, if a request to stop loading the virtual reality scene is received, for example, the user operates to exit the current virtual reality application, End;
步骤S404,判断加载的目标虚拟现实场景是否是当前虚拟应用的初始的虚拟现实场景,如果是,进入步骤S405,否则,进入步骤S406;Step S404, judging whether the loaded target virtual reality scene is the initial virtual reality scene of the current virtual application, if yes, go to step S405, otherwise, go to step S406;
步骤S405,动态加载共用模型资源和场景摄像机,步骤S407;Step S405, dynamically load shared model resources and scene cameras, step S407;
步骤S406,删除当前虚拟现实场景中的独有模型资源,保留共用模型资源以及场景摄像机,进入步骤S407;Step S406, delete the unique model resource in the current virtual reality scene, keep the shared model resource and the scene camera, and enter step S407;
步骤S407,异步加载目标虚拟现实场景的独有模型资源,因此,步骤S407可以与步骤S405或者步骤S406同时进行,在记载目标虚拟现实场景的独有模型资源后,可以根据所述目标现实场景的独有模型资源、所述共用模型资源以及所述场景摄像机呈现所述目标虚拟现实场景,之后,转回步骤S403,判断是否需要加载下一个目标虚拟现实场景,如果需要,则继续执行后续步骤,否则,结束。Step S407, asynchronously loading the unique model resources of the target virtual reality scene, therefore, step S407 can be performed simultaneously with step S405 or step S406, after recording the unique model resources of the target virtual reality scene, it can be based on the target real scene The unique model resource, the shared model resource, and the scene camera present the target virtual reality scene, and then turn back to step S403 to determine whether the next target virtual reality scene needs to be loaded, and if necessary, continue to perform subsequent steps, Otherwise, end.
在本例中,通过对当前虚拟现实应用中所涉及的虚拟现实场景中包含的模型资源和场景摄像机进行Prefab封装,可以简化虚拟现实场景的加载过程以缩短加载虚拟现实场景的时间,并且,通过对当前虚拟现实应用中所涉及的虚拟现实场景中包含的模型资源划分共用模型资源和独有模型资源,在加载目标虚拟现实场景时只删除当前虚拟现实场景的独有模型资源,而保留共用模型资源和场景摄像机,可以不必再重复加载共用模型资源和场景摄像机,缩短加载目标虚拟现实场景的时间,以及避免出现黑屏现象。此外,通过异步加载目标虚拟现实场景的独有资源,可以进一步缩短加载目标虚拟现实场景的时间,提供用户无需等待就能加载所跳转的目标虚拟现实场景的体验。In this example, by prefab packaging the model resources and scene cameras involved in the virtual reality scene involved in the current virtual reality application, the loading process of the virtual reality scene can be simplified to shorten the loading time of the virtual reality scene, and, by The model resources contained in the virtual reality scene involved in the current virtual reality application are divided into shared model resources and unique model resources. When loading the target virtual reality scene, only the unique model resources of the current virtual reality scene are deleted, while the shared model is retained. Resources and scene cameras, it is no longer necessary to repeatedly load shared model resources and scene cameras, shorten the time to load the target virtual reality scene, and avoid black screen phenomenon. In addition, by asynchronously loading the unique resources of the target virtual reality scene, the time for loading the target virtual reality scene can be further shortened, providing the user with the experience of loading the jumped target virtual reality scene without waiting.
以上已经结合附图描述了本发明的实施例,根据本实施例,在加载目标虚拟现实场景时,删除当前虚拟现实场景中的独有模型资源,保留共用模型资源以及场景摄像机,使得可以不必再重复加载共用模型资源以及场景摄像机,缩短加载目标虚拟现实场景的时间,并且,保留场景摄像机,可以避免出现黑屏现象。提升用户体验。The embodiments of the present invention have been described above in conjunction with the accompanying drawings. According to this embodiment, when the target virtual reality scene is loaded, the unique model resources in the current virtual reality scene are deleted, and the shared model resources and scene cameras are reserved, so that it is not necessary to Repeated loading of shared model resources and scene cameras shortens the time to load the target virtual reality scene, and retains the scene camera to avoid black screens. Improve user experience.
本领域技术人员应当明白,可以通过各种方式来实现虚拟现实场景加载设备3000。例如,可以通过指令配置处理器来实现虚拟现实场景加载设备3000。例如,可以将指令存储在ROM中,并且当启动设备时,将指令从ROM读取到可编程器件中来实现虚拟现实场景加载设备3000。例如,可以将虚拟现实场景加载设备3000固化到专用器件(例如ASIC)中。可以将虚拟现实场景加载设备3000分成相互独立的单元,或者可以将它们合并在一起实现。虚拟现实场景加载设备3000可以通过上述各种实现方式中的一种来实现,或者可以通过上述各种实现方式中的两种或更多种方式的组合来实现。Those skilled in the art should understand that the virtual reality scene loading device 3000 can be implemented in various ways. For example, the virtual reality scene loading device 3000 can be implemented by configuring the processor through instructions. For example, instructions can be stored in a ROM, and when the device is started, the instructions are read from the ROM into the programmable device to implement the virtual reality scene loading device 3000 . For example, the virtual reality scene loading device 3000 can be solidified into a dedicated device (such as ASIC). The virtual reality scene loading device 3000 can be divided into mutually independent units, or they can be combined together for implementation. The virtual reality scene loading device 3000 may be realized by one of the above various implementation manners, or may be realized by a combination of two or more of the above various implementation manners.
本领域技术人员公知的是,随着诸如大规模集成电路技术的电子信息技术的发展和软件硬件化的趋势,要明确划分计算机系统软、硬件界限已经显得比较困难了。因为,任何操作可以软件来实现,也可以由硬件来实现。任何指令的执行可以由硬件完成,同样也可以由软件来完成。对于某一机器功能采用硬件实现方案还是软件实现方案,取决于价格、速度、可靠性、存储容量、变更周期等非技术性因素。因此,对于电子信息技术领域的普通技术人员来说,更为直接和清楚地描述一个技术方案的方式是描述该方案中的各个操作。在知道所要执行的操作的情况下,本领域技术人员可以基于对所述非技术性因素的考虑直接设计出期望的产品。Those skilled in the art know that, with the development of electronic information technology such as large-scale integrated circuit technology and the trend of software and hardware, it has become difficult to clearly divide the boundaries between software and hardware of computer systems. Because any operation can be realized by software or by hardware. Execution of any instruction can be done by hardware as well as by software. Whether to adopt a hardware implementation scheme or a software implementation scheme for a certain machine function depends on non-technical factors such as price, speed, reliability, storage capacity, and change cycle. Therefore, for those of ordinary skill in the field of electronic information technology, a more direct and clear way to describe a technical solution is to describe each operation in the solution. Knowing what to do, those skilled in the art can directly design the desired product based on consideration of such non-technical factors.
本发明可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本发明的各个方面的计算机可读程序指令。The present invention can be a system, method and/or computer program product. A computer program product may include a computer readable storage medium having computer readable program instructions thereon for causing a processor to implement various aspects of the present invention.
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是――但不限于――电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。A computer readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory), static random access memory (SRAM), compact disc read only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanically encoded device, such as a printer with instructions stored thereon A hole card or a raised structure in a groove, and any suitable combination of the above. As used herein, computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., pulses of light through fiber optic cables), or transmitted electrical signals.
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。Computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or a network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
用于执行本发明操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本发明的各个方面。Computer program instructions for carrying out operations of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or Source or object code written in any combination, including object-oriented programming languages—such as Smalltalk, C++, etc., and conventional procedural programming languages—such as the “C” language or similar programming languages. Computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as via the Internet using an Internet service provider). connect). In some embodiments, an electronic circuit, such as a programmable logic circuit, field programmable gate array (FPGA), or programmable logic array (PLA), can be customized by utilizing state information of computer-readable program instructions, which can Various aspects of the invention are implemented by executing computer readable program instructions.
这里参照根据本发明实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本发明的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It should be understood that each block of the flowcharts and/or block diagrams, and combinations of blocks in the flowcharts and/or block diagrams, can be implemented by computer-readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that when executed by the processor of the computer or other programmable data processing apparatus , producing an apparatus for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause computers, programmable data processing devices and/or other devices to work in a specific way, so that the computer-readable medium storing instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in flowcharts and/or block diagrams.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。It is also possible to load computer-readable program instructions into a computer, other programmable data processing device, or other equipment, so that a series of operational steps are performed on the computer, other programmable data processing device, or other equipment to produce a computer-implemented process , so that instructions executed on computers, other programmable data processing devices, or other devices implement the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
附图中的流程图和框图显示了根据本发明的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。对于本领域技术人员来说公知的是,通过硬件方式实现、通过软件方式实现以及通过软件和硬件结合的方式实现都是等价的。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, a portion of a program segment, or an instruction that includes one or more Executable instructions. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by means of hardware, implementation by means of software, and implementation by a combination of software and hardware are all equivalent.
以上已经描述了本发明的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。本发明的范围由所附权利要求来限定。Having described various embodiments of the present invention, the foregoing description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and alterations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principle of each embodiment, practical application or technical improvement in the market, or to enable other ordinary skilled in the art to understand each embodiment disclosed herein. The scope of the invention is defined by the appended claims.
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610869829.4A CN106502654B (en) | 2016-09-30 | 2016-09-30 | Virtual reality scenario loading method and equipment |
PCT/CN2016/110924 WO2018058811A1 (en) | 2016-09-30 | 2016-12-20 | Virtual reality scene loading method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610869829.4A CN106502654B (en) | 2016-09-30 | 2016-09-30 | Virtual reality scenario loading method and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106502654A true CN106502654A (en) | 2017-03-15 |
CN106502654B CN106502654B (en) | 2019-09-17 |
Family
ID=58290926
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610869829.4A Active CN106502654B (en) | 2016-09-30 | 2016-09-30 | Virtual reality scenario loading method and equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106502654B (en) |
WO (1) | WO2018058811A1 (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107168780A (en) * | 2017-04-06 | 2017-09-15 | 北京小鸟看看科技有限公司 | Loading method, equipment and the virtual reality device of virtual reality scenario |
CN109240762A (en) * | 2018-08-07 | 2019-01-18 | 云南电网有限责任公司曲靖供电局 | The loading method and device of resource in a kind of analogue system |
CN110688239A (en) * | 2019-09-27 | 2020-01-14 | 上海依图网络科技有限公司 | Model calling method, device, equipment and computer readable storage medium |
CN111078317A (en) * | 2019-12-17 | 2020-04-28 | 米哈游科技(上海)有限公司 | Scene data processing method and device, computer equipment and storage medium |
CN111352670A (en) * | 2020-03-10 | 2020-06-30 | 简吉波 | Virtual reality scene loading method and device, virtual reality system and equipment |
CN112435346A (en) * | 2020-11-19 | 2021-03-02 | 苏州亿歌网络科技有限公司 | Multi-type scene coexistence adding method, device, terminal and storage medium |
WO2021051440A1 (en) * | 2019-09-20 | 2021-03-25 | 歌尔科技有限公司 | Method and device for loading module of pc terminal-based virtual reality device |
CN114510370A (en) * | 2021-02-03 | 2022-05-17 | 深圳思为科技有限公司 | Backup method, device, electronic device and storage medium based on panorama editor |
WO2022257692A1 (en) * | 2021-06-09 | 2022-12-15 | 腾讯科技(深圳)有限公司 | Virtual scene transition method and apparatus, device, storage medium and program product |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110288717B (en) * | 2019-06-19 | 2023-06-09 | 塔普翊海(上海)智能科技有限公司 | Mixed reality application processing system |
CN114185565A (en) * | 2021-12-07 | 2022-03-15 | 北京寰宇风行科技发展有限公司 | Virtual scene solution applied to teaching courseware |
CN114510152B (en) * | 2022-04-18 | 2022-07-26 | 梯度云科技(北京)有限公司 | Method and device for constructing meta-universe system based on container |
CN118470197A (en) * | 2024-05-09 | 2024-08-09 | 广州铁科智控有限公司 | Three-dimensional scene loading method and device, electronic equipment and readable medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102722547A (en) * | 2012-05-25 | 2012-10-10 | 任伟峰 | Method and device for realizing information management by utilizing virtual reality scene |
CN103885788A (en) * | 2014-04-14 | 2014-06-25 | 焦点科技股份有限公司 | Dynamic WEB 3D virtual reality scene construction method and system based on model componentization |
CN104102545A (en) * | 2014-07-04 | 2014-10-15 | 北京理工大学 | Three-dimensional resource allocation and loading optimization method for mobile augmented reality browser |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101799845B (en) * | 2010-03-01 | 2011-10-12 | 南京航空航天大学 | Method for realizing flexible cable assembling model in virtual assembling environment |
CN103399873B (en) * | 2013-07-10 | 2017-09-29 | 中国大唐集团科学技术研究院有限公司 | The Database Dynamic loading management method and device of virtual reality system |
US9370718B2 (en) * | 2014-01-02 | 2016-06-21 | Ubitus Inc. | System and method for delivering media over network |
-
2016
- 2016-09-30 CN CN201610869829.4A patent/CN106502654B/en active Active
- 2016-12-20 WO PCT/CN2016/110924 patent/WO2018058811A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102722547A (en) * | 2012-05-25 | 2012-10-10 | 任伟峰 | Method and device for realizing information management by utilizing virtual reality scene |
CN103885788A (en) * | 2014-04-14 | 2014-06-25 | 焦点科技股份有限公司 | Dynamic WEB 3D virtual reality scene construction method and system based on model componentization |
CN104102545A (en) * | 2014-07-04 | 2014-10-15 | 北京理工大学 | Three-dimensional resource allocation and loading optimization method for mobile augmented reality browser |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107168780A (en) * | 2017-04-06 | 2017-09-15 | 北京小鸟看看科技有限公司 | Loading method, equipment and the virtual reality device of virtual reality scenario |
CN107168780B (en) * | 2017-04-06 | 2020-09-08 | 北京小鸟看看科技有限公司 | Virtual reality scene loading method and equipment and virtual reality equipment |
CN109240762A (en) * | 2018-08-07 | 2019-01-18 | 云南电网有限责任公司曲靖供电局 | The loading method and device of resource in a kind of analogue system |
WO2021051440A1 (en) * | 2019-09-20 | 2021-03-25 | 歌尔科技有限公司 | Method and device for loading module of pc terminal-based virtual reality device |
CN110688239A (en) * | 2019-09-27 | 2020-01-14 | 上海依图网络科技有限公司 | Model calling method, device, equipment and computer readable storage medium |
CN111078317A (en) * | 2019-12-17 | 2020-04-28 | 米哈游科技(上海)有限公司 | Scene data processing method and device, computer equipment and storage medium |
CN111352670A (en) * | 2020-03-10 | 2020-06-30 | 简吉波 | Virtual reality scene loading method and device, virtual reality system and equipment |
CN112435346A (en) * | 2020-11-19 | 2021-03-02 | 苏州亿歌网络科技有限公司 | Multi-type scene coexistence adding method, device, terminal and storage medium |
WO2022104883A1 (en) * | 2020-11-19 | 2022-05-27 | 苏州亿歌网络科技有限公司 | Adding method and apparatus for coexistence of multiple types of scenarios, terminal and storage medium |
CN114510370A (en) * | 2021-02-03 | 2022-05-17 | 深圳思为科技有限公司 | Backup method, device, electronic device and storage medium based on panorama editor |
WO2022257692A1 (en) * | 2021-06-09 | 2022-12-15 | 腾讯科技(深圳)有限公司 | Virtual scene transition method and apparatus, device, storage medium and program product |
JP2024512471A (en) * | 2021-06-09 | 2024-03-19 | テンセント・テクノロジー・(シェンジェン)・カンパニー・リミテッド | Virtual scene conversion method and device, computer equipment and computer program |
Also Published As
Publication number | Publication date |
---|---|
CN106502654B (en) | 2019-09-17 |
WO2018058811A1 (en) | 2018-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106502654B (en) | Virtual reality scenario loading method and equipment | |
CN107832108B (en) | Rendering method and device of 3D canvas webpage elements and electronic equipment | |
CN112233217B (en) | Rendering method and device of virtual scene | |
CN107451162B (en) | Network resource access device, hybrid device and method | |
CN107393013B (en) | Virtual roaming file generation and display method, device, medium, equipment and system | |
CN107168780B (en) | Virtual reality scene loading method and equipment and virtual reality equipment | |
JP6882992B2 (en) | How and devices to preview moving images, and how and devices to display representation packages | |
US20180027019A1 (en) | Privacy-preserving user-experience monitoring | |
CN107170047A (en) | Update method, equipment and the virtual reality device of virtual reality scenario | |
CN107766106B (en) | Method and apparatus for generating configuration file | |
WO2024250491A1 (en) | Method for generating augmented-reality data, and device and medium | |
US20250181488A1 (en) | Selective testing of pre-compiled extended reality operating systems | |
US10917478B2 (en) | Cloud enabling resources as a service | |
CN115510508A (en) | Page information protection method and device and electronic equipment | |
CN115543535A (en) | Android container system, android container construction method and device and electronic equipment | |
CN112288841B (en) | Method and device for creating rendering frame graph | |
CN117389647B (en) | Plug-in generation method, application development method, device, equipment and medium | |
US20220044464A1 (en) | Animation effect reproduction | |
CN113744377A (en) | Animation processing system, method, device, equipment and medium | |
CN111265875B (en) | Method and equipment for displaying game role equipment | |
CN114153539A (en) | Front-end application interface generation method and device, electronic equipment and storage medium | |
CN116402674B (en) | GPU command processing method and device, electronic equipment and storage medium | |
CN116466958B (en) | An Android container construction method and device, electronic equipment and storage medium | |
CN115640044B (en) | Unity-based three-dimensional software development method, device, equipment and medium | |
CN113082720A (en) | Prompt message determination method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201020 Address after: 261031 north of Yuqing street, east of Dongming Road, high tech Zone, Weifang City, Shandong Province (Room 502, Geer electronic office building) Patentee after: GoerTek Optical Technology Co.,Ltd. Address before: 266104 Laoshan Qingdao District North House Street investment service center room, Room 308, Shandong Patentee before: GOERTEK TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221117 Address after: 266104 No. 500, Songling Road, Laoshan District, Qingdao, Shandong Patentee after: GOERTEK TECHNOLOGY Co.,Ltd. Address before: 261031 north of Yuqing street, east of Dongming Road, high tech Zone, Weifang City, Shandong Province (Room 502, Geer electronics office building) Patentee before: GoerTek Optical Technology Co.,Ltd. |