WO2022156504A1 - 标记处理方法、装置、计算机设备、存储介质及程序产品 - Google Patents
标记处理方法、装置、计算机设备、存储介质及程序产品 Download PDFInfo
- Publication number
- WO2022156504A1 WO2022156504A1 PCT/CN2021/142880 CN2021142880W WO2022156504A1 WO 2022156504 A1 WO2022156504 A1 WO 2022156504A1 CN 2021142880 W CN2021142880 W CN 2021142880W WO 2022156504 A1 WO2022156504 A1 WO 2022156504A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- transparency
- mark
- target
- display
- environment
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 22
- 238000000034 method Methods 0.000 claims abstract description 44
- 230000008859 change Effects 0.000 claims abstract description 17
- 230000004044 response Effects 0.000 claims abstract description 9
- 239000013598 vector Substances 0.000 claims description 58
- 238000012545 processing Methods 0.000 claims description 19
- 239000003550 marker Substances 0.000 claims description 16
- 230000000007 visual effect Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 9
- 230000002596 correlated effect Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 14
- 230000000875 corresponding effect Effects 0.000 description 13
- 230000006870 function Effects 0.000 description 8
- 230000002093 peripheral effect Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000007613 environmental effect Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 229910003460 diamond Inorganic materials 0.000 description 1
- 239000010432 diamond Substances 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000002372 labelling Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005293 physical law Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000004083 survival effect Effects 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/53—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
- A63F13/537—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
- A63F13/5372—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen for tagging characters, objects or locations in the game scene, e.g. displaying a circle under the character controlled by the player
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/53—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
- A63F13/537—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/20—Input arrangements for video game devices
- A63F13/22—Setup operations, e.g. calibration, key configuration or button assignment
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
- A63F13/525—Changing parameters of virtual cameras
- A63F13/5255—Changing parameters of virtual cameras according to dedicated instructions from a player, e.g. using a secondary joystick to rotate the camera around a player's character
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/53—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/80—Special adaptations for executing a specific game genre or game mode
- A63F13/837—Shooting of targets
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/30—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
- A63F2300/303—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device for displaying additional data, e.g. simulating a Head Up Display
- A63F2300/306—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device for displaying additional data, e.g. simulating a Head Up Display for displaying a marker associated to an object or location in the game field
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/60—Methods for processing data by generating or executing the game program
- A63F2300/66—Methods for processing data by generating or executing the game program for rendering three dimensional images
- A63F2300/6653—Methods for processing data by generating or executing the game program for rendering three dimensional images for altering the visibility of an object, e.g. preventing the occlusion of an object, partially hiding an object
Definitions
- the embodiments of the present application relate to the field of computer technology, and in particular, to a method, an apparatus, a computer device, a storage medium, and a program product for processing a mark.
- a mark processing method executed by a computer device, the method comprising:
- an aiming prompt mark is displayed, and the aiming prompt mark is used to indicate the target aiming position aimed at by the target virtual object in the virtual environment;
- the transparency of the position cue mark is adjusted.
- a marking processing device comprising:
- the screen display module is used to display the display screen of the virtual environment
- a mark display module configured to display an aiming prompt mark on the display screen of the virtual environment, where the aiming prompt mark is used to indicate the target aiming position aimed at by the target virtual object in the virtual environment;
- the mark display module is further configured to display a position prompt mark on the display screen of the virtual environment according to the first transparency, and the position prompt mark is used to indicate the target environment position in the virtual environment;
- a transparency adjustment module configured to adjust the transparency of the position prompt mark in response to a change in the relative position of the aiming prompt mark and the position prompt mark.
- a computer device comprising a memory and one or more processors, the memory storing computer-readable instructions that, when executed by the one or more processors, cause the One or more processors implement the tag processing method described above.
- One or more non-volatile computer-readable storage media storing computer-readable instructions that, when executed by one or more processors, cause the one or more Each processor implements the above tag processing method.
- a computer program product or computer program where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
- the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned tag processing method.
- FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application.
- FIG. 2 is a flowchart of a tag processing method provided by an embodiment of the present application.
- FIG. 3 is a schematic diagram of a field of view provided by an embodiment of the present application.
- FIG. 4 is a schematic display diagram of a position prompting mark provided by an embodiment of the present application.
- FIG. 5 is a schematic display diagram of a position prompting mark provided by another embodiment of the present application.
- FIG. 6 is a schematic display diagram of a position prompting mark provided by another embodiment of the present application.
- FIG. 7 is a schematic diagram of a position prompting mark provided by an embodiment of the present application.
- FIG. 8 is a schematic display diagram of a position prompting mark provided by another embodiment of the present application.
- FIG. 10 is a flowchart of a method for labeling processing provided by another embodiment of the present application.
- FIG. 11 is a flowchart of a tag processing method provided by another embodiment of the present application.
- FIG. 12 is a flowchart of a tag processing method provided by another embodiment of the present application.
- FIG. 13 is a flowchart of a tag processing method provided by another embodiment of the present application.
- FIG. 14 is a schematic structural diagram of a marking processing apparatus provided by an embodiment of the present application.
- 15 is a schematic structural diagram of a marking processing apparatus provided by another embodiment of the present application.
- FIG. 16 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
- FIG. 1 shows a schematic diagram of an implementation environment provided by an embodiment of the present application, where the implementation environment can be implemented as a markup processing system.
- the system 10 may include a terminal 11 .
- the terminal 11 has a target application installed and running, such as a client of the target application, and a user account is logged into the client.
- a terminal is an electronic device with data computing, processing and storage capabilities.
- the terminal may be a smart phone, a tablet computer, a PC (Personal Computer, personal computer), a wearable device, etc., which is not limited in this embodiment of the present application.
- the terminal is a mobile terminal device with a touch display screen, and the user can realize human-computer interaction through the touch display screen.
- the target application can be a game application, such as survival game application, LBS (Location Based Service) game application, MOBA (Multiplayer Online Battle Arena, multiplayer online tactical competition) game application, etc.
- the target application may also be a social application, a payment application, a video application, a music application, a shopping application, a news application, or any other application that has a tag processing function.
- the execution subject of each step may be a terminal 11 , such as a client running in the terminal 11 .
- a virtual environment is a scene displayed (or provided) by the client of a target application (such as a game application) when running on a terminal.
- the virtual environment refers to a scene created for virtual objects to perform activities (such as game competition), Such as virtual houses, virtual islands, virtual maps, etc.
- the virtual environment can be a simulated environment of the real world, a semi-simulated and semi-fictional environment, or a purely fictional environment.
- the virtual environment may be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment, which is not limited in this embodiment of the present application.
- a virtual object is a virtual character that a user account controls in a target application.
- the virtual object refers to the game character controlled by the user account in the game application.
- the virtual object may be in the form of a character, and may be in the form of an animal, a cartoon, or other forms, which is not limited in this embodiment of the present application.
- the virtual object may be displayed in a three-dimensional form, or may be displayed in a two-dimensional form, which is not limited in this embodiment of the present application.
- the virtual environment is a three-dimensional virtual environment
- the virtual object may be a three-dimensional solid model created based on animation skeleton technology.
- the virtual object has its own shape and volume in the three-dimensional virtual environment, and occupies a part of the space in the three-dimensional virtual environment.
- the target application may have functionality to simulate a real physical environment. In the virtual environment, the motion laws of various virtual elements (such as virtual objects) conform to or approach the physical laws of reality.
- the system 10 further includes a server 12, the server 12 establishes a communication connection (such as a network connection) with the terminal 11, and the server 12 is used to provide background services for the target application.
- the server may be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.
- the terminal may display a display screen of the virtual environment; on the display screen of the virtual environment, an aiming prompt mark is displayed, and the aiming prompt mark is used to indicate the target virtual object in the virtual environment aimed at. the target aiming position; on the display screen of the virtual environment, a position prompt mark is displayed according to the first transparency, and the position prompt mark is used to indicate the target environment position in the virtual environment; If the relative position of the position prompting mark is changed, the transparency of the position prompting mark is adjusted.
- the mark processing method provided by the embodiment of the present application can be applied to a scene displayed by a display screen; it can also be applied to a display scene such as AR (Augmented Reality, augmented reality), VR (Virtual Reality, virtual reality), etc., the present application
- a display scene such as AR (Augmented Reality, augmented reality), VR (Virtual Reality, virtual reality), etc.
- AR Augmented Reality, augmented reality
- VR Virtual Reality, virtual reality
- the embodiment does not specifically limit this.
- FIG. 2 shows a flowchart of a tag processing method provided by an embodiment of the present application.
- the method may be executed by the terminal 11 described above, or the method may be executed by the server 12 , or may be executed by the terminal 11 in cooperation with the server 12 .
- the method is applied to the terminal 11 described above as an example for illustration.
- the method may include the following steps (201-204):
- Step 201 displaying a display screen of the virtual environment.
- the display screen of the virtual environment displayed by the terminal is a display screen at the bottom layer of the user interface, and a UI (User Interface, user interface) level exists on the display screen of the virtual environment, and the UI level is used for displaying UI elements such as various tags, virtual controls, etc.
- the terminal displays virtual controls and respective marks above the UI level of the display screen of the displayed virtual environment. Users can control virtual objects through virtual controls, such as controlling virtual objects to move, change poses, operate virtual props, use skills, and so on. Users can get prompt information through markers to control virtual objects.
- Step 202 On the display screen of the virtual environment, display an aiming prompt mark, where the aiming prompt mark is used to indicate the target aiming position aimed at by the target virtual object in the virtual environment.
- the terminal displays the aiming prompt mark on the display screen of the virtual environment, and the target virtual object displayed by the terminal in the virtual environment is the virtual object controlled by the user correspondingly. It can also be considered that the target virtual object is a virtual object representing the current user. Role.
- the terminal displays the aiming prompt mark and the target aiming position overlappingly, and the position corresponding to the center of the aiming prompt mark is the target aiming position. In other embodiments, the aiming prompt mark or the position corresponding to the center of the aiming prompt mark is located near the target aiming position.
- the target aiming location is the location at which a virtual transmitter held by the target virtual object is aimed.
- the aiming cue is marked as the crosshair (also referred to as the crosshair) of the virtual transmitter.
- Step 203 On the display screen of the virtual environment, display a position prompt mark according to the first transparency, where the position prompt mark is used to indicate the target environment position in the virtual environment.
- the terminal displays the location prompt mark on the display screen of the virtual environment.
- the terminal displays the position prompt mark with the current transparency (ie, the first transparency).
- the terminal displays the position prompting mark and the target environment position in an overlapping manner, and the position corresponding to the center of the position prompting mark is the target environment position.
- the position prompting mark or the position corresponding to the center of the position prompting mark is located near the target environment position.
- the location prompt is marked as a circle, a triangle, a square, a rectangle, a diamond, etc., which is not specifically limited in this embodiment of the present application.
- the position prompt mark can also be a mark obtained by combining marks of different shapes.
- the location hint mark may be marked by a user corresponding to the target virtual object, and the location hint mark is only visible to the user corresponding to the target virtual object; The users corresponding to the virtual objects in the same camp are visible; or, the position prompt mark is visible to the users corresponding to all virtual objects in the game.
- the location hint marker is automatically generated by the target application.
- the target environment position includes a fixed position and a movable position
- the fixed position refers to a position that does not change relative to the virtual environment
- the movable position refers to a virtual object or virtual object that is movable relative to the virtual environment.
- Location When the location of the target environment is a fixed location, such as the location of immovable virtual stones, virtual houses, virtual islands, virtual trees, etc. in the virtual environment, the location of the target environment will not change.
- the target environment position is a movable position, such as the position of movable virtual objects, virtual vehicles, virtual transmitters, etc. in the virtual environment, when the positions of movable virtual objects, virtual vehicles, virtual transmitters, etc. occur When changing, the position of the target environment will change accordingly; obviously, the display position of the position prompt mark will also change with the change of the position of the target environment.
- this step 203 further includes the following sub-steps:
- the position prompt mark will be displayed at the target environment position
- a position prompting mark is displayed on the edge of the display screen of the virtual environment.
- the position of the target environment displayed by the terminal is within the field of view currently observed by the target virtual object, it means that in the display screen of the currently displayed virtual environment, the user can observe the position of the target environment through the perspective of the target virtual object , the location prompting mark is displayed at the target environment position, which is convenient for the user to pay attention to the target environment position; if the target environment position is outside the field of view, it means that in the display screen of the currently displayed virtual environment, the user cannot observe the target virtual object from the perspective When reaching the target environment position, a position prompt mark is displayed on the edge of the display screen of the virtual environment, which is convenient for the user to know the range of the target environment position, or the position and direction of the target environment position relative to the target virtual object.
- the method displays the position prompt mark in the display screen of the virtual environment, avoids the problem of unfavorable human-computer interaction caused by a single or fixed display method, and can effectively improve the human-computer interaction rate.
- the terminal displays the position prompt mark on the edge of the display screen of the UI level.
- the horizontal angle of the field of view is 120°, 150°, 180°, and so on.
- the horizontal angle of the field of view may also be other angles, and the specific angle of the horizontal angle of the field of view is set by the relevant technical personnel according to the actual situation, which is not specifically limited in this embodiment of the present application.
- the horizontal angle of the field of view is determined by the game mode.
- the horizontal angle of the field of view 31 is 120°; in the TPS (Third-Personal Shooting, third-person shooting) mode , the horizontal angle of the field of view 32 is 180°.
- the horizontal angle of the field of view is set by the user.
- the user can set the horizontal angle of the field of view corresponding to the FPS mode and the TPS mode respectively, thereby enhancing the richness of the game content.
- the terminal is at the left edge of the display screen 42 of the virtual environment.
- a position indication mark 43 is displayed.
- the terminal is located on the right side of the display screen 42 of the virtual environment.
- the edge display position indication mark 43 if the position of the target environment is outside the field of view 31 and the position of the target environment is located in the right area 51 of the target virtual object 40 , the terminal is located on the right side of the display screen 42 of the virtual environment.
- the edge display position indication mark 43 if the position of the target environment is outside the field of view 31 and the position of the target environment is located in the right area 51 of the target virtual object 40 , the terminal is located on the right side of the display screen 42 of the virtual environment.
- the target environment position is outside the field of view, and the target environment position is located in the undisplayed area in front of the target virtual object 40 , then the terminal displays on the upper edge of the display screen 42 of the virtual environment Location cue mark 43.
- the target environment position is located in the front undisplayed area 61 ; when the horizontal angle of the field of view is 180°, the target environment position is located in the front undisplayed area 62 .
- the position prompting mark 43 includes a direction mark 44 , and the direction mark 44 points to the target environment position.
- the direction marker 44 points in the direction in which the target environmental location is located.
- the position pointed by the direction mark 44 is the target environment position.
- the position prompt mark includes an operation prompt mark 71 and an area prompt mark 72.
- the operation prompt mark 71 is used to prompt the user to control the operation performed by the target virtual object
- the area prompt mark 72 is used to prompt the user for the target environment. The region in which the location is located.
- the operation prompt mark 71 is used to prompt the user to control the target virtual object to perform a defensive (Defend) operation or an attack (Attack) operation.
- the virtual environment is divided into multiple areas, and the multiple areas are respectively represented by letters A, B, C, D, etc.
- the area prompt mark 72 displays the letter "A" .
- Step 204 in response to a change in the relative positions of the aiming cue mark and the position cue mark, adjust the transparency of the position cue mark.
- the terminal adjusts the transparency of the position cue mark according to the changed distance between the aiming cue mark and the position cue mark.
- the distance range can be represented as X
- the transparency of the location cue marker is user-defined.
- the terminal receives a transparency setting operation 91 for the location prompt marker 43 , and updates the maximum rated transparency value of the location prompt marker 43 and/or the minimum rated transparency value of the location prompt marker 43 .
- the user can customize the maximum rated transparency value and/or the minimum rated transparency value through the setting interface, so that the transparency of the position prompt mark is more in line with the user's personalized needs.
- the value range of transparency is 0-100, the smaller the value of transparency is, the higher the degree of transparency is, and on the contrary, the larger the value of transparency is, the lower the degree of transparency is.
- 0 means that the position hint mark 43 is completely transparent
- 100 means that the position hint mark 43 is completely opaque.
- the maximum rated transparency value is 100 and the minimum rated transparency value is 50.
- the maximum rated transparency value and the minimum rated transparency value may also be set to other values, which are not specifically limited in this embodiment of the present application. For example, there is a UI layer above the display screen of the virtual environment.
- the value of the transparency of the mark displayed on the UI level is smaller, the transparency is higher, and the mark that belongs to the virtual environment can be clearly displayed through the mark. Environment display screen. On the contrary, if the value of the transparency is smaller, the degree of transparency is higher, and the display image belonging to the virtual environment located under the mark cannot be displayed through the mark.
- the method further includes the steps of:
- the minimum rated transparency value is automatically updated, and the difference between the maximum rated transparency value and the minimum rated transparency value remains as the preset difference.
- the preset difference value is 50
- the user sets the maximum rated transparency value to 70
- the minimum rated transparency value is automatically updated to 20.
- the default maximum rated transparency value is 100.
- the preset difference value is 40, 50, 60, 70, etc.
- the specific value of the preset difference value is set by the relevant technical personnel according to the actual situation, which is not specifically limited in this embodiment of the present application.
- the terminal when determining the maximum rated transparency value and the minimum rated transparency value, only the user only needs to set the maximum rated transparency value, and the terminal subtracts the preset difference from the updated maximum rated transparency value to obtain the minimum rated transparency value.
- the rated transparency value does not require the user to perform a setting operation on the minimum rated transparency value, which reduces the user's operation steps and improves the convenience of the setting operation.
- a size setting operation 92 for the location hint marker is received, and the size of the location hint marker is updated. Therefore, the display size of the position prompting mark can meet the individual needs of different users.
- the default location hint marker has a size value of 100.
- the relative position between the aiming prompt mark and the position prompt mark changes, the transparency of the position prompt mark is adjusted, and the adjustment direction of the transparency is related to the aiming prompt mark and the position.
- the change direction of the distance between the prompt marks is consistent, so that when the user distinguishes the display screen of the virtual environment overlapping with the position prompt mark, he can pass the position prompt mark with a lower transparency value (higher degree of transparency), It is relatively easy to distinguish the blocked display screen, which improves the clarity and display effect of the interface display, thereby reducing the time required for the user to obtain information in the virtual environment, and improving the efficiency of the user obtaining information. Displaying the position prompting mark far away from the aiming prompting mark by means of a higher transparency value can also help the user to clarify the direction of the target environment position in the virtual environment and effectively prompt the user.
- the technical solutions provided by the embodiments of the present application dynamically adjust the transparency of the position prompt mark by combining the actual situation (such as the relative position of the aiming prompt mark and the position prompt mark), so as to highlight it when necessary, In the case of more important information (such as the aiming prompt mark), it is not highlighted, which realizes the display effect of adaptively changing the interface content, and highlights the key content to ensure that the user can timely distinguish that it is blocked by the position prompt mark, or is displayed. Screen information near the location cue mark.
- step 204 in the above embodiment of FIG. 2 may be replaced by the following steps (205-208):
- Step 205 based on the position of the target virtual object in the virtual environment and the position of the target environment, determine a first vector pointing from the position of the target virtual object to the position of the target environment.
- a first coordinate system is established in the virtual environment.
- the first coordinate system is a control coordinate system
- the acquired target virtual object and the position of the target environment correspond respectively in the first coordinate system
- the coordinates of the target virtual object and the target environment position respectively correspond to the coordinates in the first coordinate system to determine the first vector.
- the second coordinate system is established with the target virtual object as the origin, and the coordinates of the target environment position in the second coordinate system are obtained, and the coordinates are the first vector.
- Step 206 based on the position of the target virtual object in the virtual environment and the target aiming position, determine a second vector pointing from the position of the target virtual object to the target aiming position.
- the coordinates of the target aiming position in the first coordinate system are obtained, and the second vector is determined based on the corresponding coordinates of the target virtual object and the target aiming position in the first coordinate system respectively.
- the coordinates of the target aiming position in the second coordinate system are obtained, and the coordinates are the second vector.
- Step 207 Determine the adjusted second transparency based on the first vector and the second vector.
- an included angle between the first vector and the second vector is determined based on the first vector and the second vector determined by the same coordinate system, and the second transparency is determined according to the included angle or a trigonometric function value of the included angle.
- this step 207 includes the following sub-steps:
- the value range of the included angle between the first vector and the second vector is 0-180°, and within this value range, there is a unique correspondence between the included angle and the cosine value.
- the terminal when the field of view is 180°, if the cosine value is less than 0, indicating that the target environment position is outside the field of view, the terminal will display the position prompt mark on the edge of the display screen of the virtual environment.
- the first vector and the second vector are unit vectors, and by multiplying the first vector by the second vector, the obtained dot product value is the cosine value.
- the cosine value is less than the first threshold, the included angle is large, and the display distance between the aiming prompt mark and the position prompt mark is far, and the terminal can display the position prompt mark according to the maximum rated transparency; when the cosine value is greater than the first
- the threshold is smaller than the second threshold, the included angle is small, the display distance between the aiming prompt mark and the position prompt mark is small, and the terminal displays the position prompt mark according to the transparency less than the maximum rated transparency value.
- the second transparency is negatively correlated with the cosine value, that is, the larger the cosine value, the smaller the second transparency; the smaller the cosine value, the greater the second transparency big.
- the second transparency and the cosine have a linear negative correlation.
- the first threshold value is 0.2, 0.3, 0.4, 0.5, etc.
- the specific value of the first threshold value is set by the relevant technical personnel according to the actual situation, which is not specifically limited in this embodiment of the present application.
- the second threshold value is 0.6, 0.7, 0.8, 1, etc.
- the specific value of the second threshold value is set by the relevant technical personnel according to the actual situation, which is not specifically limited in this embodiment of the present application.
- the first threshold is smaller than the second threshold.
- the second transparency is determined to be the minimum rated transparency.
- the cosine value is greater than the second threshold, it indicates that the display distance between the aiming prompt mark and the position prompt mark is very small, and within this range, the terminal can display the position prompt mark according to the minimum rated transparency.
- the second transparency can also be determined directly based on the included angle.
- this step 207 includes the following sub-steps:
- the angle between the first vector and the second vector is determined based on the cosine value calculated above.
- the included angle is greater than the third threshold, the display distance between the aiming prompt mark and the position prompt mark is relatively far, and the terminal can display the position prompt mark according to the maximum rated transparency; when the included angle is smaller than the third threshold and greater than the fourth In the case of the threshold value, the display distance between the aiming prompt mark and the position prompt mark is small, and the terminal may display the position prompt mark according to the transparency less than the maximum rated transparency value.
- the second transparency is positively correlated with the included angle, that is, the smaller the included angle, the smaller the second transparency; the larger the included angle, the greater the second transparency .
- the included angle is smaller than the third threshold and greater than the fourth threshold, the second transparency and the included angle have a linear positive correlation.
- the third threshold value is 30°, 45°, 60°, 90°, etc.
- the specific value of the third threshold value is set by the relevant technical personnel according to the actual situation, which is not specifically limited in this embodiment of the present application.
- the fourth threshold is 70°, 80°, 90°, etc., and the specific value of the fourth threshold is set by the relevant technical personnel according to the actual situation, which is not specifically limited in this embodiment of the present application.
- the third threshold is greater than the fourth threshold.
- Step 208 displaying the position prompting mark according to the second transparency.
- the terminal can determine the second transparency according to the position of the target virtual object in the virtual environment, the target aiming position and the target environment position, and display the position prompt mark according to the second transparency, and the calculation process is relatively simple. It is simple, saves the processing overhead required for displaying the position prompt mark, and avoids the waste of terminal resources.
- step 204 in the above-mentioned embodiment of FIG. 2 may be replaced by the following steps (209-211):
- Step 209 Obtain the display distances of the aiming prompt mark and the position prompt mark in the user interface.
- the terminal may acquire the display distance through the relevant data interface of the target application. In other embodiments, the terminal may obtain a screenshot of the current user interface through a screen shot to obtain the display distance.
- the aiming cue marks and the position cue marks are marks that occupy a certain area.
- the display distance is the shortest straight-line distance between the aiming cue mark and the position cue mark. In this example, when the aiming cue mark and the position cue mark contact or have overlapping display areas, the display distance is 0; in another example, the display distance is 0. In an example, the display distance is the distance between the center of the aiming cue mark and the center of the position cue mark. In this example, when the center of the aiming cue mark and the center of the position cue mark overlap and display, the display distance is 0.
- the terminal may use the number of pixels between the aiming prompt mark and the position prompt mark to represent the display distance.
- the displayed distance is the straight-line distance between the aiming cue mark and the position cue mark. In other implementations, the display distance is a ratio between the straight-line distance between the aiming cue mark and the position cue mark and the length/width/diagonal length of the user interface.
- Step 210 Determine the adjusted second transparency according to the display distance.
- the terminal may determine the second transparency by displaying a preset relationship between the distance and the second transparency.
- this step 210 includes the following sub-steps:
- the display distance is less than or equal to the first distance threshold and greater than the second distance threshold, determine the second transparency based on the display distance, the second transparency is less than the maximum rated transparency, and the second transparency is positively correlated with the display distance.
- the aiming prompt mark when the display distance is greater than the first distance threshold, the aiming prompt mark is far away from the position prompt mark, and the terminal may display the position prompt mark according to the maximum rated transparency; when the display distance is less than or equal to the first distance When the threshold is greater than the second distance threshold, the aiming prompt mark is closer to the position prompt mark, and the terminal may display the position prompt mark with a transparency smaller than the maximum rated transparency value.
- the second transparency is positively correlated with the display distance, that is, the smaller the display distance, the smaller the second transparency; the greater the display distance, the lower the second transparency. Second, the greater the transparency.
- the second transparency has a linear positive correlation with the display distance.
- the specific values of the first distance threshold and the second distance threshold are set by relevant technical personnel according to actual conditions, which are not specifically limited in this embodiment of the present application.
- the first distance threshold is greater than the second distance threshold.
- the second transparency is determined to be the minimum rated transparency.
- the display distance is less than or equal to the second distance threshold, it means that the aiming prompt mark is very close to the position prompt mark, and within this range, the terminal can display the position prompt mark according to the minimum rated transparency.
- Step 211 displaying the position prompting mark according to the second transparency.
- the terminal can directly determine the second transparency through the display distance between the aiming prompt mark and the position prompt mark, without obtaining the position of the target virtual object, which further simplifies the calculation process and further simplifies the calculation process.
- the processing overhead required for displaying the position prompt mark is saved, and the waste of terminal resources is avoided.
- the terminal can map the target environment position to the display screen through the WorldToScreenPoint (world coordinates to screen coordinates) function of the scene camera, and determine the corresponding display position of the target environment position on the display screen.
- the scene camera is used to determine the virtual The virtual camera for the display of the environment; and then based on the ScreenPointToLocalPointInRectangle (screen coordinates to UI coordinates) function of the UI camera to determine the display position of the position prompt mark in the UI level, and the UI camera is used to determine the UI elements displayed in the UI level.
- the marking processing method is briefly introduced by taking the horizontal angle of the field of view as 180° as an example.
- the method includes the following steps (1201-1207):
- Step 1201 creating a location prompt mark
- Step 1202 obtaining the first vector pointing to the target environment position by the position of the target virtual object
- Step 1203 obtain the second vector pointing to the target aiming position by the position of the target virtual object
- Step 1204 determine whether the dot product value of the first vector and the second vector is greater than 0, if so, go to Step 1205; if not, go to Step 1207;
- Step 1205 determine the display position corresponding to the target environment position on the display screen
- Step 1206 determine the display position of the position prompt mark in the UI level, and continue to execute the above step 1202;
- Step 1207 Display a position prompt mark at the edge of the UI level, and continue to perform the above step 1202.
- the tag processing method includes the following steps (1301-1306):
- Step 1301 obtaining the first vector pointing to the target environment position by the position of the target virtual object
- Step 1302 obtaining the second vector pointing to the target aiming position by the position of the target virtual object
- Step 1303 calculate the dot product value of the first vector and the second vector
- Step 1304 obtaining the maximum rated transparency value
- Step 1305, obtain the minimum rated transparency value
- Step 1306 Calculate the display transparency of the position prompting mark.
- FIG. 14 shows a block diagram of a tag processing apparatus provided by an embodiment of the present application.
- the apparatus has the function of implementing the above example of the label processing method, and the function may be implemented by hardware, or by executing corresponding software by hardware.
- the device may be the terminal 11 described above, or may be set on the terminal.
- the apparatus 1400 may include: a picture display module 1410 , a mark display module 1420 and a transparency adjustment module 1430 .
- the screen display module 1410 is configured to display the display screen of the virtual environment.
- the mark display module 1420 is configured to display an aiming prompt mark on the display screen of the virtual environment, where the aiming prompt mark is used to indicate the target aiming position aimed at by the target virtual object in the virtual environment.
- the mark display module 1420 is further configured to display a position prompt mark on the display screen of the virtual environment according to the first transparency, where the position prompt mark is used to indicate the target environment position in the virtual environment.
- the transparency adjustment module 1430 is configured to adjust the transparency of the position prompt mark in response to a change in the relative position of the aiming prompt mark and the position prompt mark.
- the relative position between the aiming prompt mark and the position prompt mark changes, the transparency of the position prompt mark is adjusted, so that the user can distinguish the overlap between the position prompt mark and the position prompt mark.
- the display screen of the virtual environment is displayed, the occluded display screen can be easily distinguished through the position prompt mark with low transparency, which improves the clarity and display effect of the interface display, thereby reducing the user's access to the virtual environment.
- the time required for information improves the efficiency of users' acquisition of information.
- the transparency adjustment module 1430 includes: a vector determination sub-module 1431 , a transparency determination sub-module 1432 and a marker display sub-module 1433 .
- the vector determination sub-module 1431 is configured to determine, based on the position of the target virtual object in the virtual environment and the position of the target environment, a first vector that points to the position of the target environment from the position of the target virtual object.
- the vector determination sub-module 1431 is further configured to determine a second vector pointing from the position of the target virtual object to the target aiming position based on the position of the target virtual object in the virtual environment and the target aiming position.
- the transparency determination sub-module 1432 is configured to determine the adjusted second transparency based on the first vector and the second vector.
- the mark display sub-module 1433 is used for displaying the position prompt mark according to the second transparency.
- a transparency determination sub-module 1432 is used to:
- a second transparency is determined based on the cosine value, the second transparency is less than the maximum rated transparency, and the second transparency has a negative correlation with the cosine value.
- a transparency determination sub-module 1432 is used to:
- the second transparency is determined to be the minimum rated transparency.
- the transparency adjustment module 1430 includes: a distance acquisition sub-module 1434 .
- the distance acquisition sub-module 1434 is used to acquire the display distance of the aiming prompt mark and the position prompt mark in the user interface.
- the transparency determination sub-module 1432 is further configured to determine the adjusted second transparency according to the display distance.
- the mark display sub-module 1433 is further configured to display the position prompt mark according to the second transparency.
- a transparency determination sub-module 1432 is used to:
- a second transparency is determined based on the display distance, the second transparency is less than the maximum rated transparency, and the second transparency is positively correlated with the display distance.
- a transparency determination sub-module 1432 is used to:
- the second transparency is determined to be the minimum rated transparency.
- the apparatus 1400 further includes: a location determination module 1440 .
- the position determination module 1440 is configured to determine whether the position of the target environment is within the visual field of the target virtual object, and the visual field is used to indicate the virtual environment area currently observed by the target virtual object.
- the mark display module 1420 is further configured to display a position prompting mark at the target environmental position if the target environmental position is within the visual field.
- the mark display module 1420 is further configured to display a position prompt mark on the edge of the display screen of the virtual environment if the position of the target environment is outside the field of view.
- a marker display module 1420 is used to:
- a position prompt mark is displayed on the left edge of the display screen of the virtual environment
- a position prompting mark is displayed on the right edge of the display screen of the virtual environment.
- the location-indicating indicia include directional indicia that point to the target environmental location.
- the apparatus 1400 further includes a rating update module 1450 and a size update module 1460 .
- the rated value updating module 1450 is configured to receive a transparency setting operation for the position prompting mark, and update the maximum rated transparency value of the position prompting mark and/or the minimum rated transparency value of the position prompting mark.
- the size update module 1460 is configured to receive a size setting operation for the position prompt mark, and update the size of the position prompt mark.
- a rating update module 1450 is used to:
- the minimum rated transparency value is automatically updated, and the difference between the maximum rated transparency value and the minimum rated transparency value remains the preset difference.
- FIG. 16 shows a schematic structural diagram of a computer device provided by an embodiment of the present application, where the computer device may be the terminal 11 or the server 12 described in FIG. 1 .
- the computer device is used as an example for illustration.
- the terminal 1600 may be an electronic device such as a mobile phone, a tablet computer, a game console, an e-book reader, a multimedia playback device, a wearable device, or a PC.
- the terminal is used to implement the tag processing method provided in the above embodiment.
- the terminal may be the terminal 11 in the implementation environment shown in FIG. 1 . Specifically:
- the terminal 1600 includes: a processor 1601 and a memory 1602 .
- the processor 1601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
- the processor 1601 can be implemented by at least one hardware form among DSP (Digital Signal Processing, digital signal processing), FPGA (Field Programmable Gate Array, field programmable gate array), and PLA (Programmable Logic Array, programmable logic array).
- the processor 1601 may also include a main processor and a coprocessor.
- the main processor is a processor used to process data in the wake-up state, also called CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor for processing data in a standby state.
- the processor 1601 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen.
- the processor 1601 may further include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is used to process computing operations related to machine learning.
- AI Artificial Intelligence, artificial intelligence
- Memory 1602 may include one or more computer-readable storage media, which may be non-transitory. Memory 1602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In some embodiments, a non-transitory computer-readable storage medium in memory 1602 is used to store at least one instruction, at least one segment of a program, a set of code, or a set of instructions, and is configured to be executed by one or more processors to Implement the above tag handling method.
- the terminal 1600 may also optionally include: a peripheral device interface 1603 and at least one peripheral device.
- the processor 1601, the memory 1602 and the peripheral device interface 1603 can be connected through a bus or a signal line.
- Each peripheral device can be connected to the peripheral device interface 1603 through a bus, a signal line or a circuit board.
- the peripheral devices include: at least one of a radio frequency circuit 1604 , a display screen 1605 , a camera assembly 1606 , an audio circuit 1607 , a positioning assembly 1608 and a power supply 1609 .
- FIG. 16 does not constitute a limitation on the terminal 1600, and may include more or less components than the one shown, or combine some components, or adopt different component arrangements.
- a computer-readable storage medium stores at least one instruction, at least one piece of program, code set or instruction set, the at least one instruction, the at least one piece of program ,
- the code set or the instruction set is executed by the processor to implement the above-mentioned mark processing method.
- the computer-readable storage medium may include: ROM (Read-Only Memory, read-only memory), RAM (Random-Access Memory, random access memory), SSD (Solid State Drives, solid-state hard disk), or an optical disk.
- the random access memory may include ReRAM (Resistance Random Access Memory, resistive random access memory) and DRAM (Dynamic Random Access Memory, dynamic random access memory).
- a computer program product or computer program comprising computer instructions stored in a computer readable storage medium.
- the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the on-mark processing method.
- references herein to "a plurality” means two or more.
- "And/or" which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone.
- the character “/” generally indicates that the associated objects are an "or" relationship.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
- Warehouses Or Storage Devices (AREA)
Abstract
Description
Claims (20)
- 一种标记处理方法,由计算机设备执行,所述方法包括:显示虚拟环境的显示画面;在所述虚拟环境的显示画面上,显示瞄准提示标记,所述瞄准提示标记用于指示所述虚拟环境中的目标虚拟对象所瞄准的目标瞄准位置;在所述虚拟环境的显示画面上,按照第一透明度显示位置提示标记,所述位置提示标记用于指示所述虚拟环境中的目标环境位置;响应于所述瞄准提示标记与所述位置提示标记的相对位置发生改变,调整所述位置提示标记的透明度。
- 根据权利要求1所述的方法,其特征在于,所述响应于所述瞄准提示标记与所述位置提示标记的相对位置发生改变,调整所述位置提示标记的透明度,包括:基于所述目标虚拟对象在所述虚拟环境中的位置和所述目标环境位置,确定由所述目标虚拟对象的位置指向所述目标环境位置的第一向量;基于所述目标虚拟对象在所述虚拟环境中的位置和所述目标瞄准位置,确定由所述目标虚拟对象的位置指向所述目标瞄准位置的第二向量;基于所述第一向量和所述第二向量,确定调整后的第二透明度;按照所述第二透明度显示所述位置提示标记。
- 根据权利要求2所述的方法,其特征在于,所述基于所述第一向量和所述第二向量,确定调整后的第二透明度,包括:确定所述第一向量和所述第二向量之间的夹角的余弦值;在所述余弦值小于或等于第一阈值的情况下,确定所述第二透明度为最大额定透明度;在所述余弦值大于第一阈值且小于或等于第二阈值的情况下,基于所述余弦值确定所述第二透明度,所述第二透明度小于所述最大额定透明度,且所述第二透明度与所述余弦值呈负相关关系。
- 根据权利要求3所述的方法,其特征在于,所述确定所述第一向量和所述第二向量之间的夹角的余弦值之后,还包括:在所述余弦值大于所述第二阈值的情况下,确定所述第二透明度为最小额定透明度。
- 根据权利要求1所述的方法,其特征在于,所述响应于所述瞄准提示标记与所述位置提示标记的相对位置发生改变,调整所述位置提示标记的透明度,包括:获取所述瞄准提示标记和所述位置提示标记在用户界面中的显示距离;根据所述显示距离与第二透明度之间的预设关系,确定调整后的第二透明度;按照所述第二透明度显示所述位置提示标记。
- 根据权利要求5所述的方法,其特征在于,所述根据所述显示距离与第二透明度之间的预设关系,确定调整后的第二透明度,包括:在所述显示距离大于第一距离阈值的情况下,确定所述第二透明度为最大额定透明度;在所述显示距离小于或等于所述第一距离阈值且大于第二距离阈值的情况下,基于所述显示距离确定所述第二透明度,所述第二透明度小于所述最大额定透明度,且所述第二透明度与所述显示距离呈正相关关系。
- 根据权利要求5所述的方法,其特征在于,所述获取所述瞄准提示标记和所述位置提示标记在用户界面中的显示距离之后,还包括:在所述显示距离小于或等于所述第二距离阈值的情况下,确定所述第二透明度为最小额定透明度。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:确定所述目标环境位置是否位于所述目标虚拟对象的视野范围内,所述视野范围用于指示所述目标虚拟对象当前观察到的虚拟环境区域;若所述目标环境位置位于所述视野范围内,则在所述目标环境位置处显示所述位置提示标记;若所述目标环境位置位于所述视野范围之外,则在所述虚拟环境的显示画面的边缘显示所述位置提示标记。
- 根据权利要求8所述的方法,其特征在于,所述若所述目标环境位置位于所述视野范围之外,则在所述虚拟环境的显示画面的边缘显示所述位置提示标记,包括:若所述目标环境位置位于所述视野范围之外,且所述目标环境位置位于所述目标虚拟对象的左侧区域,则在所述虚拟环境的显示画面的左边缘显示所述 位置提示标记;若所述目标环境位置位于所述视野范围之外,且所述目标环境位置位于所述目标虚拟对象的右侧区域,则在所述虚拟环境的显示画面的右边缘显示所述位置提示标记。
- 根据权利要求1至9任一项所述的方法,其特征在于,所述位置提示标记包括方向标记,所述方向标记指向所述目标环境位置。
- 根据权利要求1至9任一项所述的方法,其特征在于,所述方法还包括:接收针对所述位置提示标记的透明度设置操作,更新所述位置提示标记的最大额定透明度值和所述位置提示标记的最小额定透明度值中的至少一种。
- 根据权利要求1至9任一项所述的方法,其特征在于,所述方法还包括:接收针对所述位置提示标记的尺寸设置操作,更新所述位置提示标记的尺寸。
- 根据权利要求11所述的方法,其特征在于,所述接收针对所述位置提示标记的透明度设置操作,更新所述位置提示标记的最大额定透明度值和所述位置提示标记的最小额定透明度值中的至少一种,包括:接收针对所述最大额定透明度值的设置操作,更新所述最大额定透明度值;根据所述最大额定透明度值与所述最小额定透明度值之间的差值为预设差值,根据所述更新后的最大额定透明度值自动更新所述最小额定透明度值。
- 一种标记处理装置,所述装置包括:画面显示模块,用于显示虚拟环境的显示画面;标记显示模块,用于在所述虚拟环境的显示画面上,显示瞄准提示标记,所述瞄准提示标记用于指示所述虚拟环境中的目标虚拟对象所瞄准的目标瞄准位置;所述标记显示模块,还用于在所述虚拟环境的显示画面上,按照第一透明度显示位置提示标记,所述位置提示标记用于指示所述虚拟环境中的目标环境位置;透明度调整模块,用于响应于所述瞄准提示标记与所述位置提示标记的相对位置发生改变,调整所述位置提示标记的透明度。
- 根据权利要求14所述的装置,其特征在于,所述透明度调整模块包括:向量确定子模块、透明度确定子模块和标记显示子模块;所述向量确定子模块用于基于所述目标虚拟对象在所述虚拟环境中的位置和所述目标环境位置,确定由所述目标虚拟对象的位置指向所述目标环境位置的第一向量;基于所述目标虚拟对象在所述虚拟环境中的位置和所述目标瞄准位置,确定由所述目标虚拟对象的位置指向所述目标瞄准位置的第二向量;所述透明度确定子模块,用于基于所述第一向量和所述第二向量,确定调整后的第二透明度;所述标记显示子模块,用于按照所述第二透明度显示所述位置提示标记。
- 根据权利要求14所述的装置,其特征在于,所述透明度调整模块包括:距离获取子模块、透明度确定子模块和标记显示子模块;所述距离获取子模块,用于获取所述瞄准提示标记和所述位置提示标记在用户界面中的显示距离;所述透明度确定子模块,用于根据所述显示距离与第二透明度之间的预设关系,确定调整后的第二透明度;所述标记显示子模块,用于按照所述第二透明度显示所述位置提示标记。
- 根据权利要求14所述的装置,其特征在于,所述装置还包括位置确定模块,用于确定所述目标环境位置是否位于所述目标虚拟对象的视野范围内,所述视野范围用于指示所述目标虚拟对象当前观察到的虚拟环境区域;所述标记显示模块,还用于若所述目标环境位置位于所述视野范围内,则在所述目标环境位置处显示所述位置提示标记;所述标记显示模块,还用于若所述目标环境位置位于所述视野范围之外,则在所述虚拟环境的显示画面的边缘显示所述位置提示标记。
- 一种计算机设备,所述计算机设备包括存储器和一个或多个处理器,所述存储器存储有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1至13任一项所述的标记处理方法。
- 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,存储有计算机可读指令,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1至13任一项所述的标记处理方法。
- 一种计算机程序产品,包括计算机程序,其特征在于,该计算机程序被处理器执行时实现如权利要求1至13任一项所述的标记处理方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2023527686A JP2023549753A (ja) | 2021-01-21 | 2021-12-30 | マーク処理方法及び装置、コンピュータ機器、並びにコンピュータプログラム |
US17/980,443 US20230059116A1 (en) | 2021-01-21 | 2022-11-03 | Mark processing method and apparatus, computer device, storage medium, and program product |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110084112.X | 2021-01-21 | ||
CN202110084112.XA CN112717392B (zh) | 2021-01-21 | 2021-01-21 | 标记显示方法、装置、终端及存储介质 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/980,443 Continuation US20230059116A1 (en) | 2021-01-21 | 2022-11-03 | Mark processing method and apparatus, computer device, storage medium, and program product |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022156504A1 true WO2022156504A1 (zh) | 2022-07-28 |
Family
ID=75594861
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/142880 WO2022156504A1 (zh) | 2021-01-21 | 2021-12-30 | 标记处理方法、装置、计算机设备、存储介质及程序产品 |
Country Status (5)
Country | Link |
---|---|
US (1) | US20230059116A1 (zh) |
JP (1) | JP2023549753A (zh) |
CN (1) | CN112717392B (zh) |
TW (1) | TWI804153B (zh) |
WO (1) | WO2022156504A1 (zh) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112717392B (zh) * | 2021-01-21 | 2023-04-07 | 腾讯科技(深圳)有限公司 | 标记显示方法、装置、终端及存储介质 |
CN113797538B (zh) * | 2021-09-06 | 2024-06-11 | 网易(杭州)网络有限公司 | 一种准星显示方法、装置、终端及存储介质 |
CN114344899A (zh) * | 2021-10-26 | 2022-04-15 | 腾讯科技(深圳)有限公司 | 应用于虚拟环境的坐标轴显示方法、装置、终端及介质 |
CN116704843B (zh) * | 2023-06-07 | 2024-02-23 | 广西茜英信息技术有限公司 | 基于通信工程勘察设计的虚拟仿真实训平台 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008052255A1 (en) * | 2006-10-30 | 2008-05-08 | Team Bondi Pty Ltd | Methods and systems for providing a targeting interface for a video game |
US20180253891A1 (en) * | 2017-03-01 | 2018-09-06 | Nintendo Co., Ltd. | Storage medium, image processing system, image processing apparatus and image processing method |
CN108525300A (zh) * | 2018-04-27 | 2018-09-14 | 腾讯科技(深圳)有限公司 | 位置指示信息显示方法、装置、电子装置及存储介质 |
CN109701280A (zh) * | 2019-01-24 | 2019-05-03 | 网易(杭州)网络有限公司 | 一种射击游戏中准星显示的控制方法和装置 |
CN110115838A (zh) * | 2019-05-30 | 2019-08-13 | 腾讯科技(深圳)有限公司 | 虚拟环境中生成标记信息的方法、装置、设备及存储介质 |
CN111659117A (zh) * | 2020-07-08 | 2020-09-15 | 腾讯科技(深圳)有限公司 | 虚拟对象展示方法、装置、计算机设备及存储介质 |
CN112717392A (zh) * | 2021-01-21 | 2021-04-30 | 腾讯科技(深圳)有限公司 | 标记显示方法、装置、终端及存储介质 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006061717A (ja) * | 2002-11-20 | 2006-03-09 | Sega Corp | ゲーム画像の表示制御プログラム及びゲーム装置並びに記憶媒体 |
JP4956568B2 (ja) * | 2009-02-18 | 2012-06-20 | 株式会社コナミデジタルエンタテインメント | ゲーム装置、ゲーム制御方法、及び、プログラム |
-
2021
- 2021-01-21 CN CN202110084112.XA patent/CN112717392B/zh active Active
- 2021-12-30 JP JP2023527686A patent/JP2023549753A/ja active Pending
- 2021-12-30 WO PCT/CN2021/142880 patent/WO2022156504A1/zh active Application Filing
-
2022
- 2022-01-11 TW TW111101182A patent/TWI804153B/zh active
- 2022-11-03 US US17/980,443 patent/US20230059116A1/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008052255A1 (en) * | 2006-10-30 | 2008-05-08 | Team Bondi Pty Ltd | Methods and systems for providing a targeting interface for a video game |
US20180253891A1 (en) * | 2017-03-01 | 2018-09-06 | Nintendo Co., Ltd. | Storage medium, image processing system, image processing apparatus and image processing method |
CN108525300A (zh) * | 2018-04-27 | 2018-09-14 | 腾讯科技(深圳)有限公司 | 位置指示信息显示方法、装置、电子装置及存储介质 |
CN109701280A (zh) * | 2019-01-24 | 2019-05-03 | 网易(杭州)网络有限公司 | 一种射击游戏中准星显示的控制方法和装置 |
CN110115838A (zh) * | 2019-05-30 | 2019-08-13 | 腾讯科技(深圳)有限公司 | 虚拟环境中生成标记信息的方法、装置、设备及存储介质 |
CN111659117A (zh) * | 2020-07-08 | 2020-09-15 | 腾讯科技(深圳)有限公司 | 虚拟对象展示方法、装置、计算机设备及存储介质 |
CN112717392A (zh) * | 2021-01-21 | 2021-04-30 | 腾讯科技(深圳)有限公司 | 标记显示方法、装置、终端及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
JP2023549753A (ja) | 2023-11-29 |
CN112717392B (zh) | 2023-04-07 |
TWI804153B (zh) | 2023-06-01 |
CN112717392A (zh) | 2021-04-30 |
TW202228824A (zh) | 2022-08-01 |
US20230059116A1 (en) | 2023-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022156504A1 (zh) | 标记处理方法、装置、计算机设备、存储介质及程序产品 | |
WO2021022967A1 (zh) | 虚拟对象的控制方法、装置、终端及存储介质 | |
WO2019218815A1 (zh) | 虚拟场景中的标记元素显示方法、装置、计算机设备及计算机可读存储介质 | |
JP7387758B2 (ja) | インタフェース表示方法、装置、端末、記憶媒体及びコンピュータプログラム | |
WO2022257742A1 (zh) | 虚拟对象的标记方法、装置及存储介质 | |
WO2022252927A1 (zh) | 虚拟对象的位置提示方法、装置、终端及存储介质 | |
KR102603609B1 (ko) | 가상적 객체들을 선택하기 위한 방법, 장치, 단말, 및 저장 매체 | |
US20230142566A1 (en) | System and method for precise positioning with touchscreen gestures | |
US20230082928A1 (en) | Virtual aiming control | |
CN113209616A (zh) | 虚拟场景中的对象标记方法、装置、终端以及存储介质 | |
CN113398583A (zh) | 游戏模型的贴花渲染方法、装置、存储介质及电子设备 | |
WO2023130809A1 (zh) | 画面显示方法、装置、终端、存储介质及程序产品 | |
CN115193042A (zh) | 显示控制方法、装置、电子设备和存储介质 | |
KR102648210B1 (ko) | 가상 객체 제어 방법 및 장치, 단말, 및 저장 매체 | |
WO2021143262A1 (zh) | 地图元素添加方法、装置、终端及存储介质 | |
US20240316455A1 (en) | Processing information for virtual environment | |
US20240325912A1 (en) | Method and apparatus for controlling virtual object, device, and medium | |
JP2024540184A (ja) | カードリリース方法、装置、機器、記憶媒体、及びプログラム | |
CN116115996A (zh) | 画面显示方法、装置、电子设备及存储介质 | |
CN116808582A (zh) | 一种游戏中信息的提示方法、提示装置、设备和介质 | |
CN114404968A (zh) | 用户界面的显示方法、装置、设备及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21920875 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2023527686 Country of ref document: JP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24-11-2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21920875 Country of ref document: EP Kind code of ref document: A1 |