Virtual object information processing method and device, electronic equipment and storage medium

By setting a probe group around the virtual object and calculating the lighting information that the point light source acts on the probe group, the problem of real-time calculation of the lighting effect of virtual objects in the prior art is solved, and the effect of pre-calculating the lighting effect during game construction is achieved and memory consumption is reduced.

CN119792938APending Publication Date: 2025-04-11SHANGHAI LINGXI INTERACTIVE ENTERTAINMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411738334.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The lighting effects of virtual objects in virtual scenes in existing games need to be calculated in real time during the game operation, resulting in high memory consumption.

Method used

By setting a probe group around the virtual object, using the configuration information of the point light source and the position information of the probe group, the lighting information of the point light source acting on the probe group, and the lighting information of the virtual object is determined based on the relative position of the probe group and the virtual object.

Benefits of technology

Pre-calculate the lighting effects of virtual objects during game construction, reducing the need for real-time calculations during game operation and reducing memory consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119792938A_ABST
    Figure CN119792938A_ABST
Patent Text Reader

Abstract

The invention relates to an information processing method and device for a virtual object, electronic equipment and a storage medium, and the method comprises the steps: determining first configuration information of a point light source in a virtual scene and second configuration information of the virtual object in response to an illumination configuration instruction of a user for the virtual scene; setting a probe group surrounding the virtual object in the virtual scene according to the second configuration information; determining first illumination information of the point light source acting on the probe group according to the first configuration information and first position information of the probe group in the virtual scene; and determining second illumination information of the virtual object according to the first illumination information and the relative position of the probe group and the virtual object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of data processing, and more specifically, to a method, device, electronic device and storage medium for processing information of a virtual object. Background Art

[0002] With the increasing popularity of the gaming industry, game developers not only need to build virtual scenes for games, but also need to perform lighting rendering for virtual objects in the virtual scenes. Currently, in existing games, the lighting effects of virtual objects in virtual scenes are calculated in real time during the game running, which results in high memory consumption during the game running. Summary of the invention

[0003] One purpose of the embodiments of the present disclosure is to provide a new technical solution for information processing of virtual objects.

[0004] According to a first aspect of the present disclosure, a method for processing information of a virtual object is provided, the method comprising:

[0005] In response to a user's lighting configuration instruction for a virtual scene, determining first configuration information of a point light source in the virtual scene and second configuration information of a virtual object;

[0006] According to the second configuration information, a probe group surrounding the virtual object is set in the virtual scene;

[0007] Determine first illumination information of the point light source acting on the probe group according to the first configuration information and first position information of the probe group in the virtual scene;

[0008] Second illumination information of the virtual object is determined according to the first illumination information and the relative position of the probe group and the virtual object.

[0009] In a possible implementation, the second configuration information includes a target area of ​​the virtual object in the virtual scene; and setting a probe group surrounding the virtual object in the virtual scene according to the second configuration information includes:

[0010] Determining a probe setting mode corresponding to the virtual object according to the object type set for the virtual object; wherein different object types correspond to different probe setting modes;

[0011] According to the probe setting mode, probes are set on the target area to achieve that a probe group composed of the set probes can surround the virtual object.

[0012] In a possible implementation, the probe setting mode includes an automatic distribution mode and an equal capacity distribution mode;

[0013] The automatic distribution mode is to set probes according to the ups and downs and the direction of the virtual object contour; the equal capacity distribution mode is to set an equal number of probes in each capacity unit in the target area.

[0014] In a possible implementation, the method further includes:

[0015] Based on the first daylight information about the scene skylight set in the virtual scene, performing global illumination baking processing on the probe group of the virtual object to obtain global illumination baking information configured on the probe group;

[0016] The determining, according to the first configuration information and the first position information of the probe group in the virtual scene, first illumination information of the point light source acting on the probe group includes:

[0017] According to the global illumination baking information, the first configuration information and the first position information of the probe group in the virtual scene, first illumination information of the probe group under the action of the scene skylight and the point light source is determined.

[0018] In a possible implementation, the method further includes:

[0019] Determine the time node corresponding to the point light source;

[0020] Among the multiple pieces of skylight information about scene skylight set in the virtual scene, the first piece of skylight information matching the time node is determined.

