Methods and devices for treating target objects
A technology of target objects and processing methods, which is applied in the computer field and can solve problems such as time-consuming processing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] According to an embodiment of the present invention, an embodiment of a method for processing a target object is provided.
[0027] Optionally, in this embodiment, the above target object processing method can be applied to such as figure 1 In the hardware environment constituted by the server 102 and the terminal 104 as shown. figure 1 It is a schematic diagram of a hardware environment of a method for processing a target object according to an embodiment of the present invention. Such as figure 1 As shown, the server 102 is connected to the terminal 104 through a network. The above-mentioned network includes but not limited to: a wide area network, a metropolitan area network or a local area network. The terminal 104 is not limited to a PC, a mobile phone, a tablet computer, and the like. The method for processing a target object in this embodiment of the present invention may be executed by the server 102 , may also be executed by the terminal 104 , and may also be...
Embodiment 2
[0100] The technical solution of the present invention will be described below in conjunction with preferred embodiments, specifically taking the first target object as a game object actor and the second target object as a mask area for illustration.
[0101] In the game scene, the contextual relationship between game characters and objects has different processing methods in 2D and 3D games. 3D games can use depth to solve this problem, while 2D games have no concept of depth, so they can only be marked in advance. Some areas, and it is stipulated that when the game character is in these areas, some special treatment such as semi-transparent effect should be done to it to show that the character is behind the object.
[0102] Figure 7 is a flowchart of a method for processing a target object according to an embodiment of the present invention. Such as Figure 7 As shown, the method includes the following steps:
[0103] Step S701, expressing all pixels in the game scene i...
Embodiment 3
[0126] The application environment of the embodiment of the present invention may refer to, but is not limited to, the application environment in the foregoing embodiments, which will not be described in detail in this embodiment. The embodiment of the present invention provides an optional specific application for implementing the above target object processing method.
[0127] In this embodiment, it is assumed that the game scene consists of 3*3 9 pixel bits. A matrix is used to represent all the pixel bits in the game scene, "0" can be used to represent the pixels in the non-mask area in the game scene, and "1" can be used to represent the pixel bits in the mask area in the game scene. Table 1 is an identification table for identifying pixel bits in a scene instance.
[0128] Table 1 Identification table for identifying pixel bits in scene instances
[0129] 0
1
0
0
0
0
1
0
0
[0130] In Table 1, there are only two mask areas ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


