CN113559498A - Three-dimensional model display method and device, storage medium and electronic equipment - Google Patents

Three-dimensional model display method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113559498A
CN113559498A CN202110753607.7A CN202110753607A CN113559498A CN 113559498 A CN113559498 A CN 113559498A CN 202110753607 A CN202110753607 A CN 202110753607A CN 113559498 A CN113559498 A CN 113559498A
Authority
CN
China
Prior art keywords
target
model
dimensional model
display
model image
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.)
Pending
Application number
CN202110753607.7A
Other languages
Chinese (zh)
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110753607.7A priority Critical patent/CN113559498A/en
Publication of CN113559498A publication Critical patent/CN113559498A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/275Image signal generators from 3D object models, e.g. computer-generated stereoscopic image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234381Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the temporal resolution, e.g. decreasing the frame rate by frame skipping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/53Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/66Methods for processing data by generating or executing the game program for rendering three dimensional images

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The disclosure relates to a three-dimensional model display method and device, a storage medium and electronic equipment. Wherein, the method comprises the following steps: responding to the display operation of a target three-dimensional model in a graphical user interface, and loading a target model image corresponding to the target three-dimensional model, which is cached in a server, wherein the target model image is obtained by compressing and merging and clipping a plurality of initial model pictures of the target three-dimensional model under different rendering angles; determining the frame playing frequency of the target model image based on the same angle interval between every two adjacent rendering angles under different rendering angles; and displaying the target model image in the graphical user interface according to the frame playing frequency. The method and the device solve the technical problems that in the prior art, a three-dimensional model in the game not only needs to occupy a large amount of storage space, but also needs to consume and load a large amount of time and flow in the display process, and even can not be loaded.

Description

