hottub.patents
US 12,437,464 B2#3426089 Most CitedActiveUnited States (USPTO)Utility

Method and apparatus, electronic device, computer-readable storage medium, and computer program product for performing real-time image rendering of virtual objects

0Forward Citations (#3426089 Global)
0.0/yrCitation Velocity (#3426089 Global)
0.00Citation PageRank (#3426089 Global)
11Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

This application provides an image rendering method performed by an electronic device. The method includes: acquiring first texture data of a virtual object and conversion parameters corresponding to second texture data of the virtual object; performing, based on the conversion parameters and the first texture data, fitting rendering to obtain a fitted rendering image comprising the virtual object; updating the conversion parameters and the first texture data based on a rendering loss between the fitted rendering image and a reference rendering image comprising the virtual object , wherein the reference rendering image is a rendering image that is obtained by performing rendering based on the second texture data; and performing, based on the updated conversion parameters and the updated first texture data, real-time rendering to obtain a target rendering image comprising the virtual object.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    An image rendering method performed by an electronic device and the method comprising: acquiring, by the electronic device, first texture data of a virtual object and conversion parameters corresponding to second texture data of the virtual object; performing, by the electronic device, based on the conversion parameters and the first texture data, fitting rendering to obtain a fitted rendering image comprising the virtual object; updating, by the electronic device, the conversion parameters and the first texture data based on a rendering loss between the fitted rendering image and a reference rendering image comprising the virtual object, wherein the reference rendering image is a rendering image that is obtained by performing rendering based on the second texture data; and performing, by the electronic device, based on the updated conversion parameters and the updated first texture data, real-time rendering to obtain a target rendering image comprising the virtual object.

  2. Claim 2Depends on #1

    The method according to claim 1, wherein the performing, by the electronic device, based on the conversion parameters and the first texture data, fitting rendering to obtain a fitted rendering image comprising the virtual object comprises: performing, by the electronic device, based on the conversion parameters, space conversion on the first texture data of the virtual object toward the second texture data to obtain third texture data, wherein the third texture data is located in a same dynamic range space as the second texture data; and performing, by the electronic device, based on the third texture data, fitting rendering to obtain the fitted rendering image comprising the virtual object.

  3. Claim 3Depends on #2

    The method according to claim 2, wherein the third texture data comprises a third color value of each texture pixel; and the performing, by the electronic device, based on the third texture data, fitting rendering corresponding to the virtual object to obtain the fitted rendering image comprising the virtual object comprises: acquiring, by the electronic device, two-dimensional texture coordinates of the virtual object; acquiring, by the electronic device, a differentiable rendering framework corresponding to fitting rendering; and performing, by the electronic device, forward propagation on the two-dimensional texture coordinates and the third color value of each texture pixel in the differentiable rendering framework to obtain the fitted rendering image comprising the virtual object.

  4. Claim 4Depends on #1

    The method according to claim 1, wherein the rendering loss between the fitted rendering image and the reference rendering image is defined by: determining, by the electronic device, an overall pixel value difference between a standard rendering image and the fitted rendering image in a screen space; and determining, by the electronic device, the rendering loss based on the overall pixel value difference, a length of the fitted rendering image, and a width of the fitted rendering image.

  5. Claim 5Depends on #1

    The method according to claim 1, wherein the updating, by the electronic device, the conversion parameters and the first texture data based on the rendering loss comprises: performing, by the electronic device, based on the rendering loss, partial derivative processing on the first texture data to obtain a gradient corresponding to the first texture data; performing, by the electronic device, based on the rendering loss, partial derivative processing on the conversion parameters to obtain a gradient corresponding to the conversion parameters; and updating, by the electronic device, the first texture data based on the gradient corresponding to the first texture data, and updating the conversion parameters based on the gradient corresponding to the conversion parameters.

  6. Claim 6Depends on #1

    The method according to claim 1, wherein the performing, by the electronic device, based on the updated conversion parameters and the updated first texture data, real-time rendering on the virtual object comprises: performing, by the electronic device, when the rendering loss is less than a loss threshold, real-time rendering on the virtual object based on the updated conversion parameters and the updated first texture data; and performing, by the electronic device, when a number of updates of the conversion parameters and the first texture data reaches a threshold of the number of updates, real-time rendering on the virtual object based on the updated conversion parameters and the updated first texture data.

  7. Claim 7Depends on #1

    The method according to claim 1, wherein the performing, by the electronic device, based on the updated conversion parameters and the updated first texture data, real-time rendering on the virtual object to obtain a target rendering image comprising the virtual object comprises: performing, by the electronic device, based on the updated conversion parameters, space conversion on the updated first texture data toward the second texture data to obtain fourth texture data, wherein the fourth texture data is located in the same dynamic range space as the second texture data; determining, by the electronic device, at least one two-dimensional texture coordinate of the virtual object; sampling, by the electronic device, from the fourth texture data, a texture image corresponding to the two-dimensional texture coordinate, and mapping the texture image obtained by sampling; and generating, by the electronic device, based on a mapping result of each two-dimensional texture coordinate, the targe

  8. Claim 8Depends on #1

    The method according to claim 1, wherein a data size of the first texture data is smaller than a data size of the second texture data.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation application of PCT Patent Application No. PCT/CN2022/136193, entitled “ IMAGE RENDERING METHOD AND APPARATUS, ELECTRONIC DEVICE, COMPUTER-READABLE STORAGE MEDIUM, AND COMPUTER PROGRAM PRODUCT ” filed on Dec. 2, 2022, which is based on and claims priority to Chinese Patent Application No. 202210202833.0, entitled “ IMAGE RENDERING METHOD AND APPARATUS, ELECTRONIC DEVICE, COMPUTER-READABLE STORAGE MEDIUM, AND COMPUTER PROGRAM PRODUCT ” filed on Mar. 3, 2022, and claims priority to the Chinese Patent, all of which is incorporated by reference in its entirety. FIELD OF THE TECHNOLOGY This application relates to the field of computer graphics and image technologies, and in particular, to an image rendering method and apparatus, an electronic device, a computer-readable storage medium, and a computer program product. BACKGROUND OF THE DISCLOSURE Graphics processing hardware-based display technology expands channels for perceiving the environment and acquiring information. In particular, display technology for virtual scenes can realize diversified interactions between virtual objects controlled by users or artificial intelligence according to actual application requirements, and has various typical application scenarios. For example, in a virtual scene of a game or the like, a real battle process of virtual objects can be simulated. In the related technology, a high-dynamic-range texture resource is usually compressed to reduce bandwidth usage of the texture resource. However, it is difficult to achieve a good rendering effect by compressed texture resource-based rendering. There is no solution that takes into account both a rendering resource and a rendering effect in the related technology. SUMMARY Embodiments of this application provide an image rendering method and apparatus, an electronic device, a computer-readable storage medium, and a computer program product, which can achieve a good rende

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (11)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Tencent Technology (Shenzhen) Company Limited, ISR, PCT/CN2022/136193, Feb. 22, 2023, 3 pgs.
  • Tencent Technology, WO, PCT/CN2022/136193, Feb. 22, 2023, 4 pgs.
  • Tencent Technology, IPRP, PCT/CN2022/136193, Aug. 30, 2024, 5 pgs.
  • Tencent Technology, Extended European Search Report, EP Patent Application No. 22929625.6, Feb. 12, 2025, 9 pgs.
  • Francesco Banterle et al.,
  • “
  • Expanding Low Dynamic Range Videos for High Dynamic Range Applications
  • ”
  • , SCCG '08: Proceedings of the 24th Spring Conference on Computer Graphics, Apr. 2008, 10 pgs.
  • Francesco Banterle et al.,