CN111476874B - Curved surface interaction interface generation method and device, electronic equipment and storage medium - Google Patents

Curved surface interaction interface generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111476874B
CN111476874B CN202010319082.1A CN202010319082A CN111476874B CN 111476874 B CN111476874 B CN 111476874B CN 202010319082 A CN202010319082 A CN 202010319082A CN 111476874 B CN111476874 B CN 111476874B
Authority
CN
China
Prior art keywords
interactive interface
original
curved surface
interface
rendering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010319082.1A
Other languages
Chinese (zh)
Other versions
CN111476874A (en
Inventor
钱静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202010319082.1A priority Critical patent/CN111476874B/en
Publication of CN111476874A publication Critical patent/CN111476874A/en
Application granted granted Critical
Publication of CN111476874B publication Critical patent/CN111476874B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04815Interaction with a metaphor-based environment or interaction object displayed as three-dimensional, e.g. changing the user viewpoint with respect to the environment or object
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)
  • Image Generation (AREA)

Abstract

The invention provides a curved surface interactive interface generation method and device, electronic equipment and a storage medium, and relates to the technical field of interactive interfaces. The curved surface interactive interface generation method comprises the following steps: acquiring an original interaction interface to be processed; inputting the original interaction interface into a target rendering container, and adjusting the original interaction interface through the target rendering container to generate a curved surface interaction interface corresponding to the original interaction interface. The technical scheme of the embodiment of the invention not only can ensure that the generated curved surface interaction interface can adapt to different machine types and improve compatibility, but also can reduce resources occupied by the curved surface interaction interface and improve the generation efficiency.

Description