Three-dimensional model display method and device, storage medium and electronic equipment
Technical Field
The disclosure relates to the field of model display, and in particular relates to a three-dimensional model display method and device, a storage medium and electronic equipment.
Background
At present, in daily life, work and games, a three-dimensional model display method is more and more diversified and more frequently used under the support of the existing game VR technology.
However, the existing game VR technology often requires a large amount of storage space and a large amount of scene structure data for storing the data model. In the case that the network environment used by the user is not ideal, the loading of the data often consumes a large amount of time and loading traffic; and if the network environment fluctuates or crashes, the situation that the network environment cannot be loaded again even occurs.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the disclosure provides a three-dimensional model display method, a three-dimensional model display device, a storage medium and electronic equipment, and at least solves the technical problems that in the prior art, a large amount of storage space is occupied by a three-dimensional model in a game, and a large amount of time and flow are consumed and loaded in the display process, or even the three-dimensional model cannot be loaded.
According to an aspect of the embodiments of the present disclosure, there is provided a three-dimensional model display method, including: responding to display operation of a target three-dimensional model in a graphical user interface, and loading a target model image corresponding to the target three-dimensional model, which is cached in a server, wherein the target model image is obtained by compressing and merging and clipping a plurality of initial model pictures of the target three-dimensional model under different rendering angles; determining the frame playing frequency of the target model image based on the same angle interval between every two adjacent rendering angles under the different rendering angles; and displaying the target model image in the graphical user interface according to the frame playing frequency.
According to another aspect of the embodiments of the present disclosure, there is also provided a three-dimensional model display apparatus, including: the loading module is used for responding to display operation of a target three-dimensional model in a graphical user interface and loading a target model image which is cached in a server and corresponds to the target three-dimensional model, wherein the target model image is obtained by compressing, merging and clipping a plurality of initial model pictures of the target three-dimensional model at different rendering angles; a determining module, configured to determine a frame playing frequency of the target model image based on a same angle interval between every two adjacent rendering angles at the different rendering angles; and the display module is used for displaying the target model image in the graphical user interface according to the frame playing frequency.
According to another aspect of the embodiments of the present disclosure, there is also provided a nonvolatile storage medium including: the non-volatile storage medium includes a stored program, and when the program runs, the apparatus in which the non-volatile storage medium is located is controlled to execute any one of the three-dimensional model display methods.
According to another aspect of the embodiments of the present disclosure, there is also provided an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform any one of the three-dimensional model display methods described above.
In the embodiment of the disclosure, a target model image corresponding to a target three-dimensional model cached in a server is loaded by responding to a display operation of the target three-dimensional model in a graphical user interface, wherein the target model image is obtained by compressing and merging and clipping a plurality of initial model pictures of the target three-dimensional model at different rendering angles; determining the frame playing frequency of the target model image based on the same angle interval between every two adjacent rendering angles under the different rendering angles; according to the frame playing frequency, the target model image is displayed in the graphical user interface, the target three-dimensional model is processed into a plurality of initial model pictures at different rendering angles, the initial model pictures are compressed, combined and edited to obtain the target model image, the frame playing frequency of the target model image is controlled according to the same angle interval between every two adjacent rendering angles at different rendering angles, and the smoothness of the model appearance connection degree can be guaranteed. The embodiment of the disclosure achieves the purpose of storing the target model image corresponding to the three-dimensional model without occupying too much storage space, thereby realizing the technical effect of directly displaying the target model image in the three-dimensional model displaying process and effectively reducing the time and flow consumption, and further solving the technical problems that in the prior art, the three-dimensional model in the game not only needs to occupy a large amount of storage space, but also needs to consume and load a large amount of time and flow in the displaying process, and even cannot be loaded.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this disclosure, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure and not to limit the disclosure. In the drawings:
FIG. 1 is a flow chart of an alternative three-dimensional model display method according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of an alternative method of caching compressed images to a server according to an embodiment of the present disclosure;
FIG. 3 is a flow chart of an alternative method of determining a frame play frequency of a target model image according to an embodiment of the present disclosure;
FIG. 4 is a flow chart of an alternative method of three-dimensional model display in accordance with an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of an alternative three-dimensional model display apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those skilled in the art, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only some embodiments of the present disclosure, not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present disclosure, there is provided a three-dimensional model representation method embodiment, it is noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions and that, while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
The technical scheme of the method embodiment can be executed in a mobile terminal, a computer terminal or a similar arithmetic device. Taking the example of the Mobile terminal running on the Mobile terminal, the Mobile terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet device (MID for short), a PAD, and the like. The mobile terminal may include one or more processors (which may include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Digital Signal Processing (DSP) chip, a Microprocessor (MCU), a programmable logic device (FPGA), a neural Network Processor (NPU), a Tensor Processor (TPU), an Artificial Intelligence (AI) type processor, etc.) and a memory for storing data. Optionally, the mobile terminal may further include a transmission device, an input/output device, and a display device for a communication function. It will be understood by those skilled in the art that the foregoing structural description is only illustrative and not restrictive of the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than described above, or have a different configuration than described above.
The memory may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the three-dimensional model display method in the embodiments of the present disclosure, and the processor executes various functional applications and data processing by running the computer program stored in the memory, so as to implement the three-dimensional model display method described above. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the mobile terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner. The technical scheme of the embodiment of the method can be applied to various communication systems, such as: a Global System for Mobile communications (GSM) System, a Code Division Multiple Access (CDMA) System, a Wideband Code Division Multiple Access (WCDMA) System, a General Packet Radio Service (GPRS), a Long Term Evolution (Long Term Evolution, LTE) System, a Frequency Division Duplex (FDD) System, a Time Division Duplex (TDD), a Universal Mobile Telecommunications System (UMTS), a Worldwide Interoperability for Microwave Access (WiMAX) communication System, or a 5G System. Optionally, Device-to-Device (D2D for short) communication may be performed between multiple mobile terminals. Alternatively, the 5G system or the 5G network is also referred to as a New Radio (NR) system or an NR network.
The display device may be, for example, a touch screen type Liquid Crystal Display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a Graphical User Interface (GUI) with which a user can interact by touching finger contacts and/or gestures on a touch-sensitive surface, where the human-machine interaction function optionally includes the following interactions: executable instructions for creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, emailing, call interfacing, playing digital video, playing digital music, and/or web browsing, etc., for performing the above-described human-computer interaction functions, are configured/stored in one or more processor-executable computer program products or readable non-volatile storage media.
Fig. 1 is a flowchart of a three-dimensional model displaying method according to an embodiment of the present disclosure, as shown in fig. 1, the method includes the following steps:
step S102, responding to display operation of a target three-dimensional model in a graphical user interface, and loading a target model image corresponding to the target three-dimensional model, wherein the target model image is obtained by compressing, merging and clipping a plurality of initial model pictures of the target three-dimensional model at different rendering angles;
step S104, determining the frame playing frequency of the target model image based on the same angle interval between every two adjacent rendering angles under the different rendering angles;
and step S106, displaying the target model image in the graphical user interface according to the frame playing frequency.
In the embodiment of the disclosure, in response to a display operation on a target three-dimensional model in a graphical user interface, a target model image corresponding to the target three-dimensional model, which is cached in a server, is loaded, wherein the target model image is obtained by compressing, merging and clipping a plurality of initial model pictures of the target three-dimensional model at different rendering angles; determining the frame playing frequency of the target model image based on the same angle interval between every two adjacent rendering angles under the different rendering angles; and displaying the target model image in the graphical user interface according to the frame playing frequency.
It should be noted that the devices for providing the above-mentioned graphical user interface include, but are not limited to, mobile phones, computers, smart wearable devices, such as: VR glasses, etc.; the display operation of the target three-dimensional model refers to that a user selects a certain target three-dimensional model and displays the selected target three-dimensional model in a graphical user interface; the selection operation mode includes, but is not limited to, touch selection, voice selection, and the like. The target three-dimensional model may be a game accessory, a game model, or the like placed in a treasure house in the game before processing.
Because the target three-dimensional model not only needs to occupy a large amount of storage space, but also needs to consume and load a large amount of time and flow in the display process, and even cannot be loaded, the embodiment of the disclosure processes the target three-dimensional model into a plurality of initial model pictures at different rendering angles, compresses and combines and clips the plurality of initial model pictures to obtain a target model image, and controls the frame playing frequency of the target model image according to the same angle interval between every two adjacent rendering angles at different rendering angles, so that the smoothness of the model appearance linking degree can be ensured. The embodiment of the disclosure achieves the purpose of storing the target model image corresponding to the three-dimensional model without occupying too much storage space, thereby realizing the technical effect of directly displaying the target model image in the three-dimensional model displaying process and effectively reducing the time and flow consumption, and further solving the technical problems that in the prior art, the three-dimensional model in the game not only needs to occupy a large amount of storage space, but also needs to consume and load a large amount of time and flow in the displaying process, and even cannot be loaded.
Optionally, when a user selects a certain target three-dimensional model to be displayed, the game server loads a target model image corresponding to the target three-dimensional model, which is cached in the server, wherein the target model image includes a plurality of initial model pictures at different rendering angles, the target model image is obtained by compressing, merging and editing the plurality of initial model pictures at different rendering angles, and by controlling the frame playing frequency, the display process of the target three-dimensional model is smoothly performed, so that the pause and pause feeling of rendering and loading the model is reduced in the process of viewing and interacting by the user, and the time consumed by rendering the model is also reduced.
Fig. 2 is a flowchart of an optional method for caching compressed images in a server according to an embodiment of the present disclosure, where before loading a target model image cached in the server and corresponding to a target three-dimensional model in response to a presentation operation on the target three-dimensional model in a graphical user interface, as shown in fig. 2, the method further includes:
step S202, acquiring the target three-dimensional model in a virtual game scene;
step S204, respectively obtaining a plurality of initial model pictures of the target three-dimensional model under different rendering angles;
and step S206, caching the compressed images obtained by compressing the plurality of initial model pictures into the server, wherein the server is further used for merging and editing the compressed images based on the rendering angle to obtain the target model image.
Optionally, taking the target three-dimensional model in the virtual game scene as an example, after the target three-dimensional model is displayed, the target three-dimensional model in the virtual game scene can be uploaded to the model rendering system in advance, the target three-dimensional model is rendered and analyzed through the model rendering system, respectively obtaining a plurality of initial model pictures of the target three-dimensional model at different rendering angles by accurately controlling rendering angles and adjusting picture rendering effects, compressing the initial model pictures to obtain compressed images after rendering is finished, caching the compressed images into the server, in addition, the initial model pictures can be directly cached in the server, the server compresses the initial model pictures to obtain a compressed image, and storage space can be further reduced.
According to the embodiment of the disclosure, the compressed images obtained by compressing the plurality of initial model pictures are cached in the server, and the server is further used for merging and editing the compressed images based on the rendering angle to obtain the target model image, so that direct calling of different game scenes or game products to the target model image can be conveniently realized.
It should be noted that, in the process of rendering (i.e. analyzing) the target three-dimensional model, the operator or the user may set a corresponding angle frequency in advance to render in real time to obtain a corresponding initial model picture; adjusting angles with the same frequency in the rendering process, and switching the uniformity and the density of the angles; for example, in the process of obtaining a plurality of initial model pictures by analyzing the target three-dimensional model, a first initial model picture is initially set to be analyzed by taking 15 ° as a frequency angle, and then other initial model pictures are analyzed by taking 15 ° as a frequency angle for the target three-dimensional model obtained subsequently.
In an optional embodiment, the method further includes:
step S302, performing compression processing on a plurality of initial model pictures according to a predetermined compression ratio and image sharpness to obtain the compressed image.
Optionally, the compressing the rendered initial model picture and reducing the memory by the server is to perform compression with the same quality on the rendered initial model picture: for example, the file size is compressed according to the proportion and the definition of the initial model picture, and the viewing quality of the initial model picture is not changed; therefore, before the initial model picture is compressed, the compression ratio and definition of the initial model picture are predetermined.
Fig. 3 is a flowchart of an alternative method for determining a frame play frequency of a target model image according to an embodiment of the present disclosure, and as shown in fig. 3, determining the frame play frequency of the target model image based on a same angle interval between every two adjacent rendering angles at the different rendering angles includes:
step S402, obtaining the display duration of the target model image;
step S404, determining a plurality of different rendering angles as a plurality of corresponding playing frames based on the same angle interval, wherein each rendering angle corresponds to one playing frame;
step S406, calculating a frame playing frequency of the target model image based on the display duration and the plurality of playing frames.
Optionally, after the user selects the target three-dimensional model in the virtual game scene, the server obtains a display duration of the target model image, determines a plurality of playing frames corresponding to different rendering angles, and calculates a frame playing frequency of the target model image according to the display duration and the plurality of playing frames.
It should be noted that the display duration of the target model image may be a default display duration of the system, or may be a display duration set by the user; the same angle interval is the same frequency angle, and the frequency angle is generally a default angle of the system and can be changed according to actual requirements; and determining a plurality of different rendering angles as a plurality of corresponding playing frames according to the same frequency angle, wherein each rendering angle corresponds to one playing frame respectively.
In an optional embodiment, the method further includes:
step S502, using a switching point between two adjacent initial model pictures as a katon point in the process of displaying the target model image.
It should be noted that, in the process of displaying the target model image, model stutter may occur due to the influence of external factors such as network stutter, and a visual effect of switching jitter is obvious. In the embodiment of the present disclosure, a switching point between two adjacent initial model pictures is used as a pause point in the process of displaying the target model image, and the pause point is controlled in the display process, so that the visual problem that the target model image is skipped without being loaded can be correspondingly reduced by preloading the initial model picture and displaying the target model image at an accurate angle, and the smoothness of the display process is ensured.
In an optional embodiment, the method further includes:
step S602, in different processing flows, when a plurality of target three-dimensional models are processed to obtain a plurality of target model images, each processing flow does not influence each other; a plurality of the above-mentioned target model images are presented in the same or different visual spaces.
Optionally, the user may select one or more different three-dimensional models of the target to be displayed in the virtual game scene at the same time; after a user selects a plurality of target three-dimensional models to be displayed, the server processes the plurality of target three-dimensional models simultaneously in different processing flows, each processing flow is not affected, after the server receives display operation information triggered by the user, the server obtains the stored initial model pictures from the corresponding server and combines and clips corresponding angles to obtain a plurality of target model images, the target model images are sent to the graphical user interface after being processed, in the display process, the user can select to display one or more target three-dimensional models in the same visual space, and the target three-dimensional models are displayed at the same frequency.
It should be noted that when the same visual space is displayed, a user supports simultaneous rotation of multiple models in the sliding viewing process, but multiple models do not affect each other when acquiring an initial model picture, and support is not acquired in the same flow; after the initial model picture is obtained and combined and edited at the corresponding angle, the display of a plurality of target three-dimensional models in the same plane or space under the same display frequency is supported.
In an optional embodiment, the method further includes:
step S702, rendering the target three-dimensional model at a plurality of different rendering angles by using a non-reference rendering mode to obtain a plurality of initial model pictures, where the non-reference rendering mode is used to perform scaling up or scaling down on a plurality of model pictures in the target model image when displaying the target model image, so as to display the model pictures in the same visual space.
Optionally, the server performs a non-reference rendering process on the model picture, where the target three-dimensional model is automatically identified in the server by corresponding different rendering angles, and renders the target three-dimensional model at a plurality of different rendering angles, so as to obtain a plurality of initial model pictures; and carrying out equal-scale amplification or reduction processing on the initial model picture, and connecting to display in the same visual space.
Fig. 4 is a flowchart of an alternative method for user interaction with a target three-dimensional model display interface according to an embodiment of the present disclosure, and as shown in fig. 4, after displaying the target model image in a graphical user interface according to the frame play frequency, the method further includes:
step S802, responding to the sliding operation of the target model image, and displaying a plurality of model pictures in the target model image in a sliding manner;
step S804, determining the display angle of each model picture in the target model image;
step S806, changing the display effect of the target model image in response to the adjustment operation of the display angle.
Optionally, the target model image is displayed in the graphical user interface, and a user slides and views the corresponding target three-dimensional model content through an interactive gesture for sliding the same target three-dimensional model; the display angle of the target three-dimensional model is changed through sliding, so that the target three-dimensional model is displayed in a rotating mode, and the same effect of corresponding shape and angle is achieved. When a plurality of target model images are displayed in the graphical user interface, the target three-dimensional model can be selected in a mode of clicking the graphical user interface, and at the moment, the target three-dimensional model can be rotated by sliding to adjust the display angle of the target three-dimensional model; if a certain target three-dimensional model is not selected, the graphical user interface is directly slid, page turning, left-right sliding, up-down sliding and other operations can be performed, and therefore more target three-dimensional models can be displayed conveniently.
According to an embodiment of the present disclosure, an embodiment of an apparatus for implementing the three-dimensional model display method is further provided, and fig. 5 is a schematic structural diagram of a three-dimensional model display apparatus according to an embodiment of the present disclosure, as shown in fig. 5, the three-dimensional model display apparatus includes: a loading module 90, a determining module 92, and a presentation module 94, wherein:
a loading module 90, configured to respond to a display operation on a target three-dimensional model in a graphical user interface, and load a target model image corresponding to the target three-dimensional model, which is cached in a server, where the target model image is obtained by compressing, merging, and clipping multiple initial model pictures of the target three-dimensional model at different rendering angles; a determining module 92, configured to determine a frame playing frequency of the target model image based on a same angle interval between every two adjacent rendering angles at the different rendering angles; a display module 94, configured to display the target model image in the graphical user interface according to the frame playing frequency.
It should be noted that the above modules may be implemented by software or hardware, for example, for the latter, the following may be implemented: the modules can be located in the same processor; alternatively, the modules may be located in different processors in any combination.
It should be noted that the apparatus of the three-dimensional model displaying method corresponds to steps S102 to S106 in the method embodiment, and the modules are the same as the examples and application scenarios realized by the corresponding steps, but are not limited to the disclosure of the method embodiment. It should be noted that the modules described above may be implemented in a computer terminal as part of an apparatus.
It should be noted that, for alternative or preferred embodiments of the present embodiment, reference may be made to the related description in the method embodiment, and details are not described herein again.
The device of the three-dimensional model display method may further include a processor and a memory, and the device of the three-dimensional model display method and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls a corresponding program unit from the memory, wherein one or more than one kernel can be arranged. The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
According to the embodiment of the disclosure, a nonvolatile storage medium embodiment is also provided. Optionally, in this embodiment, the nonvolatile storage medium includes a stored program, and the apparatus in which the nonvolatile storage medium is located is controlled to execute the any one of the three-dimensional model display methods when the program runs.
Optionally, in this embodiment, the nonvolatile storage medium may be located in any one of a group of computer terminals in a computer network, or in any one of a group of mobile terminals, and the nonvolatile storage medium includes a stored program.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: responding to the display operation of a target three-dimensional model in a graphical user interface, and loading a target model image corresponding to the target three-dimensional model, which is cached in a server, wherein the target model image is obtained by compressing and merging and clipping a plurality of initial model pictures of the target three-dimensional model under different rendering angles; determining the frame playing frequency of the target model image based on the same angle interval between every two adjacent rendering angles under the different rendering angles; and displaying the target model image in the graphical user interface according to the frame playing frequency.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: acquiring the target three-dimensional model in a virtual game scene; respectively obtaining a plurality of initial model pictures of the target three-dimensional model under different rendering angles; and caching a compressed image obtained by compressing the plurality of initial model pictures into the server, wherein the server is further used for merging and clipping the compressed image based on the rendering angle to obtain the target model image.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: and compressing the initial model pictures according to a predetermined compression ratio and image definition to obtain the compressed image.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: acquiring the display duration of the target model image; determining a plurality of different rendering angles as a plurality of corresponding playing frames based on the same angle interval, wherein each rendering angle corresponds to one playing frame respectively; and calculating the frame playing frequency of the target model image based on the display duration and the plurality of playing frames.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: and taking a switching point between two adjacent initial model pictures as a checkpoint point in the process of displaying the target model image.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: on different processing flows, when a plurality of target three-dimensional models are processed to obtain a plurality of target model images, each processing flow does not influence each other; a plurality of the above-mentioned target model images are presented in the same or different visual spaces.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: and respectively rendering the target three-dimensional model under a plurality of different rendering angles by adopting a non-reference rendering mode to obtain a plurality of initial model pictures, wherein the non-reference rendering mode is used for carrying out equal-scale amplification or reduction processing on the plurality of model pictures in the target model pictures when the target model pictures are displayed so as to display in the same visual space.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: responding to the sliding operation of the target model image, and displaying a plurality of model pictures in the target model image in a sliding mode; determining the display angle of each model picture in the target model image; and changing the display effect of the target model image in response to the adjustment operation of the display angle.
According to an embodiment of the present disclosure, there is also provided an embodiment of a processor. Optionally, in this embodiment, the processor is configured to execute a program, where the program executes the any one of the three-dimensional model display methods when running.
An embodiment of the present disclosure provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and the processor is configured to run the computer program to perform any one of the three-dimensional model display methods described above.
The present disclosure also provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: responding to the display operation of a target three-dimensional model in a graphical user interface, and loading a target model image corresponding to the target three-dimensional model, which is cached in a server, wherein the target model image is obtained by compressing and merging and clipping a plurality of initial model pictures of the target three-dimensional model under different rendering angles; determining the frame playing frequency of the target model image based on the same angle interval between every two adjacent rendering angles under the different rendering angles; and displaying the target model image in the graphical user interface according to the frame playing frequency.
The above-mentioned serial numbers of the embodiments of the present disclosure are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present disclosure, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present disclosure, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable non-volatile storage medium. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product, which is stored in a non-volatile storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned nonvolatile storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present disclosure, and it should be noted that modifications and embellishments could be made by those skilled in the art without departing from the principle of the present disclosure, and these should also be considered as the protection scope of the present disclosure.

