CN111476874A - Curved surface interactive interface generation method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN111476874A
CN111476874A CN202010319082.1A CN202010319082A CN111476874A CN 111476874 A CN111476874 A CN 111476874A CN 202010319082 A CN202010319082 A CN 202010319082A CN 111476874 A CN111476874 A CN 111476874A
Authority
CN
China
Prior art keywords
interactive interface
original
target
curved surface
original interactive
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.)
Granted
Application number
CN202010319082.1A
Other languages
Chinese (zh)
Other versions
CN111476874B (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

Images

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 interaction interface generation method and device, electronic equipment and a storage medium, and relates to the technical field of interaction interfaces. The method for generating the curved surface interactive interface comprises the following steps: acquiring an original interactive interface to be processed; and 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. The technical scheme of the embodiment of the invention can ensure that the generated curved surface interactive interface can be adapted to different machine types, improve compatibility, reduce resources occupied by the curved surface interactive interface and improve generation efficiency.

Description

Curved surface interactive interface generation method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of interactive interfaces, in particular to a curved surface interactive interface generation method, a curved surface interactive interface generation device, electronic equipment and a computer readable storage medium.
Background
With the rapid development of internet technology, human-computer interaction interfaces are increasingly widely used by people. User Interface (UI) is a medium for interaction and information exchange between a system and a User, and can realize conversion between an internal form of information and a human-acceptable form.
At present, in the related art, a curved surface interactive interface is generated by performing a curved surface change on a vertex position corresponding to a common user interactive interface in a space, or by projecting the common user interactive interface onto a curved surface three-dimensional model. But instead. The first scheme not only causes problems in adaptation of different machine types, requires a program to be zoomed according to adjustment, but also needs to consider the relative positions of the curved surface interactive interface and the virtual camera; in the second scheme, a new three-dimensional model needs to be added, so that not only is the resource amount increased, but also the 3d model needs to be stretched and scaled when different models are adapted, the relative position of the curved surface interactive interface and the camera needs to be considered, and the curved surface interactive interface and objects in a scene can collide.
It is to be noted that the information disclosed in the above background section is only for enhancement of 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 the curved surface interaction interface in the related technical scheme are solved at least to a certain extent.
Additional features and advantages of the invention will be set forth in the detailed description which follows, or may be learned by practice of the invention.
According to a first aspect of the embodiments of the present invention, a curved surface interaction interface generation method is provided, including: acquiring an original interactive interface to be processed; and 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 some example embodiments of the present invention, based on the foregoing solution, the inputting the original interactive interface into the target rendering container includes: inputting the original interactive interface into a panel component to generate a target panel component; inputting the target panel component containing the original interactive interface into a target rendering container.
In some example embodiments of the present invention, based on the foregoing solution, the inputting the original interactive interface into a panel component to generate a target panel component includes: adjusting an anchor point in the panel component to make the original interaction interface adaptive to the panel component; and inputting the original interactive interface into the panel component after the anchor point is adjusted to generate a target panel component.
In some example embodiments of the present invention, based on the foregoing solution, before the original interactive interface is adjusted by the target rendering container to generate a curved interactive interface corresponding to the original interactive interface, the method further includes: adding a rendering shader to the target rendering container to render the original interactive interface through the rendering shader.
In some example embodiments of the present invention, based on the foregoing solution, adding a rendering shader to the target rendering container to render the original interactive interface through the rendering shader further comprises: 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 interactive interface to generate a curved interactive interface corresponding to the original interactive interface includes: and adjusting the original interactive interface through the rendering shader added into the target rendering container to generate a curved surface interactive interface corresponding to the original interactive interface.
In some example embodiments of the present invention, based on the foregoing solution, the adjusting, by the target rendering container, the original interactive interface to generate a curved interactive interface corresponding to the original interactive interface includes: acquiring an input bending curvature parameter; based on the rendering shader in the target rendering container, adjusting the map coordinates of the original interactive interface according to the bending curvature parameters to generate a curved interactive interface corresponding to the original interactive interface.
According to a second aspect of the embodiments of the present invention, there is provided a curved surface interaction interface generation apparatus, including: the original interactive interface acquisition module is used for acquiring an original interactive interface to be processed; and the curved surface interactive interface generating 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: the target panel component generating unit is used for inputting the original interactive interface into a panel component to generate a target panel component; a target panel component input unit for inputting the target panel component containing the original interactive interface into a target rendering container.
In an exemplary embodiment of the present invention, based on the foregoing, the target panel component generating unit is further configured to: adjusting an anchor point in the panel component to make the original interaction interface adaptive to the panel component; and inputting the original interactive interface into the panel component after the anchor point is adjusted to generate a target panel component.
In an exemplary embodiment of the present invention, based on the foregoing solution, the curved surface interaction interface generating apparatus further includes a rendering shader adding unit, where the rendering shader adding unit is configured to: adding a rendering shader to the target rendering container to render the original interactive interface through the rendering shader.
In an exemplary embodiment of the invention, based on the foregoing scheme, the rendering shader addition 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 surface interactive interface generating module is configured to: and adjusting the original interactive interface through the rendering shader added into 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 is configured to: acquiring an input bending curvature parameter; based on the rendering shader in the target rendering container, adjusting the map coordinates of the original interactive interface according to the bending curvature parameters to generate a curved interactive interface corresponding to the original interactive interface.
According to a third aspect of embodiments of the present invention, there is provided an electronic apparatus, including: a processor; and the memorizer is used for storing computer readable instructions, and the computer readable instructions are executed by the processor to realize the curved surface interactive interface generation method.
According to a fourth aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the curved surface interactive interface generation method according to any one of the above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the curved surface interactive interface generation method in the example embodiment of the invention obtains an original interactive interface to be processed, then inputs the original interactive interface into a target rendering container, and adjusts the original interactive interface through the target rendering container to generate a 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 adaptability adaptation can be performed according to different machine types, and the generated curved surface interactive interface does not need three-dimensional model assistance, does not increase resource amount and does not collide with objects in a scene; on the other hand, the curved surface interactive interface generated by the target rendering container has smooth arc, and the curved surface interactive interface with better 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 interactive 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 obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. 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 component 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 surface interaction interface for different bending curvature parameters, in accordance with some embodiments of the invention;
FIG. 5 schematically illustrates a flow diagram for generating a curved interactive interface, in accordance with some embodiments of the invention;
FIG. 6 schematically illustrates a schematic diagram of a curved interactive interface generating apparatus according to some embodiments of the present invention;
FIG. 7 schematically illustrates a structural schematic of a computer system of an electronic device according to some embodiments of the 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. Example embodiments may, however, be embodied in many different 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 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 provide 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, and so forth. In other instances, well-known methods, devices, implementations or operations have not been shown or described in detail to avoid obscuring aspects of the invention.
Furthermore, the drawings are merely schematic illustrations and are not necessarily drawn to scale. The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
In this exemplary embodiment, a method for generating a curved interactive interface is first provided, where the method for generating a curved interactive interface is applicable to terminal devices, such as electronic devices like mobile phones and computers. FIG. 1 schematically illustrates a flow diagram of a method for generating a curved interactive interface, according to some embodiments of the invention. Referring to fig. 1, the method for generating a curved interactive interface may include the following steps:
step S110, acquiring an original interactive 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 method for generating the curved surface interactive interface in the embodiment of the example, 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 not only can adaptive adaptation be performed according to different machine types, 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 avoided; on the other hand, the curved surface interactive interface generated by the target rendering container has smooth arc, and the curved surface interactive interface with better 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 interactive interface is improved.
Next, the curved surface interactive interface generating method in the present exemplary embodiment will be further described.
In step S110, an original interactive interface to be processed is obtained.
In an example embodiment of the present invention, the original interactive interface may refer to an interactive interface that is designed in advance and is used for generating a curved interactive interface, and in an embodiment, the original interactive interface may be an interactive interface in a three-dimensional scene, for example, a virtual interactive interface opened by a game character in a game scene. The original interactive interface may be a flat two-dimensional interface, may be a rectangle, or may be a circle, 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 related interactive interface design software, for example, the original interactive interface can be made 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 example embodiment of the present invention, the target rendering container may refer to an optimization tool in the related rendering software, which is capable of converting an original interactive interface into a curved interactive interface, for example, the rendering software may be a RetainerBox tool in an illusion 4 engine (unrealalengine 4), where the RetainerBox tool is a container, and only affects a user interface in the container when rendering, and the main role of the RetainerBox tool is to control an update frequency of the interactive interface; the rendered user interface is put into the Texture as Texture, and is displayed after being processed (to various special effects such as bending, gradual change, movement, zooming, and the like).
Specifically, since the RetainerBox tool can only accommodate a subset, the original interactive interface can be placed into the target rendering container by:
inputting an original interactive interface into a panel component to generate a target panel component;
the target panel component containing the original interactive interface is input into the target rendering container.
The Panel component may refer to a container component for organizing the original interactive interface, for example, the Panel component may be a Canvas Panel tool in an illusion 4 Engine (Unreal Engine 4), or may also be a Panel control in other machine programming languages (e.g., C language and Java language), and the exemplary embodiment is not limited thereto.
The target Panel component may be a Panel component obtained by inputting the original interactive interface into a Panel component, such as a Panel tool, for optimization and adjustment, and at this time, the target Panel component is input into the target rendering container as a subset, so as to realize the input of the original interactive interface into the target rendering container.
Further, the target panel assembly may be generated by:
adjusting an anchor point in the panel assembly to make the original interaction interface adaptive to the panel assembly;
and inputting the original interactive interface into the panel component after the anchor point is adjusted to generate a target panel component.
The anchor point may be a standard point for binding the original interactive interface and the panel component, and the anchor point in the panel component is adjusted, then the original interactive interface is placed in the panel component for binding so that the original interactive interface is adaptive to the panel component to obtain a target panel component, and finally the obtained target panel component is placed in a target rendering container such as a RetainerBox tool to complete a task of inputting the original interactive interface into the target rendering container. Referring to fig. 2, an anchor point 202 in a panel component 201 is adjusted to make an original interactive interface 203 adaptive to the panel component 201, and then the original interactive interface 203 is input into the panel component 201 after the anchor point is adjusted to generate a target panel component.
In an example embodiment of the present invention, before an original interactive interface is adjusted by a target rendering container to generate a curved interactive interface corresponding to the original interactive interface, a rendering shader is added to the target rendering container to render the original interactive interface through the rendering shader. The rendering Shader may refer to a Shader program used in the related rendering software to render the curved surface interactive interface, for example, the rendering Shader may be a Shader in an illusion 4 Engine (non 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 the rendering Shader is added to the target rendering container, the target rendering container is output as the map parameter, e.g., after the rendering Shader is added to the RetainerBox by the ghost 4 engine, the content in the RetainerBox is output as the map parameter SlateUI. Referring to fig. 3, a target panel component 301 containing an original interactive interface is input into a target rendering container 302, and the target rendering container is output as a mapping parameter 303 (e.g., slatei) corresponding to a rendering shader, so that the rendering shader can render and update the original interactive interface.
In an example embodiment of the present invention, the original interactive interface may be adjusted by the 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 into a curved interactive interface corresponding to the curved curvature according to the input curved curvature.
Specifically, the input curved curvature parameter may be obtained, and then based on a rendering shader in the target rendering container, texture coordinates (UV coordinates) of the original interactive interface are adjusted according to the curved curvature parameter to generate a curved interactive interface corresponding to the original interactive interface. The bending curvature parameter may refer to a curvature value corresponding to the curved surface interactive 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 may be input by the user through the input component, which is not limited in this example embodiment. The texture coordinates of the original interactive interface can be adjusted by the following relations (1) and (2):
U1=U2(1)
V1=V2*(1+a(-2*U2+1)*(V2-1)) (2)
wherein, U1Can represent the U coordinate in the texture coordinate corresponding to the curved surface interactive interface, U2Can represent the U coordinate, V, in the texture coordinate corresponding to the original interactive interface1Can represent the V coordinate in the texture coordinate corresponding to the curved surface interactive interface, V2The method can represent the V coordinate in the texture coordinate corresponding to the curved surface interactive interface, a can represent the corresponding bending curvature of the curved surface interactive interface to be generated, and the curved surface interactive interfaces with different bending degrees can be realized by modifying the value of a.
Referring to fig. 4, when the input bending curvature parameter a is 0.2, the rendering shader converts texture coordinates of the original interactive interface according to the relations (1) and (2), and renders the generated curved interactive interface 401;
when the input bending curvature parameter a is 0.5, the rendering shader converts the texture coordinates of the original interactive interface according to the relational expressions (1) and (2), and renders the generated curved interactive interface 402;
when the input curvature parameter a is 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, a target panel component is generated from the panel components obtained by placing the original interactive interface;
step S520, placing the target panel assembly into a target rendering container;
step S530, adding a rendering shader to the target rendering container;
step S540, acquiring an input bending curvature parameter;
step S550, running the game, and receiving a command for starting the curved surface interactive interface;
step S560, the rendering shader converts texture coordinates of the original interactive interface according to the input curved curvature parameters to generate a curved interactive interface;
step S570, determining whether the function of the curved surface interactive interface needs to be executed continuously, if yes, returning to step S550, otherwise, executing step S580;
step S580, close the curved interactive interface.
It is noted that although the steps of the methods 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 this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
In addition, in the present exemplary embodiment, a curved surface interaction interface generation apparatus is also provided. Referring to fig. 6, the curved surface interactive interface generating apparatus 600 includes: an original interactive interface acquisition module 610 and a 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; and the curved surface interactive interface generating 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 620 further includes: the target panel component generating unit is used for inputting the original interactive interface into a panel component to generate a target panel component; a target panel component input unit for inputting the target panel component containing the original interactive interface into a target rendering container.
In an exemplary embodiment of the present invention, based on the foregoing, the target panel component generating unit is further configured to: adjusting an anchor point in the panel component to make the original interaction interface adaptive to the panel component; and inputting the original interactive interface into the panel component after the anchor point is adjusted to generate a target panel component.
In an exemplary embodiment of the present invention, based on the foregoing solution, the curved surface interaction interface generating apparatus 600 further includes a rendering shader adding unit, and the rendering shader adding unit is configured to: adding a rendering shader to the target rendering container to render the original interactive interface through the rendering shader.
In an exemplary embodiment of the invention, based on the foregoing scheme, the rendering shader addition 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 surface interactive interface generating module 620 is configured to: and adjusting the original interactive interface through the rendering shader added into 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 620 is configured to: acquiring an input bending curvature parameter; based on the rendering shader in the target rendering container, adjusting the map coordinates of the original interactive interface according to the bending curvature parameters to generate a curved interactive interface corresponding to the original interactive interface.
The specific details of each module of the above-mentioned device for generating a curved interactive interface have been described in detail in the corresponding method for generating a curved interactive interface, and therefore are not described herein again.
It should be noted that although several modules or units of the curved interactive interface generating apparatus are mentioned in the above detailed description, such division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the curved surface interactive interface generation method is also provided.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally 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 only an example and should not bring any limitation to the function and the scope of use of the embodiments of the present invention.
As shown in fig. 7, electronic device 700 is embodied in the form of a general purpose computing device. The components of the electronic device 700 may include, but are not limited to: the at least one processing unit 710, the at least one memory unit 720, a bus 730 connecting different system components (including the memory unit 720 and the processing unit 710), and a display unit 740.
Wherein the memory unit stores program code that is executable by the processing unit 710 such that the processing unit 710 performs the steps according to various exemplary embodiments of the present invention as described in the above section "exemplary method" of the present specification. For example, the processing unit 710 may execute step S110 shown in fig. 1 to obtain an original interactive 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.
The storage unit 720 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)721 and/or a cache memory unit 722, and may further include a read only memory unit (ROM) 723.
The memory unit 720 may also include programs/utilities 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 of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 730 may be any representation of 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.
Electronic device 700 may also communicate with one or more external devices 770 (e.g., keyboard, pointing device, Bluetooth device, etc.), and may also communicate with one or more devices that enable a user to interact with electronic device 700, and/or with any device (e.g., router, modem, etc.) that enables electronic device 700 to communicate with one or more other computing devices.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, 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 (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above-mentioned "exemplary methods" section of the present description, 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 according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present 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. A 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 (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, 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.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, 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 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, as well as conventional procedural programming languages, such as the "C" language or similar programming languages.
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, 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 (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute 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 variations, 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 will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for generating a curved surface interaction interface is characterized by comprising the following steps:
acquiring an original interactive interface to be processed;
and 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.
2. The method for generating a surface interactive interface according to claim 1, wherein said inputting said original interactive interface into a target rendering container comprises:
inputting the original interactive interface into a panel component to generate a target panel component;
inputting the target panel component containing the original interactive interface into a target rendering container.
3. The method for generating a surface interactive interface according to claim 2, wherein said inputting said original interactive interface into a panel component to generate a target panel component comprises:
adjusting an anchor point in the panel component to make the original interaction interface adaptive to the panel component;
and inputting the original interactive interface into the panel component after the anchor point is adjusted to generate a target panel component.
4. The method for generating a surface interactive interface according to claim 1, wherein before the adjusting the original interactive interface by the target rendering container to generate the surface interactive interface corresponding to the original interactive interface, the method further comprises:
adding a rendering shader to the target rendering container to render the original interactive interface through the rendering shader.
5. The method of generating a surface interactive interface according to claim 4, wherein adding a rendering shader to said target rendering container to render said original interactive interface through said rendering shader further comprises:
outputting the target rendering container as a map parameter, and inputting the map parameter into the rendering shader.
6. The method for generating a curved interactive interface according to claim 4, wherein the adjusting the original interactive interface through the target rendering container to generate a curved interactive interface corresponding to the original interactive interface includes:
and adjusting the original interactive interface through the rendering shader added into the target rendering container to generate a curved surface interactive interface corresponding to the original interactive interface.
7. The method for generating a curved interactive interface according to claim 6, wherein the adjusting the original interactive interface through the target rendering container to generate a curved interactive interface corresponding to the original interactive interface includes:
acquiring an input bending curvature parameter;
based on the rendering shader in the target rendering container, adjusting the map coordinates of the original interactive interface according to the bending curvature parameters to generate a curved interactive interface corresponding to the original interactive interface.
8. A curved surface interaction interface generating apparatus, comprising:
the original interactive interface acquisition module is used for acquiring an original interactive interface to be processed;
and the curved surface interactive interface generating 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.
9. An electronic device, comprising:
a processor; and
a memory having computer readable instructions stored thereon which, when executed by the processor, implement the curved interactive interface generation method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the curved interactive interface generating method according to any one of claims 1 to 7.
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 true CN111476874A (en) 2020-07-31
CN111476874B 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 (3)

* 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
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

Patent Citations (3)

* 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
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
CN111476874B (en) 2024-03-01

Similar Documents

Publication Publication Date Title
CN110019766B (en) Knowledge graph display method and device, mobile terminal and readable storage medium
US9182882B2 (en) Dynamic creation and modeling of solid models
KR102637513B1 (en) Animation making method and apparatus, computing device and storage medium
US10140764B2 (en) Generating efficient, stylized mesh deformations using a plurality of input meshes
US20220215583A1 (en) Image processing method and apparatus, electronic device, and storage medium
CN108415939B (en) Dialog processing method, device and equipment based on artificial intelligence and computer readable storage medium
KR20240002898A (en) Method and apparatus for training a three-dimensional face reconstruction model and method and apparatus for generating a three-dimensional face image
CN102855648A (en) Method and device for processing image
CN114549710A (en) Virtual image generation method and device, electronic equipment and storage medium
CN115147265A (en) Virtual image generation method and device, electronic equipment and storage medium
CN114792359A (en) Rendering network training and virtual object rendering method, device, equipment and medium
JP2023533404A (en) DRIVABLE 3D CHARACTER GENERATION METHOD, APPARATUS, ELECTRONIC DEVICE, AND STORAGE MEDIUM
JP2023026531A (en) Virtual character generating method, apparatus, electronic equipment, storage medium, and computer program
CN113282214A (en) Stroke rendering method, device, storage medium and terminal
US9311755B2 (en) Self-disclosing control points
CN109448123A (en) The control method and device of model, storage medium, electronic equipment
CN109493428B (en) Optimization method and device for three-dimensional virtual model, electronic equipment and storage medium
WO2013109245A1 (en) Dynamic creation and modeling of solid models
CN111476874B (en) Curved surface interaction interface generation method and device, electronic equipment and storage medium
WO2024021635A1 (en) Movement control method and apparatus, storage medium and electronic device
CN111462269A (en) Image processing method and device, storage medium and electronic equipment
CN114681918A (en) Virtual camera control method and device, electronic equipment and storage medium
CN110162251A (en) Image-scaling method and device, storage medium, electronic equipment
KR20160010780A (en) 3D image providing system and providing method thereof
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