[0021] In a possible implementation, the method further includes:

[0022] Determine a first probe and a second probe in the probe group; wherein a straight-line distance between the first probe and the second probe exceeds a first set distance;

[0023] According to the straight-line distance between the first probe and the second probe, a set number of third probes are arranged between the first probe and the second probe;

[0024] The third probe is updated into the probe group of the virtual object.

[0025] In a possible implementation, the method further includes:

[0026] Determine a fourth probe and a fifth probe in the probe group; wherein a straight-line distance between the fourth probe and the fifth probe is less than a second set distance;

[0027] combining the fourth probe and the fifth probe into a sixth probe;

[0028] The sixth probe is updated into the probe group of the virtual object.

[0029] According to a second aspect of the present disclosure, there is also provided an information processing device for a virtual scene, comprising:

[0030] A response module, configured to determine first configuration information of a point light source and second configuration information of a virtual object in the virtual scene in response to a user's lighting configuration instruction for the virtual scene;

[0031] A setting module, configured to set a probe group surrounding the virtual object in the virtual scene according to the second configuration information;

[0032] A first determining module, configured to determine first illumination information of the point light source acting on the probe group according to the first configuration information and first position information of the probe group in the virtual scene;

[0033] The second determining module is used to determine second illumination information of the virtual object according to the first illumination information and the relative position between the probe group and the virtual object.

[0034] According to a third aspect of the present disclosure, a computer system is also provided, the computer system includes a processor, when the processor executes a program instruction or code, the computer system implements the information processing method of the virtual object in the first aspect. Exemplarily, the computer system also includes a memory, the memory is used to store the program instruction or code.

[0035] According to a fourth aspect of the present disclosure, a computer-readable storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned virtual object information processing method when running.

[0036] According to a fifth aspect of the present disclosure, there is also provided a computer program product, comprising a game program, wherein when the game program is executed, the computer executes the steps of the above-mentioned virtual object information processing method.

[0037] According to a sixth aspect of the present disclosure, there is also provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the information processing method of the virtual object through the computer program.

[0038] One beneficial effect of the embodiments of the present disclosure is that the information processing method of virtual objects provided by the embodiments of the present disclosure can, when constructing a virtual scene, utilize a probe group set around the virtual object to determine the first lighting information of the point light source acting on the probe group, and then determine the second lighting information of the point light source acting on the virtual object, so as to determine the lighting effect of the virtual object before the game is run, reducing the overhead of calculating the lighting effect of the virtual object in real time during the game.

[0039] Features and advantages of the embodiments of the present specification will become apparent from the following detailed description of exemplary embodiments of the present specification with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the specification and, together with the description, serve to explain the principles of the embodiments of the specification.

[0041] Figure 1 A schematic diagram of the hardware structure of an electronic device that can be used to implement the virtual object information processing method according to an embodiment of the present disclosure is shown;

[0042] Figure 2 A schematic diagram showing a flow chart of a method for processing information of a virtual object according to some embodiments;

[0043] Figure 3 A schematic diagram showing the structure of a virtual object information processing device according to some embodiments;

[0044] Figure 4 A schematic diagram of the hardware structure of an electronic device according to some embodiments is shown. DETAILED DESCRIPTION

[0045] Various exemplary embodiments of the present specification will now be described in detail with reference to the accompanying drawings.

[0046] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the embodiments of the present specification and its application or uses.

[0047] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0048] It should be noted that all actions of acquiring signals, information or data in the embodiments of the present disclosure are performed in compliance with the corresponding data protection laws and policies of the country where the device is located, and with the authorization given by the owner of the corresponding device.

[0049] The disclosed embodiments provide a new information processing solution for virtual objects. When a game developer constructs a virtual scene, a probe group surrounding the virtual object is used to determine the lighting information of a point light source acting on each probe in the probe group. The lighting information of the point light source acting on the virtual object can then be determined, so as to pre-build the lighting information of the virtual object before the game is run, thereby effectively reducing the overhead during the game operation.

[0050] Figure 1 A schematic diagram of the hardware structure of an electronic device that can be used to implement the virtual object information processing method according to an embodiment of the present disclosure is shown.

[0051] The electronic device 1000 is a device capable of running a game, and the game may be a local application installed on the electronic device, or a web game, a light application, or a small program, etc., which is not limited here. The electronic device 1000 may be a mobile phone, a tablet computer, a PC, etc., which is not limited here.

[0052] like Figure 1 As shown, the electronic device 1000 may include a processor 1101, a memory 1102, an interface device 1103, a communication device 1104, an output device 1105, an input device 1106, and the like. Figure 1 The hardware configuration shown is merely illustrative and is in no way intended to limit the present disclosure, its application, or uses.

[0053] The processor 1101 is used to execute a computer program, which can be written in an instruction set of an architecture such as x86, Arm, RISC, MIPS, SSE, etc. The memory 1102 includes, for example, ROM (read-only memory), RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 1103 includes, for example, a USB interface, a network cable interface, a headphone interface, etc. The communication device 1104 is capable of wired or wireless communication, for example, and the communication device 1104 may include at least one short-range communication module, for example, any module for short-range wireless communication based on short-range wireless communication protocols such as Hilink protocol, WiFi (IEEE 802.11 protocol), Mesh, Bluetooth, ZigBee, Thread, Z-Wave, NFC, UWB, LiFi, etc. The communication device 1104 may also include a remote communication module, for example, any module for WLAN, GPRS, 2G / 3G / 4G / 5G remote communication. The output device 1105 may include, for example, a liquid crystal display or a touch display, a speaker, etc. The input device 1106 may include, for example, a touch screen, a keyboard, a microphone, various sensors, etc.

[0054] In this embodiment, the memory 1102 of the electronic device 1000 is used to store a computer program, and the computer program is used to control the processor 1101 to operate so as to execute the virtual object information processing method according to any embodiment of the present disclosure.

[0055] Next, Figure 1 Taking the electronic device 1000 as an example of an implementation subject, various embodiments of the virtual object information processing method are described.

[0056] <First Embodiment>

[0057] Figure 2 A method for processing virtual object information according to some embodiments is shown, and the method for processing virtual object information may include the following steps S210 to S240:

[0058] Step S210 , in response to a user's lighting configuration instruction for a virtual scene, determining first configuration information of a point light source in the virtual scene and second configuration information of a virtual object.

[0059] In this embodiment, the user can set a point light source in a virtual scene and set a virtual object in the virtual scene. When the point light source is set, it can be considered that the user has completed the lighting configuration instruction for the point light source in the virtual scene, and the first configuration information of the point light source can be determined. Among them, the first configuration information of the point light source can include the position of the point light source in the virtual scene and the parameters of the point light source in the virtual scene. Among them, the parameters of the point light source such as the light source size, light source brightness and light source color can be configured by the user, and the point light source with configured parameters can be indicated by the user to a certain position in the virtual scene.

[0060] In this embodiment, when the virtual object is set, it can be considered that the user has completed the lighting configuration instruction for the virtual object in the virtual scene, and the second configuration information of the virtual object can be determined. Among them, the second configuration information of the virtual object can include the position of the virtual object in the virtual scene and the parameters of the virtual object in the virtual scene. Among them, the parameters such as the model style, model size and model color of the virtual object can be configured by the user, and the virtual object with the configured parameters can be indicated by the user to a certain position in the virtual scene. The virtual object here generally refers to a virtual character, a virtual mountain, a virtual building or a virtual surface in a virtual scene.

[0061] Step S220: Setting a probe group surrounding the virtual object in the virtual scene according to the second configuration information.

[0062] In this embodiment, the probe group may be a plurality of reflection probes with position attributes, that is, the plurality of probes in the probe group correspond to different positions in the virtual scene. Furthermore, the polyhedron formed by the plurality of probes in the probe group may surround the virtual object. For example, a tetrahedron formed by the probes in the probe group may surround the virtual object.

[0063] Step S230 , determining first illumination information of the probe group acted by the point light source in the probe group on the probe group according to the first configuration information and the first position information of the probe group in the virtual scene.

[0064] In this embodiment, the first position information of the probe group in the virtual scene can be the coordinate positions of the multiple probes in the probe group in the virtual scene. Based on the coordinate positions of the multiple probes of the probe group and the coordinate positions of the point light source in the virtual scene, the distance and direction of the multiple probes relative to the point light source can be determined. Based on the distance, direction and parameters of the point light source relative to the multiple probes of the probe group, the first illumination information of the point light source acting on the multiple probes of the probe group can be determined.