Claims (11)

1. A three-dimensional model display method is characterized in that a graphical user interface is provided through terminal equipment, and the method comprises the following steps:
responding to display operation of a target three-dimensional model in a graphical user interface, and loading a target model image corresponding to the target three-dimensional model, which is cached in a server, wherein the target model image is obtained by compressing and merging and clipping a plurality of initial model pictures of the target three-dimensional model under different rendering angles;
determining the frame playing frequency of the target model image based on the same angle interval between every two adjacent rendering angles under the different rendering angles;
and displaying the target model image in the graphical user interface according to the frame playing frequency.
2. The method of claim 1, wherein before loading the target model image corresponding to the target three-dimensional model cached in the server in response to the presentation operation of the target three-dimensional model in the graphical user interface, the method further comprises:
acquiring the target three-dimensional model in a virtual game scene;
respectively obtaining a plurality of initial model pictures of the target three-dimensional model under different rendering angles;
and caching the compressed images obtained after the compression processing is carried out on the plurality of initial model pictures into the server, wherein the server is further used for carrying out merging and clipping on the compressed images based on the rendering angle to obtain the target model image.
3. The method according to claim 2, wherein a plurality of initial model pictures are compressed according to a predetermined compression ratio and image definition to obtain the compressed image.
4. The method of claim 1, wherein determining the frame play frequency of the target model image based on the same angle interval between every two adjacent rendering angles at the different rendering angles comprises:
acquiring the display duration of the target model image;
determining a plurality of different rendering angles as a plurality of corresponding playing frames based on the same angle interval, wherein each rendering angle corresponds to one playing frame respectively;
and calculating the frame playing frequency of the target model image based on the display duration and the plurality of playing frames.
5. The method according to claim 1, wherein a switching point between two adjacent initial model pictures is used as a checkpoint in the process of displaying the target model image.
6. The method of claim 1,
on different processing flows, when a plurality of target three-dimensional models are processed to obtain a plurality of target model images, each processing flow does not influence each other; a plurality of the target model images are presented in the same or different visual spaces.
7. The method of claim 1,
and respectively rendering the target three-dimensional model under a plurality of different rendering angles by adopting a non-reference rendering mode to obtain a plurality of initial model pictures, wherein the non-reference rendering mode is used for carrying out equal-scale amplification or reduction processing on the plurality of model pictures in the target model pictures when the target model pictures are displayed so as to display in the same visual space.
8. The method of claim 1, wherein after presenting the object model image in a graphical user interface in accordance with the frame play frequency, the method further comprises:
responding to the sliding operation of the target model image, and displaying a plurality of model pictures in the target model image in a sliding mode;
determining a display angle of each model picture in the target model image;
and changing the display effect of the target model image in response to the adjustment operation of the display angle.
9. A three-dimensional model display device is characterized in that a graphical user interface is provided through a terminal device, and the device comprises:
the loading module is used for responding to display operation of a target three-dimensional model in a graphical user interface and loading a target model image which is cached in a server and corresponds to the target three-dimensional model, wherein the target model image is obtained by compressing and merging and clipping a plurality of initial model pictures of the target three-dimensional model at different rendering angles;
the determining module is used for determining the frame playing frequency of the target model image based on the same angle interval between every two adjacent rendering angles under different rendering angles;
and the display module is used for displaying the target model image in the graphical user interface according to the frame playing frequency.
10. A non-volatile storage medium, characterized in that the non-volatile storage medium comprises a stored program, wherein when the program runs, a device where the non-volatile storage medium is located is controlled to execute the three-dimensional model display method according to any one of claims 1 to 8.
11. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to perform the three-dimensional model display method according to any one of claims 1 to 8.
CN202110753607.7A 2021-07-02 2021-07-02 Three-dimensional model display method and device, storage medium and electronic equipment Pending CN113559498A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110753607.7A CN113559498A (en) 2021-07-02 2021-07-02 Three-dimensional model display method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110753607.7A CN113559498A (en) 2021-07-02 2021-07-02 Three-dimensional model display method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN113559498A true CN113559498A (en) 2021-10-29

Family

ID=78163543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110753607.7A Pending CN113559498A (en) 2021-07-02 2021-07-02 Three-dimensional model display method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113559498A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116055670A (en) * 2023-01-17 2023-05-02 深圳图为技术有限公司 Method for collaborative checking three-dimensional model based on network conference and network conference system
WO2024037643A1 (en) * 2022-08-19 2024-02-22 北京字跳网络技术有限公司 Image display method and apparatus, image processing method and apparatus, and device and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002032785A (en) * 2000-07-19 2002-01-31 Toyobo Co Ltd Device and method for controlling display and computer readable recording medium with display control program recorded thereon
CN106909263A (en) * 2015-12-22 2017-06-30 王骁勇 The interactive display method and system of 3-D view
CN110163831A (en) * 2019-04-19 2019-08-23 深圳市思为软件技术有限公司 The object Dynamic Display method, apparatus and terminal device of three-dimensional sand table
CN111176530A (en) * 2019-12-31 2020-05-19 中国银行股份有限公司 3D model display method and device in WeChat applet
CN112156464A (en) * 2020-10-22 2021-01-01 腾讯科技(深圳)有限公司 Two-dimensional image display method, device and equipment of virtual object and storage medium
CN112190943A (en) * 2020-11-09 2021-01-08 网易(杭州)网络有限公司 Game display method and device, processor and electronic equipment
CN112348938A (en) * 2020-10-30 2021-02-09 杭州安恒信息技术股份有限公司 Method, device and computer equipment for optimizing three-dimensional object

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002032785A (en) * 2000-07-19 2002-01-31 Toyobo Co Ltd Device and method for controlling display and computer readable recording medium with display control program recorded thereon
CN106909263A (en) * 2015-12-22 2017-06-30 王骁勇 The interactive display method and system of 3-D view
CN110163831A (en) * 2019-04-19 2019-08-23 深圳市思为软件技术有限公司 The object Dynamic Display method, apparatus and terminal device of three-dimensional sand table
CN111176530A (en) * 2019-12-31 2020-05-19 中国银行股份有限公司 3D model display method and device in WeChat applet
CN112156464A (en) * 2020-10-22 2021-01-01 腾讯科技(深圳)有限公司 Two-dimensional image display method, device and equipment of virtual object and storage medium
CN112348938A (en) * 2020-10-30 2021-02-09 杭州安恒信息技术股份有限公司 Method, device and computer equipment for optimizing three-dimensional object
CN112190943A (en) * 2020-11-09 2021-01-08 网易(杭州)网络有限公司 Game display method and device, processor and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024037643A1 (en) * 2022-08-19 2024-02-22 北京字跳网络技术有限公司 Image display method and apparatus, image processing method and apparatus, and device and medium
CN116055670A (en) * 2023-01-17 2023-05-02 深圳图为技术有限公司 Method for collaborative checking three-dimensional model based on network conference and network conference system
CN116055670B (en) * 2023-01-17 2023-08-29 深圳图为技术有限公司 Method for collaborative checking three-dimensional model based on network conference and network conference system