Curved surface interaction interface generation method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the technical field of interactive interfaces, and in particular, to a curved surface interactive interface generating method, a curved surface interactive interface generating device, an electronic device, and a computer readable storage medium.
Background
With the rapid development of internet technology, man-machine interaction interfaces are increasingly widely used by people. A User Interface (UI) is a medium for interaction and information exchange between a system and a User, and may implement conversion between an internal form of information and a human acceptable form.
Currently, in the related art, a curved surface interactive interface is generated by performing curved surface change on a vertex position corresponding to a common user interactive interface in space, or by projecting the common user interactive interface onto a curved surface three-dimensional model. But is not limited to. The first scheme not only can cause the problem of adapting to different models, and needs the program to scale according to adjustment, but also needs to consider the relative position of the curved surface interaction interface and the virtual camera; the second scheme needs to add a new three-dimensional model, which not only causes the increase of the resource amount, but also causes the collision between the curved surface interaction interface and objects in the scene, because the relative positions of the curved surface interaction interface and the camera need to be considered when different models are matched, and the 3d model needs to be stretched and scaled.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The embodiment of the invention aims to provide a curved surface interaction interface generation method, a curved surface interaction interface generation device, electronic equipment and a computer readable storage medium, so that the problems of poor compatibility, complex operation and poor effect of a curved surface interaction interface in a related technical scheme are overcome at least to a certain extent.
Other features and advantages of the invention will be apparent from the following detailed description, or may be learned by the practice of the invention.
According to a first aspect of an embodiment of the present invention, there is provided a curved surface interactive interface generating method, including: acquiring an original interaction interface to be processed; inputting the original interaction interface into a target rendering container, and adjusting the original interaction interface through the target rendering container to generate a curved surface interaction interface corresponding to the original interaction interface.
In some example embodiments of the present invention, based on the foregoing, the inputting the original interactive interface into the target rendering container includes: inputting the original interaction interface into a panel assembly to generate a target panel assembly; the target panel assembly including the original interactive interface is input into a target rendering container.
In some example embodiments of the present invention, based on the foregoing, the inputting the original interactive interface into a panel assembly generates a target panel assembly, comprising: adjusting anchor points in the panel assembly to adapt the original interactive interface to the panel assembly; and inputting the original interaction interface into the panel assembly after the anchor point is adjusted to generate a target panel assembly.
In some example embodiments of the present invention, based on the foregoing solution, before the original interaction interface is adjusted by the target rendering container to generate a curved interaction interface corresponding to the original interaction interface, the method further includes: a rendering shader is added to the target rendering container to render the original interactive interface through the rendering shader.
In some example embodiments of the invention, based on the foregoing approach, adding a rendering shader into the target rendering container to render the original interactive interface through the rendering shader, further comprising: outputting the target rendering container as a map parameter and inputting the map parameter into the rendering shader.
In some example embodiments of the present invention, based on the foregoing solution, the adjusting, by the target rendering container, the original interaction interface to generate a curved interaction interface corresponding to the original interaction interface includes: and adjusting the original interaction interface through the rendering shader added into the target rendering container to generate a curved interaction interface corresponding to the original interaction interface.
In some example embodiments of the present invention, based on the foregoing solution, the adjusting, by the target rendering container, the original interaction interface to generate a curved interaction interface corresponding to the original interaction interface includes: acquiring an input bending curvature parameter; and adjusting the map coordinates of the original interaction interface according to the bending curvature parameter based on the rendering shader in the target rendering container so as to generate a curved surface interaction interface corresponding to the original interaction interface.
According to a second aspect of an embodiment of the present invention, there is provided a curved surface interactive interface generating device, including: the original interactive interface acquisition module is used for acquiring an original interactive interface to be processed; the curved surface interactive interface generation module is used for inputting the original interactive interface into a target rendering container, and adjusting the original interactive interface through the target rendering container to generate a curved surface interactive interface corresponding to the original interactive interface.
In an exemplary embodiment of the present invention, based on the foregoing solution, the curved surface interactive interface generating module further includes: a target panel assembly generating unit for inputting the original interactive interface into a panel assembly to generate a target panel assembly; and the target panel assembly input unit is used for inputting the target panel assembly containing the original interactive interface into a target rendering container.
In an exemplary embodiment of the present invention, based on the foregoing aspect, the target panel assembly generating unit is further configured to: adjusting anchor points in the panel assembly to adapt the original interactive interface to the panel assembly; and inputting the original interaction interface into the panel assembly after the anchor point is adjusted to generate a target panel assembly.
In an exemplary embodiment of the present invention, based on the foregoing aspect, the curved interactive interface generating apparatus further includes a rendering shader adding unit configured to: a rendering shader is added to the target rendering container to render the original interactive interface through the rendering shader.
In an exemplary embodiment of the present invention, based on the foregoing scheme, the rendering shader adding unit is further configured to: outputting the target rendering container as a map parameter and inputting the map parameter into the rendering shader.
In an exemplary embodiment of the present invention, based on the foregoing solution, the curved interactive interface generating module is configured to: and adjusting the original interaction interface through the rendering shader added into the target rendering container to generate a curved interaction interface corresponding to the original interaction interface.
In an exemplary embodiment of the present invention, based on the foregoing solution, the curved interactive interface generating module is configured to: acquiring an input bending curvature parameter; and adjusting the map coordinates of the original interaction interface according to the bending curvature parameter based on the rendering shader in the target rendering container so as to generate a curved surface interaction interface corresponding to the original interaction interface.
According to a third aspect of an embodiment of the present invention, there is provided an electronic apparatus including: a processor; and a memory having stored thereon computer readable instructions that when executed by the processor implement any one of the curved surface interactive interface generation methods described above.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a curved surface interactive interface generation method according to any one of the above.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
according to the curved surface interactive interface generation method in the example embodiment of the invention, the original interactive interface to be processed is obtained, then the original interactive interface is input into the target rendering container, and the original interactive interface is adjusted through the target rendering container to generate the curved surface interactive interface corresponding to the original interactive interface. On one hand, the original interactive interface is input into the target rendering container, and the curved surface interactive interface with different bending curvatures is generated through the target rendering container, so that the adaptive adaptation can be performed according to different models, the generated curved surface interactive interface does not need three-dimensional model assistance, the resource amount is not increased, and the generated curved surface interactive interface does not collide with objects in a scene; on the other hand, the curved surface interaction interface arc generated by the target rendering container is smooth, and the curved surface interaction interface with good effect can be generated only by inputting different bending curvatures, so that the operation difficulty is reduced, and the generation efficiency of the curved surface interaction interface is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is evident that the drawings in the following description are only some embodiments of the present invention and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art. In the drawings:
FIG. 1 schematically illustrates a schematic diagram of a curved interactive interface generation method according to some embodiments of the invention;
FIG. 2 schematically illustrates a schematic diagram of generating a target panel assembly according to some embodiments of the invention;
FIG. 3 schematically illustrates a schematic diagram of adding a rendering shader to a target rendering container, according to some embodiments of the invention;
FIG. 4 schematically illustrates a schematic view of a curved interactive interface with different bending curvature parameters, according to some embodiments of the invention;
FIG. 5 schematically illustrates a flow diagram for generating a curved interactive interface, according to some embodiments of the invention;
FIG. 6 schematically illustrates a schematic diagram of a curved interactive interface generation apparatus according to some embodiments of the invention;
FIG. 7 schematically illustrates a structural diagram of a computer system of an electronic device, in accordance with some embodiments of the present invention;
fig. 8 schematically illustrates a schematic diagram of a computer-readable storage medium according to some embodiments of the invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the invention.
Moreover, the drawings are only schematic illustrations and are not necessarily drawn to scale. The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
In this exemplary embodiment, a curved surface interactive interface generating method is provided first, and the curved surface interactive interface generating method can be applied to terminal devices, such as electronic devices including mobile phones and computers. Fig. 1 schematically illustrates a flow chart of a curved surface interactive interface generation method according to some embodiments of the invention. Referring to fig. 1, the curved surface interactive interface generating method may include the steps of:
step S110, acquiring an original interaction interface to be processed;
step S120, inputting the original interactive interface into a target rendering container, and adjusting the original interactive interface through the target rendering container to generate a curved surface interactive interface corresponding to the original interactive interface.
According to the curved surface interactive interface generation method in the example embodiment, on one hand, an original interactive interface is input into a target rendering container, curved surface interactive interfaces with different bending curvatures are generated through the target rendering container, so that not only can the adaptive adaptation be performed according to different models, but also the generated curved surface interactive interface does not need three-dimensional model assistance, the resource amount is not increased, and collision with objects in a scene is not generated; on the other hand, the curved surface interaction interface arc generated by the target rendering container is smooth, and the curved surface interaction interface with good effect can be generated only by inputting different bending curvatures, so that the operation difficulty is reduced, and the generation efficiency of the curved surface interaction interface is improved.
Next, a curved surface interactive interface generation method in the present exemplary embodiment will be further described.
In step S110, an original interactive interface to be processed is acquired.
In an example embodiment of the present invention, the original interactive interface may refer to a pre-designed interactive interface for generating a curved interactive interface, and in an embodiment, the original interactive interface may be an interactive interface within a three-dimensional scene, such as a virtual interactive interface in which a game character is opened in a game scene. The original interactive interface may be a flat two-dimensional interface, may be rectangular, or may be circular, which is not particularly limited in this example embodiment. The original interactive interface corresponding to the curved surface interactive interface to be generated is designed in advance through relevant interactive interface design software, for example, the original interactive interface can be manufactured through rendering design software such as Photoshop, illustrator, after Effects, axure RP, sketch and the like.
In step S120, the original interactive interface is input into a target rendering container, and the original interactive interface is adjusted by the target rendering container to generate a curved interactive interface corresponding to the original interactive interface.
In an exemplary embodiment of the present invention, the target rendering container may refer to an optimization tool in related rendering software capable of converting an original interactive interface into a curved interactive interface, for example, the rendering software may be a RetainerBox tool in a fantasy 4 Engine (un real Engine 4), where the RetainerBox tool is a container that only affects a user interface in the container when rendering, and the RetainerBox tool mainly functions to control an update frequency of the interactive interface; the rendered user interface is placed as Texture into a material, and is displayed after processing (processing into various special effects, such as bending, gradual change, movement, scaling, etc.).
Specifically, since the RetainerBox tool can only accommodate a subset, the original interactive interface can be placed into the target rendering container by:
inputting the original interactive interface into the panel assembly to generate a target panel assembly;
a target panel assembly containing the original interactive interface is input into a target rendering container.
The Panel component may refer to a container component for organizing an original interactive interface, for example, the Panel component may be a Canvas Panel tool in a fantasy 4 Engine (Unreal Engine 4), and may also be a Panel control in other machine programming languages (such as C language, java language), which is not limited to this example embodiment.
The target Panel assembly may refer to a Panel assembly obtained by inputting the original interactive interface into a Panel assembly such as a Panel tool for optimization adjustment, and at this time, the target Panel assembly is input into the target rendering container as a subset to realize inputting the original interactive interface into the target rendering container.
Further, the target panel assembly may be generated by:
adjusting anchor points in the panel assembly to adapt the original interactive interface to the panel assembly;
and inputting the original interactive interface into the panel assembly after the anchor point is adjusted to generate a target panel assembly.
The anchor point may be a standard point for binding the original interactive interface with the panel assembly, and by adjusting the anchor point in the panel assembly, then placing the original interactive interface into the panel assembly for binding, so that the original interactive interface self-adapting panel assembly obtains a target panel assembly, and finally placing the obtained target panel assembly into a target rendering container such as a RetainerBox tool to complete the task of inputting the original interactive interface into the target rendering container. Referring to fig. 2, an anchor 202 in a panel assembly 201 is adjusted to adapt an original interactive interface 203 to the panel assembly 201, and then the original interactive interface 203 is input into the panel assembly 201 after the anchor is adjusted to generate a target panel assembly.
In one example embodiment of the invention, a rendering shader is added to a target rendering container to render an original interactive interface through the rendering shader before the original interactive interface is adjusted through the target rendering container to generate a curved interactive interface corresponding to the original interactive interface. The rendering Shader may refer to a Shader program used for rendering the curved surface interactive interface in the related rendering software, for example, the rendering Shader may be a loader in a phantom 4 Engine (universal Engine 4), or may be a Shader program capable of converting texture coordinates (UV coordinates) of the interactive interface in other rendering software, which is not limited in this example embodiment.
Further, the target rendering container may be output as a map parameter and the map parameter may be input into the rendering shader. After adding the rendering Shader to the target rendering container, the target rendering container is output as a map parameter, for example, after adding the rendering Shader loader to the RetainerBox by the illusion 4 engine, the content in the RetainerBox is output as a map parameter SlateUI. Referring to fig. 3, a target panel assembly 301 including an original interactive interface is input into a target rendering container 302, and the target rendering container is output as a map parameter 303 (e.g., a SlateUI) corresponding to a rendering shader, so that the rendering shader performs rendering update on the original interactive interface.
In one example embodiment of the invention, the original interactive interface may be adjusted by a rendering shader added to the target rendering container to generate a curved interactive interface corresponding to the original interactive interface. The rendering shader may render the original interactive interface in the target rendering container as a curved interactive interface of a corresponding curved curvature according to the input curved curvature.
Specifically, the input curvature parameter can be obtained, and then the texture coordinates (UV coordinates) of the original interactive interface are adjusted according to the curvature parameter based on the rendering shader in the target rendering container so as to generate the curved surface interactive interface corresponding to the original interactive interface. The bending curvature parameter may refer to a curvature value corresponding to the curved surface interaction interface to be generated, which is input by a user, for example, the bending curvature parameter may be 0.2 or 0.5, and a specific numerical value user may input through the input component, which is not limited to this example embodiment. The texture coordinates of the original interactive interface can be adjusted by the following relations (1), (2):
U 1 =U 2 (1)
V 1 =V 2 *(1+a(-2*U 2 +1)*(V 2 -1)) (2)
wherein U is 1 Can represent U coordinates in texture coordinates corresponding to the curved surface interaction interface, U 2 Can represent U coordinate, V coordinate in texture coordinate corresponding to original interactive interface 1 Can represent the corresponding lines of the curved surface interaction interfaceV coordinates in the physical coordinates, V 2 The method can represent the V coordinate in the texture coordinate corresponding to the curved surface interaction interface, a can represent the curved curvature corresponding to the curved surface interaction interface to be generated, and the curved surface interaction interfaces with different curved degrees can be realized by modifying the value of a.
Referring to fig. 4, when the input curvature parameter a=0.2, the rendering shader converts the texture coordinates of the original interactive interface according to the relation (1) (2), and renders the generated curved interactive interface 401;
when the input curvature parameter a=0.5, the rendering shader converts the texture coordinates of the original interactive interface according to the relation (1) and (2), and renders the generated curved surface interactive interface 402;
when the input curvature parameter a=1.0, the rendering shader converts the texture coordinates of the original interactive interface according to the relations (1) and (2), and renders the generated curved interactive interface 403.
FIG. 5 schematically illustrates a flow diagram for generating a curved interactive interface, according to some embodiments of the invention.
Referring to fig. 5, in step S510, the original interactive interface is placed to obtain a target panel assembly generated in the panel assembly;
step S520, placing the target panel assembly into a target rendering container;
step S530, adding a rendering shader for the target rendering container;
step S540, obtaining an input bending curvature parameter;
step S550, running the game and receiving a command for starting the curved surface interaction interface;
step S560, the rendering shader converts texture coordinates of the original interactive interface according to the input bending curvature parameter to generate a curved surface interactive interface;
step S570, judging whether the function of the curved surface interaction interface is required to be continuously executed, if yes, returning to step S550, otherwise, executing step S580;
in step S580, the curved surface interactive interface is closed.
It should be noted that although the steps of the method of the present invention are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in that particular order or that all of the illustrated steps be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
In addition, in the present exemplary embodiment, a curved surface interactive interface generating device is also provided. Referring to fig. 6, the curved interactive interface generating apparatus 600 includes: the original interactive interface acquisition module 610 and the curved surface interactive interface generation module 620. Wherein: the original interactive interface acquisition module is used for acquiring an original interactive interface to be processed; the curved surface interactive interface generation module is used for inputting the original interactive interface into a target rendering container, and adjusting the original interactive interface through the target rendering container to generate a curved surface interactive interface corresponding to the original interactive interface.
In an exemplary embodiment of the present invention, based on the foregoing solution, the curved interactive interface generating module 620 further includes: a target panel assembly generating unit for inputting the original interactive interface into a panel assembly to generate a target panel assembly; and the target panel assembly input unit is used for inputting the target panel assembly containing the original interactive interface into a target rendering container.
In an exemplary embodiment of the present invention, based on the foregoing aspect, the target panel assembly generating unit is further configured to: adjusting anchor points in the panel assembly to adapt the original interactive interface to the panel assembly; and inputting the original interaction interface into the panel assembly after the anchor point is adjusted to generate a target panel assembly.
In an exemplary embodiment of the present invention, based on the foregoing aspect, the curved interactive interface generating apparatus 600 further includes a rendering shader adding unit configured to: a rendering shader is added to the target rendering container to render the original interactive interface through the rendering shader.
In an exemplary embodiment of the present invention, based on the foregoing scheme, the rendering shader adding unit is further configured to: outputting the target rendering container as a map parameter and inputting the map parameter into the rendering shader.
In an exemplary embodiment of the present invention, based on the foregoing solution, the curved interactive interface generating module 620 is configured to: and adjusting the original interaction interface through the rendering shader added into the target rendering container to generate a curved interaction interface corresponding to the original interaction interface.
In an exemplary embodiment of the present invention, based on the foregoing solution, the curved interactive interface generating module 620 is configured to: acquiring an input bending curvature parameter; and adjusting the map coordinates of the original interaction interface according to the bending curvature parameter based on the rendering shader in the target rendering container so as to generate a curved surface interaction interface corresponding to the original interaction interface.
The specific details of each module of the above-mentioned middle curved surface interactive interface generating device are already described in detail in the corresponding curved surface interactive interface generating method, so that the details are not repeated here.
It should be noted that although several modules or units of the curved surface interactive interface generating device are mentioned in the above detailed description, this division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
In addition, in the exemplary embodiment of the present disclosure, an electronic device capable of implementing the above curved surface interactive interface generation method is also provided.
Those skilled in the art will appreciate that the various aspects of the invention may be implemented as a system, method, or program product. Accordingly, aspects of the invention may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
An electronic device 700 according to such an embodiment of the invention is described below with reference to fig. 7. The electronic device 700 shown in fig. 7 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 7, the electronic device 700 is embodied in the form of a general purpose computing device. Components of electronic device 700 may include, but are not limited to: the at least one processing unit 710, the at least one storage unit 720, a bus 730 connecting the different system components (including the storage unit 720 and the processing unit 710), and a display unit 740.
Wherein the storage unit stores program code that is executable by the processing unit 710 such that the processing unit 710 performs steps according to various exemplary embodiments of the present invention described in the above-mentioned "exemplary methods" section of the present specification. For example, the processing unit 710 may perform step S110 shown in fig. 1, to obtain an original interaction interface to be processed; step S120, inputting the original interactive interface into a target rendering container, and adjusting the original interactive interface through the target rendering container to generate a curved interactive interface corresponding to the original interactive interface.
The memory unit 720 may include readable media in the form of volatile memory units, such as Random Access Memory (RAM) 721 and/or cache memory 722, and may further include Read Only Memory (ROM) 723.
The storage unit 720 may also include a program/utility 724 having a set (at least one) of program modules 725, such program modules 725 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 730 may be a bus representing one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 700 may also communicate with one or more external devices 770 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 700, and/or any device (e.g., router, modem, etc.) that enables the electronic device 700 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 750. Also, electronic device 700 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through network adapter 760. As shown, network adapter 760 communicates with other modules of electronic device 700 over bus 730. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 700, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification is also provided. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the "exemplary methods" section of this specification, when said program product is run on the terminal device.
Referring to fig. 8, a program product 800 for implementing the curved interactive interface generation method described above, which may employ a portable compact disc read-only memory (CD-ROM) and include program code, and which may be run on a terminal device, such as a personal computer, is described according to an embodiment of the present invention. However, the program product of the present invention is not limited thereto, and in this document, a 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.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a 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 readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like 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 computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
Furthermore, the above-described drawings are only schematic illustrations of processes included in the method according to the exemplary embodiment of the present invention, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a touch terminal, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (9)