[0065] Step S240 : determining second illumination information of the virtual object according to the first illumination information and the relative positions of the probes in the probe group and the virtual object.

[0066] In some examples, a point P1 of the virtual object has coordinates (2, 0), a probe L1 has coordinates (1, 0) and the corresponding third illumination information value is 10, a probe L2 has coordinates (3, 0) and the corresponding third illumination information value is 20, then the value of the second illumination information of a point P1 of the active object is 15. The value here only indicates that the second illumination information is obtained by interpolation of the first illumination information, and does not represent actual illumination information, such as irradiance.

[0067] The information processing method for virtual objects according to the first embodiment of the present invention solves the problem in the prior art that the lighting effects of virtual objects in virtual scenes are calculated in real time during the running of the game, which results in high memory consumption during the running of the game. Based on this method, when constructing a virtual scene, a probe group set around the virtual object is used to determine the first lighting information of the point light source acting on the probe group, and then the second lighting information of the point light source acting on the virtual object can be determined, so as to determine the lighting effect of the virtual object before the game is run, thereby reducing the overhead of calculating the lighting effect of the virtual object in real time during the game.

[0068] <Second Embodiment>

[0069] In this embodiment, in order to reduce the number of probes in a probe group surrounding a virtual object while obtaining relatively accurate second illumination information of the virtual object, different probe setting modes may be set for virtual objects of different object types.

[0070] In these embodiments, relative to the first embodiment, step S220 may include the following steps S310 and S320:

[0071] Step S310, determining a probe setting mode corresponding to the virtual object according to the object type set for the virtual object; wherein different object types correspond to different probe setting modes.

[0072] In some examples, object types may include surface class, building class, vehicle class, and character class, and the surface class, building class, vehicle class, and character class may correspond to different probe setting modes respectively, or some of them may correspond to the same probe setting mode.

[0073] Step S320 , according to the probe setting mode, probes are set on the target area, so that a probe group composed of the set probes can surround the virtual object.

[0074] In this embodiment, in any probe setting mode, the corresponding virtual object is adapted to set the probe around the virtual object, so that when the global illumination baked on the probe acts on the virtual object, the lighting effect rendered on the virtual object can be more realistic.

[0075] In some embodiments, in order to reduce the occurrence of abnormally bright lighting effects for some relatively irregular virtual objects, the probe setting mode includes an automatic distribution mode and an equal capacity distribution mode; wherein the automatic distribution mode sets probes according to the ups and downs and direction of the virtual object contour; the equal capacity distribution mode sets an equal number of probes in each capacity unit in the target area.

[0076] In this embodiment, the equal capacity distribution mode can correspond to the building class, the scene decoration class, and the character class, etc., and the automatic distribution mode can correspond to the surface class, the mountain class, and the road class. For the virtual object entering the automatic distribution mode, the inflection points of the virtual object outline are determined, and when the distance between two adjacent inflection points is short, a smaller number of probes are set. When the distance between two adjacent inflection points is long, a larger number of probes are set, that is, the probes are set according to the ups and downs and direction of the virtual object outline. For example, taking the virtual object as a mountain as an example, the distance between the vertex of the mountain and the first bottom of the mountain is 5m, and 5 probes are set, and the distance between the vertex of the mountain and the second bottom of the mountain is 10m, and 20 probes are set. For the virtual object entering the equal capacity distribution mode, the target area of ​​the virtual object is split into multiple capacity units, and an equal number of probes are set in the multiple capacity units. For example, the target area of ​​the virtual object is 3×3×3, the capacity unit is 1×1×1, and an equal number of probes are set in each capacity unit, which is 1 probe.

[0077] <Third Embodiment>

[0078] In this embodiment, in order to achieve the lighting effect of constructing a virtual scene, skylight can be integrated into the virtual scene.

[0079] In these embodiments, relative to the first embodiment, before step S230, the method further includes the following step S410:

[0080] Step S410 , based on the first daylight information about the scene skylight set in the virtual scene, global illumination baking processing is performed on the probe group of the virtual object to obtain global illumination baking information configured on the probe group.

