Thermal energy effect rendering method and apparatus, storage medium and electronic device

By using single-channel rendering texture mapping and one-dimensional color lookup tables in an ice and snow scene simulation survival online game, the problems of high performance overhead and device limitations of thermal rendering were solved, resulting in higher game smoothness and thermal rendering effect coverage.

CN116271840BActive Publication Date: 2026-04-10NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NETEASE (HANGZHOU) NETWORK CO LTD
Filing Date
2023-02-02
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

Existing technologies in online games that simulate survival in snowy environments suffer from high thermal rendering performance overhead, affecting game smoothness, and are limited by high-end devices, resulting in low adoption rates.

Method used

It uses a single-channel rendering texture map and a one-dimensional color lookup table to store and render thermal data, reducing storage space usage and avoiding reliance on Compute Shader technology, making it suitable for more devices.

Benefits of technology

It reduces the performance overhead of game rendering, improves game smoothness and thermal rendering coverage, and is suitable for more devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116271840B_ABST
    Figure CN116271840B_ABST
Patent Text Reader

Abstract

The present disclosure provides a thermal energy effect rendering method, a thermal energy effect rendering device, a computer storage medium and an electronic device, and relates to the technical field of computer graphics. The thermal energy effect rendering method comprises the following steps: determining a first position of a virtual model to be rendered in a current game scene; finding first thermal energy data corresponding to the first position from a pre-constructed rendering texture map; wherein the rendering texture map comprises different positions in the current game scene and thermal energy data corresponding to each position; finding a target color value corresponding to the first thermal energy data from a pre-constructed color lookup table; wherein the color lookup table comprises different thermal energy data and color values corresponding to each thermal energy data; and rendering a thermal energy effect in the target virtual model based on the target color value to obtain a target virtual model corresponding to the virtual model to be rendered. The present disclosure can reduce the performance overhead of game picture rendering, thereby improving the smoothness of game running.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of computer graphics, and particularly relates to a thermal energy effect rendering method, a thermal energy effect rendering device, a computer storage medium and an electronic device. BACKGROUND

[0002] In a network game of a simulation management survival type in a snow scene, thermal energy is an important survival resource. Taking a game scene of a town as an example, a player needs to continuously improve the heating of each building in the city to resist the continuous decrease of the environmental temperature, and if the heating of a certain building is insufficient, the temperature will be low, thereby affecting the normal operation of the building. In order to facilitate the player to view the thermal energy distribution of each building in the city in real time, it is necessary to provide a display mode of a direct thermal energy rendering effect.

[0003] In some related technical solutions, the thermal energy data in the game scene is saved into a 3-channel map, and the rendering effect of the current building in the thermal energy display mode is obtained from the 3-channel map according to the position of the building in the world space.

[0004] However, the above technical solution causes large rendering performance overhead, thereby affecting the smoothness in the game running process.

[0005] It should be noted that the information disclosed in the above background section is only used to strengthen the understanding of the background of the present disclosure, and therefore can include information that does not constitute prior art known to those of ordinary skill in the art. SUMMARY

[0006] The present disclosure provides a thermal energy effect rendering method, a thermal energy effect rendering device, a computer storage medium and an electronic device, which can reduce the performance overhead of game picture rendering, thereby improving the smoothness of game running.

[0007] In a first aspect, an embodiment of the present disclosure provides a thermal energy effect rendering method, comprising: determining a first position of a virtual model to be rendered in a current game scene; finding first thermal energy data corresponding to the first position from a pre-constructed rendering texture map; wherein the rendering texture map comprises different positions in the current game scene and thermal energy data corresponding to each position; finding a target color value corresponding to the first thermal energy data from a pre-constructed color lookup table; wherein the color lookup table comprises different thermal energy data and color values corresponding to each thermal energy data; and rendering a thermal energy effect in the target virtual model based on the target color value, to obtain a target virtual model corresponding to the virtual model to be rendered.

[0008] In a second aspect, an embodiment of the present disclosure provides a thermal effect rendering device, the device comprising: a position determining module configured to determine a first position of a virtual model to be rendered in a current game scene; a data searching module configured to search for first thermal data corresponding to the first position from a pre-constructed rendering texture map; wherein the rendering texture map comprises different positions in the current game scene and thermal data corresponding to each position; a color searching module configured to search for a target color value corresponding to the first thermal data from a pre-constructed color lookup table; wherein the color lookup table comprises different thermal data and color values corresponding to each thermal data; and a thermal rendering module configured to render a thermal effect in the target virtual model based on the target color value to obtain a target virtual model corresponding to the virtual model to be rendered.

[0009] In a third aspect, an embodiment of the present disclosure provides a computer readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the thermal effect rendering method as described above.

[0010] In a fourth aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor; and a memory configured to store executable instructions of the processor; wherein the processor is configured to execute the thermal effect rendering method as described above via execution of the executable instructions.

[0011] The technical solution of the present disclosure has the following beneficial effects:

[0012] The heat energy effect rendering method determines a first position of a virtual model to be rendered in a current game scene, finds first heat energy data corresponding to the first position from a pre-constructed rendering texture map, finds a target color value corresponding to the first heat energy data from a pre-constructed color lookup table, and renders a heat energy effect in the target virtual model based on the target color value to obtain a target virtual model corresponding to the virtual model to be rendered. On the one hand, the rendering texture map only stores heat energy data of virtual models in the current game scene, forming a single-channel rendering texture map, and the color lookup table is also a one-dimensional data table, which occupies less data storage space, thereby solving the technical problem that the performance overhead of game picture rendering is large due to the use of a three-channel color map in the prior art, which further affects the fluency of game running, and achieving the technical effect of reducing the performance overhead of game picture rendering and further improving the fluency of game running. On the other hand, the method is not limited by specific programs, and can avoid storing data in a three-channel color map by using specific operation programs that need to be executed on a graphics processing unit (GPU), such as Compute shader technology. However, devices that can carry Compute shader are very limited, which affects the popularity of heat energy rendering effect display, thereby realizing the improvement of the coverage of heat energy rendering effect display.

[0013] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0014] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.