Similar Documents

Publication Publication Date Title
CN108351794B (en) Display method and terminal
WO2021047429A1 (en) Image rendering method and device, apparatus, and storage medium
WO2019218384A1 (en) Display processing method and device, storage medium and electronic terminal
CN106598514B (en) Method and system for switching virtual reality mode in terminal equipment
CN107688430B (en) Wallpaper replacing method, device, terminal and storage medium
CN110070496B (en) Method and device for generating image special effect and hardware device
CN113559498A (en) Three-dimensional model display method and device, storage medium and electronic equipment
CN110825997B (en) Information flow page display method, device, terminal equipment and system
WO2016001771A1 (en) Image generation method and apparatus, and mobile terminal
CN108694009B (en) Terminal control method and device
CN112135081B (en) Mode control method and device, frame insertion chip and electronic equipment
CN110650247A (en) Method for customizing on/off animation, intelligent terminal and storage medium
CN112203034A (en) Frame rate control method and device and electronic equipment
CN107948724B (en) Video transmission control method, device, storage medium and mobile terminal
CN113946403A (en) Data display method and device, storage medium and electronic equipment
CN114598823B (en) Special effect video generation method and device, electronic equipment and storage medium
CN112190943A (en) Game display method and device, processor and electronic equipment
CN113952740A (en) Method and device for sharing virtual props in game, storage medium and electronic equipment
CN116708696B (en) Video processing method and electronic equipment
CN111866403B (en) Video graphic content processing method, device, equipment and medium
CN111773679B (en) Method and device for processing icons in game
CN111757177B (en) Video clipping method and device
CN112328351A (en) Animation display method, animation display device and terminal equipment
CN112887768A (en) Screen projection display method and device, electronic equipment and storage medium
CN106331834B (en) Multimedia data processing method and equipment thereof

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