[0081] In this embodiment, the first daylight information in the virtual scene can be baked into the probe group of the virtual object, and through the GPU Baker technology, a probe group with baked global illumination is obtained, that is, the global illumination baking information is configured on the probe group.

[0082] Based on this, step S230 may include the following step S2301:

[0083] Step S2301, determining first illumination information of the probe group under the action of scene skylight and point light source according to global illumination baking information, first configuration information and first position information of the probe group in the virtual scene.

[0084] In this embodiment, after the global illumination baking information is configured on the probe group, the relative position of the point light source and the probes in the probe group is obtained according to the first configuration information and the first position information of the point light source and the probe group in the virtual scene. According to the relative position of the point light source and the probes in the probe group and the parameters of the point light source, the point light source is baked onto the probes in the probe group, so that the probes in the probe group can reflect the lighting effects of the scene skylight and the point light source.

[0085] <Fourth Embodiment>

[0086] In this embodiment, in order to achieve different lighting effects when the virtual scene changes from day to night, a point light source is set at a time node, and different lighting effects can be achieved for the same virtual scene by cooperating with the point light source and skylight.

[0087] In these embodiments, relative to the third embodiment, before step S410, the method further includes the following step S610:

[0088] Step S610, determining the time node corresponding to the point light source.

[0089] Based on this, step S410 may include the following step S4101:

[0090] Step S4101: Determine the first daylight information matching the time node among the multiple daylight information about the scene skylight set in the virtual scene.

[0091] In some examples, the virtual scene corresponds to the time nodes of "day" and "night", and the point light source A1 can correspond to the time node of "night" in the virtual scene, and the point light source A1 can be set near the virtual object "city" in the virtual scene. That is to say, when the virtual scene is at the time node of "night", the overall skylight of the virtual scene is "night", and the point light source A1 can act on the virtual object "city", so that the "city" renders the lighting effect corresponding to the point light source A1.

[0092] <Fifth Embodiment>

[0093] In this embodiment, in order to further improve the realism of the lighting effect of the virtual scene, new probes are set in areas where fewer probes are set in the virtual scene.

[0094] In these embodiments, relative to the first embodiment, after step S220, the method further includes the following steps S510 and S530:

[0095] Step S510, determining a first probe and a second probe in a probe group; wherein a straight-line distance between the first probe and the second probe exceeds a first set distance.

[0096] In this embodiment, the first probe and the second probe are two different probes in the virtual scene, the first probe and the second probe may be probes located in the same tetrahedron or probes located in different tetrahedrons, and the straight-line distance between the first probe and the second probe exceeds the first set distance. The straight-line distance here refers to the length of the line connecting the first probe and the second probe when there is no other probe between the line.

[0097] Step S520: Disposing a set number of fourth probes between the second probe and the third probe according to the linear distance between the first probe and the second probe.

[0098] In this embodiment, the first set distance may be a pre-set distance, and when the straight-line distance between the first probe and the second probe exceeds the first set distance, a fourth probe may be arranged on the line connecting the first probe and the second probe according to a set ratio based on the straight-line distance between the first probe and the second probe. The set ratio here may also be a pre-set ratio. For example, if the direct distance is 10 meters and the set ratio is 1 fourth probe for every 2 meters, then 5 fourth probes are arranged between the first probe and the second probe.

[0099] Step S530: Update the fourth probe to the probe group of the virtual object.

[0100] In this embodiment, after the fourth probe is set up, the position of the fourth probe in the virtual scene and the position of the point light source in the virtual scene are known, and the lighting information of the scene skylight and the point light source acting on the fourth probe can be determined. This enables a more realistic lighting effect for the virtual scene to be obtained by updating the probe group of the fourth probe.

[0101] <Sixth Embodiment>

[0102] In this embodiment, in order to reduce the memory consumption during the game running process while ensuring that the virtual scene has a better lighting effect, any two probes with a close position distance can be merged.

[0103] In these embodiments, relative to the first embodiment, after step S220, the method further includes the following steps S710 to S730:

[0104] Step S710, determining a fourth probe and a fifth probe in the probe group; wherein a straight-line distance between the fourth probe and the fifth probe is less than a second set distance.