[0015] Figure 1 A schematic diagram of an application scenario of a heat energy effect rendering method in the present exemplary embodiment is schematically shown;

[0016] Figure 2 A flowchart of a heat energy effect rendering method in the present exemplary embodiment is schematically shown;

[0017] Figure 3 A schematic diagram of a virtual model to be rendered in a first perspective in the present exemplary embodiment is schematically shown;

[0018] Figure 4 A schematic diagram of a virtual model to be rendered in a second perspective in the present exemplary embodiment is schematically shown;

[0019] Figure 5 A flow chart illustrating a process of constructing a rendering texture map for a current game scene in the present example embodiment is shown schematically;

[0020] Figure 6 A rendering texture map diagram in the present example embodiment is shown schematically;

[0021] Figure 7 A structure diagram of a heat energy effect rendering device in the present example embodiment is shown schematically;

[0022] Figure 8 Another structure diagram of a heat energy effect rendering device in the present example embodiment is shown schematically;

[0023] Figure 9 A structure diagram of an electronic device in the present example embodiment is shown schematically. DETAILED DESCRIPTION

[0024] Example embodiments now will be described more fully hereinafter with reference to the accompanying drawings. Example embodiments, however, can be implemented in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the example embodiments to those skilled in the art. Like reference numerals refer to like elements throughout. The terminology used in the description presented herein is not intended to be interpreted in any specific and / or particular manner. The terminology utilized in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting. The use of the terms "for example," "may," and "for instance" is intended to allow for items, materials, acts, objects, etc. that are in some way, name, or another, related to those intended to be covered by the broadest interpretation of the terms. In addition, to avoid "double negatives" in the claims, the terms "neither / nor" and "none" are used in the claims to indicate that the term does not include the possibility of the presence of the feature or features.

[0025] In addition, the drawings are only schematic and are non-limiting. Like reference numerals designate corresponding parts throughout the several views. Some embodiments will be described using the expression "coupled" and "connected" along with their derivatives, which are intended to mean either an indirect or direct connection. Thus, any connection made between components in the description can be "coupled" or "connected" whether or not it is made directly or indirectly through one or more intervening components also "coupled" or "connected." Further, the term "coupled" is intended to also encompass a relationship in which one or more intervening components are present.

[0026] The flow diagrams depicted in the figures are merely exemplary and do not necessarily include all of the steps that can be implemented by the embodiments. For example, one or more steps can be combined or omitted, and the order of the steps can be changed about from the examples shown. Further, the steps need not be performed in the order shown, but can be performed in any order, or in parallel.

[0027] In order to help the skilled in the art better understand the technical solutions of the present disclosure, the related content involved in the technical solutions of the present disclosure will be introduced below.

[0028] (1) Render Texture: record data objects in the form of images, which are often used to save intermediate results in the rendering process.

[0029] (2) Compute Shader technology: a computing program executed on a GPU, based on Compute Shader, programmers can directly use the GPU as a parallel processor, and the GPU will not only have 3D rendering capability, but also have other computing capabilities. Compute Shader is often used to assist the Central Processing Unit (CPU) in computing.

[0030] (3) Lookup table (LUT): a set of data correspondence is stored in the form of an image. A set of parameters (usually two-dimensional coordinates of the image) can be used as a lookup entry to read a set of related data (usually color values on the corresponding two-dimensional coordinates of the image).

[0031] The thermal energy effect rendering method provided by the exemplary embodiments of the present disclosure can be applied to application scenarios that need to display thermal energy rendering effects. For example, for a network game of the simulation management survival type in a snow environment, thermal energy is an important survival resource closely related to the core gameplay of the game. Players need to continuously heat the entire city to resist the continuous decline of the environmental temperature, so as to maintain the normal activities of virtual characters in the city. If the heating of a building is insufficient, resulting in a low temperature, the building will not be able to operate normally. Therefore, in order to facilitate players to quickly view the thermal energy distribution of each building in the city, it is necessary to provide a display method of thermal energy rendering effects.

[0032] In order to realize the display method of thermal energy rendering effects, in some technical solutions, compute shader is used to perform parallel calculation on the thermal energy data of the current game scene, and the thermal energy data is saved into a global 3-channel color RenderTexture. During rendering, the color of the RenderTexture is sampled according to the coordinate position of the current rendering building in the world space, so that the color of the current building in the thermal display mode can be obtained.

[0033] However, the above method of using compute shader to store the heat data of the whole game scene in combination with a 3-channel color Render Texture has the following problems. On the one hand, the 3-channel color Render Texture occupies a large storage space, and thus the Render Texture occupies the memory resources of the device running the game during the game running process, resulting in a large heat rendering performance consumption and affecting the fluency of the game running, and further affecting the game experience of the players. On the other hand, since there are limited mobile devices supporting the compute shader function, only some high-end models support it, and currently this technology is mostly applied to the scene of playing games on a Personal Computer (PC) client. Therefore, the above method is limited by the game device, resulting in a low popularization rate or coverage.

[0034] The exemplary embodiments of the present disclosure consider the above problems and propose a heat effect rendering method, which saves the heat data to a single-channel render texture map. The format of the render texture map is 1024 R8_UNorm. Since the R8_UNorm type is only 8 bits, the performance overhead is very small, and the color lookup table (LUT map) is also a one-dimensional picture, the size of the LUT map is 4 512 pixels, and the data storage space occupied is extremely low, so that the global heat display effect can be realized. Therefore, the method can ensure the picture quality of the heat rendering effect display, and the small memory occupation can improve the game performance. At the same time, the hardware function used by the method can support the use of most mobile devices, so that most of the mobile devices of the user group of the game can run the heat rendering effect of the game, and the coverage of the heat rendering effect display is improved.

[0035] Figure 1 The system architecture diagram of the heat effect rendering method provided by the exemplary embodiments of the present disclosure is schematically shown as Figure 1 shown, the heat rendering system 100 includes one or more of terminal devices 101, 102, 103, and 104, a network 105, and a server 106. The network 105 is used to provide a communication link medium between the terminal devices 101, 102, 103, and 104 and the server 106. The network 105 can include various connection types, such as wired, wireless communication links, or optical fiber cables, etc. The terminal devices 101, 102, 103, and 104 can be smart phones, tablet computers, notebook computers, desktop computers, etc., but are not limited thereto.

[0036] It should be understood that Figure 1The number of terminal devices, networks, and servers in the figure is only illustrative. According to the implementation needs, there can be any number of terminal devices, networks, and servers. For example, the server 106 can be a stand-alone physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, and basic cloud computing services such as big data and artificial intelligence platforms.

[0037] The thermal energy effect rendering method provided by the embodiments of the present disclosure can be executed in the server 106. Accordingly, the game interaction device is generally arranged in the server 106. The thermal energy effect rendering method provided by the embodiments of the present disclosure can also be executed in the terminal device. Accordingly, the thermal energy effect rendering device can also be arranged in the terminal device. The thermal energy effect rendering method provided by the embodiments of the present disclosure can also be partially executed in the server 106 and partially executed in the terminal. Accordingly, part of the modules of the thermal energy effect rendering device can be arranged in the server 106, and part of the modules can be arranged in the terminal device.

[0038] For example, in an exemplary embodiment, a user can play a game through the terminal device 101, 102, 103, or 104. The server 106 can start a game process to make the terminal devices 101, 102, 103, and 104 enter the same game. If the player plays the game through the terminal device 101, the terminal device 101 determines a first position of a virtual model to be rendered in a current game scene, and finds first thermal energy data corresponding to the first position from a pre-constructed rendering texture map; wherein the rendering texture map contains different positions in the current game scene and thermal energy data corresponding to each position; the terminal device 101 finds a target color value corresponding to the first thermal energy data from a pre-constructed color lookup table; wherein the color lookup table contains different thermal energy data and color values corresponding to each thermal energy data; and renders the thermal energy effect in the target virtual model based on the target color value to obtain a target virtual model corresponding to the virtual model to be rendered.

[0039] However, those skilled in the art can easily understand that the above application scenarios are only for example, and the present exemplary embodiment is not limited thereto.

[0040] The following takes the terminal device as the execution subject and takes any one of the above terminal devices as an example to illustrate the thermal energy effect rendering method. Referring to Figure 2 The thermal energy effect rendering method provided by the embodiments of the present disclosure can include the following steps S201-S204:

[0041] Step S201, determining a first position of a virtual model to be rendered in a current game scene.

[0042] Step S202, find the first thermal energy data corresponding to the first position from the pre-constructed rendering texture map; wherein the rendering texture map contains different positions in the current game scene and the thermal energy data corresponding to each position.

[0043] Step S203, find the target color value corresponding to the first thermal energy data from the pre-constructed color lookup table; wherein the color lookup table contains different thermal energy data and the color value corresponding to each thermal energy data.

[0044] Step S204, render the thermal energy effect in the target virtual model based on the target color value to obtain the target virtual model corresponding to the virtual model to be rendered.

[0045] In the technical scheme provided by some embodiments of the present disclosure, by determining the first position of the virtual model to be rendered in the current game scene, finding the first thermal energy data corresponding to the first position from the pre-constructed rendering texture map, finding the target color value corresponding to the first thermal energy data from the pre-constructed color lookup table, and rendering the thermal energy effect in the target virtual model based on the target color value, the target virtual model corresponding to the virtual model to be rendered is obtained. On the one hand, the method only stores the thermal energy data of each virtual model in the current game scene in the rendering texture map, forming a single-channel rendering texture map, and the color lookup table is also a one-dimensional data table, occupying less data storage space, thereby solving the technical problem that the large performance overhead of game picture rendering caused by the three-channel color map used in the prior art affects the smoothness of game running, and achieving the technical effect of reducing the performance overhead of game picture rendering and improving the smoothness of game running. On the other hand, the method is not limited by specific programs, and can avoid the need to use specific operation programs executed on the GPU to store data into a three-channel color map, such as the Compute shader tool. However, devices that can carry Compute shader are very limited, which affects the popularity of thermal energy rendering effect display, thereby improving the coverage rate of thermal energy rendering effect display.

[0046] In the following, each step of the thermal energy effect rendering method in the exemplary embodiments of the present disclosure will be further described in detail.

[0047] In step S201, the first position of the virtual model to be rendered in the current game scene is determined.

[0048] In an optional embodiment of the present disclosure, the current game scene can be a game scene captured and displayed in the game view by the current virtual camera, and the virtual models to be rendered are all virtual models viewable within the view range of the current game scene; or the current game scene can be the entire current game scene, and the virtual models to be rendered are all virtual models in the game scene.

[0049] It should be understood that the virtual models to be rendered can be related to the direction of the virtual camera, and the player can adjust the direction of the virtual camera in real time through the control operation of the auxiliary control, so as to view the thermal rendering effect of each virtual model and improve the game experience of the player.

[0050] In order to facilitate understanding of the virtual models to be rendered in the current game scene, the following Figure 3 , Figure 4 will be described in detail.

[0051] Figure 3 , Figure 4 are display schematic diagrams of different game views containing the same virtual models under the same game scene. Among them, Figure 3 schematically shows the virtual model to be rendered under the first view angle in the present exemplary embodiment.

[0052] As shown in Figure 3 , in the first view angle, the current game scene contains virtual model A, virtual model B, virtual model C and virtual model D, wherein virtual model C and virtual model D are respectively blocked by virtual model A and virtual model B. In order to reduce the rendering performance consumption and system calculation amount, only virtual model A and virtual model B within the view range can be taken as the virtual models to be rendered.

[0053] Figure 4 schematically shows the virtual model to be rendered under the second view angle in the present exemplary embodiment. As shown in Figure 4 , the second view angle is a top view angle of the game scene, and all virtual models in the game scene can be viewed under the second view angle, so the virtual models to be rendered are virtual model A, virtual model B, virtual model C and virtual model D.

[0054] It should be noted that, Figure 3 , Figure 4 , the virtual model in the current game scene can also include a two-dimensional virtual model composed of the ground. For example, in the simulation survival type game scene of urban heating, the ground also has temperature data, and when rendering, the ground will also be displayed with the color value corresponding to the thermal energy data of the ground.

[0055] In an optional embodiment of the present disclosure, the virtual model occupies space in the virtual space world, and when determining the first position of the virtual model to be rendered in the current game scene, the virtual model A shown in FIG. 8 is taken as an example, an xyz coordinate system is established with the lower left corner position as the coordinate origin, the current game scene is projected into the xoy plane along the z-axis direction, and the center position (coordinate value (5, 5)) is taken as the first position of the virtual model A in the current game scene. Figure 4

[0056] It should be understood that the coordinate value of the first position is related to the selected coordinate system. However, the first position of the virtual model to be rendered in the current game scene, that is, the relative position of the virtual model in the game scene is not affected by the collection direction of the virtual camera, and is only the coordinate form under different directions, wherein the coordinate values of different coordinate forms can be converted to each other.

[0057] In some example embodiments of the present disclosure, before determining the first position of the virtual model to be rendered in the current game scene, the current game scene can be switched to the rendering mode in response to a rendering confirmation operation for the current game scene.

[0058] Exemplarily, the target virtual model obtained by rendering the heat energy effect in the virtual model to be rendered is a special display effect in the game. In the process of playing the game by the player, the first state is usually displayed. When the player needs to view the distribution of heat energy in the current game scene, the first state needs to be switched to the rendering mode, so as to display in the second state. Wherein, the first state is the actual display state of the virtual model, that is, the display state of the building similar to the actual environment, and the second state is the heat energy display effect corresponding to the target virtual model.

[0059] Exemplarily, when the current game scene is switched to the rendering mode, the player can trigger the heat energy effect control on the graphical user interface, and the terminal device switches the current game scene to the rendering mode in response to a rendering confirmation operation for the current game scene.

[0060] By responding to the rendering confirmation operation for the current game scene to switch the current game scene to the rendering mode, the rendering mode can be switched when the player actively triggers, so as to reduce the rendering performance consumption while improving the human-computer interaction experience of the player.

[0061] In another optional embodiment of the present disclosure, the terminal device can collect game data at the current time, and automatically switch the current game scene to the rendering mode according to the game data.

[0062] ​The game data is related to a currently running game. Taking a current game scene as an example, the game data can be the positions of the buildings and the thermal energy data, etc.

[0063] Exemplarily, the current game scene can be automatically switched to the rendering mode when the game data meets a preset condition. For example, the temperature value of the virtual model to be rendered in the current game scene is lower than a certain temperature threshold, and the number of the virtual models to be rendered whose temperature value is lower than the certain temperature threshold is greater than a preset number, the current game scene is automatically switched to the rendering mode, so as to timely supplement the thermal energy for the player, thereby assisting the player in playing the game and improving the game experience of the player.

[0064] In step S202, the first thermal energy data corresponding to the first position is found from the pre-constructed rendering texture map. The rendering texture map contains different positions in the current game scene and the thermal energy data corresponding to each position.

[0065] According to some embodiments of the present disclosure, the UV coordinate in the rendering texture map is determined according to the first position of the virtual model to be rendered in the virtual space, so as to determine the thermal energy data corresponding to the UV coordinate as the first thermal energy data corresponding to the first position. The specific program logic is as follows:

[0066] float2 heatUV = posWS.xz heatMapUVST.xy + heatMapUVST.zw;

[0067] float heatValue = tex2D(_HeatMapTexture, heatUV).x;

[0068] Further, before finding the first thermal energy data corresponding to the first position from the pre-constructed rendering texture map, the rendering texture map for the current game scene needs to be constructed.

[0069] Figure 5 An exemplary flowchart for constructing the rendering texture map for the current game scene in the present exemplary embodiment is schematically shown. Referring to FIG. 5, Figure 5 In an optional embodiment of the present disclosure, the above-mentioned step of constructing the rendering texture map for the current game scene can include the following steps S501-S502:

[0070] In step S501, the thermal energy data of each virtual model in the current game scene is determined.

[0071] In an example embodiment of the present disclosure, target temperature data of each virtual model in the current game scene is determined, a target heat energy interval corresponding to the target temperature data is determined in a pre-set heat energy interval, and heat energy data corresponding to the target heat energy interval is determined as target heat energy data corresponding to the target temperature data.

[0072] For example, the continuous temperature data can be divided into 10 heat energy intervals with the same interval in the temperature interval from-80℃ to 20℃.

[0073] The terminal device can collect the target temperature data of each virtual model in the current game scene in real time, determine the corresponding target heat energy interval according to the target temperature data, and determine the heat energy data corresponding to the target heat energy interval as the target heat energy data corresponding to the target temperature data.

[0074] For example, the continuous temperature data in the temperature interval is divided into 10 heat energy intervals, which can be sorted according to the size of the temperature data. The temperature data in each interval is uniformly converted into a heat energy data, respectively, as level 1 to level 10, wherein level 1 represents the heat energy interval with the lowest temperature, and level 10 represents the heat energy interval with the highest temperature. Assuming that the target temperature data of the virtual model is 10℃, and 10℃ is in the 9th heat energy interval, the current target heat energy data is 9.

[0075] The heat energy data corresponding to the target heat energy interval is determined as the target heat energy data corresponding to the target temperature data, which can configure the temperature in one interval as one heat energy data, thereby reducing the calculation amount and reducing the performance consumption in the rendering process.

[0076] In an optional embodiment of the present disclosure, initial temperature data of each virtual model in the current game scene is determined, and the initial temperature data is normalized to obtain target temperature data.

[0077] For example, the temperature in the interval from-80℃ to 20℃ is mapped to the heat energy interval from 0 to 1, and the temperature lower than-80℃ can be configured as 0, and the temperature higher than 20℃ can be configured as 1.

[0078] The terminal device normalizes the collected initial temperature data of each virtual model, and the specific calculation logic is as follows:

[0079] objectIntensity (target heat energy data) = objectHeatLevel (target heat energy interval where the current virtual model is located) / environmentMaxHeatLevel (total number of heat energy intervals of the game).

[0080] For example, if the target thermal energy data is 9 and the total number of thermal energy intervals divided in the game is 10, then the target thermal energy data = 9 / 10 = 0.9.

[0081] Step S502: Construct a rendering texture map based on the thermal data and the position of the corresponding virtual model.

[0082] Building and rendering texture maps based on the current game scene can improve scene matching and the accuracy of thermal rendering effects.

[0083] Figure 6 This schematically illustrates a rendering texture map in this exemplary embodiment, with reference to... Figure 6 , Figure 6 In the image (a), the virtual model to be rendered in the current game scene is shown from a top-down perspective. Figure 6 (b) in the text refers to Figure 6 The location of the virtual model shown in (a) and the rendering texture map constructed from the thermal data of each virtual model.

[0084] Normalizing the temperature data of each virtual model helps to limit the temperature data to a preset thermal energy range, so as to determine the color value corresponding to the thermal energy data in the future, thereby reducing the impact of abnormal data and improving the reliability of system calculation.

[0085] In step S203, the target color value corresponding to the first thermal energy data is obtained from a pre-constructed color lookup table; wherein, the color lookup table contains different thermal energy data and the color value corresponding to each thermal energy data.

[0086] For example, a color lookup table (LUT) contains a one-to-one mapping between thermal data and color values. Therefore, after determining the first thermal data, the LUT image can be sampled based on the first thermal data to obtain the color value of the current virtual model in thermal display mode. The program logic for this process is as follows:

[0087] half3 heatColor = tex2D(_HeatColorLUT, float2(heatValue, 0.5));

[0088] It should be understood that when the thermal energy data is in the range of 0-1, the corresponding color value in the color lookup table is also in the range of 0-1.

[0089] In step S204, the thermal effect in the target virtual model is rendered based on the target color value to obtain the target virtual model corresponding to the virtual model to be rendered.

[0090] In one optional embodiment of this disclosure, the target virtual model is displayed in the current game scene.

[0091] When the thermal energy effect in the target virtual model is rendered based on the target color value, the target virtual model can be displayed on the graphical user interface, i.e., displayed in different color values, so that the player can view the current thermal energy distribution in real time through different color values, thereby better implementing corresponding game strategy operations, and further improving the game experience of the player.

[0092] In some example embodiments of the present disclosure, if the first position of the virtual model is updated to a second position, the rendering texture map is updated based on the second position to obtain an updated first rendering texture map, and / or if the first thermal energy data of the virtual model is updated to second thermal energy data, the rendering texture map is updated based on the second thermal energy data to obtain an updated second rendering texture map.

[0093] For example, after the thermal energy effect in the target virtual model is rendered based on the target color value to obtain the target virtual model corresponding to the virtual model to be rendered, the rendering texture map can be updated in real time.

[0094] According to the update of the virtual model position information, the thermal energy data is updated in real time to obtain the updated second rendering texture map, thereby improving the accuracy of the thermal energy effect rendering.

[0095] For example, since the thermal energy distribution information changes continuously as the game progresses, in order to improve the accuracy of the generated target virtual model after rendering, the rendering texture map needs to be updated before the first thermal energy data corresponding to the first position is found from the pre-constructed rendering texture map.

[0096] At the same time, when updating the rendering texture map, in order to ensure the robust and stable operation of the system, the integrity of the system needs to be checked first, for example, whether the rendering texture map has been constructed, whether the thermal energy data is within the threshold interval set by the system, etc.

[0097] According to some embodiments of the present disclosure, when the thermal energy data of the virtual model changes, the rendering texture map is updated.

[0098] According to some embodiments of the present disclosure, when the position of the virtual model in the current game scene changes, the rendering texture map is updated.

[0099] According to some embodiments of the present disclosure, when a virtual model is added or removed in the current game scene, the rendering texture map is updated.

[0100] Meanwhile, in order to increase the volume of the scene to make the virtual model more realistic, the direction of the light source in the current game scene can be detected in real time, and the object is rendered through the Lambert lighting model to increase the shadow effect of the virtual model.

[0101] Updating the rendering texture map in real time can improve the accuracy of the rendered target virtual model.

[0102] In order to implement the above-mentioned thermal effect rendering method, one embodiment of the present disclosure provides a thermal effect rendering device. Figure 7 A schematic architectural diagram of the thermal effect rendering device is shown.

[0103] The thermal effect rendering device 700 includes a position determination module 701, a data lookup module 702, a color lookup module 703, and a thermal rendering module 704.

[0104] The position determination module 701 is configured to determine a first position of a virtual model to be rendered in a current game scene; the data lookup module 702 is configured to find first thermal data corresponding to the first position from a pre-constructed rendering texture map; wherein the rendering texture map contains different positions in the current game scene and thermal data corresponding to each position; the color lookup module 703 is configured to find a target color value corresponding to the first thermal data from a pre-constructed color lookup table; wherein the color lookup table contains different thermal data and color values corresponding to each thermal data; and the thermal rendering module 704 is configured to render thermal effects in a target virtual model based on the target color value to obtain a target virtual model corresponding to the virtual model to be rendered.

[0105] The thermal effect rendering device 700 provided by the embodiments of the present disclosure can execute the technical solutions of the thermal effect rendering method in any of the above-mentioned embodiments, and the implementation principles and beneficial effects thereof are similar to those of the thermal effect rendering method. For details, please refer to the implementation principles and beneficial effects of the thermal effect rendering method, which will not be repeated here.

[0106] Further, in order to implement the above-mentioned thermal effect rendering method, one embodiment of the present disclosure provides a thermal effect rendering device. Figure 8 A schematic architectural diagram of the thermal effect rendering device is shown.

[0107] In addition to the position determination module 701, the data lookup module 702, the color lookup module 703, and the thermal rendering module 704, the thermal effect rendering device 800 can also include a data determination module 705, a texture construction module 706, a texture update module 707, a mode switching module 708, and a model display module 709.

[0108] In an optional embodiment of the present disclosure, the data determining module 705 is configured to determine thermal energy data of each virtual model in the current game scene; and the texture constructing module 706 is configured to construct the rendering texture map according to the thermal energy data and the position of the corresponding virtual model.

[0109] In an optional embodiment of the present disclosure, the data determining module 705 is configured to determine target temperature data of each virtual model in the current game scene; determine a target thermal energy interval corresponding to the target temperature data in a preset thermal energy interval; and determine thermal energy data corresponding to the target thermal energy interval as target thermal energy data corresponding to the target temperature data.

[0110] In an optional embodiment of the present disclosure, the data determining module 705 is configured to determine initial temperature data of each virtual model in the current game scene; and perform normalization processing on the initial temperature data to obtain the target temperature data.

[0111] In an optional embodiment of the present disclosure, the texture updating module 707 is configured to, if the first position of the virtual model is updated to a second position, update the rendering texture map based on the second position to obtain an updated first rendering texture map, and / or; the texture updating module 707 is configured to, if the first thermal energy data of the virtual model is updated to second thermal energy data, update the rendering texture map based on the second thermal energy data to obtain an updated second rendering texture map.

[0112] In an optional embodiment of the present disclosure, the mode switching module 708 is configured to, in response to a rendering confirmation operation for the current game scene, switch the current game scene to the rendering standby mode according to the rendering confirmation operation.

[0113] In an optional embodiment of the present disclosure, the model display module 709 is configured to display the target virtual model in the current game scene.

[0114] The thermal energy effect rendering device 800 provided by the embodiments of the present disclosure can execute the technical solutions of the thermal energy effect rendering method in any of the above embodiments, and the implementation principles and beneficial effects thereof are similar to those of the thermal energy effect rendering method. For details, refer to the implementation principles and beneficial effects of the thermal energy effect rendering method, which will not be described here again.

[0115] In the example embodiments of the present disclosure, a computer readable storage medium is also provided, and the computer readable storage medium has a program product stored thereon, which can implement the method described in the present specification. In some possible implementation manners, various aspects of the present disclosure can also be implemented in the form of a program product, which includes program codes for causing a terminal device to execute the steps described in the “example method” section of the present specification according to various example embodiments of the present disclosure when the program product runs on the terminal device.

[0116] determine a first position of the virtual model to be rendered in the current game scene; find first heat data corresponding to the first position from a pre-constructed rendering texture map; wherein the rendering texture map contains different positions in the current game scene and heat data corresponding to each position; find a target color value corresponding to the first heat data from a pre-constructed color lookup table; wherein the color lookup table contains different heat data and color values corresponding to each heat data; and render a heat effect in the target virtual model based on the target color value to obtain a target virtual model corresponding to the virtual model to be rendered.

[0117] On the one hand, the method only stores heat data of each virtual model in the current game scene in the rendering texture map, forming a single-channel rendering texture map, and the color lookup table is also a one-dimensional data table, which occupies less data storage space, thereby solving the technical problem that the large performance overhead of game picture rendering caused by the use of a three-channel color map in the prior art, and further affecting the fluency of game running, and achieving the technical effect of reducing the performance overhead of game picture rendering, and further improving the fluency of game running. On the other hand, the method is not limited by a specific program, and can avoid the need for some technologies to use a specific operation program executed on a graphics processing unit (GPU) to store data in a three-channel color map, such as the Compute shader technology. However, devices that can carry the Compute shader are very limited, thereby affecting the popularity of the heat rendering effect display, and thereby improving the coverage of the heat rendering effect display.

[0118] In some example embodiments of the present disclosure, heat data of each virtual model in the current game scene is determined, and a rendering texture map is constructed according to the heat data and the positions of the corresponding virtual models.

[0119] Constructing the rendering texture map through the current game scene can improve scene matching and improve the accuracy of the heat rendering effect.

[0120] In some example embodiments of the present disclosure, target temperature data of each virtual model in the current game scene is determined, a target heat data interval corresponding to the target temperature data is determined in a pre-set heat data interval, and heat data corresponding to the target heat data interval is determined as the target heat data corresponding to the target temperature data.

[0121] Determining the heat data corresponding to the target heat data interval as the target heat data corresponding to the target temperature data can configure the temperature in one interval as one heat data, thereby reducing the amount of calculation and reducing the performance consumption in the rendering process.

[0122] In some example embodiments of the present disclosure, initial temperature data of each virtual model in the current game scene is determined; and the initial temperature data is normalized to obtain target temperature data.

[0123] The normalization of the temperature data of each virtual model facilitates limiting the temperature data in a preset thermal energy interval, so as to subsequently determine a color value corresponding to the thermal energy data, thereby reducing the influence of abnormal data and improving the reliability of system calculation.

[0124] In some example embodiments of the present disclosure, if the first position of the virtual model is updated to a second position, the rendering texture map is updated based on the second position to obtain an updated first rendering texture map, and / or if the first thermal energy data of the virtual model is updated to second thermal energy data, the rendering texture map is updated based on the second thermal energy data to obtain an updated second rendering texture map.

[0125] According to the update of the virtual model position information, the thermal energy data is updated in real time and the updated second rendering texture map is obtained, thereby improving the accuracy of thermal energy effect rendering.

[0126] In some example embodiments of the present disclosure, before determining the first position of the virtual model to be rendered in the current game scene, the current game scene can be switched to a rendering standby mode according to a rendering confirmation operation for the current game scene.

[0127] By responding to the rendering confirmation operation for the current game scene to switch the current game scene to the rendering standby mode, the rendering standby mode can be switched when triggered by the player, thereby reducing the rendering performance consumption while improving the human-computer interaction experience of the player.

[0128] In an optional embodiment of the present disclosure, the target virtual model is displayed in the current game scene.

[0129] After the thermal energy effect in the target virtual model is rendered based on the target color value, the target virtual model can be displayed on the graphical user interface, i.e., displayed with different color values, so that the player can view the current thermal energy distribution in real time through different color values, thereby better implementing corresponding game strategy operations and further improving the game experience of the player.

[0130] A program product for implementing the above method according to the embodiments of the present disclosure can adopt a portable compact disc read-only memory (CD-ROM) and include program codes, and can run on a terminal device such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, the readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or apparatus.