1. The method for generating the curved surface interaction interface is characterized by comprising the following steps:
acquiring an original interaction interface to be processed;
adding a rendering shader into a target rendering container to render the original interactive interface through the rendering shader;
inputting the original interaction interface into the target rendering container, and adjusting the original interaction interface through the target rendering container to generate a curved surface interaction interface corresponding to the original interaction interface, wherein the rendering shader renders the original interaction interface in the target rendering container into the curved surface interaction interface corresponding to the curved curvature according to the input curved curvature.
2. The method for generating a curved interactive interface according to claim 1, wherein said inputting said original interactive interface into a target rendering container comprises:
inputting the original interaction interface into a panel assembly to generate a target panel assembly;
the target panel assembly including the original interactive interface is input into a target rendering container.
3. The method for generating a curved interactive interface according to claim 2, wherein said inputting the original interactive interface into a panel assembly generates a target panel assembly, comprising:
adjusting anchor points in the panel assembly to adapt the original interactive interface to the panel assembly;
and inputting the original interaction interface into the panel assembly after the anchor point is adjusted to generate a target panel assembly.
4. The curved surface interactive interface generation method of claim 1, wherein a rendering shader is added to the target rendering container to render the original interactive interface through the rendering shader, further comprising:
outputting the target rendering container as a map parameter and inputting the map parameter into the rendering shader.
5. The method for generating a curved interactive interface according to claim 1, wherein said adjusting the original interactive interface by the target rendering container to generate a curved interactive interface corresponding to the original interactive interface comprises:
and adjusting the original interaction interface through the rendering shader added into the target rendering container to generate a curved interaction interface corresponding to the original interaction interface.
6. The method for generating a curved interactive interface according to claim 5, wherein said adjusting the original interactive interface by the target rendering container to generate a curved interactive interface corresponding to the original interactive interface comprises:
acquiring an input bending curvature parameter;
and adjusting the map coordinates of the original interaction interface according to the bending curvature parameter based on the rendering shader in the target rendering container so as to generate a curved surface interaction interface corresponding to the original interaction interface.
7. The curved surface interaction interface generating device is characterized by comprising:
the original interactive interface acquisition module is used for acquiring an original interactive interface to be processed;
a rendering shader adding unit for adding a rendering shader to a target rendering container to render the original interactive interface through the rendering shader;
the curved surface interactive interface generation module is used for inputting the original interactive interface into the target rendering container, and adjusting the original interactive interface through the target rendering container to generate a curved surface interactive interface corresponding to the original interactive interface, wherein the rendering shader renders the original interactive interface in the target rendering container into the curved surface interactive interface corresponding to the curved curvature according to the input curved curvature.
8. An electronic device, comprising:
a processor; and
a memory having stored thereon computer readable instructions which, when executed by the processor, implement the curved surface interactive interface generation method of any of claims 1 to 6.
9. A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the curved surface interactive interface generation method of any of claims 1 to 6.
CN202010319082.1A 2020-04-21 2020-04-21 Curved surface interaction interface generation method and device, electronic equipment and storage medium Active CN111476874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010319082.1A CN111476874B (en) 2020-04-21 2020-04-21 Curved surface interaction interface generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010319082.1A CN111476874B (en) 2020-04-21 2020-04-21 Curved surface interaction interface generation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111476874A CN111476874A (en) 2020-07-31
CN111476874B true CN111476874B (en) 2024-03-01