[0105] In this embodiment, the fourth probe and the fifth probe are two different probes in the virtual scene. The fourth probe and the fifth probe may be probes located in the same tetrahedron or probes located in different tetrahedrons, and the distance between the fourth probe and the fifth probe exceeds the second set distance.

[0106] Step S720: merge the fourth probe and the fifth probe into a sixth probe.

[0107] In this embodiment, the second set distance can be a pre-set distance, and when the distance between the fourth probe and the fifth probe is less than the second set distance, one of the probes can be retained, or the center point of the fourth probe and the fifth probe can be determined, the fourth probe and the fifth probe can be deleted, and a new sixth probe can be set at the center point.

[0108] Step S730: Update the sixth probe to the probe group of the virtual object.

[0109] In this embodiment, after the sixth probe is set up, the position of the sixth probe in the virtual scene and the position of the point light source in the virtual scene are known, and the lighting information of the scene skylight and the point light source acting on the sixth probe can be determined. This makes it possible to reduce the memory consumption of the game running process while ensuring that the virtual scene has a better lighting effect by updating the probe group of the fourth probe.

[0110] <Device Example>

[0111] Figure 3 FIG. 2 shows a schematic diagram of the structure of a virtual object information processing device according to an embodiment of the present disclosure. Figure 3 As shown, the virtual object information processing device 300 includes a response module 310, a setting module 320, a first determination module 330 and a second determination module 340.

[0112] The response module 310 is used to determine first configuration information of a point light source in the virtual scene and second configuration information of a virtual object in response to a user's lighting configuration instruction for the virtual scene;

[0113] The setting module 320 is used to set a probe group surrounding the virtual object in the virtual scene according to the second configuration information;

[0114] The first determination module 330 is used to determine first illumination information of the point light source acting on the probe group according to the first configuration information and the first position information of the probe group in the virtual scene;

[0115] The second determining module 340 is used to determine second illumination information of the virtual object according to the first illumination information and the relative position between the probe group and the virtual object.

[0116] In some embodiments, the setting module 320 is also used to determine the probe setting mode corresponding to the virtual object according to the object type set for the virtual object; wherein different object types correspond to different probe setting modes; according to the probe setting mode, probes are set on the target area to enable the probe group composed of the set probes to surround the virtual object.

[0117] In some embodiments, the information processing device 300 of the virtual object also includes a configuration module, which is used to perform global illumination baking processing on the probe group of the virtual object based on the first daylight information about the scene skylight set for the virtual scene, and obtain global illumination baking information configured on the probe group.

[0118] The first determination module 330 is further used to determine first illumination information of the probe group under the action of scene skylight and point light source according to the global illumination baking information, the first configuration information and the first position information of the probe group in the virtual scene.

[0119] In some embodiments, the information processing device 300 of the virtual object also includes a node determination module, which is used to determine the time node corresponding to the point light source; among the multiple skylight information about the scene skylight set in the virtual scene, determine the first skylight information that matches the time node.

[0120] In some embodiments, the information processing device 300 of the virtual object further includes a supplementing module, the supplementing module being used to determine a first probe and a second probe in the probe group; wherein a straight-line distance between the first probe and the second probe exceeds a first set distance; according to the straight-line distance between the first probe and the second probe, a set number of third probes are set between the first probe and the second probe; and the third probe is updated to the probe group of the virtual object.

[0121] In some embodiments, the information processing device 300 of the virtual object also includes a merging module, which is used to determine the fourth probe and the fifth probe in the probe group; wherein the straight-line distance between the fourth probe and the fifth probe is less than the second set distance; merge the fourth probe and the fifth probe into a sixth probe; and update the sixth probe to the probe group of the virtual object.

[0122] <Equipment Embodiment>

[0123] Figure 4 FIG. 1 shows a schematic diagram of the hardware structure of an electronic device according to some other embodiments. Figure 4 As shown, the electronic device 400 includes a processor 410 and a memory 420, wherein the memory 420 is used to store a computer program, and the computer program is used to control the processor 410 to operate so as to control the electronic device 400 to execute the virtual object information processing method according to any embodiment of the present disclosure.

[0124] An embodiment of the present disclosure further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the computer program implements the information processing method of the virtual object according to any embodiment of the present disclosure.

[0125] The disclosed embodiment also provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the information processing method of a virtual object according to any disclosed embodiment is implemented. The computer program product is, for example, a game client.

[0126] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and equipment embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0127] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0128] The embodiments of the present specification may be devices, methods and / or computer program products. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the embodiments of the present specification.

[0129] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0130] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0131] The computer program instructions for executing the operation of the embodiments of this specification may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, executed as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) may be personalized by utilizing the state information of a computer-readable program instruction, and the electronic circuit may execute a computer-readable program instruction, thereby realizing various aspects of the embodiments of this specification.

[0132] Various aspects of the embodiments of the present specification are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (equipment) and computer program products according to the embodiments of the present specification. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0133] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0134] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0135] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of this specification. In this regard, each box in the flowchart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0136] The embodiments of the present specification have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations are obvious to those of ordinary skill in the art without departing from the scope of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for processing information of a virtual object, the method comprising: In response to a user's lighting configuration instruction for a virtual scene, determining first configuration information of a point light source in the virtual scene and second configuration information of a virtual object; According to the second configuration information, a probe group surrounding the virtual object is set in the virtual scene; Determine first illumination information of the point light source acting on the probe group according to the first configuration information and first position information of the probe group in the virtual scene; Second illumination information of the virtual object is determined according to the first illumination information and the relative position of the probe group and the virtual object.

2. The method according to claim 1, wherein: The second configuration information includes a target area of ​​the virtual object in the virtual scene; and setting a probe group surrounding the virtual object in the virtual scene according to the second configuration information includes: Determining a probe setting mode corresponding to the virtual object according to the object type set for the virtual object; wherein different object types correspond to different probe setting modes; According to the probe setting mode, probes are set on the target area to achieve that a probe group composed of the set probes can surround the virtual object.

3. The method according to claim 2, wherein: The probe setting modes include an automatic distribution mode and an equal capacity distribution mode; The automatic distribution mode is to set probes according to the ups and downs and the direction of the virtual object contour; the equal capacity distribution mode is to set an equal number of probes in each capacity unit in the target area.

4. The method according to claim 1, wherein: The method further comprises: Based on the first daylight information about the scene skylight set in the virtual scene, performing global illumination baking processing on the probe group of the virtual object to obtain global illumination baking information configured on the probe group; The determining, according to the first configuration information and the first position information of the probe group in the virtual scene, first illumination information of the point light source acting on the probe group includes: According to the global illumination baking information, the first configuration information and the first position information of the probe group in the virtual scene, first illumination information of the probe group under the action of the scene skylight and the point light source is determined.

5. The method according to claim 4, wherein: The method further comprises: Determine the time node corresponding to the point light source; Among the multiple pieces of skylight information about scene skylight set in the virtual scene, the first piece of skylight information matching the time node is determined.

6. The method according to claim 1, wherein: The method further comprises: Determine a first probe and a second probe in the probe group; wherein a straight-line distance between the first probe and the second probe exceeds a first set distance; According to the straight-line distance between the first probe and the second probe, a set number of third probes are arranged between the first probe and the second probe; The third probe is updated into the probe group of the virtual object.

7. The method according to claim 1, wherein: The method further comprises: Determine a fourth probe and a fifth probe in the probe group; wherein a straight-line distance between the fourth probe and the fifth probe is less than a second set distance; combining the fourth probe and the fifth probe into a sixth probe; The sixth probe is updated into the probe group of the virtual object.

8. A virtual object information processing device, wherein: include: A response module, configured to determine first configuration information of a point light source and second configuration information of a virtual object in the virtual scene in response to a user's lighting configuration instruction for the virtual scene; A setting module, configured to set a probe group surrounding the virtual object in the virtual scene according to the second configuration information; A first determining module, configured to determine first illumination information of the point light source acting on the probe group according to the first configuration information and first position information of the probe group in the virtual scene; The second determining module is used to determine second illumination information of the virtual object according to the first illumination information and the relative position between the probe group and the virtual object.

9. An electronic device, wherein: The method comprises a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to execute the method steps according to any one of claims 1 to 7 under the control of the computer program.

10. A computer-readable storage medium, the computer-readable storage medium comprising a stored computer program, wherein: When the computer program is executed, the method steps of any one of claims 1 to 7 are performed.