CN115098207A - Image display method, image display device, electronic device, and storage medium - Google Patents

Image display method, image display device, electronic device, and storage medium Download PDF

Info

Publication number
CN115098207A
CN115098207A CN202210724614.9A CN202210724614A CN115098207A CN 115098207 A CN115098207 A CN 115098207A CN 202210724614 A CN202210724614 A CN 202210724614A CN 115098207 A CN115098207 A CN 115098207A
Authority
CN
China
Prior art keywords
target object
motion
initial
parameter
display interface
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
CN202210724614.9A
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.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology 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 Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202210724614.9A priority Critical patent/CN115098207A/en
Publication of CN115098207A publication Critical patent/CN115098207A/en
Pending legal-status Critical Current

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the disclosure provides an image display method, an image display device, an electronic device and a storage medium, wherein the method comprises the following steps: when the movement of a target object displayed in a display interface is detected, acquiring initial movement parameters corresponding to the target object; and controlling the target object to be displayed in the display interface according to the initial motion parameters, the object attribute of the target object and the motion damping parameters. Through the technical scheme of the embodiment of the disclosure, the reality of the simulated motion of the object is improved, the image display effect is improved, and the visual experience effect of a user is further improved.

Description

Image display method, image display device, electronic device, and storage medium
Technical Field
The present disclosure relates to image processing technologies, and in particular, to an image display method and apparatus, an electronic device, and a storage medium.
Background
At present, with the development and popularization of various application software, a user can operate on the application software to control the object motion in the application software, such as: the simulation of throwing dice, the simulation of throwing basketball and the like.
However, the existing object motion simulation display is usually realized by fixed motion parameters. The object simulation motion display mode has the problems that the object simulation motion effect is single, and the difference between the object simulation motion effect and the real object motion effect is large, so that the visual experience of a user is poor.
Disclosure of Invention
The present disclosure provides an image display method, an image display apparatus, an electronic device, and a storage medium, so as to improve reality of simulated motion of an object, improve an image display effect, and further improve an effect of user visual experience.
In a first aspect, an embodiment of the present disclosure provides an image display method, including:
when the movement of a target object displayed in a display interface is detected, acquiring initial movement parameters corresponding to the target object;
and controlling the target object to be displayed in the display interface according to the initial motion parameters, the object attribute of the target object and the motion damping parameters.
In a second aspect, embodiments of the present disclosure also provide an image display apparatus, including:
the initial motion parameter acquisition module is used for acquiring initial motion parameters corresponding to a target object when the target object displayed in a display interface is detected to move;
and the target object display module is used for controlling the target object to be displayed in the display interface according to the initial motion parameters, the object attribute of the target object and the motion damping parameters.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement an image display method as in any of the embodiments of the present disclosure.
In a fourth aspect, the present disclosure also provides a storage medium containing computer-executable instructions, where the computer-executable instructions are used for executing the image display method according to any one of the embodiments of the present disclosure when executed by a computer processor.
According to the technical scheme, when the target object displayed in the display interface is detected to move, the initial motion parameters corresponding to the target object are obtained, the target object is controlled to be displayed in the display interface according to the initial motion parameters, the object attribute of the target object and the motion damping parameters, the problem of poor reality of object motion in the display interface is solved, the reality of the simulation object for moving is improved, the image display effect is improved, and the visual experience effect of a user is further improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a schematic flowchart of an image display method according to an embodiment of the disclosure;
fig. 2 is a schematic flowchart of another image display method provided in the embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an image display device according to an embodiment of the disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more complete and thorough understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein is intended to be open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a" or "an" in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will appreciate that references to "one or more" are intended to be exemplary and not limiting unless the context clearly indicates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Before the technical solution is introduced, an application scenario may be exemplarily described. The technical scheme can be applied to a scene that any object simulates movement in a display interface, the object simulates movement such as dice throwing, spoon throwing and/or marble throwing in a simulated manner, and the technical scheme can also be applied to a scene such as simulated throwing of augmented reality. As long as there is object motion in the scene of image display, such as in the scenes of image display, video display, live broadcast display, etc., the technical solution provided by the embodiments of the present disclosure can be used to render and display the object motion, so as to improve the image display effect. The device for executing the image display method provided by the embodiment of the present disclosure may be integrated into application software having an image processing function, and the software may be installed in an electronic device, and optionally, the electronic device may be a mobile terminal or a PC terminal, etc. The application software may be a type of software for image/video processing, and specific application software thereof is not described herein any more, as long as image/video processing can be implemented.
The target object can trigger the movement through a key displayed on the application software display interface, and can also trigger the movement through action information on the application software display interface. In practical application, if motion is triggered for a target object, the motion process of the target object needs to be processed, rendered and displayed.
Fig. 1 is a flowchart of an image display method provided by an embodiment of the present disclosure, where the embodiment of the present disclosure is applicable to a situation of simulating an object motion in a virtual scene, and the method may be executed by an image display apparatus, where the apparatus may be implemented in a form of software and/or hardware, and optionally, implemented by an electronic device, where the electronic device may be a mobile terminal, a PC terminal, a server, or the like.
As shown in fig. 1, the method includes:
s110, when the movement of the target object displayed in the display interface is detected, the initial movement parameters corresponding to the target object are obtained.
The display interface may be an interface for displaying the movement of a target object in an application scene. The application scene can be constructed by the internet and a computer means, for example, by a native program or a web program. The target object may be a moving object to be rendered and displayed, and the target object may be an object of various shapes, for example: spheres, cubes, etc., and can also be irregular solid objects. Illustratively, the target object is a block-shaped object, such as: dice, and the like. In a scene in which any simulation object is thrown up or falls freely, the object which simulates the throwing up or falling freely is a target object. The initial motion parameter may be a motion parameter corresponding to the target object when the target object is triggered to move, and may include, for example, a speed parameter, a rotation parameter, a direction parameter, and the like.
Specifically, the target object in the display interface may be detected, and when it is detected that the target object moves, the motion parameter, that is, the initial motion parameter, of the target object when motion is just triggered may be obtained, so as to determine the motion trajectory of the target object in the subsequent process, and render and display the subsequent motion of the target object.
Illustratively, the target object is a die, which can be displayed in the display interface, when a die movement is detected, for example: the dice is thrown upwards, the dice freely falls, the dice is triggered to rotate and the like, and the motion parameters of the dice during the triggering motion can be obtained and used as the initial motion parameters.
For example, the scene of the movement of the target object may be a scene of throwing a dice upward, in which case the dice may be used as the target object; the moving scene of the target object can be a scene of freely releasing the marble to enable the marble to freely fall, and in this case, the marble can be used as the target object; the scene of the movement of the target object can be a scene simulating a spoon during cooking, and in this case, the object in the pot can be used as the target object.
It should be noted that the target object may be a predetermined object, and continuous detection is performed on the target object to determine the acquisition timing of the initial motion parameter corresponding to the target object. And continuously detecting each object displayed in the display interface, taking one or more objects as target objects when detecting that the objects move, and acquiring initial motion parameters of the target objects.
In order to make the motion process simulation of the subsequent target object more realistic and improve the display effect, the initial motion parameters of the target object can be obtained through the following steps:
step one, acquiring an initial motion direction and an initial motion speed of a target object.
The initial movement direction may be used to represent a movement trend of the target object, and may be a displacement direction between a current time and a next time of the target object. The initial movement speed may be used to indicate how fast the target object moves, and may be a relative speed or an absolute speed.
Specifically, when the movement of the target object is detected, the movement direction at the current moment may be acquired as the initial movement direction, and the movement speed at the current moment may be acquired as the initial movement speed.
It should be noted that the determination manner of the initial movement direction and the initial movement speed may be determined according to a preset default movement direction and a default movement speed, or may be determined according to an operation of a user. For example, the initial movement direction and the initial movement speed corresponding to the trigger duration may be determined according to the trigger duration of the button triggering the target object to move, the initial movement direction and the initial movement speed may also be determined according to the movement direction and/or the movement speed of the button selected to trigger for the target object, and the action information of the user on the display interface may also be detected, for example: and determining the initial movement direction and the initial movement speed corresponding to the action information according to the action information, such as the sliding direction, the sliding displacement, the sliding speed, the click frequency and the like. Other arbitrary manners for determining the initial movement direction and the initial movement speed may also be used, and are not particularly limited in this embodiment.
And step two, determining initial motion parameters based on the initial motion direction and the initial motion speed.
Specifically, after the initial movement direction and the initial movement speed are obtained, the initial movement direction and the initial movement speed may be combined to be used as an initial movement parameter for determining a subsequent movement condition of the target object.
And S120, controlling the target object to be displayed in the display interface according to the initial motion parameters, the object attribute of the target object and the motion damping parameters.
The object property may be a property parameter for describing the target object, and may include, for example, mass, volume, density, material, and the like. The motion damping parameter may be a parameter that acts as a resistance to the motion of the target object.
Specifically, after the target object is determined, the object property and the motion damping parameter corresponding to the target object may be determined according to the target object. Furthermore, according to the initial motion parameters, the object attributes and the motion damping parameters, the motion trail of the target object can be determined, and the target object is rendered in the display interface according to the motion trail, so that a user can view the motion of the target object through the display interface.
It should be noted that, the corresponding relationship between each object and the attribute parameter and the corresponding relationship between each object and the motion damping parameter may be pre-established, and after the target object is determined, the object attribute and the motion damping parameter corresponding to the target object may be determined according to the corresponding relationships.
According to the technical scheme, when the target object displayed in the display interface is detected to move, the initial motion parameters corresponding to the target object are obtained, the target object is controlled to be displayed in the display interface according to the initial motion parameters, the object attribute of the target object and the motion damping parameters, the problem of poor reality of object motion in the display interface is solved, the reality of the simulation object for moving is improved, the image display effect is improved, and the visual experience effect of a user is further improved.
Fig. 2 is a schematic flow chart of another image display method provided in the embodiment of the present disclosure, which is applicable to a case where an object attribute is an object quality, and reference may be made to the technical solution of the present embodiment for a manner of displaying a control target object in a display interface. The technical terms that are the same as or corresponding to the above embodiments are not repeated herein.
As shown in fig. 2, the method includes:
s210, when the movement of the target object displayed in the display interface is detected, the initial movement parameters corresponding to the target object are acquired.
S220, determining the motion information of the target object in the target plane in the display interface according to the initial motion parameters, the object mass and the linear motion damping parameters and the angular velocity damping parameters in the motion damping parameters, and displaying the target object in the display interface according to the motion information.
Wherein the linear motion damping parameter may be a damping parameter of a displacement motion acting on the target object. The angular velocity damping parameter may be a damping parameter acting on the rotational movement of the target object. The motion information may be a motion trajectory of the target object when the target object simulates motion, and may include, for example, the position, the posture information, and the like of the target object at each subsequent time.
Specifically, linear motion damping parameters and angular velocity damping parameters may be determined from motion damping parameters of the target object. And then, according to the initial motion parameter, the object mass, the linear motion damping parameter and the angular velocity damping parameter of the target object, the subsequent motion information of the target object can be comprehensively determined. According to the motion information, the position and the posture of the target object at each subsequent moment can be determined. Furthermore, the target object can be rendered according to the determined position and posture and the time sequence, so that the dynamic motion process of the target object is displayed in the display interface, and the motion process of the target object in the display interface is close to the motion process in the real scene.
On the basis of the above example, in a real scene, when the target object elastically collides with the target plane, the target object may bounce, and the motion trajectory of the target object is changed. In order to make the movement of the target object in the display interface more realistic, the operation information when the target object collides with the target plane can be determined by the following steps:
step one, based on a preset elastic coefficient, adjusting a reverse motion parameter when a target object collides with a target plane.
The target plane may be a plane existing in the display interface, or a plane set by an augmented reality technology. The elastic coefficient may be a parameter for implementing elastic collision, may be a fixed parameter, or may be a parameter corresponding to the target object and/or the target plane determined according to a preset elastic parameter corresponding relationship. The inverse motion parameter may be a motion parameter of the target object after the motion information of the target object is changed when the target object elastically collides with the target plane, and may include a motion direction, a motion speed, and the like.
Specifically, when the target object elastically collides with the target plane, a preset elastic coefficient of the elastic collision is determined. And then, adjusting the motion parameters of the target object according to the elasticity coefficient, and taking the adjusted motion parameters as reverse motion parameters.
And step two, determining operation information after collision with the target plane based on the reverse motion parameter, the object mass, the linear motion damping parameter and the angular velocity damping parameter, and displaying the target object in a display interface according to the operation information.
The operation information may be a motion trajectory of the simulated motion of the target object after the motion direction and/or the motion speed of the target object is changed due to the collision, and may include, for example, the position and the posture information of the target object at each subsequent time.
Specifically, the operation information of the target object after elastic collision with the target plane can be comprehensively determined according to the reverse motion parameter, the object mass, the linear motion damping parameter and the angular velocity damping parameter of the target object. According to the operation information, the position and the posture of the target object at each subsequent moment can be determined. Furthermore, the target object can be rendered according to the determined position and posture and the time sequence, so that the motion process of the target object after the motion state is changed due to elastic collision is displayed in the display interface.
On the basis of the above example, when the target object collides with the target plane in the real scene, the target object may also slide, and the motion trajectory of the target object is changed. In order to make the movement of the target object in the display interface more realistic, the movement of the target object after colliding with the target plane may be controlled by:
and adjusting the reverse motion parameters when the target object collides with the target plane or controlling the sliding track of the target object on the target plane based on the preset sliding friction coefficient.
The sliding friction coefficient may be a friction coefficient when the target object and the target plane slide relative to each other, and is used for resisting the sliding of the target object. The sliding trajectory may be trajectory information generated by sliding the target object on the target plane.
Specifically, the preset sliding friction coefficient may be determined when the target object collides with the target plane. Furthermore, the motion parameter of the target object can be adjusted according to the sliding friction coefficient, and the adjusted motion parameter is used as the reverse motion parameter. The target object can be controlled to slide on the target plane according to the sliding friction coefficient, and the sliding track is determined for subsequent rendering in the display interface.
It should be noted that when the target object collides with the target plane, an elastic collision may occur, at this time, the motion information and the motion trajectory of the target object may be adjusted based on the elastic coefficient, or a relative sliding may occur, at this time, the motion information and the motion trajectory of the target object may be adjusted based on the sliding friction coefficient, or an elastic collision and a relative sliding may exist, at this time, the motion information and the motion trajectory of the target object may be adjusted based on the elastic coefficient and the sliding friction coefficient.
According to the technical scheme, under the condition that the object attribute comprises the object quality, when the target object displayed in the display interface is detected to move, the initial motion parameter corresponding to the target object is obtained, the motion information of the target object in the target plane in the display interface is determined according to the initial motion parameter, the object quality and the linear motion damping parameter and the angular velocity damping parameter in the motion damping parameter, the target object is displayed in the display interface according to the motion information, the problem that the reality of the object in the display interface is poor is solved, the simulation of the object on linear motion and rotary motion is achieved to move, the reality of the motion of the simulation object is improved, the image display effect is improved, and the visual experience of a user is improved.
Fig. 3 is a schematic structural diagram of an image display device according to an embodiment of the disclosure, and as shown in fig. 3, the image display device includes: an initial motion parameter acquisition module 310 and a target object display module 320.
The initial motion parameter acquiring module 310 is configured to acquire an initial motion parameter corresponding to a target object when motion of the target object displayed in a display interface is detected; and a target object display module 320, configured to control the target object to be displayed in the display interface according to the initial motion parameter, the object attribute of the target object, and the motion damping parameter.
Optionally, the initial motion parameter obtaining module 310 is further configured to obtain an initial motion direction and an initial motion speed of the target object; determining the initial motion parameter based on the initial motion direction and the initial motion speed.
Optionally, the object attribute includes an object mass, and the target object display module 320 is further configured to determine motion information of the target object in a target plane in a display interface according to the initial motion parameter, the object mass, and a linear motion damping parameter and an angular velocity damping parameter in the motion damping parameters, and display the target object in the display interface according to the motion information.
Optionally, the apparatus further comprises: the elastic collision module is used for adjusting a reverse motion parameter when the target object collides with the target plane based on a preset elastic coefficient; and determining operation information after collision with the target plane based on the reverse motion parameter, the object mass, the linear motion damping parameter and the angular velocity damping parameter, and displaying the target object in the display interface according to the operation information.
Optionally, the apparatus further comprises: and the sliding module is used for adjusting the reverse motion parameters when the target object collides with the target plane or controlling the sliding track of the target object on the target plane based on a preset sliding friction coefficient.
Optionally, the target object is a block-shaped object.
Optionally, the device is applied in any scene simulating that an object is thrown up or falls freely.
According to the technical scheme, when the target object displayed in the display interface is detected to move, the initial motion parameters corresponding to the target object are obtained, the target object is controlled to be displayed in the display interface according to the initial motion parameters, the object attribute of the target object and the motion damping parameters, the problem of poor reality of object motion in the display interface is solved, the reality of the simulation object for moving is improved, the image display effect is improved, and the visual experience effect of a user is further improved.
The image display device provided by the embodiment of the disclosure can execute the image display method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the apparatus are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the embodiments of the present disclosure.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Referring now to fig. 4, a schematic diagram of an electronic device (e.g., the terminal device or the server of fig. 4) 400 suitable for implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, electronic device 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An editing/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 408 including, for example, magnetic tape, hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 400 to communicate with other devices, either wirelessly or by wire, to exchange data. While fig. 4 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program, when executed by the processing device 401, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The electronic device provided by the embodiment of the present disclosure and the image display method provided by the embodiment belong to the same inventive concept, and technical details that are not described in detail in the embodiment can be referred to the embodiment, and the embodiment has the same beneficial effects as the embodiment.
The disclosed embodiments provide a computer storage medium having stored thereon a computer program that, when executed by a processor, implements the image display method provided by the above-described embodiments.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may be separate and not incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to:
when the movement of a target object displayed in a display interface is detected, acquiring initial movement parameters corresponding to the target object;
and controlling the target object to be displayed in the display interface according to the initial motion parameters, the object attribute of the target object and the motion damping parameters.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a module does not in some cases constitute a limitation on the module itself, for example, a target object display module may also be described as a "module that displays a target object in a display interface".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, [ example one ] there is provided an image display method, including:
when the movement of a target object displayed in a display interface is detected, acquiring initial movement parameters corresponding to the target object;
and controlling the target object to be displayed in the display interface according to the initial motion parameters, the object attribute of the target object and the motion damping parameters.
According to one or more embodiments of the present disclosure, [ example two ] there is provided an image display method, further comprising:
optionally, the acquiring an initial motion parameter corresponding to the target object includes:
acquiring an initial movement direction and an initial movement speed of the target object;
determining the initial motion parameter based on the initial motion direction and the initial motion speed.
According to one or more embodiments of the present disclosure, [ example three ] there is provided an image display method, further comprising:
optionally, the object attribute includes an object mass, and the controlling, according to the initial motion parameter, the object attribute of the target object, and the motion damping parameter, the target object to be displayed in the display interface includes:
and determining the motion information of the target object in a target plane in a display interface according to the initial motion parameter, the object mass and the linear motion damping parameter and the angular velocity damping parameter in the motion damping parameters, and displaying the target object in the display interface according to the motion information.
According to one or more embodiments of the present disclosure, [ example four ] there is provided an image display method, further comprising:
optionally, the method further includes:
adjusting a reverse motion parameter when the target object collides with the target plane based on a preset elastic coefficient;
and determining operation information after collision with the target plane based on the reverse motion parameter, the object mass, the linear motion damping parameter and the angular velocity damping parameter, and displaying the target object in the display interface according to the operation information.
According to one or more embodiments of the present disclosure, [ example five ] there is provided an image display method, further comprising:
optionally, the method further includes:
and adjusting the reverse motion parameters of the target object when colliding with the target plane or controlling the sliding track of the target object on the target plane based on a preset sliding friction coefficient.
According to one or more embodiments of the present disclosure [ example six ] there is provided an image display method, further comprising:
optionally, the target object is a block-shaped object.
According to one or more embodiments of the present disclosure, [ example seven ] there is provided an image display method, further comprising:
and the method is optionally applied to any scene simulating that an object is thrown up or falls freely.
According to one or more embodiments of the present disclosure, [ example eight ] there is provided an image display apparatus including:
the device comprises an initial motion parameter acquisition module, a motion parameter acquisition module and a motion parameter acquisition module, wherein the initial motion parameter acquisition module is used for acquiring an initial motion parameter corresponding to a target object when the target object displayed in a display interface is detected to move;
and the target object display module is used for controlling the target object to be displayed in the display interface according to the initial motion parameters, the object attribute of the target object and the motion damping parameters.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. An image display method, comprising:
when the movement of a target object displayed in a display interface is detected, acquiring initial movement parameters corresponding to the target object;
and controlling the target object to be displayed in the display interface according to the initial motion parameters, the object attribute of the target object and the motion damping parameters.
2. The method of claim 1, wherein the obtaining initial motion parameters corresponding to the target object comprises:
acquiring an initial movement direction and an initial movement speed of the target object;
determining the initial motion parameter based on the initial motion direction and the initial motion speed.
3. The method of claim 1, wherein the object properties comprise an object mass, and wherein controlling the target object to be displayed in the display interface based on the initial motion parameters, the object properties of the target object, and the motion damping parameters comprises:
and determining the motion information of the target object in a target plane in a display interface according to the initial motion parameter, the object mass and the linear motion damping parameter and the angular velocity damping parameter in the motion damping parameters, and displaying the target object in the display interface according to the motion information.
4. The method of claim 3, further comprising:
adjusting a reverse motion parameter when the target object collides with the target plane based on a preset elastic coefficient;
and determining operation information after collision with the target plane based on the reverse motion parameter, the object mass, the linear motion damping parameter and the angular velocity damping parameter, and displaying the target object in the display interface according to the operation information.
5. The method of claim 3 or 4, further comprising:
and adjusting the reverse motion parameters of the target object when colliding with the target plane or controlling the sliding track of the target object on the target plane based on a preset sliding friction coefficient.
6. The method of claim 1, wherein the target object is a block object.
7. The method according to any of claims 1-4, applied in any scene simulating the object being thrown or free-falling.
8. An image display apparatus, comprising:
the initial motion parameter acquisition module is used for acquiring initial motion parameters corresponding to a target object when the target object displayed in a display interface is detected to move;
and the target object display module is used for controlling the target object to be displayed in the display interface according to the initial motion parameters, the object attribute of the target object and the motion damping parameters.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the image display method of any one of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the image display method of any one of claims 1 to 7 when executed by a computer processor.
CN202210724614.9A 2022-06-23 2022-06-23 Image display method, image display device, electronic device, and storage medium Pending CN115098207A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210724614.9A CN115098207A (en) 2022-06-23 2022-06-23 Image display method, image display device, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210724614.9A CN115098207A (en) 2022-06-23 2022-06-23 Image display method, image display device, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
CN115098207A true CN115098207A (en) 2022-09-23

Family

ID=83293879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210724614.9A Pending CN115098207A (en) 2022-06-23 2022-06-23 Image display method, image display device, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN115098207A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568549A (en) * 2021-04-20 2021-10-29 华为技术有限公司 Graphical interface display method, electronic device, medium, and program product
CN113858201A (en) * 2021-09-29 2021-12-31 清华大学 Intention-driven adaptive impedance control method, system, device, storage medium and robot
CN114463517A (en) * 2021-12-27 2022-05-10 北京五八信息技术有限公司 AR-based physical and physical analysis method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568549A (en) * 2021-04-20 2021-10-29 华为技术有限公司 Graphical interface display method, electronic device, medium, and program product
CN113858201A (en) * 2021-09-29 2021-12-31 清华大学 Intention-driven adaptive impedance control method, system, device, storage medium and robot
CN114463517A (en) * 2021-12-27 2022-05-10 北京五八信息技术有限公司 AR-based physical and physical analysis method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
田超 等: "基于物理引擎三维物理仿真实验的实现方法", 《微型电脑应用》, vol. 26, no. 02, 20 February 2010 (2010-02-20), pages 26 - 29 *

Similar Documents

Publication Publication Date Title
JP7508600B2 (en) Live broadcast interaction method, apparatus, readable medium and electronic device
CN113038264B (en) Live video processing method, device, equipment and storage medium
CN113055611B (en) Image processing method and device
CN112672185B (en) Augmented reality-based display method, device, equipment and storage medium
CN111479157A (en) Bullet screen display method and device, electronic equipment and computer storage medium
WO2023151524A1 (en) Image display method and apparatus, electronic device, and storage medium
CN112291590A (en) Video processing method and device
CN112965780A (en) Image display method, apparatus, device and medium
CN114531553A (en) Method and device for generating special effect video, electronic equipment and storage medium
CN114461064A (en) Virtual reality interaction method, device, equipment and storage medium
CN114722320A (en) Page switching method and device and interaction method of terminal equipment
CN114598823A (en) Special effect video generation method and device, electronic equipment and storage medium
CN112068703B (en) Target object control method and device, electronic device and storage medium
CN113989470A (en) Picture display method and device, storage medium and electronic equipment
CN117244249A (en) Multimedia data generation method and device, readable medium and electronic equipment
CN115098207A (en) Image display method, image display device, electronic device, and storage medium
CN114697568B (en) Special effect video determining method and device, electronic equipment and storage medium
CN114116081B (en) Interactive dynamic fluid effect processing method and device and electronic equipment
CN111627106B (en) Face model reconstruction method, device, medium and equipment
CN113223012B (en) Video processing method and device and electronic device
CN115278107A (en) Video processing method and device, electronic equipment and storage medium
CN114529452A (en) Method and device for displaying image and electronic equipment
CN114419201A (en) Animation display method, animation display device, electronic equipment, animation display medium and program product
CN112416146A (en) Method, device, terminal and storage medium for processing information
CN110047520B (en) Audio playing control method and device, electronic equipment and computer readable 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