Family

ID=71755535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010319082.1A Active CN111476874B (en) 2020-04-21 2020-04-21 Curved surface interaction interface generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111476874B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108170498A (en) * 2016-12-05 2018-06-15 阿里巴巴集团控股有限公司 Content of pages methods of exhibiting and device
CN108958568A (en) * 2017-05-17 2018-12-07 北京暴风魔镜科技有限公司 A kind of display, exchange method and the device of three dimentional graph display mean camber UI

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160180573A1 (en) * 2014-12-18 2016-06-23 Nikita Jain Game engine for analytical graphic representations

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108170498A (en) * 2016-12-05 2018-06-15 阿里巴巴集团控股有限公司 Content of pages methods of exhibiting and device
CN108958568A (en) * 2017-05-17 2018-12-07 北京暴风魔镜科技有限公司 A kind of display, exchange method and the device of three dimentional graph display mean camber UI

Also Published As

Publication number Publication date
CN111476874A (en) 2020-07-31

Similar Documents

Publication Publication Date Title
KR102637513B1 (en) Animation making method and apparatus, computing device and storage medium
CN110838162B (en) Vegetation rendering method and device, storage medium and electronic equipment
CN111062864B (en) Animation model scaling method and device, electronic equipment and storage medium
US20220215583A1 (en) Image processing method and apparatus, electronic device, and storage medium
CN110853614A (en) Virtual object mouth shape driving method and device and terminal equipment
CN110413276B (en) Parameter editing method and device, electronic equipment and storage medium
CN108415939B (en) Dialog processing method, device and equipment based on artificial intelligence and computer readable storage medium
CN102855648A (en) Method and device for processing image
CN109509242B (en) Virtual object facial expression generation method and device, storage medium and electronic equipment
CN115147265A (en) Virtual image generation method and device, electronic equipment and storage medium
JP2023533404A (en) DRIVABLE 3D CHARACTER GENERATION METHOD, APPARATUS, ELECTRONIC DEVICE, AND STORAGE MEDIUM
CN114792359A (en) Rendering network training and virtual object rendering method, device, equipment and medium
CN109448123A (en) The control method and device of model, storage medium, electronic equipment
CN111476874B (en) Curved surface interaction interface generation method and device, electronic equipment and storage medium
CN109493428B (en) Optimization method and device for three-dimensional virtual model, electronic equipment and storage medium
WO2024021635A1 (en) Movement control method and apparatus, storage medium and electronic device
CN116863078A (en) Three-dimensional human body model reconstruction method, three-dimensional human body model reconstruction device, electronic equipment and readable medium
CN108416835B (en) Method and terminal for realizing special face effect
CN116188724A (en) Animation rendering method, device, equipment and storage medium
CN107515720A (en) A kind of message treatment method, medium, device and computing device
CN113593046A (en) Panorama switching method and device, electronic equipment and storage medium
US20220358741A1 (en) Method and apparatus for determining skeleton drive coefficient, electronic device, and readable storage medium
KR20160010780A (en) 3D image providing system and providing method thereof
EP4177884A1 (en) Method and apparatus of processing image, method and apparatus of training model, electronic device and medium
CN114820908B (en) Virtual image generation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant