CN112711458B - Method and device for displaying prop resources in virtual scene - Google Patents

Method and device for displaying prop resources in virtual scene Download PDF

Info

Publication number
CN112711458B
CN112711458B CN202110053169.3A CN202110053169A CN112711458B CN 112711458 B CN112711458 B CN 112711458B CN 202110053169 A CN202110053169 A CN 202110053169A CN 112711458 B CN112711458 B CN 112711458B
Authority
CN
China
Prior art keywords
resource
dimensional
prop
display
virtual scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110053169.3A
Other languages
Chinese (zh)
Other versions
CN112711458A (en
Inventor
许沙源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110053169.3A priority Critical patent/CN112711458B/en
Publication of CN112711458A publication Critical patent/CN112711458A/en
Application granted granted Critical
Publication of CN112711458B publication Critical patent/CN112711458B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Abstract

The application provides a method and a device for displaying prop resources in a virtual scene, electronic equipment and a storage medium; the method comprises the following steps: presenting display areas of different types of prop resources in the virtual scene, and presenting a collection progress of the corresponding types of prop resources in the display areas of the various types of prop resources; receiving a three-dimensional resource display instruction triggered by a display area of a target type prop resource; responding to the three-dimensional resource display instruction, presenting a three-dimensional resource display interface of the virtual scene, and displaying a three-dimensional model corresponding to the prop resource of the target type in the three-dimensional resource display interface; the number of the displayed three-dimensional models is matched with the collection progress corresponding to the prop resource of the target type; by the method and the device, the human-computer interaction efficiency can be improved, the occupation of hardware processing resources is reduced, and meanwhile, the substitution sense of the user in the virtual scene is increased.

Description

Method and device for displaying prop resources in virtual scene
Technical Field
The present application relates to the field of virtualization and human-computer interaction technologies, and in particular, to a method and an apparatus for displaying a road instrument resource in a virtual scene, an electronic device, and a storage medium.
Background
With the development of computer technology, electronic devices can realize richer and more vivid virtual scenes. The virtual scene refers to a digital scene outlined by a computer through a digital communication technology, and a user can obtain a fully virtualized feeling (for example, virtual reality) or a partially virtualized feeling (for example, augmented reality) in the aspects of vision, hearing and the like in the virtual scene, and simultaneously can interact with various objects in the virtual scene or control interaction among various objects in the virtual scene to obtain feedback.
With the increasing development of virtual scenes, virtual prop resources in the virtual scenes are more and more complex and diversified, and users can continuously collect prop resources to continue to experience the virtual scenes. In the related technology, when a user views collected prop resources, the user needs to enter the details of the resources through a layer of page for viewing, so that the interaction times are multiple, and the human-computer interaction efficiency is low; and prop resources are presented in a list form, so that the user lacks the sense of substitution in the virtual scene.
Disclosure of Invention
The embodiment of the application provides a method and a device for displaying prop resources in a virtual scene, electronic equipment and a storage medium, which can improve the human-computer interaction efficiency, reduce the occupation of hardware processing resources and increase the substitution sense of a user in the virtual scene.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a method for displaying prop resources in a virtual scene, which comprises the following steps:
presenting display areas of different types of prop resources in the virtual scene, and presenting a collection progress of the corresponding types of prop resources in the display areas of the various types of prop resources;
receiving a three-dimensional resource display instruction triggered by a display area aiming at a target type prop resource, wherein the three-dimensional resource display instruction is used for indicating that the target type prop resource is displayed in a three-dimensional display mode;
responding to the three-dimensional resource display instruction, presenting a three-dimensional resource display interface of the virtual scene, and displaying a three-dimensional model corresponding to the prop resource of the target type in the three-dimensional resource display interface;
and the number of the displayed three-dimensional models is matched with the collection progress corresponding to the prop resources of the target type.
The embodiment of the present application further provides a device for displaying prop resources in a virtual scene, including:
the first presentation module is used for presenting display areas of different types of prop resources in the virtual scene and presenting the collection progress of the prop resources of corresponding types in the display areas of the prop resources of different types;
the receiving module is used for receiving a three-dimensional resource display instruction triggered by a display area aiming at the target type prop resource, and the three-dimensional resource display instruction is used for indicating that the target type prop resource is displayed in a three-dimensional display mode;
the second presentation module is used for responding to the three-dimensional resource presentation instruction, presenting a three-dimensional resource presentation interface of the virtual scene, and presenting a three-dimensional model corresponding to the prop resource of the target type in the three-dimensional resource presentation interface;
and the number of the displayed three-dimensional models is matched with the collection progress corresponding to the prop resources of the target type.
In the above scheme, the first presentation module is further configured to present, in a prop resource presentation interface of the virtual scene, three-dimensional presentation areas of different types of prop resources in the virtual scene; alternatively, the first and second electrodes may be,
presenting two-dimensional display areas of different types of prop resources in the virtual scene in a prop resource display interface of the virtual scene;
the three-dimensional display area and the type are in one-to-one correspondence, and the two-dimensional display area and the type are in one-to-one correspondence.
In the above scheme, the receiving module is further configured to receive a sliding operation for the prop resource display interface when the display area is a three-dimensional display area, where the sliding operation is used to trigger a rotation instruction for the three-dimensional display area;
and responding to the sliding operation, rotating the three-dimensional display area according to a rotating instruction corresponding to the sliding operation, and presenting the rotated three-dimensional display area.
In the foregoing solution, the first presenting module is further configured to, when the display area is a two-dimensional display area, respond to a trigger operation of the two-dimensional display area for the prop resource of the target type, present a resource detail interface of the prop resource of the target type, and present the resource detail interface of the prop resource of the target type
And presenting a resource list corresponding to the prop resource of the target type in the resource detail interface, wherein the resource list is used for recording the virtual prop of the target type owned by the virtual object.
In the above scheme, the first presentation module is further configured to present, in the resource detail interface, a three-dimensional resource display function item of the prop resource of the target type;
correspondingly, the receiving module is further configured to receive a three-dimensional resource display instruction triggered by a display area for the prop resource of the target type in response to the triggering operation for the three-dimensional resource display function item.
In the above scheme, the first presentation module is further configured to present, in a prop resource presentation interface of the virtual scene, presentation areas of different types of prop resources in the virtual scene in a first presentation manner;
correspondingly, the device further comprises:
the switching module is used for responding to the triggering operation aiming at the prop resource display interface and switching the display mode of the display area from the first display mode to a second display mode;
the first display mode is different from the second display mode, and the first display mode and the second display mode are one of a two-dimensional display mode and a three-dimensional display mode.
In the foregoing solution, the display area of each type of prop resource is obtained based on an overview viewing angle, and the second presentation module is further configured to adjust the overview viewing angle to a browsing viewing angle for the target type of prop resource in response to the three-dimensional resource display instruction, and further configured to adjust the overview viewing angle to the browsing viewing angle for the target type of prop resource
And presenting a three-dimensional resource display interface of the virtual scene observed based on the browsing visual angle.
In the above scheme, the apparatus further comprises:
the moving module is used for presenting interface moving function items corresponding to the three-dimensional resource display interface in the three-dimensional resource display interface;
and moving the three-dimensional resource display interface in response to an interface moving instruction triggered based on the interface moving function item so as to update the three-dimensional model corresponding to the prop resource of the target type displayed in the three-dimensional resource display interface.
In the above scheme, the moving module is further configured to receive a sliding operation for the three-dimensional resource display interface;
and moving the three-dimensional resource display interface along with the sliding operation so as to update the three-dimensional model corresponding to the prop resource of the target type displayed in the three-dimensional resource display interface.
In the above solution, the moving module is further configured to receive a moving operation for the target three-dimensional model when the target three-dimensional model displayed in the three-dimensional resource display interface is in a selected state;
and in response to the moving operation, moving the target three-dimensional model from an original position to a target position indicated by the moving operation.
In the above scheme, the apparatus further comprises:
the control module is used for presenting resource adjusting function items in the three-dimensional resource display interface;
responding to the triggering operation aiming at the resource adjusting function item, presenting a resource adjusting interface corresponding to the three-dimensional model, and
presenting at least one resource control function item in the resource adjustment interface;
when a first three-dimensional model displayed in the three-dimensional resource display interface is in a selected state, responding to a trigger operation aiming at a target resource control function item, and executing a control operation corresponding to the target resource control function item on the first three-dimensional model.
In the above solution, the control module is further configured to, when a second three-dimensional model associated with the first three-dimensional model exists, present prompt information corresponding to the second three-dimensional model;
the prompt information is used for confirming whether control operation corresponding to the target resource control function item is executed on the second three-dimensional model or not;
and when a confirmation execution instruction triggered based on the prompt information is received, executing the control operation corresponding to the target resource control function item on the second three-dimensional model.
In the above scheme, the apparatus further comprises:
the third presentation module is used for presenting resource update prompt information and a corresponding resource viewing entry when the collection progress of the prop resource of the target type is updated;
and when a triggering operation aiming at the resource viewing inlet is received, displaying the updated prop resource.
In the above scheme, the second presentation module is further configured to obtain target positions of the virtual props in the virtual scene in the prop resources of the target types, respectively;
and respectively placing the three-dimensional models corresponding to the virtual props at corresponding target positions in the virtual scene so as to display the three-dimensional models corresponding to the prop resources of the target types in the three-dimensional resource display interface.
An embodiment of the present application further provides an electronic device, including:
a memory for storing executable instructions;
and the processor is used for realizing the method for displaying the prop resource in the virtual scene provided by the embodiment of the application when the executable instruction stored in the memory is executed.
The embodiment of the present application further provides a computer-readable storage medium, where executable instructions are stored, and when the executable instructions are executed by a processor, the method for displaying the prop resource in the virtual scene provided in the embodiment of the present application is implemented.
The embodiment of the application has the following beneficial effects:
presenting a collection progress of the corresponding type of prop resources in the display area of each type of prop resource, responding to a three-dimensional resource display instruction when receiving the three-dimensional resource display instruction triggered by the display area aiming at the target type of prop resources, presenting a three-dimensional resource display interface, and displaying a three-dimensional model corresponding to the target type of prop resources in the three-dimensional resource display interface; therefore, the substitution sense of the user in the virtual scene is increased through the three-dimensional resource display interface, the user can intuitively know the collected prop resource and the corresponding collection progress, the whole process does not need to be operated by the user for many times, the man-machine interaction efficiency is improved, and the occupation of hardware processing resources is reduced.
Drawings
Fig. 1 is a schematic architecture diagram of a display system 100 for track resources in a virtual scene according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an electronic device 500 of a method for displaying prop resources in a virtual scene according to an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating a human-computer interaction engine installed in a display apparatus for displaying assets in a virtual scene according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a method for displaying prop resources in a virtual scene according to an embodiment of the present disclosure;
FIG. 5 is a representation of a display area of prop resources provided in an embodiment of the present application;
fig. 6 is a schematic diagram illustrating switching of display modes of a display area of prop resources provided in the embodiment of the present application;
FIG. 7 is a schematic view of a rotated representation of a three-dimensional display area provided by an embodiment of the present application;
FIG. 8 is a schematic representation of a resource detail interface provided by an embodiment of the present application;
FIG. 9 is a schematic representation of a three-dimensional resource display function provided in an embodiment of the present application;
10A-10B are schematic representations of three-dimensional models corresponding to prop resources provided by embodiments of the present application;
fig. 10C is a schematic representation of a three-dimensional model corresponding to a prop resource provided in the embodiment of the present application;
11A-11C are schematic representations of three-dimensional resource display interfaces provided by embodiments of the present application;
FIG. 12 is a schematic diagram illustrating a three-dimensional resource display interface presented based on perspective switching according to an embodiment of the present application;
13A-13B are schematic diagrams of movement of a three-dimensional resource presentation interface provided by an embodiment of the present application;
fig. 14A-14B are schematic diagrams illustrating movement of three-dimensional models corresponding to prop resources provided in this application;
15A-15B are control schematic diagrams of three-dimensional models corresponding to prop resources provided by the embodiments of the present application;
FIG. 16 is a diagram illustrating a resource update prompt according to an embodiment of the present application;
FIG. 17 is a diagram illustrating a method of viewing prop resources provided in the related art;
fig. 18 is a flowchart illustrating a method for displaying a prop resource in a virtual scene according to the embodiment of the present application;
FIG. 19 is a schematic diagram of a top view and a perspective view of a virtual scene provided by an embodiment of the present application;
fig. 20 is a schematic structural diagram of a display apparatus 555 for displaying the track resources in the virtual scene according to the embodiment of the present application.
Detailed Description
In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the attached drawings, the described embodiments should not be considered as limiting the present application, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the following description, references to the terms "first \ second \ third" are only to distinguish similar objects and do not denote a particular order or importance, but rather "first \ second \ third" may, where permissible, be interchanged in a particular order or sequence so that embodiments of the present application described herein can be practiced in other than the order shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
Before further detailed description of the embodiments of the present application, terms and expressions referred to in the embodiments of the present application will be described, and the terms and expressions referred to in the embodiments of the present application will be used for the following explanation.
1) The terminal comprises a client and an application program running in the terminal and used for providing various services, such as an instant messaging client and a video playing client.
2) In response to the condition or state on which the performed operation depends, one or more of the performed operations may be in real-time or may have a set delay when the dependent condition or state is satisfied; there is no restriction on the order of execution of the operations performed unless otherwise specified.
3) The virtual scene is a virtual scene displayed (or provided) when an application program runs on a terminal. The virtual scene may be a simulation environment of a real world, a semi-simulation semi-fictional virtual environment, or a pure fictional virtual environment. The virtual scene may be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene, and the dimension of the virtual scene is not limited in the embodiment of the present invention. For example, a virtual scene may include sky, land, ocean, etc., the land may include environmental elements such as deserts, cities, etc., and a user may control a virtual object to move in the virtual scene.
4) Virtual objects, the appearance of various people and objects in the virtual scene that can interact, or movable objects in the virtual scene. The movable object can be a virtual character, a virtual animal, an animation character, etc., such as: characters, animals, plants, oil drums, walls, rocks, etc. displayed in the virtual scene. The virtual object may be an avatar in the virtual scene that is virtual to represent the user. The virtual scene may include a plurality of virtual objects, each virtual object having its own shape and volume in the virtual scene and occupying a portion of the space in the virtual scene.
Alternatively, the virtual object may be a user Character controlled by an operation on the client, an Artificial Intelligence (AI) set in the virtual scene fight by training, or a Non-user Character (NPC) set in the virtual scene interaction.
5) Scene data, representing various features that objects in the virtual scene are exposed to during the interaction, may include, for example, the location of the objects in the virtual scene. Of course, different types of features may be included depending on the type of virtual scene; for example, in a virtual scene of a game, scene data may include a time required to wait for various functions provided in the virtual scene (depending on the number of times the same function can be used within a certain time), and attribute values indicating various states of a game character, for example, a life value (also referred to as a red amount) and a magic value (also referred to as a blue amount), and the like.
6) The prop resource is a virtual prop in a virtual scene, such as a building, a carrier, clothing, furniture, a plant, an animal and the like.
Based on the above explanations of terms and terms related in the embodiments of the present application, the following describes a system for showing assets in a virtual scene provided in the embodiments of the present application. Referring to fig. 1, fig. 1 is an architectural diagram of a display system 100 for displaying assets in a virtual scene provided in this embodiment, in order to support an exemplary application, terminals (an exemplary terminal 400-1 and a terminal 400-2 are shown) are connected to a server 200 through a network 300, where the network 300 may be a wide area network or a local area network, or a combination of the two, and data transmission is implemented using a wireless or wired link.
The terminal (including the terminal 400-1 and the terminal 400-2) is used for sending an acquisition request of scene data of the virtual scene to the server 200 based on the view interface receiving the triggering operation of entering the virtual scene;
the server 200 is configured to receive an acquisition request of scene data, and return the scene data of a virtual scene to the terminal in response to the acquisition request;
the terminal (comprising the terminal 400-1 and the terminal 400-2) is used for receiving scene data of the virtual scene, rendering pictures of the virtual scene based on the scene data, and presenting the pictures of the virtual scene on a graphic interface (a graphic interface 410-1 and a graphic interface 410-2 are exemplarily shown).
In practical application, the server 200 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, a middleware service, a domain name service, a security service, a CDN, a big data and artificial intelligence platform, and the like. The terminals (e.g., the terminal 400-1 and the terminal 400-2) may be, but are not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart television, a smart watch, and the like. The terminals (e.g., terminal 400-1 and terminal 400-2) and the server 200 may be directly or indirectly connected through wired or wireless communication, and the application is not limited thereto.
In actual applications, the terminals (including the terminal 400-1 and the terminal 400-2) are installed and run with applications supporting virtual scenes. The application program may be any one of a simulated operation game called a first person, a simulated operation game called a third person, a Two-dimensional (2D) game application, a Three-dimensional (3D) game application, a virtual reality application program, and a Three-dimensional map program. The application may also be a stand-alone application, such as a stand-alone 3D game program.
The virtual scene involved in the embodiment of the invention can be used for simulating a two-dimensional virtual space or a three-dimensional virtual space and the like. Taking the example that the virtual scene simulates a three-dimensional virtual space, the three-dimensional virtual space may be an open space, and the virtual scene may be used to simulate a real environment in reality, for example, the virtual scene may include sky, land, sea, and the like, and the land may include environmental elements such as a desert, a city, and the like. Of course, virtual prop resources, such as buildings, vehicles, clothes, furniture, plants, animals, etc., may also be included in the virtual scene. The virtual scene can also be used for simulating real environments in different weathers, such as sunny days, rainy days, foggy days or nights. The virtual object may be an avatar in the virtual scene for representing the user, and the avatar may be in any form, such as a simulated human, a simulated animal, and the like, which is not limited by the invention. In actual implementation, a user may use a terminal (such as terminal 400-1) to control a virtual object to perform activities in the virtual scene, including but not limited to: adjusting at least one of body posture, crawling, walking, running, riding, jumping, driving, picking, shooting, attacking, throwing.
Taking an electronic game scene as an exemplary scene, a user can operate on the terminal in advance, after the terminal detects the operation of the user, the terminal can download a game configuration file of the electronic game, and the game configuration file can include an application program, interface display data or virtual scene data of the electronic game, so that the user can call the game configuration file when logging in the electronic game on the terminal to render and display an electronic game interface. A user may perform a touch operation on a terminal, and after the terminal detects the touch operation, the terminal may determine game data corresponding to the touch operation, and render and display the game data, where the game data may include virtual scene data, behavior data of a virtual object in the virtual scene, and the like.
In practical application, a terminal (including the terminal 400-1 and the terminal 400-2) receives a trigger operation for entering a virtual scene based on a view interface, and sends an acquisition request of scene data of the virtual scene to the server 200; the server 200 receives an acquisition request of scene data, responds to the acquisition request, and returns the scene data of the virtual scene to the terminal; the terminal receives scene data of the virtual scene, renders pictures of the virtual scene based on the scene data, and presents the pictures of the virtual scene;
further, the terminal presents display areas of different types of prop resources (such as clothes, furniture and the like) in the virtual scene in a picture of the virtual scene, and presents a collection progress of the prop resources of corresponding types in the display areas of the prop resources of various types; receiving a three-dimensional resource display instruction triggered by a display area of a target type prop resource; and responding to the three-dimensional resource display instruction, presenting a three-dimensional resource display interface of the virtual scene, and displaying a three-dimensional model corresponding to the prop resource of the target type in the three-dimensional resource display interface.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an electronic device 500 of a method for displaying prop resources in a virtual scene according to an embodiment of the present application. In practical application, the electronic device 500 may be a server or a terminal shown in fig. 1, and taking the electronic device 500 as the terminal shown in fig. 1 as an example, the electronic device implementing the method for showing the street furniture resources in the virtual scene according to the embodiment of the present application is described, where the electronic device 500 provided in the embodiment of the present application includes: at least one processor 510, memory 550, at least one network interface 520, and a user interface 530. The various components in the electronic device 500 are coupled together by a bus system 540. It is understood that the bus system 540 is used to enable communications among the components. The bus system 540 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 540 in fig. 2.
The Processor 510 may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like, wherein the general purpose Processor may be a microprocessor or any conventional Processor, or the like.
The user interface 530 includes one or more output devices 531 enabling presentation of media content, including one or more speakers and/or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components to facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard disk drives, optical disk drives, and the like. Memory 550 optionally includes one or more storage devices physically located remote from processor 510.
The memory 550 may comprise volatile memory or nonvolatile memory, and may also comprise both volatile and nonvolatile memory. The nonvolatile memory may be a Read Only Memory (ROM), and the volatile memory may be a Random Access Memory (RAM). The memory 550 described in embodiments herein is intended to comprise any suitable type of memory.
In some embodiments, memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or subsets or supersets thereof, as exemplified below.
An operating system 551 including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
a network communication module 552 for communicating to other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 including: bluetooth, wireless compatibility authentication (WiFi), and Universal Serial Bus (USB), etc.;
a presentation module 553 for enabling presentation of information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 531 (e.g., a display screen, speakers, etc.) associated with the user interface 530;
an input processing module 554 for detecting one or more user inputs or interactions from one of the one or more input devices 532 and translating the detected inputs or interactions.
In some embodiments, the display apparatus for the assets in the virtual scene provided by the embodiments of the present application may be implemented in software, and fig. 2 shows the display apparatus 555 for assets in the virtual scene stored in the memory 550, which may be software in the form of programs and plug-ins, and includes the following software modules: a first presenting module 5551, a receiving module 5552 and a second presenting module 5553, which are logical and thus can be arbitrarily combined or further split according to the implemented functions, the functions of the respective modules will be explained below.
In other embodiments, the display apparatus for displaying assets in a virtual scene provided in this Application may be implemented by combining software and hardware, and as an example, the display apparatus for displaying assets in a virtual scene provided in this Application may be a processor in the form of a hardware decoding processor, which is programmed to execute the display method for displaying assets in a virtual scene provided in this Application, for example, the processor in the form of the hardware decoding processor may employ one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), or other electronic elements.
In some embodiments, a human-computer interaction engine for implementing the method for displaying the assets in the virtual scene is installed in the display device 555 for displaying the assets in the virtual scene, where the human-computer interaction engine includes a functional module, an assembly, or a plug-in for implementing the method for displaying the assets in the virtual scene, fig. 3 is a schematic diagram of the human-computer interaction engine installed in the display device for displaying the assets in the virtual scene provided in the embodiment of the present application, and referring to fig. 3, a virtual scene is taken as an example of a game scene, and correspondingly, the human-computer interaction engine is a game engine.
The game engine is a code (instruction) set which is designed for a machine running a certain kind of game and can be identified by the machine, and is like an engine and controls the running of the game, a game program can be divided into two parts of the game engine and game resources, the game resources comprise images, sounds, animation and the like, the game is divided into the engine (program code) + resources (images, sounds, animation and the like), and the game engine calls the resources in sequence according to the requirements of the game design.
The method for showing the track resources in the virtual scene provided by the embodiment of the present application may be implemented by each module in the device for showing the track resources in the virtual scene shown in fig. 2 by calling a relevant module, component, or plug-in of the game engine shown in fig. 3, where the module, component, or plug-in included in the game engine shown in fig. 3 is described below by way of example.
As shown in fig. 3, includes: 1) the virtual camera is used for presenting the game scene pictures, one game scene at least corresponds to one virtual camera, two or more than two virtual cameras can be used as game rendering windows according to actual needs to capture and present the picture content of the game world for a player, and the viewing angles of the player watching the game world, such as a first person viewing angle and a third person viewing angle, can be adjusted by setting the parameters of the virtual camera.
2) Scene organization, used for game scene management, such as collision detection, visibility elimination, and the like; the collision detection can be realized by a collision body, and according to actual needs, the collision body can be realized by an axis-Aligned Bounding Box (AABB) or an Oriented Bounding Box (OBB); the visibility elimination can be realized based on a visual body, the visual body is a three-dimensional frame generated according to the virtual camera and is used for cutting objects outside the visual range of the camera, the objects in the visual body are projected to a visual plane, and the objects which are not in the visual body are discarded and not processed.
3) And the terrain management module is used for performing a component for managing the terrain in the game scene, and is used for creating and editing the game terrain, such as creating the terrain in the game scene of mountains, canyons, caves and the like.
4) Editor, an aid in game design, comprising:
the scene editor is used for editing the game scene content, such as changing the terrain, customizing vegetation distribution, lighting layout and the like;
a model editor for making and editing models in a game (character models in a game scene);
the special effect editor is used for editing the special effect in the game picture;
and the action editor is used for defining and editing the action of the character in the game picture.
5) The special effect component is used for making and editing game special effects in game pictures, and can be realized by adopting particle special effects and texture UV animations in practical application; the particle special effect is that countless single particles are combined to present a fixed form, and the whole or single movement of the particles is controlled by the controller and the script, so that the real effects of water, fire, fog, gas and the like are simulated; UV animation is texture animation implemented by dynamically modifying the UV coordinates of the map.
6) The skeleton animation is realized by adopting built-in skeletons to drive an object to move, and can be understood as the following two concepts:
bone: an abstract concept for controlling skinning, such as human skeletal control skin;
covering: factors controlled by the bones and displayed outside, such as the skin of the human body, are affected by the bones.
7) Morph animation: i.e., morphing animation, animation achieved by adjusting the vertices of the base model.
8) And the UI control is used for realizing the control of game picture display.
9) The bottom layer algorithm, the algorithm which needs to be called for realizing the functions in the game engine, the graphical algorithm which is needed by the real scene organization, and the matrix transformation and the vector transformation which are needed by the skeleton animation are realized.
10) The rendering component is necessary for displaying the game picture effect, and the scene described by the three-dimensional vector is converted into the scene described by the two-dimensional pixel through the rendering component, wherein the scene described by the two-dimensional pixel comprises model rendering and scene rendering.
11) And A, routing, and an algorithm for seeking the shortest path during path planning, routing and graph routing in game design.
For example, the first presentation module 5551 may implement interaction between a user and a game by invoking a UI control in the game engine shown in fig. 3, create a two-dimensional or three-dimensional model by invoking a Morph animation portion in the game engine, after the model is created, assign a material chartlet to the model according to different surfaces through a skeleton animation portion, which is equivalent to covering a skin on a skeleton, and calculate and display all effects of the model, animation, light shadow, special effect, and the like in real time through a rendering component on a human-computer interaction interface. Specifically, the first presentation module 5551 may present a picture of the virtual scene after rendering the virtual scene data by calling a rendering component in the game engine shown in fig. 3, then present display areas of different types of prop resources in the virtual scene in the picture, and present a collection progress of the corresponding types of prop resources in the display areas of the various types of prop resources.
The receiving module 5552 may implement receiving a three-dimensional resource display instruction triggered by a display area for a target type of prop resource by calling a UI control in the game engine shown in fig. 3.
The second presentation module 5553 may determine, in response to the three-dimensional resource presentation instruction, the number of three-dimensional models adapted to the collection progress corresponding to the item resource of the target type by calling a bottom layer algorithm part and an editor part in the game engine shown in fig. 3, then create the three-dimensional models by calling a Morph animation part in the game engine, after the models are created, assign material maps to the models according to different surfaces through a skeleton animation part, calculate all effects of the models, such as animation, light and shadow, special effects, in real time through a rendering component, present a three-dimensional resource presentation interface of the virtual scene, and present the three-dimensional models corresponding to the item resource of the target type in the three-dimensional resource presentation interface.
Based on the above description of the system for displaying prop resources in a virtual scene and the electronic device provided in the embodiment of the present application, the method for displaying the prop resources in the virtual scene provided in the embodiment of the present application is described below. In some embodiments, the method for displaying the prop resource in the virtual scene provided by the embodiment of the present application may be implemented by a server or a terminal alone, or implemented by a server and a terminal in a cooperation manner, and the method for displaying the prop resource in the virtual scene provided by the embodiment of the present application is described below by taking a terminal embodiment as an example.
Referring to fig. 4, fig. 4 is a schematic flow chart of a method for displaying prop resources in a virtual scene provided in the embodiment of the present application, where the method for displaying the prop resources in the virtual scene provided in the embodiment of the present application includes:
step 101: and the terminal presents the display areas of the prop resources of different types in the virtual scene, and presents the collection progress of the prop resources of corresponding types in the display areas of the prop resources of various types.
In practical applications, the terminal is provided with an application client supporting a virtual scene, and when a user opens the application client on the terminal and the terminal runs the application client, the terminal presents a picture of the virtual scene (such as a game scene of a simulation operation). In some embodiments, the virtual scene may be displayed in a first-person perspective (e.g., to play a virtual object in a game in a player's own perspective) in the human-machine interface of the terminal; or displaying the virtual scene at a third person perspective (e.g., a player follows a virtual object in the game to play the game); the virtual scene can also be displayed at a bird's-eye view angle; the above-mentioned viewing angles can be switched arbitrarily.
Taking the example of displaying the virtual scene from the first-person perspective, the virtual scene displayed in the human-computer interaction interface may include: according to the viewing position and the viewing angle of the virtual object in the complete virtual scene, the field of view area of the virtual object is determined, and the partial virtual scene in the field of view area in the complete virtual scene is presented, namely, the displayed virtual scene can be a partial virtual scene relative to the panoramic virtual scene. Because the first person viewing angle is the viewing angle which can give impact force to the user, the immersive perception that the user is personally on the scene in the operation process can be realized.
Taking the example of displaying the virtual scene at the bird's eye view angle, the screen of the virtual scene presented in the human-computer interaction interface may include: in response to a zoom operation for the panoramic virtual scene, a partial virtual scene corresponding to the zoom operation is presented in the human-machine interaction interface, i.e., the displayed virtual scene may be a partial virtual scene relative to the panoramic virtual scene. Therefore, the operability of the user in the operation process can be improved, and the efficiency of man-machine interaction can be improved.
Here, in the virtual scene, the terminal presents the presentation areas of the different types of prop resources related in the virtual scene to present various types of prop resources to the user, where the types of the prop resources may include pet props, clothing props, furniture props, and the like. In some embodiments, the user may continuously collect prop resources in the virtual scene to continue to experience the virtual scene, and at this time, the terminal may also present a collection progress of the prop resources of the corresponding type in the display area of the prop resources of each type. Specifically, the collection progress may be presented by a numerical percentage, such as pet-type prop 50%, clothing-type prop 75%, furniture-type prop unlocked 25%, and so forth.
In some embodiments, the terminal may present the presentation areas of different types of prop resources in the virtual scene by: presenting three-dimensional display areas of different types of prop resources in the virtual scene in a prop resource display interface of the virtual scene; or presenting two-dimensional display areas of different types of prop resources in the virtual scene in a prop resource display interface of the virtual scene; the three-dimensional display area and the type are in one-to-one correspondence, and the two-dimensional display area and the type are in one-to-one correspondence.
In practical application, the display area of the prop resource can be presented through a prop resource display interface of a virtual scene, and the display area of the prop resource can be a three-dimensional display area or a two-dimensional display area.
Exemplarily, referring to fig. 5, fig. 5 is a schematic representation of a display area of a prop resource provided in an embodiment of the present application. Here, as shown in sub-diagram (1) in fig. 5, a three-dimensional display area of prop resources is presented in a prop resource display interface of virtual resources, and in the display area of each type of prop resource, a collection progress of the corresponding type of prop resources is presented, including exploration-type props 25%, clothing-type props 85%, furniture-type props 50%, production-type props 25%, pet-type props 0%, and other types of props 25%; and each three-dimensional display area is in one-to-one correspondence with the type of the prop. As shown in sub-diagram (2) in fig. 5, a two-dimensional display area of the prop resource is presented in the prop resource display interface of the virtual resource, and in the display area of each type of prop resource, a collection progress of the corresponding type of prop resource is presented, including exploration-type props 25%, clothing-type props 85%, furniture-type props 50%, production-type props 25%, pet-type props 0%, and other types of props 25%; and each two-dimensional display area is in one-to-one correspondence with the type of the prop.
In some embodiments, the terminal may present the presentation areas of different types of prop resources in the virtual scene by: displaying display areas of different types of prop resources in a virtual scene in a prop resource display interface of the virtual scene in a first display mode; correspondingly, the terminal responds to the trigger operation aiming at the prop resource display interface and switches the display mode of the display area from the first display mode to the second display mode; the first display mode is different from the second display mode, and the first display mode and the second display mode are one of a two-dimensional display mode and a three-dimensional display mode.
Here, the display mode of the display area of the property resource may be switched as follows: when the terminal displays the display area of the prop resource in the prop resource display interface of the virtual scene in the first display mode, if a trigger operation aiming at the prop resource display interface is received, such as a click operation, a long press operation, a double click operation and the like, the display mode of the display area is switched from the first display mode to the second display mode in response to the trigger operation. In practical applications, the first display mode is different from the second display mode, and the first display mode and the second display mode are one of a two-dimensional display mode and a three-dimensional display mode.
For example, referring to fig. 6, fig. 6 is a schematic diagram illustrating switching of display modes of display areas of prop resources provided in the embodiment of the present application. Here, as shown in sub-diagram (1) in fig. 6, the terminal displays a display area of the prop resource in a two-dimensional display manner in the prop resource display interface; when a long press operation for the prop resource display interface is received, in response to the long press operation, the display mode is switched from the two-dimensional display mode to the three-dimensional display mode, as shown in sub-diagram (2) in fig. 6.
In some embodiments, when the display area is a three-dimensional display area, the terminal receives a sliding operation for the prop resource display interface, wherein the sliding operation is used for triggering a rotation instruction for the three-dimensional display area; and responding to the sliding operation, rotating the three-dimensional display area according to the rotating instruction corresponding to the sliding operation, and presenting the rotated three-dimensional display area.
In practical application, if the display area of the prop resource is a three-dimensional display area, a user can view the presented three-dimensional display area from different angles by triggering a rotation instruction for the three-dimensional display area. Specifically, the rotation instruction for the three-dimensional display area may be triggered by a sliding operation of the prop resource display interface, for example, a user may perform the sliding operation in a certain rotation function area of the prop resource display interface, or may directly perform the sliding operation in the prop resource display interface. And when the terminal receives the sliding operation of the user for the prop resource display interface, responding to the sliding operation, presenting the rotation process of the three-dimensional display area according to the rotation instruction corresponding to the sliding operation, and presenting the rotated three-dimensional display area.
In practical implementation, the sliding direction of the sliding operation is used to indicate the rotation direction corresponding to the rotation instruction, for example, if the sliding direction of the sliding operation is from left to right, then the corresponding rotation direction is the counterclockwise rotation direction, the sliding direction of the sliding operation is from right to left, and then the corresponding rotation direction is the clockwise rotation direction. The sliding displacement of the sliding operation is used for indicating the rotation angle corresponding to the rotation instruction, and the corresponding relation between the sliding displacement and the rotation angle can be preset.
By way of example, referring to fig. 7, fig. 7 is a schematic view of a rotational rendering of a three-dimensional display area provided by an embodiment of the present application. Here, the terminal presents a three-dimensional display area of the prop resource in a prop resource display interface, and a user triggers a sliding operation from left to right on the prop resource display interface, so as to trigger a counterclockwise rotation instruction for the three-dimensional display area; the terminal responds to the rotation instruction and presents a rotation process of the three-dimensional display area, namely a process of anticlockwise rotation of the three-dimensional display area; and when the sliding operation release is detected or the rotation angle corresponding to the sliding displacement of the sliding operation is detected to be rotated, stopping the rotation of the three-dimensional display area and presenting the rotated three-dimensional display area.
In some embodiments, when the display area is a two-dimensional display area, the terminal may present a resource detail interface of the prop resource in the following manner: and responding to the triggering operation of the two-dimensional display area aiming at the prop resource of the target type, presenting a resource detail interface of the prop resource of the target type, and presenting a resource list corresponding to the prop resource of the target type in the resource detail interface, wherein the resource list is used for recording the virtual prop of the target type owned by the virtual object.
Here, if the display area of the property resource is a two-dimensional display area, the user may enter the resource detail interface of the property resource through the two-dimensional display area, and specifically, when the user needs to know details of a target type of property resource in each type of property resource, the two-dimensional display area for the target type of property resource may be triggered by clicking, double clicking, long pressing, or the like. And when the terminal receives a trigger operation aiming at the two-dimensional display area of the prop resource of the target type, responding to the trigger operation, and presenting a resource detail interface of the prop resource of the target type.
In actual implementation, the resource detail viewing button can be presented in the two-dimensional display area of each type of prop resource. When a triggering operation of a resource detail viewing button for the prop resource of the target type is received, a resource detail interface of the prop resource of the target type is presented in response to the triggering operation.
In practical application, a resource list corresponding to a target type prop resource is presented in the resource detail interface, and the resource list is used for recording a target type virtual prop owned by a virtual object. Specifically, all virtual props of the target types involved in the virtual scene can be presented in the resource list, and then a resource detail interface of prop resources owned by the virtual object and virtual props of target types not owned by the virtual object are presented through different display styles.
By way of example, referring to fig. 8, fig. 8 is a presentation schematic diagram of a resource detail interface provided by an embodiment of the present application. Here, the terminal presents the two-dimensional display area of the property resource of each type (including pet type, clothing type, furniture type, and the like) in the property resource display interface, and when receiving a trigger operation for the two-dimensional display area of the property resource of a target type (such as clothing type), such as a click operation for the two-dimensional display area of the property resource of clothing type, in response to the trigger operation, presents the resource detail interface of the property resource of clothing type. Meanwhile, in a resource detail interface, a resource list corresponding to the property resources of the clothing is presented, wherein the resource list comprises clothing 1, clothing 2, clothing 3 and the like; different display styles are adopted to present property resources of clothes owned by the virtual object and property resources of clothes not owned by the virtual object, for example, clothes 1-9 are owned by the virtual object and presented in a highlight mode, clothes 10-15 are not owned by the virtual object and presented in a gray + pattern lock mode.
Step 102: and receiving a three-dimensional resource display instruction triggered by a display area of the prop resource of the target type.
The three-dimensional resource display instruction is used for indicating that the prop resource of the target type is displayed in a three-dimensional display mode.
Here, after the terminal presents the display areas of the prop resources of each type, the user may check the three-dimensional display of the prop resource of the corresponding type through the display areas, and specifically, the three-dimensional resource display instruction of the display area of the prop resource of the target type may be triggered by performing a trigger operation such as clicking, long-pressing, and the like on the display area of the prop resource of the target type.
In some embodiments, when the terminal presents the three-dimensional display areas of the prop resources of different types in the virtual scene in the prop resource display interface of the virtual scene, a three-dimensional resource display instruction triggered by the three-dimensional display area of the prop resource of the target type is received in response to a trigger operation for the three-dimensional display area of the prop display resource of the target type.
In some embodiments, when the terminal presents the two-dimensional display areas of the prop resources of different types in the virtual scene in the prop resource display interface of the virtual scene, a three-dimensional resource display instruction triggered by the two-dimensional display area of the prop resource of the target type is received in response to a trigger operation for the two-dimensional display area of the prop display resource of the target type.
Here, different trigger operations may be set for the display areas of different dimensions to trigger the three-dimensional resource display instruction for the display area of the prop resource of the target type. For example, when the terminal receives a long press operation of a two-dimensional display area for a prop display resource of a target type, a three-dimensional resource display instruction triggered by the two-dimensional display area for the prop resource of the target type is received in response to the long press operation; or when the terminal receives a click operation aiming at the three-dimensional display area of the prop display resource of the target type, responding to the click operation and receiving a three-dimensional resource display instruction triggered by the three-dimensional display area aiming at the prop resource of the target type.
In some embodiments, the terminal may present, in the resource detail interface, a three-dimensional resource display function item of the prop resource of the target type; correspondingly, the terminal can receive a three-dimensional resource display instruction triggered by the display area of the target type prop resource in the following mode: and responding to the triggering operation aiming at the three-dimensional resource display function item, and receiving a three-dimensional resource display instruction triggered by a display area aiming at the prop resource of the target type.
Exemplarily, referring to fig. 9, fig. 9 is a presentation schematic diagram of a three-dimensional resource display function item provided by an embodiment of the present application. Here, the terminal presents the three-dimensional resource display function item of the property resource of the clothing class in the resource detail interface (for example, the three-dimensional resource display function item of the property resource of the clothing class is taken as the three-dimensional display area of the property resource of the clothing class as shown in fig. 9). When triggering operation, such as clicking, long pressing and the like, for the three-dimensional resource display function item is received, a three-dimensional resource display instruction triggered by a three-dimensional display area for clothing prop resources is received in response to the triggering operation, so that a three-dimensional resource display interface is presented in response to the three-dimensional resource display instruction, and a three-dimensional model corresponding to the clothing prop resources is presented in the three-dimensional display interface.
Step 103: and responding to the three-dimensional resource display instruction, presenting a three-dimensional resource display interface of the virtual scene, and displaying a three-dimensional model corresponding to the prop resource of the target type in the three-dimensional resource display interface.
And the number of the displayed three-dimensional models is matched with the collection progress corresponding to the prop resource of the target type.
Here, after receiving a three-dimensional resource display instruction triggered by a display area for a prop resource of a target type, the terminal presents a three-dimensional resource display interface of a virtual scene in response to the three-dimensional resource display instruction, and displays a three-dimensional model corresponding to the prop resource of the target type in the three-dimensional resource display interface. Here, the number of the displayed three-dimensional models is adapted to the collection progress corresponding to the prop resource of the target type, that is, the three-dimensional models corresponding to the prop resources collected by the user are displayed.
For example, referring to fig. 10A to 10B, fig. 10A to 10B are schematic representation diagrams of three-dimensional models corresponding to prop resources provided in the embodiment of the present application. Here, in the three-dimensional resource display interface, a three-dimensional model corresponding to the prop resource of the target type is presented, and the presented three-dimensional model corresponds to the prop resource collected by the user, such as resource 1; and the three-dimensional model of the prop resource which is not collected is not presented, for example, the resource 2, and the preset presentation position corresponding to the resource 2 is left vacant. With continued reference to fig. 10B, as the collection progress corresponding to the prop resource of the target type increases, the number of displayed three-dimensional models of the prop resource increases.
In some embodiments, the terminal may display the three-dimensional model corresponding to the prop resource of the target type by: respectively acquiring target positions of virtual props in a virtual scene in the prop resources of the target types; and respectively placing the three-dimensional models corresponding to the virtual props at corresponding target positions in the virtual scene so as to display the three-dimensional models corresponding to the prop resources of the target types in the three-dimensional resource display interface.
In practical application, the positions of the virtual props in the virtual scene can be preset. Therefore, when the three-dimensional model corresponding to the prop resource of the target type is displayed in the three-dimensional resource display interface, the target position of each virtual prop in the prop resource of the target type in the virtual scene is firstly respectively obtained, and then the three-dimensional model corresponding to each virtual prop is respectively placed in the corresponding target position in the virtual scene. Here, a corresponding three-dimensional model is pre-established for each virtual prop (i.e., prop resource).
The number of the three-dimensional models displayed in the three-dimensional resource display interface is adapted to the collection progress corresponding to the prop resource of the target type, that is, the three-dimensional models corresponding to the prop resources which are already collected by the user are displayed only in the corresponding target positions in the three-dimensional resource display interface, and the target positions corresponding to the prop resources which are not collected are left vacant. Referring to fig. 10C, fig. 10C is a schematic view illustrating a presentation principle of a three-dimensional model corresponding to a prop resource provided in the embodiment of the present application, where three-dimensional models corresponding to prop resources collected by a user are displayed in the resource 1 location, the resource 2 location, and the resource 3 location, and since prop resources corresponding to the resource 4 location are not collected, the resource 4 location is left vacant.
The following describes an exemplary presentation process of a three-dimensional resource presentation interface provided by an embodiment of the present application with reference to fig. 11A to 11C. 11A-11C are presentation diagrams of a three-dimensional resource presentation interface provided by an embodiment of the application. Here, as shown in fig. 11A, the terminal presents three-dimensional display areas of prop resources of various types (including pets, clothing, furniture, and the like) in the prop resource display interface, receives a click operation of the three-dimensional display area of the prop resource of a target type (such as clothing), receives a three-dimensional resource display instruction triggered by the three-dimensional display area of the clothing prop resource in response to the click operation, presents a three-dimensional resource display interface of a virtual scene, and presents a three-dimensional model corresponding to the clothing prop resource in the three-dimensional resource display interface.
As shown in fig. 11B, the terminal presents the two-dimensional display area of the property resources of each type (including pets, clothing, furniture, and the like) in the property resource display interface, receives a long-press operation of the two-dimensional display area of the property resources of the target type (such as clothing), receives a three-dimensional resource display instruction triggered by the two-dimensional display area of the clothing property resources in response to the long-press operation, presents the three-dimensional resource display interface of the virtual scene, and presents the three-dimensional model corresponding to the clothing property resources in the three-dimensional resource display interface.
As shown in fig. 11C, the terminal presents the two-dimensional display area of the property resources of each type (including pet type, clothing type, furniture type, and the like) in the property resource display interface, and when a click operation for the two-dimensional display area of the property resource of the target type (such as clothing type) is received, the resource detail interface of the property resource of clothing type is presented in response to the click operation. Meanwhile, in the resource detail interface, a three-dimensional resource display function item of the target type item of prop resource is presented (for example, as shown in fig. 11C, a three-dimensional display area of the item of prop resource of clothing is used as a three-dimensional resource display function item of the item of prop resource of clothing). When triggering operation aiming at the three-dimensional resource display function item is received, such as clicking, long pressing and other operations, in response to the triggering operation, a three-dimensional resource display instruction triggered aiming at the three-dimensional display area of the clothing prop resource is received, a three-dimensional resource display interface of a virtual scene is further presented, and meanwhile, a three-dimensional model corresponding to the clothing prop resource is displayed in the three-dimensional resource display interface.
In some embodiments, the display area of each type of prop resource presented by the terminal is obtained based on overview viewing angle observation, and based on this, the terminal may respond to the three-dimensional resource display instruction in the following manner to present a three-dimensional resource display interface of the virtual scene: and responding to the three-dimensional resource display instruction, adjusting the overview visual angle to the browsing visual angle aiming at the prop resource of the target type, and presenting a three-dimensional resource display interface of the virtual scene observed based on the browsing visual angle.
Referring to fig. 12, fig. 12 is a schematic diagram for presenting a three-dimensional resource display interface based on perspective switching according to an embodiment of the present application. Here, the display area of each type of prop resource presented by the terminal is obtained by observing an overview viewing angle, and when a three-dimensional resource display instruction is received, the camera position is adjusted to adjust the observation viewing angle to a browsing viewing angle for the target type of prop resource, so that a three-dimensional resource display interface of a virtual scene obtained by observing based on the browsing viewing angle is presented.
In some embodiments, the terminal may update the three-dimensional model displayed in the three-dimensional resource display interface by: presenting interface moving function items corresponding to the three-dimensional resource display interface in the three-dimensional resource display interface; and moving the three-dimensional resource display interface in response to an interface moving instruction triggered based on the interface moving function item so as to update the three-dimensional model corresponding to the prop resource of the target type displayed in the three-dimensional resource display interface.
Here, the three-dimensional model presented by the three-dimensional resource display interface is a partial three-dimensional model in the field of view, and the user can adjust the field of view by moving the three-dimensional display interface, so as to view the three-dimensional models of all the prop resources of the target type in the virtual scene. In practical application, referring to fig. 13A, fig. 13A is a schematic moving diagram of a three-dimensional resource display interface provided in the embodiment of the present application. Here, the interface movement function item may be presented in the three-dimensional resource display interface, and the user may trigger the interface movement function item to realize movement of the three-dimensional resource display interface, so as to update the three-dimensional model corresponding to the prop resource of the target type displayed in the three-dimensional resource display interface.
In some embodiments, the terminal may further update the three-dimensional model displayed in the three-dimensional resource display interface by: receiving sliding operation aiming at a three-dimensional resource display interface; and moving the three-dimensional resource display interface along with the sliding operation so as to update the three-dimensional model corresponding to the prop resource of the target type displayed in the three-dimensional resource display interface.
Here, the three-dimensional model presented by the three-dimensional resource display interface is a partial three-dimensional model in the field of view, and the user can adjust the field of view by moving the three-dimensional display interface, so as to view the three-dimensional models of all the prop resources of the target type in the virtual scene. In practical applications, referring to fig. 13B, fig. 13B is a schematic moving diagram of the three-dimensional resource display interface provided in the embodiment of the present application. Here, the terminal receives a sliding operation for the three-dimensional resource display interface; and moving the three-dimensional resource display interface along with the sliding operation, so as to update the three-dimensional model corresponding to the prop resource of the target type displayed in the three-dimensional resource display interface.
In some embodiments, the terminal may move the three-dimensional model displayed in the three-dimensional resource display interface by: when a target three-dimensional model displayed in a three-dimensional resource display interface is in a selected state, receiving a moving operation aiming at the target three-dimensional model; and in response to the moving operation, moving the target three-dimensional model from the original position to the target position indicated by the moving operation.
In practical applications, the positions of the three-dimensional models presented in the three-dimensional resource display interface can be moved according to the needs of the user. The user can select a target three-dimensional model to be subjected to the moving operation from the plurality of presented three-dimensional models through clicking, long pressing and the like. And the terminal responds to the selection operation aiming at the target three-dimensional model triggered by the user and adjusts the target three-dimensional model into a selected state. At this time, the user may trigger a moving operation for the target three-dimensional model by dragging the target three-dimensional model to the target position or clicking the target position. And the terminal responds to the moving operation and moves the target three-dimensional model from the original position to the target position indicated by the moving operation.
For example, referring to fig. 14A to 14B, fig. 14A to 14B are schematic moving diagrams of a three-dimensional model corresponding to a prop resource provided in an embodiment of the present application. Referring to fig. 14A, the three-dimensional model 1 presented in the three-dimensional resource presentation interface is in a selected state, and in response to a drag operation for the three-dimensional model 1 triggered by a user, when it is detected that the drag operation is released, if a release point is located at a target position, a moving operation for the three-dimensional model 1 is received, and the three-dimensional model 1 is moved to the target position.
Illustratively, referring to fig. 14B, the three-dimensional model 1 presented in the three-dimensional resource presentation interface is in a selected state, and when a click operation for a target position is received, a movement operation for the three-dimensional model 1 is received, and the three-dimensional model 1 is directly moved to the target position.
In some embodiments, the terminal may control the three-dimensional model displayed in the three-dimensional resource display interface by: presenting resource adjustment function items in a three-dimensional resource display interface; responding to the trigger operation aiming at the resource adjusting function item, presenting a resource adjusting interface corresponding to the three-dimensional model, and presenting at least one resource control function item in the resource adjusting interface; when a first three-dimensional model displayed in the three-dimensional resource display interface is in a selected state, responding to the trigger operation aiming at the target resource control function item, and executing the control operation corresponding to the target resource control function item on the first three-dimensional model.
Here, the three-dimensional resource display interface also presents resource adjustment function items. And when receiving the trigger operation aiming at the resource adjusting function item, responding to the trigger operation, and presenting a resource adjusting interface corresponding to the three-dimensional model. In actual implementation, at least one resource control function item, such as a resource placement function item, a resource retraction function item, etc., may be presented in the resource adjustment interface. And when the triggering operation aiming at the target resource control function item is received, executing the control operation corresponding to the target resource control function item on the first three-dimensional model in the selected state. For example, when the target resource control function item is a resource retraction function item, in response to a trigger operation for the resource retraction function item, retraction control is performed on the first three-dimensional model, that is, the first three-dimensional model is not presented from the current position.
For example, referring to fig. 15A, fig. 15A is a schematic control diagram of a three-dimensional model corresponding to a prop resource provided in the embodiment of the present application. Here, the resource adjustment function item "adjustment" is presented in the three-dimensional resource display interface, and a trigger operation for the resource adjustment function item "adjustment" is received, and the resource adjustment interface is presented. The resource placement function item "place" and the resource retraction function item "retract" are presented in the resource adjustment interface. Here, when the first three-dimensional model is in the selected state, an empty location for the placed three-dimensional model is also present in the resource adjustment interface, identified by a "+". The user can cancel the presentation of the first three-dimensional model from the current position by clicking the resource retraction function item to retract; meanwhile, the user selects a target position from the vacant positions, clicks the corresponding "+" mark, and places the first three-dimensional model at the target position by triggering the resource placement function item to be placed, so that the first three-dimensional model is moved from the original position to the target position.
In some embodiments, after the terminal performs the control operation corresponding to the target resource control function item on the first three-dimensional model, the following process may be further performed on a second three-dimensional model associated with the first three-dimensional model: when a second three-dimensional model associated with the first three-dimensional model exists, presenting prompt information corresponding to the second three-dimensional model; and when a confirmation execution instruction triggered based on the prompt information is received, executing the control operation corresponding to the target resource control function item on the second three-dimensional model. And the prompt information is used for confirming whether to execute the control operation corresponding to the target resource control function item on the second three-dimensional model.
In practice, there may be a second three-dimensional model associated with the first three-dimensional model, such as the same style, belonging to a suit, etc. In order to reduce the user operations, after the control operation corresponding to the target resource control function item is executed on the first three-dimensional model, prompt information corresponding to the second three-dimensional model may be presented, where the prompt information is used to confirm whether the control operation corresponding to the target resource control function item is executed on the second three-dimensional model. And if a confirmation execution instruction triggered based on the prompt information is received, executing the control operation corresponding to the target resource control function item on the second three-dimensional model, thus realizing one-key control on the second three-dimensional model associated with the first three-dimensional model and improving the user experience.
For example, referring to fig. 15B, fig. 15B is a control schematic diagram of a three-dimensional model corresponding to a prop resource provided in the embodiment of the present application. Here, after the first three-dimensional model is moved from the original position to the target position, a pop-up box of the prompt information is presented, and a confirm button and a deny button corresponding to the prompt information are presented. When a confirmation execution instruction based on the confirmation button trigger is received, the second three-dimensional model is also moved from the original position to the target position.
In some embodiments, when the collection progress of the prop resource of the target type is updated, the terminal may present resource update prompt information and a corresponding resource viewing entry; and when a triggering operation aiming at the resource viewing inlet is received, displaying the updated prop resource.
In practical application, when the collection progress of the prop resource of the target type is updated, a corresponding prompt can be given to a user, namely, the resource update prompt information is presented. In order to facilitate the user to check the updated prop resource in time, the corresponding resource check entry can be presented while the resource update prompt information is presented. When a trigger operation for the resource viewing portal is received, the updated prop resource is presented.
Exemplarily, referring to fig. 16, fig. 16 is a schematic diagram of providing resource update prompting information according to an embodiment of the present application. Here, when the collection progress of the prop resource of the furniture is updated, the resource update prompt information of "having update" is presented, the corresponding resource viewing entry "can be viewed by clicking" is presented, and the updated prop resource "prop resource a" is directly presented in response to the triggering operation of "can be viewed by clicking" for the resource viewing entry.
By applying the embodiment of the application, the collection progress of the prop resources of the corresponding type is presented in the display area of the prop resources of each type, when a three-dimensional resource display instruction triggered by the display area of the prop resources of the target type is received, a three-dimensional resource display interface is presented in response to the three-dimensional resource display instruction, and a three-dimensional model corresponding to the prop resources of the target type is displayed in the three-dimensional resource display interface; therefore, the substitution sense of the user in the virtual scene is increased through the three-dimensional resource display interface, the user can intuitively know the collected prop resource and the corresponding collection progress, the whole process does not need to be operated by the user for many times, the man-machine interaction efficiency is improved, and the occupation of hardware processing resources is reduced.
An exemplary application of the embodiments of the present application in a practical application scenario will be described below.
The simulation operation game is characterized by simulating real life. In the game, the player can meet, use and possess various prop resources, which are necessary for the player to continuously live in the game. Players need to constantly check the current owned progress, resource details, and how to obtain the non-owned resources in the property resource system. Fig. 17 shows a prop resource viewing scheme provided in the related art, where fig. 17 is a schematic view of a viewing method of a prop resource provided in the related art, and the viewing method includes: in the first scheme (as shown in fig. 17, fig. 1), a plurality of resource type entries are set in a first-level interface, and a player enters to view details of resources through a layer of page, usually adopting a list-type design, so that the player has no substitution sense in a game and cannot intuitively perceive the progress of resource collection; in the second scheme (as shown in fig. 17, fig. 2), only one entry (i.e., a linear path) is provided for viewing each type of resource in a 3D scene design manner, and it is not possible to quickly find out where each type of resource is placed, so that a player is easily lost in a 3D scene, which results in inefficient viewing of resources.
Based on the above, the embodiment of the invention provides a method for displaying prop resources in a virtual scene, so that a player can visually and quickly view the existing resources under a strong immersion sense. Next, a description is continued on the method for displaying the property resources in the virtual scene provided in the embodiment of the present application, where the method for displaying the property resources in the virtual scene provided in the embodiment of the present application may be cooperatively implemented by a terminal and a server. Referring to fig. 18, fig. 18 is a schematic flowchart of a method for displaying prop resources in a virtual scene, provided by the embodiment of the present application, and the method includes:
step 201: and presenting the two-dimensional display area of each type of prop resource in the prop resource display interface.
Here, the two-dimensional display area of each type of prop resource is a top view of the display virtual scene, and each type of prop resource has a corresponding display area. The player can click or long press the interaction with the prop resource display interface, and different interaction modes trigger different page effects, specifically referring to fig. 6 and 8.
Step 202: and receiving a click operation aiming at the two-dimensional display area of the prop resource of the target type.
Step 203: and responding to the click operation of the two-dimensional display area aiming at the prop resource of the target type, presenting a resource detail interface of the prop resource of the target type, and presenting a resource list corresponding to the prop resource of the target type and a corresponding three-dimensional display area in the resource detail interface.
Here, the player may click on the corresponding entry area and enter a secondary resource detail interface, which includes a resource list and a perspective view of the area, i.e., a three-dimensional model of the display area.
Step 204: and responding to a triggering operation aiming at the three-dimensional display area presented in the resource detail interface, and receiving a three-dimensional resource display instruction triggered by the display area aiming at the prop resource of the target type.
Here, referring to fig. 11C, the terminal presents the two-dimensional display area of the property resources of each type (including pet type, clothing type, furniture type, and the like) in the property resource display interface, and when a click operation for the two-dimensional display area of the property resource of a target type (such as clothing type) is received, a resource detail interface of the property resource of clothing type is presented in response to the click operation. Meanwhile, in the resource detail interface, a three-dimensional resource display function item of the target type item of prop resource is presented (for example, as shown in fig. 11C, a three-dimensional display area of the item of prop resource of clothing is used as a three-dimensional resource display function item of the item of prop resource of clothing). When triggering operation aiming at the three-dimensional resource display function item is received, such as clicking, long pressing and other operations, in response to the triggering operation, a three-dimensional resource display instruction triggered aiming at the three-dimensional display area of the clothing prop resource is received, a three-dimensional resource display interface of a virtual scene is further presented, and meanwhile, a three-dimensional model corresponding to the clothing prop resource is displayed in the three-dimensional resource display interface.
Step 205: and receiving long press operation aiming at the prop resource display interface.
Step 206: and responding to the long press operation, and presenting three-dimensional display areas of various types of prop resources in a prop resource display interface.
Here, the player can hold the entry at a level one interface, and enter a three-dimensional overview mode in which the player can briefly view the resource collection in each area (minilandscape), see FIG. 6.
While the player can slide over the blank to rotate the three-dimensional model, see fig. 7.
Step 207: and when a click operation aiming at the three-dimensional display area of the prop display resource of the target type is received, responding to the click operation, and receiving a three-dimensional resource display instruction triggered by the three-dimensional display area aiming at the prop resource of the target type.
Step 208: and responding to the three-dimensional resource display instruction, adjusting the overview visual angle to the browsing visual angle aiming at the prop resource of the target type, and presenting a three-dimensional resource display interface of the virtual scene observed based on the browsing visual angle.
And clicking the three-dimensional display area of the object type prop resource by the player in the three-dimensional mode, and triggering a three-dimensional resource display instruction aiming at the object type prop resource. Then, a three-dimensional resource display interface entering the prop resource of the target type is adjusted through the visual angle of the lens, and a three-dimensional model of each prop resource is displayed in the three-dimensional resource display interface, as shown in fig. 11A.
Step 209: and moving the three-dimensional resource display interface in response to an interface moving instruction triggered based on the interface moving function item so as to update the three-dimensional model corresponding to the prop resource of the target type displayed in the three-dimensional resource display interface.
Here, the user can check all three-dimensional models corresponding to the prop resources of the target type by moving the three-dimensional resource display interface, that is, perform resource browsing in the virtual scene of the prop resources of the target type.
In the embodiment of the application, prop resources are divided into a plurality of categories, and an independent three-dimensional display area is established for each category. The prop resources in each three-dimensional display area have respective fixed placement positions, the owned resources are directly displayed in the scene, the resources are not owned but are vacant, the scenes are more and more abundant along with the accumulation of resource collection, and the players can move and browse in the current scene. See fig. 10B.
A plurality of three-dimensional display areas are combined together to form a top view and a perspective view corresponding to the whole virtual scene, and referring to fig. 19, fig. 19 is a schematic diagram of the top view and the perspective view of the virtual scene provided by the embodiment of the application, and the top view and the perspective view can be switched by a long pressing operation. In the perspective mode, an "overview mode camera view" and a "browse mode camera view" are set, and when the player clicks a three-dimensional area, the shots are brought from the overview mode to the browse mode, and then the player can freely browse through the scene by moving the joystick, as shown in fig. 12.
After entering the "browse mode", the player can adjust the position of each resource, see fig. 15A. The specific operation is as follows: and clicking an adjusting button, changing the visual angle of the camera from a browsing mode visual angle to a back-to-back visual angle, activating a placing function, and clicking exit to return to the browsing mode. Through the series of operations, the player can view the owned resources more personally and more personally.
And clicking the entry detail page in the top view to enable the player to visually and quickly view the existing resources. Meanwhile, the player can be pressed and switched to the perspective view, the actual placing effect of each resource in each scene is truly displayed through the perspective view, the player is changed from a spectator to a participant through setting different camera view angles, the bringing feeling is improved, meanwhile, the power of continuously collecting more resources by the player can be effectively excited, and the power of continuously playing by the player is effectively excited.
By applying the embodiment of the application, firstly, whether the resource detail interface or the three-dimensional resource display interface is rapidly accessed is judged through gestures, the resource detail interface meets the efficiency of rapid checking, and the three-dimensional resource display interface meets the bringing-in feeling and the immersion feeling; secondly, in the three-dimensional mode, when the player selects the type to be checked, the picture is switched from the overview mode to the browsing mode, and a strong substituting feeling is created; thirdly, by planning a fixed display position for each resource in the scene, the owned resources are displayed in the scene, and the owned resources are not vacant, so that the player can intuitively feel the progress of resource collection in different collection stages to arouse the power of continuously collecting the resources. By integrating the interaction modes, the efficiency problem that the player quickly checks the existing resources can be solved, the player can have strong bring-in feeling, and the progress feeling problem that the article resources are increased can be effectively perceived.
Continuing with the description of the display device 555 for the property resources in the virtual scene provided in the embodiment of the present application, in some embodiments, the display device for the property resources in the virtual scene may be implemented in a software module. Referring to fig. 20, fig. 20 is a schematic structural diagram of a display apparatus 555 for street furniture resources in a virtual scene provided in the embodiment of the present application, where the display apparatus 555 for street furniture resources in a virtual scene provided in the embodiment of the present application includes:
the first presentation module 5551 is configured to present display areas of different types of prop resources in a virtual scene, and present a collection progress of a corresponding type of prop resource in the display areas of the various types of prop resources;
a receiving module 5552, configured to receive a three-dimensional resource display instruction triggered by a display area for a target type of prop resource, where the three-dimensional resource display instruction is used to instruct to display the target type of prop resource in a three-dimensional display manner;
a second presentation module 5553, configured to, in response to the three-dimensional resource presentation instruction, present a three-dimensional resource presentation interface of the virtual scene, and present, in the three-dimensional resource presentation interface, a three-dimensional model corresponding to the prop resource of the target type;
and the number of the displayed three-dimensional models is matched with the collection progress corresponding to the prop resources of the target type.
In some embodiments, the first presenting module 5551 is further configured to present, in the item resource presentation interface of the virtual scene, three-dimensional presentation areas of different types of item resources in the virtual scene; alternatively, the first and second liquid crystal display panels may be,
presenting two-dimensional display areas of different types of prop resources in the virtual scene in a prop resource display interface of the virtual scene;
the three-dimensional display area and the type are in one-to-one correspondence, and the two-dimensional display area and the type are in one-to-one correspondence.
In some embodiments, the receiving module 5552 is further configured to receive a sliding operation for the prop resource display interface when the display area is a three-dimensional display area, where the sliding operation is used to trigger a rotation instruction for the three-dimensional display area;
and responding to the sliding operation, rotating the three-dimensional display area according to a rotating instruction corresponding to the sliding operation, and presenting the rotated three-dimensional display area.
In some embodiments, the first presenting module 5551 is further configured to, when the display area is a two-dimensional display area, in response to a trigger operation for a two-dimensional display area of a prop resource of a target type, present a resource detail interface of the prop resource of the target type, and present the resource detail interface of the prop resource of the target type
And presenting a resource list corresponding to the prop resource of the target type in the resource detail interface, wherein the resource list is used for recording the virtual prop of the target type owned by the virtual object.
In some embodiments, the first presenting module 5551 is further configured to present, in the resource detail interface, a three-dimensional resource display function item of the prop resource of the target type;
correspondingly, the receiving module 5552 is further configured to receive, in response to the triggering operation for the three-dimensional resource display function item, a three-dimensional resource display instruction triggered by a display area for a prop resource of a target type.
In some embodiments, the first presenting module 5551 is further configured to, in a prop resource display interface of the virtual scene, display areas of different types of prop resources in the virtual scene in a first display manner;
correspondingly, the device further comprises:
the switching module is used for responding to the trigger operation aiming at the prop resource display interface and switching the display mode of the display area from the first display mode to a second display mode;
the first display mode is different from the second display mode, and the first display mode and the second display mode are one of a two-dimensional display mode and a three-dimensional display mode.
In some embodiments, the display area of each type of prop resource is obtained based on an overview perspective, and the second presenting module 5553 is further configured to adjust the overview perspective to a browsing perspective for the target type of prop resource in response to the three-dimensional resource display instruction, and adjust the overview perspective to the browsing perspective for the target type of prop resource
And presenting a three-dimensional resource display interface of the virtual scene observed based on the browsing visual angle.
In some embodiments, the apparatus further comprises:
the moving module is used for presenting interface moving function items corresponding to the three-dimensional resource display interface in the three-dimensional resource display interface;
and moving the three-dimensional resource display interface in response to an interface moving instruction triggered based on the interface moving function item so as to update the three-dimensional model corresponding to the prop resource of the target type displayed in the three-dimensional resource display interface.
In some embodiments, the moving module is further configured to receive a sliding operation for the three-dimensional resource presentation interface;
and moving the three-dimensional resource display interface along with the sliding operation so as to update the three-dimensional model corresponding to the prop resource of the target type displayed in the three-dimensional resource display interface.
In some embodiments, the moving module is further configured to receive a moving operation for the target three-dimensional model displayed in the three-dimensional resource display interface when the target three-dimensional model is in a selected state;
and in response to the moving operation, moving the target three-dimensional model from an original position to a target position indicated by the moving operation.
In some embodiments, the apparatus further comprises:
the control module is used for presenting resource adjusting function items in the three-dimensional resource display interface;
responding to the triggering operation aiming at the resource adjusting function item, presenting a resource adjusting interface corresponding to the three-dimensional model, and
presenting at least one resource control function item in the resource adjustment interface;
when a first three-dimensional model displayed in the three-dimensional resource display interface is in a selected state, responding to a trigger operation aiming at a target resource control function item, and executing a control operation corresponding to the target resource control function item on the first three-dimensional model.
In some embodiments, the control module is further configured to, when there is a second three-dimensional model associated with the first three-dimensional model, present prompt information corresponding to the second three-dimensional model;
the prompt information is used for confirming whether to execute the control operation corresponding to the target resource control function item on the second three-dimensional model;
and when a confirmation execution instruction triggered based on the prompt information is received, executing the control operation corresponding to the target resource control function item on the second three-dimensional model.
In some embodiments, the apparatus further comprises:
the third presentation module is used for presenting resource update prompt information and a corresponding resource viewing entry when the collection progress of the prop resource of the target type is updated;
and when a triggering operation aiming at the resource viewing inlet is received, displaying the updated prop resource.
In some embodiments, the second presenting module 5553 is further configured to obtain target positions of the virtual items in the virtual scene in the item resources of the target types, respectively;
and respectively placing the three-dimensional models corresponding to the virtual props at corresponding target positions in the virtual scene so as to display the three-dimensional models corresponding to the prop resources of the target types in the three-dimensional resource display interface.
By applying the embodiment of the application, the collection progress of the prop resources of the corresponding type is presented in the display area of the prop resources of each type, when a three-dimensional resource display instruction triggered by the display area of the prop resources of the target type is received, a three-dimensional resource display interface is presented in response to the three-dimensional resource display instruction, and a three-dimensional model corresponding to the prop resources of the target type is displayed in the three-dimensional resource display interface; therefore, the substitution sense of the user in the virtual scene is increased through the three-dimensional resource display interface, the user can intuitively know the collected prop resource and the corresponding collection progress, the whole process does not need to be operated by the user for many times, the man-machine interaction efficiency is improved, and the occupation of hardware processing resources is reduced.
An embodiment of the present application further provides an electronic device, where the electronic device includes:
a memory for storing executable instructions;
and the processor is used for realizing the method for displaying the prop resource in the virtual scene provided by the embodiment of the application when the executable instruction stored in the memory is executed.
Embodiments of the present application also provide a computer program product or a computer program comprising computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and executes the computer instruction, so that the computer device executes the method for displaying the prop resource in the virtual scene provided by the embodiment of the application.
The embodiment of the present application further provides a computer-readable storage medium, where executable instructions are stored, and when the executable instructions are executed by a processor, the method for displaying the prop resource in the virtual scene provided in the embodiment of the present application is implemented.
In some embodiments, the computer-readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.
In some embodiments, executable instructions may be written in any form of programming language (including compiled or interpreted languages), in the form of programs, software modules, scripts or code, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
By way of example, executable instructions may correspond, but do not necessarily have to correspond, to files in a file system, and may be stored in a portion of a file that holds other programs or data, such as in one or more scripts in a hypertext Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
By way of example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
The above description is only an example of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims (16)

1. A method for displaying prop resources in a virtual scene is characterized by comprising the following steps:
presenting display areas of different types of prop resources in the virtual scene, and presenting the collection progress of the corresponding types of prop resources in the display areas of the various types of prop resources;
receiving a three-dimensional resource display instruction triggered by a display area aiming at a target type prop resource, wherein the three-dimensional resource display instruction is used for indicating that the target type prop resource is displayed in a three-dimensional display mode;
responding to the three-dimensional resource display instruction, and presenting a three-dimensional resource display interface of the virtual scene;
in the three-dimensional resource display interface, the display positions corresponding to the virtual props which are not collected in the prop resources of the target type are vacant, and
respectively placing three-dimensional models corresponding to the collected virtual props in the prop resources of the target types at corresponding target positions in the virtual scene to display the three-dimensional models corresponding to the prop resources of the target types;
and the number of the displayed three-dimensional models is matched with the collection progress corresponding to the prop resource of the target type.
2. The method of claim 1, wherein presenting a presentation area of different types of prop resources in a virtual scene comprises:
presenting three-dimensional display areas of different types of prop resources in the virtual scene in a prop resource display interface of the virtual scene; alternatively, the first and second electrodes may be,
presenting two-dimensional display areas of different types of prop resources in the virtual scene in a prop resource display interface of the virtual scene;
the three-dimensional display area and the type are in one-to-one correspondence, and the two-dimensional display area and the type are in one-to-one correspondence.
3. The method of claim 2, wherein the method further comprises:
when the display area is a three-dimensional display area, receiving sliding operation aiming at the prop resource display interface, wherein the sliding operation is used for triggering a rotating instruction aiming at the three-dimensional display area;
and responding to the sliding operation, rotating the three-dimensional display area according to a rotating instruction corresponding to the sliding operation, and presenting the rotated three-dimensional display area.
4. The method of claim 2, wherein the method further comprises:
when the display area is a two-dimensional display area, responding to the trigger operation of the two-dimensional display area aiming at the prop resource of the target type, presenting a resource detail interface of the prop resource of the target type, and displaying the resource detail interface of the prop resource of the target type
And presenting a resource list corresponding to the prop resource of the target type in the resource detail interface, wherein the resource list is used for recording the virtual prop of the target type owned by the virtual object.
5. The method of claim 4, wherein the method further comprises:
presenting a three-dimensional resource display function item of the prop resource of the target type in the resource detail interface;
correspondingly, the receiving of the three-dimensional resource display instruction triggered by the display area of the prop resource of the target type includes:
and responding to the triggering operation aiming at the three-dimensional resource display function item, and receiving a three-dimensional resource display instruction triggered by a display area aiming at the prop resource of the target type.
6. The method of claim 1, wherein presenting a presentation area of different types of prop resources in a virtual scene comprises:
displaying display areas of different types of prop resources in the virtual scene in a first display mode in a prop resource display interface of the virtual scene;
correspondingly, the method further comprises the following steps:
responding to a trigger operation aiming at the prop resource display interface, and switching the display mode of the display area from the first display mode to a second display mode;
the first display mode is different from the second display mode, and the first display mode and the second display mode are one of a two-dimensional display mode and a three-dimensional display mode.
7. The method as claimed in claim 1, wherein the display area of each type of prop resource is observed based on an overview viewing angle, and the presenting the three-dimensional resource display interface of the virtual scene in response to the three-dimensional resource display instruction comprises:
responding to the three-dimensional resource display instruction, adjusting the overview visual angle to a browsing visual angle aiming at the prop resource of the target type, and
and presenting a three-dimensional resource display interface of the virtual scene observed based on the browsing visual angle.
8. The method of claim 1, wherein the method further comprises:
presenting interface moving function items corresponding to the three-dimensional resource display interface in the three-dimensional resource display interface;
and moving the three-dimensional resource display interface in response to an interface moving instruction triggered based on the interface moving function item so as to update the three-dimensional model corresponding to the prop resource of the target type displayed in the three-dimensional resource display interface.
9. The method of claim 1, wherein the method further comprises:
receiving sliding operation aiming at the three-dimensional resource display interface;
and moving the three-dimensional resource display interface along with the sliding operation so as to update the three-dimensional model corresponding to the prop resource of the target type displayed in the three-dimensional resource display interface.
10. The method of claim 1, wherein the method further comprises:
when a target three-dimensional model displayed in the three-dimensional resource display interface is in a selected state, receiving a moving operation aiming at the target three-dimensional model;
and in response to the moving operation, moving the target three-dimensional model from an original position to a target position indicated by the moving operation.
11. The method of claim 1, wherein the method further comprises:
presenting resource adjustment function items in the three-dimensional resource display interface;
responding to the triggering operation aiming at the resource adjusting function item, presenting a resource adjusting interface corresponding to the three-dimensional model, and
presenting at least one resource control function item in the resource adjustment interface;
when a first three-dimensional model displayed in the three-dimensional resource display interface is in a selected state, responding to a trigger operation aiming at a target resource control function item, and executing a control operation corresponding to the target resource control function item on the first three-dimensional model.
12. The method of claim 11, wherein after performing the control operation corresponding to the target resource control function item on the first three-dimensional model, the method further comprises:
when a second three-dimensional model associated with the first three-dimensional model exists, presenting prompt information corresponding to the second three-dimensional model;
the prompt information is used for confirming whether to execute the control operation corresponding to the target resource control function item on the second three-dimensional model;
and when a confirmation execution instruction triggered based on the prompt information is received, executing the control operation corresponding to the target resource control function item on the second three-dimensional model.
13. The method of claim 1, wherein the method further comprises:
when the collection progress of the prop resource of the target type is updated, presenting resource update prompt information and a corresponding resource viewing entry;
and when a triggering operation aiming at the resource viewing inlet is received, displaying the updated prop resource.
14. An apparatus for displaying assets in a virtual scene, the apparatus comprising:
the first presentation module is used for presenting display areas of different types of prop resources in the virtual scene and presenting the collection progress of the prop resources of corresponding types in the display areas of the prop resources of different types;
the receiving module is used for receiving a three-dimensional resource display instruction triggered by a display area aiming at the target type prop resource, and the three-dimensional resource display instruction is used for indicating that the target type prop resource is displayed in a three-dimensional display mode;
the second presentation module is used for responding to the three-dimensional resource presentation instruction and presenting a three-dimensional resource presentation interface of the virtual scene;
the second presentation module is further configured to, in the three-dimensional resource presentation interface, empty presentation positions corresponding to the virtual props that are not collected in the prop resources of the target type, and place three-dimensional models corresponding to the collected virtual props in the prop resources of the target type at corresponding target positions in the virtual scene, respectively, so as to present the three-dimensional models corresponding to the prop resources of the target type;
and the number of the displayed three-dimensional models is matched with the collection progress corresponding to the prop resources of the target type.
15. An electronic device, characterized in that the electronic device comprises:
a memory for storing executable instructions;
a processor, configured to execute the executable instructions stored in the memory, and implement the method for displaying prop resources in a virtual scene according to any one of claims 1 to 13.
16. A computer-readable storage medium storing executable instructions, wherein the executable instructions, when executed by a processor, implement a method for showing prop resources in a virtual scene according to any one of claims 1 to 13.
CN202110053169.3A 2021-01-15 2021-01-15 Method and device for displaying prop resources in virtual scene Active CN112711458B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110053169.3A CN112711458B (en) 2021-01-15 2021-01-15 Method and device for displaying prop resources in virtual scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110053169.3A CN112711458B (en) 2021-01-15 2021-01-15 Method and device for displaying prop resources in virtual scene

Publications (2)

Publication Number Publication Date
CN112711458A CN112711458A (en) 2021-04-27
CN112711458B true CN112711458B (en) 2022-08-30

Family

ID=75549109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110053169.3A Active CN112711458B (en) 2021-01-15 2021-01-15 Method and device for displaying prop resources in virtual scene

Country Status (1)

Country Link
CN (1) CN112711458B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115543756B (en) * 2021-06-29 2023-08-25 腾讯科技(深圳)有限公司 Lamp effect display method, device and storage medium
CN113867871A (en) * 2021-09-29 2021-12-31 北京达佳互联信息技术有限公司 Interface processing method and device, electronic equipment and storage medium
CN114429389A (en) * 2022-01-27 2022-05-03 支付宝(杭州)信息技术有限公司 Digital commodity display method and device
CN116688502A (en) * 2022-02-25 2023-09-05 腾讯科技(深圳)有限公司 Position marking method, device, equipment and storage medium in virtual scene
CN114758042B (en) * 2022-06-14 2022-09-02 深圳智华科技发展有限公司 Novel virtual simulation engine, virtual simulation method and device
CN115509361A (en) * 2022-10-12 2022-12-23 北京字跳网络技术有限公司 Virtual space interaction method, device, equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108888952A (en) * 2018-06-19 2018-11-27 腾讯科技(深圳)有限公司 Virtual item display methods, device, electronic equipment and storage medium
CN109614171A (en) * 2018-12-07 2019-04-12 腾讯科技(深圳)有限公司 Virtual item transfer method, device, electronic equipment and computer storage medium
CN110478892A (en) * 2018-05-14 2019-11-22 彼乐智慧科技(北京)有限公司 A kind of method and system of three-dimension interaction
CN111494934A (en) * 2020-04-16 2020-08-07 网易(杭州)网络有限公司 Method, device, terminal and storage medium for displaying virtual props in game
CN111589132A (en) * 2020-04-26 2020-08-28 腾讯科技(深圳)有限公司 Virtual item display method, computer equipment and storage medium
CN111744184A (en) * 2020-07-28 2020-10-09 腾讯科技(深圳)有限公司 Control display method in virtual scene, computer equipment and storage medium
CN112148622A (en) * 2020-10-15 2020-12-29 腾讯科技(深圳)有限公司 Control method and device of virtual prop, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6340977B1 (en) * 1999-05-07 2002-01-22 Philip Lui System and method for dynamic assistance in software applications using behavior and host application models
JP4977742B2 (en) * 2008-10-17 2012-07-18 株式会社スクウェア・エニックス 3D model display system
KR20110009421A (en) * 2009-07-22 2011-01-28 삼성전자주식회사 3-dimensional image providing apparatus and receiving apparatus, 3-dimensional image providing method and receiving method using the same, and 3-dimensional image system
CN104504576A (en) * 2015-01-10 2015-04-08 闽江学院 Method for achieving three-dimensional display interaction of clothes and platform
US11354862B2 (en) * 2019-06-06 2022-06-07 Universal City Studios Llc Contextually significant 3-dimensional model

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110478892A (en) * 2018-05-14 2019-11-22 彼乐智慧科技(北京)有限公司 A kind of method and system of three-dimension interaction
CN108888952A (en) * 2018-06-19 2018-11-27 腾讯科技(深圳)有限公司 Virtual item display methods, device, electronic equipment and storage medium
CN109614171A (en) * 2018-12-07 2019-04-12 腾讯科技(深圳)有限公司 Virtual item transfer method, device, electronic equipment and computer storage medium
CN111494934A (en) * 2020-04-16 2020-08-07 网易(杭州)网络有限公司 Method, device, terminal and storage medium for displaying virtual props in game
CN111589132A (en) * 2020-04-26 2020-08-28 腾讯科技(深圳)有限公司 Virtual item display method, computer equipment and storage medium
CN111744184A (en) * 2020-07-28 2020-10-09 腾讯科技(深圳)有限公司 Control display method in virtual scene, computer equipment and storage medium
CN112148622A (en) * 2020-10-15 2020-12-29 腾讯科技(深圳)有限公司 Control method and device of virtual prop, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
网络游戏中虚拟道具体系的构建;任宇阳;《电子技术与软件工程》;20180131(第2期);第54-55页 *

Also Published As

Publication number Publication date
CN112711458A (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN112711458B (en) Method and device for displaying prop resources in virtual scene
WO2022057529A1 (en) Information prompting method and apparatus in virtual scene, electronic device, and storage medium
CN112076473B (en) Control method and device of virtual prop, electronic equipment and storage medium
CN112402960B (en) State switching method, device, equipment and storage medium in virtual scene
Montero et al. Designing and implementing interactive and realistic augmented reality experiences
CN112416196B (en) Virtual object control method, device, equipment and computer readable storage medium
WO2022105552A1 (en) Information processing method and apparatus in virtual scene, and device, medium and program product
CN113559510B (en) Virtual skill control method, device, equipment and computer readable storage medium
CN113633964A (en) Virtual skill control method, device, equipment and computer readable storage medium
CN112870702B (en) Recommendation method, device and equipment for road resources in virtual scene and storage medium
CN116688502A (en) Position marking method, device, equipment and storage medium in virtual scene
CN112396683A (en) Shadow rendering method, device and equipment of virtual scene and storage medium
CN114296597A (en) Object interaction method, device, equipment and storage medium in virtual scene
CN112870694B (en) Picture display method and device of virtual scene, electronic equipment and storage medium
CN112891940A (en) Image data processing method and device, storage medium and computer equipment
TWI831074B (en) Information processing methods, devices, equipments, computer-readable storage mediums, and computer program products in virtual scene
WO2024032104A1 (en) Data processing method and apparatus in virtual scene, and device, storage medium and program product
WO2024012016A1 (en) Information display method and apparatus for virtual scenario, and electronic device, storage medium and computer program product
CN114219924B (en) Adaptive display method, device, equipment, medium and program product for virtual scene
CN112669194B (en) Animation processing method, device, equipment and storage medium in virtual scene
CN114146413A (en) Virtual object control method, device, equipment, storage medium and program product
Montero Montes et al. Designing and implementing interactive and realistic augmented reality experiences
CN116764215A (en) Virtual object control method, device, equipment, storage medium and program product
CN116920368A (en) Virtual object control method, device, equipment, storage medium and program product
CN117797478A (en) Interactive processing method and device for virtual object, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40042644

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant