ON-DEMAND TRANSCODING OF USER-GENERATED CONTENT FOR CONTEXT-AWARE DELIVERY IN VIRTUAL ENVIRONMENTS
Embodiments relate to methods, systems, and computer-readable media for on-demand transcoding of user-generated content in virtual environments. A digital asset uploaded by a user is stored in original form in a repository, where respective representations have one or more of varied rendering characteristics and levels of complexity. When a request for the asset is received from a client device, a runtime context is evaluated to determine whether a corresponding representation is available in a cache. If the representation is unavailable, a transcoder is used to generate a representation based on the runtime context. The generated representation is transmitted to the client device for rendering of the digital asset. This approach supports dynamic, context-aware delivery while reducing redundant processing and storage of asset variants.
Latest Roblox Corporation Patents:
This application is a non-provisional application that claims priority under 35 U.S.C. § 119(e) to U.S. Provisional Patent Application No. 63/809,989, entitled “ON-DEMAND TRANSCODING OF USER-GENERATED CONTENT FOR CONTEXT-AWARE DELIVERY IN VIRTUAL ENVIRONMENTS,” filed on May 21, 2025, and U.S. Provisional Patent Application No. 63/811,191, entitled “PROGRESSIVE AND CONTINOUS PRIORITIZED STREAM OF DIGITAL ASSETS,” filed on May 23, 2025, the contents of each of which are hereby incorporated by reference herein in its entirety.
TECHNICAL FIELDVarious embodiments described herein relate generally to content delivery in virtual environments, and more particularly but not exclusively, relates to methods, systems, and computer-readable media to provide on-demand transcoding of user-generated content to produce context-aware representations optimized for runtime delivery and rendering.
BACKGROUNDContent delivery architectures for virtual environments often rely on static preprocessing of user-generated assets. When assets such as three-dimensional (3D) meshes, textures, or audio files are uploaded to a platform, a fixed set of representations are generated at the time of ingestion. The resulting set of variants is then stored and served uniformly to clients, regardless of device capability, rendering context, or runtime performance constraints. While this static approach simplifies delivery, it lacks flexibility and can lead to inefficiencies in both computation and resource allocation. As a result, streaming of a virtual experience is associated with latencies that interfere with an immersive user experience.
The background description provided herein is for the purpose of presenting the context of the disclosure. Work of the presently named inventors, to the extent it is described in this background section, as well as aspects of the description that may not otherwise qualify as prior art at the time of filing, are neither expressly nor impliedly admitted as prior art against the prior disclosure.
SUMMARYA computer-implemented method comprises receiving a digital asset uploaded by a user. The method further comprises storing an original version of the digital asset in a repository as a source to generate representations, where respective representations have one or more of varied rendering characteristics and levels of complexity. The method further comprises receiving a request for the digital asset from a client device, the request including a runtime context of the client device. The method further comprises determining whether a representation of the digital asset corresponding to the runtime context is available in a representation cache. The method further comprises responsive to the representation of the digital asset being unavailable in the representation cache, generating the representation of the digital asset based on the runtime context using a transcoder. The method further comprises transmitting the generated representation to the client device for rendering of the digital asset in a virtual environment.
In some embodiments, the runtime context comprises real-time device capability information that includes one or more from a group comprising: processor resources, graphics resources, memory resources, network resources, display resources, and combinations thereof. In some embodiments, the runtime context comprises a viewing distance between a virtual camera corresponding to a position of an avatar associated with the client device and the digital asset, and where the representation generated based on the runtime context is configured based on the viewing distance. In some embodiments, generating the representation of the digital asset comprises a generating plurality of representations with progressively increasing levels of detail as the viewing distance between the virtual camera and the digital asset decreases and transmitting the generated representation to the client device includes transmitting the plurality of representations to the client device. In some embodiments, the method further includes determining a change in the runtime context of the client device, generating a subsequent representation of the digital asset based on the change in the runtime context of the client device, and transmitting the generated subsequent representation to the client device for rendering.
In some embodiments, the digital asset includes a three-dimensional (3D) model and wherein generating the representation comprises reducing a geometric complexity of the 3D model based on the runtime context to produce a level-of-detail (LoD) version, where the LoD version has less detail than the 3D model. In some embodiments, the transcoder generates the representation by applying a transformation based on one or more of a display language preference, a rendering format, and a runtime constraint. In some embodiments, the method further includes selecting the transcoder from a plurality of transcoders based on an asset type associated with the digital asset. In some embodiments, the method further includes storing the generated representation and the runtime context in the representation cache and using the stored representation to respond to subsequent requests associated with the same runtime context. In some embodiments, the representation cache associates each stored representation with a version identifier corresponding to a transcoder version.
A computing device comprises one or more processors and a memory coupled to the one or more processors, with instructions stored thereon that, when executed by the one or more processors, cause the one or more processors to perform or control performance of operations. The operations comprise receiving a digital asset uploaded by a user; storing an original version of the digital asset in a repository as a source to generate representations, where respective representations have one or more of varied rendering characteristics and levels of complexity; receiving a request for the digital asset from a client device, the request including a runtime context of the client device; determining whether a representation of the digital asset corresponding to the runtime context is available in a representation cache; responsive to the representation of the digital asset being unavailable in the representation cache, generating the representation of the digital asset based on the runtime context using a transcoder; and transmitting the generated representation to the client device for rendering of the digital asset in a virtual environment.
In some embodiments, the runtime context comprises real-time device capability information that includes one or more from a group comprising: processor resources, graphics resources, memory resources, network resources, display resources, and combinations thereof. In some embodiments, the runtime context comprises a viewing distance between a virtual camera corresponding to a position of an avatar associated with the client device and the digital asset, and where the representation generated based on the runtime context is configured based on the viewing distance. In some embodiments, the representation of the digital asset comprises a plurality of representations with progressively increasing levels of detail as the viewing distance between the virtual camera and the digital asset decreases and transmitting the generated representation to the client device includes transmitting the plurality of representations to the client device. In some embodiments, the operations further include determining a change in the runtime context of the client device, generating a subsequent representation of the digital asset based on the change in the runtime context of the client device, and transmitting the generated subsequent representation to the client device for rendering.
A non-transitory computer-readable medium with instructions stored thereon that, when executed by one or more computers, cause the one or more computers to perform or control performance of operations. The operations comprise receiving a digital asset uploaded by a user; storing an original version of the digital asset in a repository as a source to generate representations, where respective representations have one or more of varied rendering characteristics and levels of complexity; receiving a request for the digital asset from a client device, the request including a runtime context of the client device; determining whether a representation of the digital asset corresponding to the runtime context is available in a representation cache; responsive to the representation of the digital asset being unavailable in the representation cache, generating the representation of the digital asset based on the runtime context using a transcoder; and transmitting the generated representation to the client device for rendering of the digital asset in a virtual environment.
In some embodiments, the runtime context comprises real-time device capability information that includes one or more from a group comprising: processor resources, graphics resources, memory resources, network resources, display resources, and combinations thereof. In some embodiments, the runtime context comprises a viewing distance between a virtual camera corresponding to a position of an avatar associated with the client device and the digital asset, and where the representation generated based on the runtime context is configured based on the viewing distance. In some embodiments, generating the representation of the digital asset comprises a generating plurality of representations with progressively increasing levels of detail as the viewing distance between the virtual camera and the digital asset decreases and transmitting the generated representation to the client device includes transmitting the plurality of representations to the client device. In some embodiments, the operations further include determining a change in the runtime context of the client device, generating a subsequent representation of the digital asset based on the change in the runtime context of the client device, and transmitting the generated subsequent representation to the client device for rendering.
Assets in a virtual environment may include a 3D mesh, texture, an animation, a video, an audio file, etc. In some embodiments, assets may be represented by a level of detail (LoD) framework. The LoD framework may be generated by game engines using rendering techniques based on heuristics that assume precomputed asset variants. These variants are designed to support different rendering distances or hardware configurations but, conventionally, are generated in advance and bundled with the asset. Relying solely on this preemptive strategy consumes storage and network bandwidth even if many of the variants are not actually used, leading to inefficiencies and scalability challenges. Moreover, it does not support runtime updates in response to changes in, for example, device capabilities, updates to the rendering engine, or variations in user interaction contexts. The inability to re-generate asset representations as rendering conditions change limits the adaptability of the experience and may result in degraded performance or suboptimal visual fidelity on resource-constrained devices.
Current content optimization solutions also fall short in enabling personalization or responsiveness. For example, delivering a high-resolution asset to a low-end mobile device (e.g., low memory, limited processing power, etc.) may cause latency, rendering glitches, or excessive resource consumption. Likewise, language-specific versions of assets such as in-image text or captions are manually created and uploaded for each supported locale, with no mechanism to dynamically generate localized representations on demand. These constraints increase the burden on developers and infrastructure teams, as they anticipate every possible use case at the time of asset submission and ensure that a complete set of static representations is available for delivery.
Additionally, existing delivery mechanisms do not easily accommodate improvements in backend processing pipelines. If an asset is transcoded using legacy techniques, there is often no systematic way to upgrade the stored representation when more efficient or higher-quality techniques become available. As a result, user-generated content becomes locked into outdated forms, inhibiting long-term platform scalability and performance. Attempts to address these shortcomings include re-ingestion and manual reprocessing of assets, which is costly and operationally disruptive.
The techniques discussed herein enable context-aware delivery of user-generated content in virtual environments by deferring the generation of asset representations until runtime and selecting representations based on device-specific and session-specific parameters. Upon receiving a request for an asset, the techniques determine whether a matching representation is available in a cache; if not, a transcoder is activated to generate the appropriate variant from the original stored asset. The representation is generated in accordance with the runtime context, such as a device capability, a viewing distance, and/or a localization setting, and can be stored for subsequent reuse. Subsequent requests associated with the same runtime context are fulfilled using the cached representation. The techniques support dynamic adaptation to varying client configurations, reduce bandwidth and storage consumption, and enable representation updates in accordance with modifications to transcoding logic.
According to one aspect to provide on-demand transcoding of user-generated content for context-aware delivery in virtual environments, a digital asset uploaded by a user is received. An original version of the digital asset is stored in a repository as a source for generating representations. A request for the digital asset is received from a client device, the request includes a runtime context of the client device. A determination is made as to whether a representation of the digital asset corresponding to the runtime context is available in a representation cache. The representation of the digital asset based on the runtime context is generated using a transcoder when the corresponding representation is not available in the representation cache. A reference to the generated representation is transmitted to the client device for rendering of the digital asset in a virtual environment.
As a result of providing on-demand transcoding of a digital asset instead of storing every permutation of the user-generated content, the technology significantly reduces backend storage consumption by generating and caching asset variants that are actually requested by users, rather than computing exhaustive sets of representations. By generating representations of the user-generated content based on a runtime context of a client device, the representation is scaled to real-time hardware capabilities and accommodates a variety of client devices. Further, by using progressive fetching of a plurality of representations, a user is provided with an immersive virtual environment where streaming occurs faster and without delays because details in the virtual environment are prioritized based on their proximity to the location of a virtual camera. Lastly, the technology future-proofs user-generated content: as new, more efficient transcoding algorithms are deployed to the platform, transcoders seamlessly generate updated representations from stored original assets without requiring users to manually re-upload or re-process their content.
In practical terms, this allows a highly complex, user-generated virtual world to be experienced seamlessly across a vastly fragmented hardware landscape. A user on a high-end gaming personal computer with a broadband connection will automatically receive rich, high-polygon 3D meshes and uncompressed textures, while a user standing in the exact same virtual room on a low-end smartphone over a cellular network will receive lightweight, optimized representations. Both users enjoy a smooth, lag-free immersive experience without the platform developers having to manually anticipate and encode assets for every possible device configuration.
In the following detailed description, reference is made to the accompanying drawings, which form a part hereof. In the drawings, similar symbols typically identify similar components, unless context dictates otherwise. The illustrative embodiments described in the detailed description, drawings, and claims are not meant to be limiting. Other embodiments may be utilized, and other changes may be made, without departing from the spirit or scope of the subject matter presented herein. Aspects of the present disclosure, as generally described herein, and illustrated in the Figures, can be arranged, substituted, combined, separated, and designed in a wide variety of different configurations, all of which are contemplated herein.
References in the specification to “some embodiments”, “an embodiment”, “an example embodiment”, etc. indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, such feature, structure, or characteristic may be effected in connection with other embodiments whether or not explicitly described.
System ArchitectureThe system architecture 100 (also referred to as “system” herein) includes online virtual experience server 102, data store 120, client devices 110a, 110b, and 110n (generally referred to as “client device(s) 110” herein), and developer devices 130a and 130n (generally referred to as “developer device(s) 130” herein). Virtual experience server 102, data store 120, client devices 110, and developer devices 130 are coupled via network 122. In some embodiments, client device(s) 110 and developer device(s) 130 may refer to the same or same type of device.
Online virtual experience server 102 can include, among other things, a virtual experience engine 104, one or more virtual experiences 106, and graphics engine 108. In some embodiments, the graphics engine 108 may be a system, application, or module that permits the online virtual experience server 102 to provide graphics and animation capability. In some embodiments, the graphics engine 108 may perform one or more of the operations described below in connection with the flowchart shown in
A developer device 130 can include a virtual experience application 132, and input/output (I/O) interfaces 134 (e.g., input/output devices). The input/output devices can include one or more of a microphone, speakers, headphones, display device, mouse, keyboard, game controller, touchscreen, virtual reality consoles, etc.
System architecture 100 is provided for illustration. In different embodiments, the system architecture 100 may include the same, fewer, more, or different elements configured in the same or different manner as that shown in
In some embodiments, network 122 may include a public network (e.g., the Internet), a private network (e.g., a local area network (LAN) or wide area network (WAN)), a wired network (e.g., Ethernet network), a wireless network (e.g., an 802.11 network, a Wi-Fi® network, or wireless LAN (WLAN)), a cellular network (e.g., a 5G network, a Long Term Evolution (LTE) network, etc.), routers, hubs, switches, server computers, or a combination thereof.
In some embodiments, the data store 120 may be a non-transitory computer readable memory (e.g., random access memory), a cache, a drive (e.g., a hard drive), a flash drive, a database system, or another type of component or device capable of storing data. The data store 120 may include multiple storage components (e.g., multiple drives or multiple databases) that may span multiple computing devices (e.g., multiple server computers). In some embodiments, data store 120 may include cloud-based storage.
In some embodiments, the online virtual experience server 102 can include a server having one or more computing devices (e.g., a cloud computing system, a rackmount server, a server computer, cluster of physical servers, etc.). In some embodiments, the online virtual experience server 102 may be an independent system, may include multiple servers, or be part of another system or server.
In some embodiments, the online virtual experience server 102 may include one or more computing devices (such as a rackmount server, a router computer, a server computer, a personal computer, a mainframe computer, a laptop computer, a tablet computer, a desktop computer, etc.), data stores (e.g., hard disks, memories, databases), networks, software components, and/or hardware components that may be used to perform operations on the online virtual experience server 102 and to provide a user with access to online virtual experience server 102. The online virtual experience server 102 may include a website (e.g., a web page) or application back-end software that may be used to provide a user with access to content provided by online virtual experience server 102. For example, users may access online virtual experience server 102 using the virtual experience application 112 on client devices 110.
In some embodiments, virtual experience session data are generated via online virtual experience server 102, virtual experience application 112, and/or virtual experience application 132, and are stored in data store 120. With permission from virtual experience participants, virtual experience session data may include associated metadata, e.g., virtual experience identifier(s); device data associated with the participant(s); demographic information of the participant(s); virtual experience session identifier(s); chat transcripts; session start time, session end time, and session duration for each participant; relative locations of participant avatar(s) within a virtual experience environment; purchase(s) within the virtual experience by one or more participants(s); accessories utilized by participants; etc.
In some embodiments, online virtual experience server 102 may be a type of social network providing connections between users or a type of user-generated content system that enables users (e.g., end-users or consumers) to communicate with other users on the online virtual experience server 102, where the communication may include voice chat (e.g., synchronous and/or asynchronous voice communication), video chat (e.g., synchronous and/or asynchronous video communication), or text chat (e.g., 1:1 and/or N:N synchronous and/or asynchronous text-based communication). A record of some or all user communications may be stored in data store 120 or within virtual experiences 106. The data store 120 may be utilized to store chat transcripts (text, audio, images, etc.) exchanged between participants.
In some embodiments of the disclosure, a “user” may be represented as a single individual. Other embodiments of the disclosure may include a “user” (e.g., creating user) being an entity controlled by a set of users or an automated source. For example, a set of individual users federated as a community or group in a user-generated content system may be considered a “user.”
In some embodiments, online virtual experience server 102 may be or include a virtual gaming server. For example, the gaming server may provide single-player or multiplayer games to a community of users that may access a “system” herein that includes an online virtual experiences server 102, data store 120, and client device 110 and/or may interact with virtual experiences using client devices 110 via network 122. In some embodiments, virtual experiences (including virtual realms or worlds, virtual games, other computer-simulated environments) may be 2D virtual experiences, 3D virtual experiences (e.g., 3D user-generated virtual experiences), virtual reality (VR) experiences, or augmented reality (AR) experiences, for example. In some embodiments, users may participate in interactions (such as gameplay) with other users. In some embodiments, a virtual experience may be experienced in near-real-time with other users of the virtual experience.
In some embodiments, virtual experience engagement may refer to the interaction of one or more participants using client devices (e.g., 110) within a virtual experience (e.g., 106) or the presentation of the interaction on a display or other output device (e.g., 114) of a client device 110. For example, virtual experience engagement may include interactions with one or more participants within a virtual experience or the presentation of the interactions on a display of a client device.
In some embodiments, a virtual experience 106 can include an electronic file that can be executed or loaded using software, firmware or hardware configured to present the virtual experience content (e.g., digital media item) to an entity. In some embodiments, a virtual experience application 112 may be executed and a virtual experience 106 rendered in connection with a virtual experience engine 104. In some embodiments, a virtual experience 106 may have a common set of rules or common goal, and the environment of a virtual experience 106 shares the common set of rules or common goal. In some embodiments, different virtual experiences may have different rules or goals from one another.
In some embodiments, virtual experiences may have one or more environments (also referred to as “virtual experience environments”, “virtual environments”, or “virtual spaces” herein) where multiple environments may be linked. An example of a virtual environment may be a three-dimensional (3D) environment. The one or more environments of a virtual experience 106 may be collectively referred to as a “world” or “virtual experience world” or “gaming world” or “virtual world” or “virtual space” or “universe” herein. An example of a world may be a 3D world of a virtual experience 106. For example, a user may build a virtual environment that is linked to another virtual environment created by another user. A character (avatar) of the virtual experience may cross the virtual border to enter the adjacent virtual environment.
It may be noted that 3D environments or 3D worlds use graphics that use a three-dimensional representation of geometric data representative of virtual experience content (or at least present virtual experience content to appear as 3D content whether or not 3D representation of geometric data is used). 2D environments or 2D worlds use graphics that use two-dimensional representation of geometric data representative of virtual experience content.
In some embodiments, the online virtual experience server 102 can host one or more virtual experiences 106 and can permit users to interact with the virtual experiences 106 using a virtual experience application 112 of client devices 110. Users of the online virtual experience server 102 may play, create, interact with, or build virtual experiences 106, communicate with other users, and/or create and build objects (e.g., also referred to as “item(s)” or “virtual experience objects” or “virtual experience item(s)” herein) of virtual experiences 106.
For example, in generating user-generated virtual items, users may create characters (avatars), decoration for the characters, one or more virtual environments for an interactive virtual experience, or build structures used in a virtual experience 106, among others. In some embodiments, users may buy, sell, or trade virtual experience objects, such as in-platform currency (e.g., virtual currency), with other users of the online virtual experience server 102. In some embodiments, online virtual experience server 102 may transmit virtual experience content to virtual experience applications (e.g., 112). In some embodiments, virtual experience content (also referred to as “content” herein) may refer to any data or software instructions (e.g., virtual experience objects, virtual experience, user information, video, images, commands, media item, etc.) associated with online virtual experience server 102 or virtual experience applications. In some embodiments, virtual experience objects (e.g., also referred to as “item(s)” or “objects” or “virtual objects” or “virtual experience item(s)” herein) may refer to objects that are used, created, shared or otherwise depicted in virtual experiences 106 of the online virtual experience server 102 or virtual experience applications 112 of the client devices 110. For example, virtual experience objects may include a part, model, character, accessories, tools, weapons, clothing, buildings, vehicles, currency, flora, fauna, components of the aforementioned (e.g., windows of a building), and so forth.
It may be noted that the online virtual experience server 102 hosting virtual experiences 106, is provided for purposes of illustration. In some embodiments, online virtual experience server 102 may host one or more media items that can include communication messages from one user to one or more other users. With user permission and express user consent, the online virtual experience server 102 may analyze chat transcripts data to improve the virtual experience platform. Media items can include, but are not limited to, digital video, digital movies, digital photos, digital music, audio content, melodies, website content, social media updates, electronic books, electronic magazines, digital newspapers, digital audio books, electronic journals, web blogs, real simple syndication (RSS) feeds, electronic comic books, software applications, etc. In some embodiments, a media item may be an electronic file that can be executed or loaded using software, firmware or hardware configured to present the digital media item to an entity.
In some embodiments, a virtual experience 106 may be associated with a particular user or a particular group of users (e.g., a private virtual experience), or made widely available to users with access to the online virtual experience server 102 (e.g., a public virtual experience). In some embodiments, where online virtual experience server 102 associates one or more virtual experiences 106 with a specific user or group of users, online virtual experience server 102 may associate the specific user(s) with a virtual experience 106 using user account information (e.g., a user account identifier such as username and password).
In some embodiments, online virtual experience server 102 or client devices 110 may include a virtual experience engine 104 or virtual experience application 112. In some embodiments, virtual experience engine 104 may be used for the development or execution of virtual experiences 106. For example, virtual experience engine 104 may include a rendering engine (“renderer”) for 2D, 3D, VR, or AR graphics, a physics engine, a collision detection engine (and collision response), sound engine, scripting functionality, animation engine, artificial intelligence engine, networking functionality, streaming functionality, memory management functionality, threading functionality, scene graph functionality, or video support for cinematics, among other features. The components of the virtual experience engine 104 may generate commands that help compute and render the virtual experience (e.g., rendering commands, collision commands, physics commands, etc.) In some embodiments, virtual experience applications 112 of client devices 110, respectively, may work independently, in collaboration with virtual experience engine 104 of online virtual experience server 102, or a combination of both.
In some embodiments, both the online virtual experience server 102 and client devices 110 may execute a virtual experience engine (104 and 112, respectively). The online virtual experience server 102 using virtual experience engine 104 may perform some or all the virtual experience engine functions (e.g., generate physics commands, rendering commands, etc.), or offload some or all the virtual experience engine functions to virtual experience engine 104 of client device 110. In some embodiments, each virtual experience 106 may have a different ratio between the virtual experience engine functions that are performed on the online virtual experience server 102 and the virtual experience engine functions that are performed on the client devices 110. For example, the virtual experience engine 104 of the online virtual experience server 102 may be used to generate physics commands in cases where there is a collision between at least two virtual experience objects, while the additional virtual experience engine functionality (e.g., generate rendering commands) may be offloaded to the client device 110. In some embodiments, the ratio of virtual experience engine functions performed on the online virtual experience server 102 and client device 110 may be changed (e.g., dynamically) based on virtual experience engagement conditions. For example, if the number of users engaging in a particular virtual experience 106 meets a threshold number, the online virtual experience server 102 may perform one or more virtual experience engine functions that were previously performed by the client devices 110.
For example, users may be playing a virtual experience 106 on client devices 110, and may send control instructions (e.g., user inputs, such as right, left, up, down, user election, or character position and velocity information, etc.) to the online virtual experience server 102. Subsequent to receiving control instructions from the client devices 110, the online virtual experience server 102 may send experience instructions (e.g., position and velocity information of the characters participating in the group experience or commands, such as rendering commands, collision commands, etc.) to the client devices 110 based on control instructions. For example, the online virtual experience server 102 may perform one or more logical operations (e.g., using virtual experience engine 104) on the control instructions to generate experience instruction(s) for the client devices 110. In other instances, online virtual experience server 102 may pass one or more or the control instructions from one client device 110 to other client devices (e.g., from client device 110a to client device 110b) participating in the virtual experience 106. The client devices 110 may use the experience instructions and render the virtual experience for presentation on the displays of client devices 110.
In some embodiments, the control instructions may refer to instructions that are indicative of actions of a character (i.e., avatar) of the user within the virtual experience. For example, control instructions may include user input to control action within the experience, such as right, left, up, down, user selection, gyroscope position and orientation data, force sensor data, etc. The control instructions may include character position and velocity information. In some embodiments, the control instructions are sent directly to the online virtual experience server 102. In other embodiments, the control instructions may be sent from a client device 110 to another client device (e.g., from client device 110b to client device 110n), where the other client device generates experience instructions using the local virtual experience engine 104. The control instructions may include instructions to play a voice communication message or other sounds from another user on an audio device (e.g., speakers, headphones, etc.), for example voice communications or other sounds generated using the audio spatialization techniques as described herein.
In some embodiments, experience instructions may refer to instructions that enable a client device 110 to render a virtual experience, such as a multiparticipant virtual experience. The experience instructions may include one or more of user input (e.g., control instructions), character position and velocity information, or commands (e.g., physics commands, rendering commands, collision commands, etc.).
In some embodiments, characters (or virtual experience objects generally) are constructed from components, one or more of which may be selected by the user, that automatically join together to aid the user in editing.
In some embodiments, a character is implemented as a 3D model and includes a surface representation used to draw the character (also known as a skin or mesh) and a hierarchical set of interconnected bones (also known as a skeleton or rig). The rig may be utilized to animate the character and to simulate motion and action by the character. The 3D model may be represented as a data structure, and one or more parameters of the data structure may be modified to change various properties of the character, e.g., dimensions (height, width, girth, etc.); body type; movement style; number/ type of body parts; proportion (e.g., shoulder and hip ratio); head size; etc.
One or more characters (also referred to as an “avatar” or “model” herein) may be associated with a user where the user may control the character to enable an interaction of the user with the virtual experience 106.
In some embodiments, a character may include components such as body parts (e.g., hair, arms, legs, etc.) and accessories (e.g., t-shirt, glasses, decorative images, tools, etc.). In some embodiments, body parts of characters that are customizable include head type, body part types (arms, legs, torso, and hands), face types, hair types, and skin types, among others. In some embodiments, the accessories that are customizable include clothing (e.g., shirts, pants, hats, shoes, glasses, etc.), weapons, or other tools.
In some embodiments, for some asset types, e.g., shirts, pants, etc. the online virtual experience platform may provide users access to simplified 3D virtual object models that are represented by a mesh of a low polygon count, e.g., between about 20 and about 30 polygons.
In some embodiments, the user may control the scale (e.g., height, width, or depth) of a character or the scale of components of a character. In some embodiments, the user may control the proportions of a character (e.g., blocky, anatomical, etc.). It may be noted that in some embodiments, a character may not include a character virtual experience object (e.g., body parts, etc.) but the user may control the character (without the character virtual experience object) to enable the interaction of the user with the virtual experience (e.g., a puzzle game where there is no rendered character game object, but the user still controls a character to control in-game action).
In some embodiments, a component, such as a body part, may be a primitive geometrical shape such as a block, a cylinder, a sphere, etc., or some other primitive shape such as a wedge, a torus, a tube, a channel, etc. In some embodiments, a creator module may publish a character of a user for view or use by other users of the online virtual experience server 102. In some embodiments, creating, modifying, or customizing characters, other virtual experience objects, virtual experiences 106, or virtual experience environments may be performed by a user using a I/O interface (e.g., developer interface) and with or without scripting (or with or without an application programming interface (API)). It may be noted that for purposes of illustration, characters are described as having a humanoid form. It may further be noted that characters may have any form such as a vehicle, animal, animate or inanimate object, or other creative form.
In some embodiments, the online virtual experience server 102 may store characters created by users in the data store 120. In some embodiments, the online virtual experience server 102 maintains a character catalog and virtual experience catalog that may be presented to users. In some embodiments, the virtual experience catalog includes images of virtual experiences stored on the online virtual experience server 102. In addition, a user may select a character (e.g., a character created by the user or other user) from the character catalog to participate in the chosen virtual experience. The character catalog includes images of characters stored on the online virtual experience server 102. In some embodiments, one or more of the characters in the character catalog may have been created or customized by the user. In some embodiments, the chosen character may have character settings defining one or more of the components of the character.
In some embodiments, a character of a user can include a configuration of components, where the configuration and appearance of components and more generally the appearance of the character may be defined by character settings. In some embodiments, the character settings of a character of a user may at least in part be chosen by the user. In other embodiments, a user may choose a character with default character settings or character setting chosen by other users. For example, a user may choose a default character from a character catalog that has predefined character settings, and the user may further customize the default character by changing some of the character settings (e.g., adding a shirt with a customized logo). The character settings may be associated with a particular character by the online virtual experience server 102.
In some embodiments, the client device(s) 110 may each include computing devices such as personal computers (PCs), mobile devices (e.g., laptops, mobile phones, smart phones, tablet computers, or netbook computers), network-connected televisions, gaming consoles, etc. In some embodiments, a client device 110 may be referred to as a “user device.” In some embodiments, one or more client devices 110 may connect to the online virtual experience server 102 at any given moment. It may be noted that the number of client devices 110 is provided as illustration. In some embodiments, any number of client devices 110 may be used.
In some embodiments, each client device 110 may include an instance of the virtual experience application 112, respectively. In one embodiment, the virtual experience application 112 may permit users to use and interact with online virtual experience server 102, such as control a virtual character in a virtual experience hosted by online virtual experience server 102, or view or upload content, such as virtual experiences 106, images, video items, web pages, documents, and so forth. In one example, the virtual experience application may be a web application (e.g., an application that operates in conjunction with a web browser) that can access, retrieve, present, or navigate content (e.g., virtual character in a virtual experience, etc.) served by a web server. In another example, the virtual experience application may be a native application (e.g., a mobile application, app, virtual experience program, or a gaming program) that is installed and executes local to client device 110 and enables users to interact with online virtual experience server 102. The virtual experience application may render, display, or present the content (e.g., a web page, a media viewer) to a user. In an embodiment, the virtual experience application may include an embedded media player (e.g., a Flash® or HTML5 player) that is embedded in a web page.
According to aspects of the disclosure, the virtual experience application may be an online virtual experience server application for users to build, create, edit, and upload content to the online virtual experience server 102 as well as interact with online virtual experience server 102 (e.g., engage in virtual experiences 106 hosted by online virtual experience server 102). As such, the virtual experience application may be provided to the client device(s) 110 by the online virtual experience server 102. In another example, the virtual experience application may be an application that is downloaded from a server.
In some embodiments, each developer device 130 may include an instance of the virtual experience application 132, respectively. In one embodiment, the virtual experience application 132 may permit a developer user(s) to use and interact with online virtual experience server 102, such as control a virtual character in a virtual experience hosted by online virtual experience server 102, or view or upload content, such as virtual experiences 106, images, video items, web pages, documents, and so forth. In one example, the virtual experience application may be a web application (e.g., an application that operates in conjunction with a web browser) that can access, retrieve, present, or navigate content (e.g., virtual character in a virtual experience, etc.) served by a web server. In another example, the virtual experience application may be a native application (e.g., a mobile application, app, virtual experience program, or a gaming program) that is installed and executes local to client device 110 and enables users to interact with online virtual experience server 102. The virtual experience application may render, display, or present the content (e.g., a web page, a media viewer) to a user. In an embodiment, the virtual experience application may include an embedded media player (e.g., a Flash® or HTML5 player) that is embedded in a web page.
According to aspects of the disclosure, the virtual experience application 132 may be an online virtual experience server application for users to build, create, edit, and upload content to the online virtual experience server 102 as well as interact with online virtual experience server 102 (e.g., provide and/or engage in virtual experiences 106 hosted by online virtual experience server 102). As such, the virtual experience application may be provided to the client device(s) 110 by the online virtual experience server 102. In another example, the virtual experience application 132 may be an application that is downloaded from a server. Virtual experience application 132 may be configured to interact with online virtual experience server 102 and obtain access to user credentials, user currency, etc. for one or more virtual experiences 106 developed, hosted, or provided by a virtual experience developer.
In some embodiments, a user may login to online virtual experience server 102 via the virtual experience application. The user may access a user account by providing user account information (e.g., username and password) where the user account is associated with one or more characters available to participate in one or more virtual experiences 106 of online virtual experience server 102. In some embodiments, with appropriate credentials, a virtual experience developer may obtain access to virtual experience virtual objects, such as in-platform currency (e.g., virtual currency), avatars, special powers, accessories, which are owned by or associated with other users.
In general, functions described in one embodiment as being performed by the online virtual experience server 102 can be performed by the client device(s) 110, or a server, in other embodiments if appropriate. In addition, the functionality attributed to a particular component can be performed by different or multiple components operating together. The online virtual experience server 102 can be accessed as a service provided to other systems or devices through suitable application programming interfaces (hereinafter “APIs”) and thus is not limited to use in websites.
Computing DeviceProcessor 202 can be one or more processors and/or processing circuits to execute program code and control basic operations of the computing device 200. A “processor” includes any suitable hardware and/or software system, mechanism or component that processes data, signals or other information. A processor may include a system with a general-purpose central processing unit (CPU), multiple processing units, dedicated circuitry for achieving functionality, or other systems. Processing need not be limited to a particular geographic location, or have temporal limitations. For example, a processor may perform its functions in “real-time,” “offline,” in a “batch mode,” etc. Portions of processing may be performed at different times and at different locations, by different (or the same) processing systems. A computer may be any processor in communication with a memory.
Memory 204 is provided in device 200 for access by the processor 202, and may be any suitable non-transitory computer-readable or processor-readable storage medium, e.g., random access memory (RAM), read-only memory (ROM), Electrical Erasable Read-only Memory (EEPROM), Flash memory, etc., suitable for storing instructions for execution by the processor, and located separate from processor 202 and/or integrated therewith. Memory 204 can store software operating on the computing device 200 by the processor 202, including an operating system 208, a software applications 210, and a database 212 that may store data used by the components of device 200.
Database 212 may store one or more mechanisms, including asset metadata and context-specific transcoding parameters for enabling on-demand generation of optimized representations of user-generated content in a virtual environment. In some embodiments, database 212 may store information associated with uploaded assets and client runtime contexts, such as asset identifiers, original asset data, previously generated representations, and cached context parameters used for representation lookup. The stored data can include mapping entries linking runtime contexts to transcoded output variants and version identifiers indicating which transcoder version was applied. For example, in a multiplayer gaming environment, the database might store device capability profiles, viewing conditions, and representation references used to fulfill asset requests dynamically. In some embodiments, database 212 may store other data relevant to transcoding operations, such as transcoder selection rules, representation aging policies, and logs used to monitor cache efficiency and asset request patterns.
For example, the software application 210 can include an engine (or module) that implements one or more algorithms or services used in the techniques described herein, such as runtime evaluation of context parameters, selection of appropriate transcoders, and generation of asset representations based on device and session characteristics. In some embodiments, software application 210 includes the graphics engine 108 of
Elements of software in memory 204 can alternatively be stored on any other suitable storage location or computer-readable medium. In addition, memory 204 (and/or other connected storage device(s)) can store instructions and data used in the features described herein. Memory 204 and any other type of storage (magnetic disk, optical disk, magnetic tape, or other tangible media) can be considered "storage" or "storage devices."
I/O interface 206 can provide functions to enable interfacing the computing device 200 with other systems and devices. For example, network communication devices, storage devices (e.g., memory and/or data store 120), and input/output devices can communicate via interface 206. In some embodiments, the I/O interface can connect to interface devices including input devices (keyboard, pointing device, touchscreen, microphone, camera, scanner, etc.) and/or output devices (display device, speaker devices, printer, motor, etc.).
The audio/video input/output devices 214 can a variety of devices including a user input device (e.g., a mouse, etc.) that can be used to receive user input, audio output devices (e.g., speakers), and a display device (e.g., screen, monitor, etc.) and/or a combined input and display device, which can be used to provide graphical and/or visual output.
For ease of illustration,
Device 200 can be a server device or client device. Example client devices or user devices can be computer devices including some similar components as the computing device 200, e.g., processor(s) 202, memory 204, and I/O interface 206. An operating system, software and applications suitable for the client device can be provided in memory and used by the processor. The I/O interface for a client device can be connected to network communication devices, as well as to input and output devices, e.g., a microphone for capturing sound, a camera for capturing images or video, a mouse for capturing user input, a gesture device for recognizing a user gesture, a touchscreen to detect user input, audio speaker devices for outputting sound, a display device for outputting images or video, or other output devices. A display device within the audio/video input/output devices 214, for example, can be connected to (or included in) the computing device 200 to display images pre- and post-processing as described herein, where such display device can include any suitable display device, e.g., an LCD, LED, or plasma display screen, CRT, television, monitor, touchscreen, 3-D display screen, projector, or other visual display device. Some embodiments can provide an audio output device, e.g., voice output or synthesis that speaks text.
One or more methods described herein can be implemented by computer program instructions or code, which can be executed on a computer. For example, the code can be implemented by one or more digital processors (e.g., microprocessors or other processing circuitry), and can be stored on a computer program product including a non-transitory computer readable medium (e.g., storage medium), e.g., a magnetic, optical, electromagnetic, or semiconductor storage medium, including semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), flash memory, a rigid magnetic disk, an optical disk, a solid-state memory drive, etc. The program instructions can be contained in, and provided as, an electronic signal, for example in the form of software as a service (SaaS) delivered from a server (e.g., a distributed system and/or a cloud computing system). Alternatively, one or more methods can be implemented in hardware (logic gates, etc.), or in a combination of hardware and software. Example hardware can be programmable processors (e.g., Field-Programmable Gate Array (FPGA), Complex Programmable Logic Device), general purpose processors, graphics processors, Application Specific Integrated Circuits (ASICs), and the like. One or more methods can be performed as part of or component of an application running on the system, or as an application or software running in conjunction with other applications and operating systems.
One or more methods described herein can be run in a standalone program that can be run on any type of computing device, a program run on a web browser, a mobile application (“app”) run on a mobile computing device (e.g., cell phone, smart phone, tablet computer, wearable device (wristwatch, armband, jewelry, headwear, goggles, glasses, etc.), laptop computer, etc.). In one example, a client/server architecture can be used, e.g., a mobile computing device (as a client device) sends user input data to a server device and receives from the server the final output data for output (e.g., for display). In another example, all computations can be performed within the mobile app (and/or other apps) on the mobile computing device. In another example, computations can be split between the mobile computing device and one or more server devices.
Although the description has been described with respect to particular embodiments thereof, the particular embodiments are merely illustrative, and not restrictive. Concepts illustrated in the examples may be applied to other examples and embodiments.
The functional blocks, operations, features, methods, devices, and systems described in the present disclosure may be integrated or divided into different combinations of systems, devices, and functional blocks as would be known to those skilled in the art. Any suitable programming language and programming techniques may be used to implement the routines of particular embodiments. Different programming techniques may be employed, e.g., procedural or object-oriented. The routines may execute on a single processing device or multiple processors. Although the steps, blocks, operations, or computations may be presented in a specific order, the order may be changed in different particular embodiments. In some embodiments, multiple steps or operations shown as sequential in this specification may be performed at the same time.
On-Demand Transcoding of User-Generated Content for Context-Aware Delivery in Virtual EnvironmentsAt block 302 an asset is received. The asset is a user-generated asset, such as a 3D mesh, a texture, an animation, a video, an audio file, etc. The asset may represent a single object (e.g., an avatar), a group of objects (e.g., a forest of trees), a scene (e.g., a stadium full of avatars), etc. The asset may be generated using different sources, such as using the virtual experience engine 104 in
The asset may be initially stored in an original, high-fidelity format. For example, the asset may comprise high polygon meshes (e.g., triangles) to form a 3D surface of an object. Block 302 may be followed by block 304.
At block 304, the asset is processed. In some embodiments, the asset is processed by performing moderation to determine whether the asset violates any abuse standards. If the asset violates any terms of service, the asset may be rejected and the user may have to modify and reupload the asset until the asset passes moderation. In some embodiments, the user is provided with an explanation about why the asset violated the terms of service (e.g., the asset contained nudity, vulgarity, etc.).
In some embodiments, the asset’s complexity is analyzed to determine an intended use of the asset in the virtual environment. Based on the complexity of the asset, different types of representations are generated from the asset. For example, where the asset is a scene, more representations may be initially generated based on a distance between a virtual camera and the asset to account for increasing levels of details in the representations as the distance between the virtual camera and the asset decrease.
An original version of the asset is stored in a repository as a source to generate representations. Once the asset is accepted and stored, the graphics engine 108 generates representations of the asset with varying levels of complexity. The representations may be generated based on most common runtime contexts encountered by the online virtual experience server 102. The runtime context may be based on processor resources, graphics resources, memory resources, network resources, and/or display resources. For example, the most common runtime context may include a client device 110 using an Intel Core i5 processor, an Intel HD Graphics 620, 16 GB DDR4/DDR5 of memory, a broadband connection that provides 4-8 Mb/s, and a display with a resolution of 1920x1080.
The number of representations that are generated for an object may be configured. For example, the graphics engine 108 may include a default setting of a certain number of representations that are initially generated. In some embodiments, the number of representations may vary based on the type of asset. For example, the number of representations of background objects (e.g., buildings, trees, cars, etc.) may be less than the number of representations of foreground objects (e.g., avatars). In some embodiments, the default setting may be modified by a user.
The representations may be predefined variants with varying levels of geometric complexity. For example, representations of an asset that is a 3D model may include different levels-of-detail (LoD). LoD refers to different attributes of an object, such as a mesh, shader, texture, or other rendering technique. As used herein, an LoD version refers to different LoD attributes associated with a representation.
An LoD mesh with increased geometric complexity takes up more storage space than an LoD mesh with a lower geometric complexity. In some embodiments, LoD mesh representations are generated with decreasing complexity based on a distance between a virtual camera (e.g., that represents a field-of-view of the user) and the object in a virtual environment. In some embodiments, the graphics engine 108 generates LoDs with decreasing complexity and lower resolution by simplifying dense voxel data into lower-resolution geometry at greater distances. In some embodiments, representations with decreasing complexity are generated by dividing groups of voxels into chunks (e.g., using octrees) and combining the voxels into the chunks (e.g., using greedy meshing, down sampling, contouring, etc.).
Turning to
The first block 401 represents an example of a high-complexity LoD mesh. The first block may include the most detail that a user may see in a virtual environment. In some embodiments, block 401 represents how an object looks when a user is right next to the object. As the user moves further away from an object, the LoD mesh decreases in detail, as illustrated by blocks 402, 403, and block 404. The fourth block 404 may used for objects that are at the limit of a user’s field of view within the virtual experience.
In addition to LoD meshes, LoD may refer to shaders, textures, and other rendering techniques. For example, higher resolution LoDs may have complex shading to create the perception of depth on a flat surface of an object. Similarly, higher resolution LoDs may have more texture (e.g., colors, bumps, and patterns) to create the perception of detail. Other rendering techniques may include converting 3D objects to 2D objects when they are far from the virtual camera to reduce the resolution of the object. Block 304 may be followed by block 306.
At block 306, representations of the asset are stored. In some embodiments, the representations of the asset are compressed, versioned, and stored in a representation cache. For example, the graphics engine 108 may compress the representations using techniques that are particular to geometric meshes (e.g., Draco 3D compression). Versioning includes associating a particular representation with a version identifier. Each version identifier may be associated with different levels of complexity. For example, when an original asset is a 3D model and the graphics engine 108 converts the 3D model to an LoD version, generating the representation comprises reducing a geometric complexity of the 3D model to produce an LoD version that has less detail than the 3D model. Block 306 may be followed by block 308.
At block 308, a representation of an asset is downloaded. The graphics engine 108 receives a request for the asset from a client device 110 where the request includes a runtime context. The runtime context includes contextual parameters (e.g., device capabilities, rendering constraints, and localization preferences) for a platform-specific representation. For example, the representation may be optimized for different client devices 110 based on the make and model of the client device 110, the operating system, the graphics card, network bandwidth information, etc. In some embodiments, the runtime context is modified based on user preferences. For example, a user may not want to receive the most high-resolution assets possible despite having a high network bandwidth because it may cause latency issues in the virtual experience.
The runtime context is evaluated to determine whether a representation tailored to those parameters is already available (e.g., that is stored in the representation cache). If a matching representation is found in the representation cache, the matching representation is transmitted to the client device 110. If a matching representation is not found in the representation cache, the graphics engine 108 generates a new representation configured for the identified runtime context. The new representation is then stored in the representation cache and made available for future requests with matching characteristics.
In some embodiments, a matching representation may be identified as fitting within a range of parameters. For example, instead of a representation corresponding to 4 GB of RAM, a representation may be considered matching if it corresponds to between 3-5 GB of RAM. In some embodiments, a matching representation may be identified as have a threshold percentage similarity to a stored representation in the representation cache.
In some embodiments, the runtime context includes real-time device capability information that includes one or more from the group including: processor resources, graphics resources, memory resources, network resources, display resources, and any combination thereof. For example, device capability information may include, e.g., parameters such as available memory, processor type, graphics rendering capacity, screen resolution, and supported asset formats, which can be used to guide the selection or generation of a representation suitable for the target device.
In some embodiments, the asset includes a 3D model and generating the representation includes reducing a geometric complexity of the 3D model based on the runtime context to produce an LoD version, where the LoD version has less detail than the 3D model. In some embodiments, an LoD version may include a simplified variant of the original 3D model that contains fewer vertices or polygons, used to optimize rendering performance based on factors such as, e.g., viewing distance or device capability.
In some embodiments, the representation is generated by applying a transformation based on one of the following group: a display language preference (e.g., French), a rendering format, or a runtime constraint (e.g., available memory). For example, an embedded text portion (in a source language) within an image may be dynamically translated into a different language and included in a modified image (replacing the source language text), a high-resolution texture may be converted into a compressed format supported by the client device, or an animation may be adjusted to reduce computational load under constrained processing conditions.
In some embodiments, a transcoder is selected from a plurality of transcoders based on an asset type associated with the digital asset. For example, a mesh asset may be routed to a geometry simplification transcoder, whereas a texture asset may be processed by an image format converter, and an audio file may be handled by a codec-specific transcoder optimized for bitrate or compatibility.
In some embodiments, an indication is received from the client device that the runtime context has changed for the client device during a session. Generating the representation is in response to receiving the indication that the runtime context has changed for the client device during the session. For example, if a user begins a session on a mobile device with limited network bandwidth and later transitions to a higher bandwidth connection, the change may be detected and a transcoder can be initiated to generate a higher-quality version of a requested asset, such as a higher-resolution texture or a mesh with greater geometric detail, replacing the previously delivered lower-fidelity version.
In some embodiments, the runtime context includes a viewing distance between a virtual camera corresponding to a position of an avatar associated with the client device and the digital asset, and the representation generated in response to the runtime context is configured based on the viewing distance. For example, a coarse LoD mesh may be generated and delivered when the asset is far from the camera to reduce rendering load, while a higher-detail version may be generated and used as the camera moves closer to the asset.
In some embodiments, the generated representation and the runtime context are stored in the representation cache, and the stored representation is used to respond to subsequent requests associated with the same runtime context.
In some embodiments, the representation cache associates each stored representation with a version identifier corresponding to a transcoder version. In some embodiments, the version identifier enables determining whether a cached representation was generated using an outdated version and, if so, trigger regeneration of the representation using a newer version to ensure compatibility, quality, or performance improvements. Block 308 may be followed by block 310.
At block 310, the client device 110 consumes the representation of the asset. The client device 110 may request subsequent assets as a user associated with the client device 110 continues to interact with the virtual experience 106.
At block 352, an asset is received and processed. The original asset may be received at full fidelity, sanitized, and moderated. In some embodiments, the full-fidelity asset has a high level of detail. In some embodiments, sanitizing the asset includes converting the original asset to comply with the formats of the virtual environment. For example, the graphics engine 108 may remove hidden polygons, weld vertex edges, delete unused vertices, resize textures for optimization, delete unused textures, etc. In some embodiments, the asset is processed by performing moderation to determine whether the asset violates any abuse standards. If the asset violates any terms of service, the asset may be rejected and the user may have to modify and reupload the asset until the asset passes moderation. Block 352 may be followed by block 354.
At block 354, the asset and representations of the asset are stored. The original asset is provided to one or more transcoders, which provide the one or more representations for storage along with the original asset. Block 354 may be followed by block 356.
At block 356, the one or more transcoders generate the one or more representations. A transcoder converts an original asset into a representation based on a context. In some embodiments, a transcoder receives an encoded original asset, performs unencoding (e.g., to change a file size, video format, etc. of the original asset), and performs transcoding according to a protocol to match the context (e.g., changes the original asset from a 3D model to a high-resolution LoD). The one or more transcoders may generate the representations based on default settings and, responsive to receiving a runtime context, the one or more transcoders may generate the representations based on a runtime context associated with the client device 361.
In some embodiments, a set of transcoders generate respective representations based on a version of the representation. For example, a first transcoder may generate low-resolution LoDs, a second transcoder may generate medium-resolution LoDs, and a third transcoder may generate high-resolution LoDs. In another example, a first transcoder may generate representations with different resolutions for animations, a second transcoder may generate representations with different resolutions for 3D models, a third transcoder may generate representations for audio files, etc. In yet another example where the asset is a group of objects or a scene, the representation may have a mixture of objects in high resolution, middle resolution, and low resolution as a function of distance (e.g., objects that are closest to the virtual camera include more details than objects that are farther away).
In some embodiments, a transcoder generates different content representations of an asset, such as MipMaps, which represent the texture of an object. A MipMap is a sequence of textures for an object where each subsequent texture is reduced by a factor of two. For example, where a first texture is 2048x2048, a second texture is 1024x1024, a third texture is 512x512, etc. until a final texture is generated.
In some embodiments, the transcoders include a machine-learning model that generates representations based on the runtime context of the client device 361 by determining a complexity of a generated representation that balances accuracy and computational efficiency. In some embodiments, the machine-learning model is trained using runtime contexts that are paired with representations.
In some embodiments, the representations of the asset are compressed, versioned, and stored in a representation cache. Versioning includes associating a particular representation with a version identifier. Each version identifier may be associated with different levels of complexity. Block 354 may be followed by block 358.
At block 358, the client device 361 progressively fetches representations of the asset. The client device 361 requests an asset, where the request includes a runtime context of the client device 361. The online virtual experiences server 351 determines if the representation of the asset corresponding to the runtime context is available in the representation cache. If the representation is not available, the online virtual experiences server 351 uses a transcoder to generate the representation of the digital asset based on the runtime context. The online virtual experiences server 351 transmits the generated representation to the client device 361 for download and rendering of the asset in a virtual environment.
By generating representations on demand rather than precomputing all possible variants, the described techniques reduce storage overhead and avoid delivering unnecessary data to client devices. In some embodiments, multiple dimensions of optimization may be enabled, including LoD, format conversion, and/or localization, enabling precise tailoring of content for a wide range of devices and rendering scenarios. The use of runtime context enables continual adaptation to client-side conditions during a session, including changes in viewing distance or available resources. Once generated, each representation is cached and indexed by context parameters, enabling reuse and minimizing redundant processing. This dynamic delivery model supports scalable content deployment while accommodating updates to transcoding techniques or platform capabilities without requiring manual reprocessing of user-submitted assets.
It may be infeasible for a client device 361 to store an entire virtual environment. Thus, progressive fetching may include requesting a plurality of representations with progressively increasing levels of detail as the viewing distance between the virtual camera and the asset decreases. For example, when the virtual camera is far from a scene, the representation of the scene may be a composite of a background with moving objects (e.g., people, animals, cars, etc.) where meshes have been merged to display a scene with fewer details that is less computationally expensive. As the virtual camera approaches the scene (e.g., an avatar walks towards the scene) or if one of the objects approaches the virtual camera (e.g., a player runs towards the avatar), the client device 361 progressively fetches additional representations that modify the details in the scene based on the change in the distance. For example, as the distance between the virtual camera and the scene decreases, a representation with fewer merged meshes is provided. Instead of a group of objects that are only faintly discernable, as the distance is reduced the objects take on additional characteristics.
In some embodiments, progressive fetching may include situations where a scene changes over time. For example, if a virtual camera stays in the same location but a certain amount of time passes, the client device 361 may progressively fetch representations of the scene to illustrate the time passing, such as by including a sunrise that changes the location of the sun, the location of shadows produced by objects in the scene, etc.
In some embodiments, progressive fetching includes generating a baseline representation with a baseline level of details and progressively fetching representations with increasing levels of detail. For example, the representations may include progressively more texture, progressively more meshes, etc.
In some embodiments, progressive fetching may include generating representations based on a change in the runtime context of the client device 361. For example, the transcoder may generate different representations in response to a change in the bitrate as indicated by a change in the runtime context received by the client device 361. Updating the representations in real-time advantageously ensures that a user continues to experience an immersive experience in the virtual environment. Block 358 may be followed by block 360.
At block 360, the client device 361 progressively loads the representations that are progressively fetched. In some embodiments, the client device 361 streams the representations in and out of memory after the representations are progressively fetched. Block 360 may be followed by block 362 as well as block 364.
At block 362, the client device 361 uses an asset prioritizer 362 to determine what type of representations are needed during progressive fetching. The asset prioritizer 362 determines how to progressively fetch assets across systems in order to balance visual quality with performance for maintaining smooth frame rates and reducing hardware strain.
At block 364, the client device 361 consumes representations of the asset. The client device 361 renders the representations of the asset on a display. Block 364 may be followed by block 366.
At block 366, an importance hints registry is a centralized registry to query for important information. The importance hints registry provides information to the asset prioritizer 362 for use in aiding the processes for progressive fetching and progressive loading, as well as the process for consuming representations of the asset. In some embodiments, the importance hints registry defines metadata detailing the importance of different assets to the virtual camera within the virtual environment. The importance may be defined by different factors, such as a distance between the virtual camera and a corresponding asset, how critical the asset is to the overall experience, etc.
The process described above advantageously saves resources by generating certain representations responsive to receiving a request from the client device 361. In addition, the process may be used to generate a representation of an asset for features that do not yet exist. For example, a user may switch from their client device to a brand-new personal computer that is designed for gaming. The process advantageously generates representations in real time that match a runtime context of the new client device. In some embodiments, the online virtual experience server 351 determines a change in the runtime context of the client device 361. The change in the runtime context may occur during a session or after a new session is initiated. For example, the make, model, graphics card, etc. may change. A transcoder generates a subsequent representation of the digital asset based on the change in the runtime context of the client device 361. In some embodiments, the transcoder may be a different transcoder than the transcoder that was previously generating representations for the client device 361 based on the change in the runtime context.
In some embodiments, the process may also be used for updating the virtual environment as additional features become available. For example, a virtual environment may include an asset that includes text on a sign that is displayed in a first language (e.g., English). A representation of the asset may support a different language (e.g., Hindi) that was not supported at the time that the virtual environment was created. In another example, the online virtual experiences server 351 may be updated with a new technique for generating more realistic textures. As a result, the transcoder may generate representations of an asset that incorporate the more realistic textures to improve the virtual experience for a user.
An asset may be received by the architecture 500 in at least two ways. First, an asset registry 504 may request an asset hash using an asset delivery API 502. Second, a user may upload an asset through an API associated with asset creation 503, which is delivered to an asset task coordinator 512.
The asset registry 504 removes duplicates 506 and performs rate limiting 508. In some embodiments, the assets registry 504 identifies assets that are duplicates by comparing hashes. In some embodiments, the assets registry 504 identifies duplicate API calls for the same asset. The rate limiting 508 may prevent bad actors from submitting assets in order to flood the system with information.
Once the asset registry 504 has performed its steps, a workflow queue is started 510 for the asset. The queue may be a repository for all the assets that need to be processed by the system.
The asset task coordinator 512 receives assets from the workflow queue or from asset creation 503. The asset task coordinator 512 provides the asset to a transcoder 514 for processing.
In some embodiments, the transcoder 514 is a plurality of transcoders that each generate a representation based on a particular type of asset. For example, a first transcoder processes videos, a second transcoder accepts audio, and a third transcoder accepts 3D models. In some embodiments, the transcoder 514 fetches content from the datastore 516 that is used as part of generating the representations. For example, the datastore 516 may be a local cache where representations of the asset are stored either during the initial processing of the asset or after a representation is generated by the transcoder 514. Once the transcoder 514 generates the representations, an assets publish service 518 provides the representations to the assets registry 504.
Example RepresentationsThe representation 702 may be generated for a low-end client device, representation 708 may be generated for a high-end client device, and representations 704 and 706 are generated for client devices with a combination of low capabilities and high capabilities. For example, a client device may have a high-bandwidth connection, but is limited with an outdated graphics card.
In some embodiments, a representation of an asset includes a data model representation and a rendering representation. The data model representation may include different levels of detail that are selected based on a runtime context of the client device 110. For example, the data model representation may be either heavyweight or lightweight based on the capabilities of the client device 110, the network connection, user preferences, etc. In some embodiments, the data model representation is generated using a range of details from heavyweight to lightweight (e.g., intermediate).
The rendering representation may include different levels of detail that are selected based on a distance between a virtual camera (e.g., an avatar) and the digital asset in a virtual environment. For example, the rendering representation may be either heavyweight or lightweight, or on a range from heavyweight to lightweight. In some embodiments, the rendering representation is also based on a size of a digital asset in a display screen on a client device 110. For example, a heavyweight rendering representation may be used where a size of a digital asset in the display screen meets a threshold percentage value.
In some embodiments, the rendering representation is not a higher quality than the data model representation. For example, although the virtual camera may be close to the digital asset, if the runtime context of the client device 110 indicates that a lightweight data model representation is needed (e.g., because the client device 110 is low performing and/or the network connection is limited), the rendering representation is a lightweight rendering representation.
In some embodiments, the representation displayed on the client device 110 may be a combination of the data model representation and the rendering representation. For example, the representation may be a heavyweight data model and a heavyweight rendering representation, a heavyweight data model and a lightweight rendering representation, a lightweight data model and a lightweight rendering representation, or a lightweight data model and no rendering representation.
By combining the data model representation and the rendering representation, the asset may be displayed as a heavyweight-heavyweight representation, a heavyweight-lightweight representation, a lightweight-light representation, or a lightweight-none representation. Other representations are possible, such as variants including an intermediate representation (e.g., a heavyweight-intermediate representation, an intermediate-intermediate representation, multiple levels of intermediate representations, etc.). Within each type of representation, other parameters may be varied to create different representations based on a runtime context of the client device 110, such as based on a display language preference, a rendering format, a runtime constraint, etc.
An asset may include a 3D mesh, a texture, an animation, a video, an audio file, etc. The asset may represent a single object (e.g., an avatar), a group of objects (e.g., a forest of trees), a scene (e.g., a stadium full of avatars), etc. A data model representation of the asset may include meshes and textures of an asset. In some embodiments, a heavyweight data model representation includes multiple meshes and textures for the asset. For example, the asset may be a car with multiple meshes that each represent a respective portion of vehicle: the hood, the bumper, the door panels, wheels, doors, seats, the steering wheel, etc.
An optimized data model representation of the asset may be generated where all the meshes and textures are combined into a smaller set of meshes and textures. Continuing with the example above, the car may include multiple meshes that represent a reduced respective portion of the vehicle: the chassis, the tires, etc. The optimized representation of the car may be generated at runtime when a client device 110 requests a composite model for rendering. The request may be sent to the online virtual-experience server 102 along with a model payload (e.g., meshes and textures for that asset) that triggers a transcoding process to convert the payload to an optimized representation. In some embodiments, a lightweight data model representation combines the meshes and textures of the asset into a single mesh and a single texture. Continuing with the example above, the entire car may be represented by one mesh and one texture.
At the time of rendering for a given asset, the client device 110 may determine which representation is applicable for the model (e.g., heavyweight-heavyweight representation, a heavyweight-lightweight representation, a lightweight-lightweight representation, a lightweight-none representation, etc.), depending on the zone in which the model is located. In some embodiments, if the data model representation is lightweight, the representations for that model are not replicated to the client device 110; otherwise, the representations are replicated. The representations may refer to the individual parts with individual meshes/textures that make up an object (such as a tree with multiple leaves). Thus, when the data model representation is lightweight, the client device may receive a single mesh corresponding to the tree rather than multiple meshes that make up the tree.
An asset’s zone may be identified in relation to a current location of a virtual camera corresponding to a location of an avatar associated with the client device 110. As the virtual camera moves around in a scene, the asset’s zone may change. For example, if an asset enters zones 1 or 2 from either zone 3 or 4, the representation for the asset may be replicated and available at the client device 110. On the other hand, if the asset enters zones 3 or 4 from either zone 1 or zone 2, the representation of the asset may be dropped from the client device 110. In some embodiments, the client device 110 maintains a full set of representations for all models, independent of the zones in which they are located.
A digital asset 902 is received by the system 900. The hash generation component 904 applies a hash function to generate a cache identifier of the digital asset 902. The hash function is designed so that when properties of the asset that impact a composite are changed, the cache identifier also changes. Conversely, if properties of the asset are changed but do not impact the composite, the hash function does not change the cache identifier. The cache identifier is stored in the datastore 906 (e.g., a cache).
A static deformation component 908 applies static changes to the digital asset 902. Statis deformation refers to changes in an object's shape or 3D mesh that are permanent or fixed rather than changing in real time. For example, layered clothing is an example of a static deformation. Static deformation is primarily used to apply battle damage, environmental wear, or specific stylistic shapes without requiring continuous physics calculations.
Static deformation may include slow changes to an asset. For example, clothing may slowly appear worn based on changes in the virtual environment. Optimizations for the case where the asset does not change may be performed to reduce associated downloading and rendering complexity. If the asset does change, there is no additional cost in terms of computational complexity than it would have without this optimization.
Once the static deformation component 908 outputs a result, the result is received by the fusion component 910. The fusion component 910 makes meshes associated with the digital asset 902 animate together as a single object. For example, where an avatar is composed of multiple meshes to account for the avatar’s head, arms, both, legs, etc., the fusion component 910 fuses the meshes such that actions such as walking are performed seamlessly as a single animation.
In some embodiments, the fusion component 910 performs fusion by performing a skin weight transfer. Skin weights describe weights associated with specific joints of the digital asset (e.g., the joints of a wrist, elbow, foot, knee, etc. of an avatar). In some embodiments, the fusion component 910 performs the skin weight transfer by reassigning the coordinates for different joints based on changes to the meshes. For example, if a number of joints are reduced from 10 to five joints, the weight data is projected from the digital asset to the representation with the reduced number of meshes.
In some embodiments, the fusion component 910 performs fusion with welds and/or joints. In some embodiments, the fusion component 910 joins two meshes by performing a transformation of the position and rotation of the two meshes, creating a physics-based joint between the two meshes, and calculating coordinates for the two meshes so the ends of the joint are connected to the two meshes. The fusion component 910 may repeat this process for each of the meshes associated with the digital asset 902.
In some embodiments, the fusion component 910 welds meshes together (e.g., when a weapon is welded to an avatar’s hand) using a hierarchical relationship with a parent component and a child component. The child component is attached to the parent component at an attachment point, the child component is treated as a property of the parent component, and the local coordinates of the child component are welded to the parent component so that the child component stays locked with the parent component when the parent component moves or rotates.
Fusing information (e.g., skin weights, welds, joints, etc.) are received by the hidden surface removal component 912. The hidden surface removal component 912 reduces the number of faces (e.g., triangles, rectangles, etc.) of the mesh(es), as well as minimizes intersections between deforming layered clothing layers. In another example, the hidden surface removal component 912 removes internal surfaces from the model. Additionally and/or alternatively, the hidden surface removal component 912 performs hidden-texture removal since a significant portion of a model’s texture may be associated with geometry (e.g., faces) removed by the hidden surface removal component 912 during earlier steps.
The hidden surface removal component 912 outputs a composite model 914. The composite model may include multiple meshes and textures with shared skinning in a single binary format. The composite model may be referenced with a single cache identifier. The composite model 914 is stored in the datastore 906 along with the cache identifier and is received by a representation generation component 916.
The representation generation component 916 generates different representations of the composite model 914. For example, the representation generation component 916 may generate multiple LOD versions with varying levels-of-detail. In some embodiments, the representation generation component 916 determines the level of detail for downloading and rendering of the representation based on a runtime context of the client device 110 and a distance between a virtual camera in the virtual environment and the digital asset. The representations generated by the representation generation component 916 are stored in the datastore 906.
A data model representation is determined to be a heavyweight data model representation based on a runtime context of the client device 110. A rendering representation is determined to be a heavyweight rendering representation based on the user’s avatar 1002 being located in the same zone as the digital asset. A combination of the heavyweight data model representation and the heavyweight rendering representation result in a heavyweight-heavyweight representation being downloaded. That is, the data model representation and the rendering representation of the digital asset may both be heavyweight representations.
When the heavyweight-heavyweight representation is downloaded, available features for the digital asset are available on the client device 110. Rendering the heavyweight-heavyweight representation may be performed at the highest fidelity using the original high-fidelity sub-parts of the digital asset.
In this example, the data model representation is determined to be a heavyweight data model representation based on a runtime context of the client device 110. The rendering representation is determined to be a lightweight rendering representation based on the avatar 1012 being in zone 1 1014 and the digital asset (i.e., the troll 1016) being in zone 2 1018. A combination of the heavyweight data model and the lightweight rendering representation result in a heavyweight-lightweight representation being downloaded. In some embodiments, the lightweight rendering representation is visually indistinguishable from the original digital asset. When the data-model representation is downloaded as a heavyweight-lightweight representation, all versions for the given model in zone 2 1018 may be available in representation received by the client device 110.
In this example, the data model representation is determined to be a lightweight data model representation based on a runtime context of the client device 110. For example, the client device 110 may lack computational/processing bandwidth to render the heavyweight representation (which may be transient) but has good bandwidth. The rendering representation is determined to be a lightweight rendering representation based on the avatar 1022 being in zone 1 1024 and the digital asset (i.e., the troll 1028) being in zone 3 1026. A combination of the lightweight data model and the lightweight rendering representation result in a lightweight-lightweight representation being downloaded.
A lightweight data-model representation may be a root model without descendants and the rendering representation may be a composite. In other words, a model of the troll 1028 may have the torso as the root and head, arms, and legs as the hierarchy of parts. In this example, only a single mesh for the troll 1028 (that encompasses the head, arms, and legs in a single model) may be sent to the client device 110 without the hierarchy of head, arms, and legs (e.g., without individual models for the head, arms, and legs). When the data model representation is downloaded as a lightweight-lightweight representation, all versions for the given model in zone 3 1026 are unloaded and the root model version may be the only version available.
In this example, the data model representation is determined to be a lightweight data model representation based on a runtime context of the client device 110. The rendering representation may not be rendered at all based on the avatar 1032 being in zone 1 1034 and the digital asset (i.e., the troll 1036) being in zone 4 1036. For example, the troll 1036 may be determined to be too far away to be visible. A combination of the lightweight data model and the rendering not occurring results in a lightweight data model representation being downloaded and no rendering being performed.
In some embodiments, a scene is built from many assets. For example, a user’s avatar may walk around a virtual environment of a city with buildings, cars, pedestrians, trees, etc. As a the avatar moves within the virtual environment, the client device progressively fetches and renders different representations based on changes in distances between the avatar and different assets.
In this example, the data model representation is determined to be a heavyweight data model representation based on a runtime context of the client device 110. The fifth example 1040 includes a variety of characters, such as would be expected in a scene. For purposes of discussion, in this example each character is associated with a separate digital asset; however, in some embodiments, a scene includes a set of digital assets.
A rendering representation of the troll 1044 is determined to be a heavyweight rendering representation based on both the avatar 1043 and the troll 1044 being in zone 1 1042. A combination of the heavyweight data model representation and the heavyweight rendering representation is a heavyweight-heavyweight representation.
A rendering representation of the elf 1045 is determined to be a lightweight rendering representation based on the avatar being in zone 1 1042 and the elf 1045 being in zone 2 1048. A combination of the heavyweight data model representation and the lightweight rendering representation is a heavyweight-lightweight representation.
A rendering representation of the ogre 1046 is determined to be a lightweight rendering representation based on the avatar being in zone 1 1042 and the ogre 1046 being in zone 3 1049. A combination of the heavyweight data model representation and the lightweight rendering representation is a heavyweight-lightweight representation.
A rendering representation of the dragon 1047 may not be rendered at all based on the avatar 1042 being in zone 1 1042 and the dragon 1047 being in zone 4 1050. A combination of the lightweight data model and the rendering not occurring results in a lightweight data model representation being downloaded and no rendering being performed.
The representation of different assets may be changed based on a change in the runtime context of the client device 110. For example, the client device 110 may experience a problem with a network connection that substantially reduces the bandwidth of the network connection. As a result, as an avatar moves in a virtual environment, the data model representation may change from a heavyweight data model representation to a lightweight data model representation until the network connection bandwidth is restored to its original state.
Example MethodAt block 1102, a digital asset is uploaded by a user. The digital asset may include a 3D mesh, texture, an animation, a video, an audio file, etc. Uploading may include directly uploading the digital asset, for example, via a user interface; importing the digital asset based on an API call, etc. Block 1102 may be followed by block 1104.
At block 1104, an original version of the digital asset is stored in a repository as a source to generate representations, where respective representations have one or more of varied rendering characteristics and levels of complexity. Block 1104 may be followed by block 1106.
At block 1106, a request for the digital asset is received from a client device, the request including a runtime context of the client device. For example, the runtime context may include real-time device capability information that includes one or more from a group comprising: processor resources, graphics resources, memory resources, network resources, display resources, and combinations thereof. In another example, the runtime context may include a viewing distance between a virtual camera corresponding to a position of an avatar associated with the client device and the digital asset, and where the representation generated based on the runtime context is configured based on the viewing distance. Block 1106 may be followed by block 1108.
At block 1108, it is determined whether a representation of the digital asset corresponding to the runtime context is available in a representation cache. For example, a search may be performed for an exact match of the representation or a match of the representation that is within certain thresholds (e.g., a range of resolutions, a range of texture details, etc.). If the representation is available, block 1108 may be followed by 1110. At block 1110, the requested representation is transmitted. If the representation is unavailable, block 1108 may be followed by block 1112.
At block 1112, a transcoder generates the representation of the digital asset based on the runtime context. For example, an original asset may be a 3D model and generating the representation may include reducing a geometric complexity of the 3D model based on the runtime context to produce a level-of-detail (LoD) version, where the LoD version has less detail than the 3D model. In some embodiments, the transcoder generates the representation by applying a transformation based on one or more of a display language preference, a rendering format, and a runtime constraint. In some embodiments, the transcoder is selected from a plurality of transcoders based on an asset type associated with the digital asset. For example, a first asset type may be an image, a second asset type may be an audio file, and a third asset type may be an animation. Block 1112 may be followed by block 1114.
At block 1114, the generated response is transmitted to the client device for rendering of the digital asset in a virtual environment. In some embodiments, the representation of the digital asset comprises a plurality of representations with progressively increasing levels of detail as the viewing distance between the virtual camera and the digital asset decreases and transmitting the generated representation to the client device includes transmitting the plurality of representations to the client device.
In some embodiments, the method 1100 further includes storing the generated representation and the runtime context in the representation cache and using the stored representation to respond to subsequent requests associated with the same runtime context. In some embodiments, the method 1100 further includes determining a change in the runtime context of the client device, generating a subsequent representation of the digital asset based on the change in the runtime context of the client device, and transmitting the generated subsequent representation to the client device for download and rendering.
At block 1202, a first download of a first mesh of a first LOD associated with a digital asset is caused. In some embodiments, the first mesh of the first LOD may include metadata associated with a plurality of different LODs associated with the digital asset. The metadata may include one or more of a quality-of-service (QoS) associated with downloading the digital asset, a mesh-face density associated with each of the plurality of LODs, a texture resolution associated with each LOD, a mesh resolution associated with each LOD, an on-screen footprint of the digital asset, memory-storage constraints, network-bandwidth requirements, or processing constraints. Block 1202 may be followed by block 1204.
At block 1204, a plurality of different device-specific constraints each respectively corresponding to a different LOD of the plurality of LODs are determined based on the metadata. For example, a runtime context of the client device 110 (e.g., processing capabilities, bandwidth constraints, etc.) are compared to the metadata to determine a particular LOD that is best suited for rendering. Block 1204 may be followed by block 1206.
At block 1206, it is determined whether first device-specific constraints associated with a second LOD are higher than the first LOD. If the first device-specific constraints associated with a second LOD are not higher than the first LOD, block 1206 may be followed by block 1208. At block 1208, the digital asset may be rendered based on the first mesh of the first LOD. If the device-specific constraints associated with a second LOD are higher than the first LOD, block 1206 may be followed by block 1210. At block 1210, a second download of a second mesh of the second LOD associated with the digital asset is caused. Block 1210 may be followed by block 1212.
At block 1212, it is determined whether second device-specific constraints associated with a third LOD higher than the second LOD, or whether the second LOD is highest LOD is determined. If the second device-specific constraints associated with a third LOD are not higher than the second LOD, block 1212 may be followed by block 1214. At block 1214, the digital asset is rendered based on second mesh of second LOD. If second device-specific constraints associated with a third LOD is higher than the second LOD, block 1212 may be followed by block 1216. At block 1216, a third download of a third mesh of the third LOD associated with the digital asset is caused.
As used herein, the first, second, and third meshes may refer to the same mesh with different LODs. The third mesh may be a fully detailed mesh with all faces and vertices from the original digital asset, while the second mesh has a lower LOD with a reduced number of faces and vertices as compared to the third mesh, and the first mesh has an even lower LOD with a further reduced number of faces and vertices as compared to the second mesh. In some embodiments, the first mesh is a baseline mesh with a minimum amount of details and the second mesh and third mesh include increasing details, such as a larger number of textures, triangles, etc. Block 1216 may be followed by block 1218.
At block 1218, the digital asset is rendered based on the third mesh.
Claims
1. A computer-implemented method, comprising:
- receiving a digital asset uploaded by a user;
- storing an original version of the digital asset in a repository as a source to generate representations, wherein respective representations have one or more of varied rendering characteristics and levels of complexity;
- receiving a request for the digital asset from a client device, the request including a runtime context of the client device;
- determining whether a representation of the digital asset corresponding to the runtime context is available in a representation cache;
- responsive to the representation of the digital asset being unavailable in the representation cache, generating the representation of the digital asset based on the runtime context using a transcoder; and
- transmitting the generated representation to the client device for rendering of the digital asset in a virtual environment.
2. The computer-implemented method of claim 1, wherein the runtime context comprises real-time device capability information that includes one or more from a group comprising: processor resources, graphics resources, memory resources, network resources, display resources, and combinations thereof.
3. The computer-implemented method of claim 1, wherein the runtime context comprises a viewing distance between a virtual camera corresponding to a position of an avatar associated with the client device and the digital asset, and wherein the representation generated based on the runtime context is configured based on the viewing distance.
4. The computer-implemented method of claim 3, wherein: generating the representation of the digital asset comprises generating a plurality of representations with progressively increasing levels of detail as the viewing distance between the virtual camera and the digital asset decreases; and transmitting the generated representation to the client device includes transmitting the plurality of representations to the client device.
5. The computer-implemented method of claim 1, further comprising:
- determining a change in the runtime context of the client device;
- generating a subsequent representation of the digital asset based on the change in the runtime context of the client device; and
- transmitting the generated subsequent representation to the client device for rendering.
6. The computer-implemented method of claim 1, wherein the digital asset includes a three-dimensional (3D) model and wherein generating the representation comprises reducing a geometric complexity of the 3D model based on the runtime context to produce a level-of-detail (LoD) version, wherein the LoD version has less detail than the 3D model.
7. The computer-implemented method of claim 1, wherein the transcoder generates the representation by applying a transformation based on one or more of a display language preference, a rendering format, and a runtime constraint.
8. The computer-implemented method of claim 1, further comprising:
- selecting the transcoder from a plurality of transcoders based on an asset type associated with the digital asset.
9. The computer-implemented method of claim 1, further comprising:
- storing the generated representation and the runtime context in the representation cache; and
- using the stored representation to respond to subsequent requests associated with the same runtime context.
10. The computer-implemented method of claim 9, wherein the representation cache associates each stored representation with a version identifier corresponding to a transcoder version.
11. A computing device comprising:
- one or more processors; and
- a memory coupled to the one or more processors, with instructions stored thereon that, when executed by the one or more processors, cause the one or more processors to perform or control performance of operations comprising: receiving a digital asset uploaded by a user; storing an original version of the digital asset in a repository as a source to generate representations, wherein respective representations have one or more of varied rendering characteristics and levels of complexity; receiving a request for the digital asset from a client device, the request including a runtime context of the client device; determining whether a representation of the digital asset corresponding to the runtime context is available in a representation cache; responsive to the representation of the digital asset being unavailable in the representation cache, generating the representation of the digital asset based on the runtime context using a transcoder; and transmitting the generated representation to the client device for rendering of the digital asset in a virtual environment.
12. The computing device of claim 11, wherein the runtime context comprises real-time device capability information that includes one or more from a group comprising: processor resources, graphics resources, memory resources, network resources, display resources, and combinations thereof.
13. The computing device of claim 11, wherein the runtime context comprises a viewing distance between a virtual camera corresponding to a position of an avatar associated with the client device and the digital asset, and wherein the representation generated based on the runtime context is configured based on the viewing distance.
14. The computing device of claim 13, wherein: generating the representation of the digital asset comprises generating a plurality of representations with progressively increasing levels of detail as the viewing distance between the virtual camera and the digital asset decreases; and transmitting the generated representation to the client device includes transmitting the plurality of representations to the client device.
15. The computing device of claim 11, wherein the operations further comprise:
- determining a change in the runtime context of the client device;
- generating a subsequent representation of the digital asset based on the change in the runtime context of the client device; and
- transmitting the generated subsequent representation to the client device for rendering.
16. A non-transitory computer-readable medium with instructions stored thereon that, when executed by one or more computers, cause the one or more computers to perform or control performance of operations, the operations comprising:
- receiving a digital asset uploaded by a user;
- storing an original version of the digital asset in a repository as a source to generate representations, wherein respective representations have one or more of varied rendering characteristics and levels of complexity;
- receiving a request for the digital asset from a client device, the request including a runtime context of the client device;
- determining whether a representation of the digital asset corresponding to the runtime context is available in a representation cache;
- responsive to the representation of the digital asset being unavailable in the representation cache, generating the representation of the digital asset based on the runtime context using a transcoder; and
- transmitting the generated representation to the client device for rendering of the digital asset in a virtual environment.
17. The non-transitory computer-readable medium of claim 16, wherein the runtime context comprises real-time device capability information that includes one or more from a group comprising: processor resources, graphics resources, memory resources, network resources, display resources, and combinations thereof.
18. The non-transitory computer-readable medium of claim 16, wherein the runtime context comprises a viewing distance between a virtual camera corresponding to a position of an avatar associated with the client device and the digital asset, and wherein the representation generated based on the runtime context is configured based on the viewing distance.
19. The non-transitory computer-readable medium of claim 18, wherein: generating the representation of the digital asset comprises a generating plurality of representations with progressively increasing levels of detail as the viewing distance between the virtual camera and the digital asset decreases; and transmitting the generated representation to the client device includes transmitting the plurality of representations to the client device.
20. The non-transitory computer-readable medium of claim 16, wherein the operations further comprise:
- determining a change in the runtime context of the client device;
- generating a subsequent representation of the digital asset based on the change in the runtime context of the client device; and
- transmitting the generated subsequent representation to the client device for rendering.
Type: Application
Filed: May 21, 2026
Publication Date: Nov 26, 2026
Applicant: Roblox Corporation (San Mateo, CA)
Inventors: Yincheng ZHAO (Santa Clara, CA), Xiaoting ZHANG (San Mateo, CA), Varun MANI (Kirkland, WA), Tsvetan G. TSVETANOV (Santa Cruz, CA), Ankur AGARWAL (Santa Clara, CA), Zhi LI (Santa Clara, CA), Tianchen YU (San Mateo, CA), Yan TANG (Santa Clara, CA), Alban WOOD (Vancouver, BC), Angelo PESCE (San Mateo, CA)
Application Number: 19/684,754