[0131] The program product can employ any combination of one or more computer readable media or storage media. The computer readable media or storage media can be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium include an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0132] The computer readable signal medium can include a computer readable data signal embodied in a carrier wave, or a propagated signal, where the computer readable program code is carried by the data signal. The computer readable signal medium can also be, for example, but not limited to, any computer readable medium that is not a computer readable storage medium, where the computer readable program code is instmcted to, or otherwise used by, a computing device or computing system to cause a series of physical transformations of the computer readable program code into the computer readable storage medium.

[0133] The program code embodied on the computer readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wired, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0134] The program code can be executed by one or more programmable processors, which can be individual or grouped processors, to perform a series of operations or computations. The program code can execute entirely on a user's computing device, partly on the user's computing device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device or entirely on the remote computing device or server. In the latter scenario, the remote computing device can be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computing device, such as through the Internet using an Internet Service Provider (ISP). The user's computing device can also be connected to the remote computing device through a wireless network.

[0135] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above-described method is also provided.

[0136] Those skilled in the art can understand that each aspect of the present application can be implemented as a system, a method or a program product. Therefore, each aspect of the present application can be specifically implemented as follows: a complete hardware embodiment, a complete software embodiment (including firmware, microcode, etc.), or an embodiment combining hardware and software aspects, which can be collectively referred to as "circuitry", "module" or "system".

[0137] The electronic device 900 according to this embodiment of the present application will be described below with reference to Figure 9 Figure 9 The electronic device 900 is only an example and should not limit the function and use range of the embodiments of the present application.

[0138] As Figure 9 shown, the electronic device 900 is in the form of a general computing device. The components of the electronic device 900 can include, but are not limited to: the at least one processing unit 910 described above, the at least one storage unit 920 described above, the bus 930 connecting different system components (including the storage unit 920 and the processing unit 910), and the display unit 940.

[0139] The storage unit stores program code that can be executed by the processing unit 910, so that the processing unit 910 performs the steps according to various exemplary embodiments of the present application described in the "Exemplary Method" section of the present specification. For example, the processing unit 910 can execute any one of the following embodiments:

[0140] determining a first position of a virtual model to be rendered in a current game scene; finding first thermal energy data corresponding to the first position from a pre-constructed rendering texture map; wherein the rendering texture map contains different positions in the current game scene and thermal energy data corresponding to each position; finding a target color value corresponding to the first thermal energy data from a pre-constructed color lookup table; wherein the color lookup table contains different thermal energy data and color values corresponding to each thermal energy data; rendering thermal energy effects in the target virtual model based on the target color value to obtain a target virtual model corresponding to the virtual model to be rendered.

[0141] ​In one aspect, the method stores only the heat data of each virtual model in the current game scene in the rendering texture map, forms a single-channel rendering texture map, and the color lookup table is also a one-dimensional data table, which occupies less data storage space, thereby solving the technical problem that the use of a three-channel color map in the prior art leads to a large performance overhead of game screen rendering, which in turn affects the smoothness of game operation, and achieving the technical effect of reducing the performance overhead of game screen rendering, and in turn improving the smoothness of game operation. On the other hand, the method is not limited to a specific program, and can avoid the need to store data in a three-channel color map using a specific operation program that is executed on a graphics processing unit (GPU), such as the Compute shader technology. However, devices that can carry the Compute shader are very limited, which affects the popularity of the heat rendering effect display, thereby improving the coverage of the heat rendering effect display.

[0142] In some example embodiments of the present disclosure, heat data of each virtual model in the current game scene is determined; and a rendering texture map is constructed according to the heat data and the positions of the corresponding virtual models.

[0143] Constructing the rendering texture map through the current game scene can improve scene matching and improve the accuracy of the heat rendering effect.

[0144] In some example embodiments of the present disclosure, target temperature data of each virtual model in the current game scene is determined; a target heat data interval corresponding to the target temperature data is determined in a pre-set heat data interval; and heat data corresponding to the target heat data interval is determined as the target heat data corresponding to the target temperature data.

[0145] Determining the heat data corresponding to the target heat data interval as the target heat data corresponding to the target temperature data can configure the temperature in one interval as one heat data, thereby reducing the amount of calculation and reducing the performance consumption in the rendering process.

[0146] In some example embodiments of the present disclosure, initial temperature data of each virtual model in the current game scene is determined; and the initial temperature data is normalized to obtain target temperature data.

[0147] Normalizing the temperature data of each virtual model facilitates limiting the temperature data within a pre-set heat data interval, so as to facilitate subsequent determination of color values corresponding to the heat data, thereby reducing the influence of abnormal data and improving the reliability of system calculation.

[0148] In some example embodiments of the present disclosure, if the first position of the virtual model is updated to a second position, the rendering texture map is updated based on the second position to obtain an updated first rendering texture map, and / or if the first thermal energy data of the virtual model is updated to second thermal energy data, the rendering texture map is updated based on the second thermal energy data to obtain an updated second rendering texture map.

[0149] According to the update of the virtual model position information, the thermal energy data is updated in real time to obtain the updated second rendering texture map, and the accuracy of the thermal energy effect rendering is improved.

[0150] In some example embodiments of the present disclosure, before determining the first position of the virtual model to be rendered in the current game scene, the current game scene can be switched to a rendering mode to be rendered according to a rendering confirmation operation for the current game scene.

[0151] By responding to the rendering confirmation operation for the current game scene to switch the current game scene to the rendering mode to be rendered, the rendering mode to be rendered can be switched when the player initiates, so as to reduce the rendering performance consumption while improving the human-computer interaction experience of the player.

[0152] In an optional embodiment of the present disclosure, the target virtual model is displayed in the current game scene.

[0153] When the thermal energy effect in the target virtual model is rendered based on the target color value, the target virtual model can be displayed on the graphical user interface, i.e., displayed in different color values, so that the player can view the current thermal energy distribution in real time through different color values, so as to better implement the corresponding game strategy operation, and thus improve the game experience of the player.

[0154] The storage unit 920 can include a readable medium in the form of a volatile storage unit, such as a random access memory (RAM) 9201 and / or a cache memory unit 9202, and can further include a read-only memory (ROM) 9203.

[0155] The storage unit 920 can also include programs / utilities 9204 having a set of (at least one) program modules 9205, such as an operating system, one or more application programs, other program modules, and program data, each of which or a combination of which can include the implementation of a network environment.

[0156] The bus 930 can represent one or more of several types of bus structures, including a storage unit bus or storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of a variety of bus structures.

[0157] The electronic device 900 can also communicate with one or more external devices 1000 such as a keyboard or pointing device, a Bluetooth device, or a device for reading media. Communication with one or more devices for enabling a user to interact with the electronic device 900 can be performed through input / output (I / O) interface 950. Also, the electronic device 900 can communicate with one or more networks, such as a local area network (LAN), a wide area network (WAN), and / or the Internet, through network adapter 960. As depicted, network adapter 960 communicates with the other components of the electronic device 900 through bus 930. It should be appreciated that although not shown, other hardware and / or software modules could be used in connection with the electronic device 900. These include, but are not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.

[0158] From the above description of the embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of a software product. The software product can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash disk, a mobile hard disk, or the like) or a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to perform the methods according to the embodiments of the present disclosure.

[0159] In addition, the above-described diagrams are only schematic illustrations of the processes included in the method according to the example embodiments of the present application, and are not intended to be limiting. It is easy to understand that the processes shown in the above-described diagrams do not indicate or limit the time sequence of the processes. In addition, it is also easy to understand that the processes can be executed synchronously or asynchronously, for example, in a plurality of modules.

[0160] It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, such a division is not mandatory. Indeed, according to the embodiments of the present disclosure, the features and functionalities of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functionalities of one module or unit described above can be further divided into embodied by a plurality of modules or units.

[0161] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the features disclosed herein. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

[0162] It should be understood that the present disclosure is not limited to the precise structures as herein described and illustrated in the drawings, and that various modifications and changes can be made without departing from its scope. The scope of the present disclosure is limited only by the claims that follow.

Claims

1. A thermal energy effect rendering method, characterized by, The method comprises: determining a first position of a virtual model to be rendered in a current game scene; finding a first thermal energy data corresponding to the first position from a pre-constructed rendering texture map, wherein the rendering texture map contains different positions in the current game scene and thermal energy data corresponding to each position, and the rendering texture map is constructed by determining thermal energy data of each virtual model in the current game scene and the position of the corresponding virtual model, wherein determining the thermal energy data of each virtual model in the current game scene comprises: determining target temperature data of each virtual model in the current game scene; determining a target thermal energy interval corresponding to the target temperature data in a pre-set thermal energy interval; determining the thermal energy data corresponding to the target thermal energy interval as the target thermal energy data corresponding to the target temperature data; finding a target color value corresponding to the first thermal energy data from a pre-constructed color lookup table, wherein the color lookup table contains different thermal energy data and color values corresponding to each thermal energy data; rendering a thermal energy effect in a target virtual model based on the target color value to obtain a target virtual model corresponding to the virtual model to be rendered.

2. The thermal energy effects rendering method of claim 1, wherein, The method further comprises: determining initial temperature data of each virtual model in the current game scene; normalizing the initial temperature data to obtain the target temperature data.

3. The thermal energy effects rendering method of claim 1, wherein, After obtaining the target virtual model corresponding to the virtual model to be rendered, the method further comprises: if the first position of the virtual model is updated to a second position, updating the rendering texture map based on the second position to obtain an updated first rendering texture map, and / or; if the first thermal energy data of the virtual model is updated to a second thermal energy data, updating the rendering texture map based on the second thermal energy data to obtain an updated second rendering texture map.

4. The thermal energy effects rendering method of claim 1, wherein, Before determining the first position of the virtual model to be rendered in the current game scene, the method further comprises: in response to a rendering confirmation operation for the current game scene, switching the current game scene to a rendering mode according to the rendering confirmation operation.

5. The thermal energy effects rendering method of claim 1, wherein, After obtaining the target virtual model corresponding to the virtual model to be rendered, the method further comprises: displaying the target virtual model in the current game scene.

6. A thermal energy effects rendering device, characterized in that, The device comprises: a position determination module for determining a first position of a virtual model to be rendered in a current game scene; The data searching module is configured to search for first thermal energy data corresponding to the first position from a pre-constructed rendering texture map. The rendering texture map contains different positions in the current game scene and thermal energy data corresponding to each position, and the rendering texture map is constructed by determined thermal energy data of each virtual model in the current game scene and positions of the corresponding virtual models. The method for determining thermal energy data of each virtual model in the current game scene includes: determining target temperature data of each virtual model in the current game scene; determining a target thermal energy interval corresponding to the target temperature data in a pre-set thermal energy interval; and determining thermal energy data corresponding to the target thermal energy interval as target thermal energy data corresponding to the target temperature data. The color searching module is configured to search for a target color value corresponding to the first thermal energy data from a pre-constructed color lookup table. The color lookup table contains different thermal energy data and color values corresponding to each thermal energy data. The thermal energy rendering module is configured to render thermal energy effects in a target virtual model based on the target color value, to obtain a target virtual model corresponding to the virtual model to be rendered.

7. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by a processor to implement the thermal energy effect rendering method of any one of claims 1 to 5.

8. An electronic device, comprising: The computer program is executed by a processor to implement the thermal energy effect rendering method of any one of claims 1 to 5. The computer program is executed by a processor to implement the thermal energy effect rendering method of any one of claims 1 to 5. The computer program is executed by a processor to implement the thermal energy effect rendering method of any one of claims 1 to 5. The computer program is executed by a processor to implement the thermal energy effect rendering method of any one of claims 1 to 5. The computer program is executed by a processor to implement the thermal energy effect rendering method of any one of claims 1 to 5.

Citation Information

Patent Citations

  • Picture rendering method and device, computer equipment and medium

    CN111597003A

  • Game scene rendering method and device and electronic equipment

    CN113192168A