CN117651160A - Ornamental method and device for light shadow show, storage medium and electronic equipment - Google Patents

Ornamental method and device for light shadow show, storage medium and electronic equipment Download PDF

Info

Publication number
CN117651160A
CN117651160A CN202410127184.1A CN202410127184A CN117651160A CN 117651160 A CN117651160 A CN 117651160A CN 202410127184 A CN202410127184 A CN 202410127184A CN 117651160 A CN117651160 A CN 117651160A
Authority
CN
China
Prior art keywords
target
terminal
preset
geographic position
visual image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410127184.1A
Other languages
Chinese (zh)
Inventor
丘蔚
余康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lyad Smart Technology Group Co ltd
Original Assignee
Lyad Smart Technology Group 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 Lyad Smart Technology Group Co ltd filed Critical Lyad Smart Technology Group Co ltd
Priority to CN202410127184.1A priority Critical patent/CN117651160A/en
Publication of CN117651160A publication Critical patent/CN117651160A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The application discloses a light show ornamental method, a light show ornamental device, a storage medium and electronic equipment, wherein the method is applied to a server and comprises the following steps: obtaining a viewing request of a terminal aiming at a target shadow show, obtaining a current geographic position of the terminal according to the viewing request, extracting a target three-dimensional image data submodel from a preset three-dimensional image data model in the server according to the preset geographic position if the current geographic position is matched with the preset geographic position, rendering the target three-dimensional image data submodel, generating a visual image, and sending the visual image to the terminal so that the terminal plays the visual image. In the method, the terminal can view the target shadow show of the corresponding view angle of the geographic position of the terminal through the server receiving the shadow request sent by the terminal, so that the flexibility of playing the shadow show can be improved, and better visual effect is presented to the user.

Description

Ornamental method and device for light shadow show, storage medium and electronic equipment
Technical Field
The application relates to the technical field of shadow shows, in particular to a method and a device for viewing shadow shows, a storage medium and electronic equipment.
Background
The light shadow is a unique visual effect created by combining light and images as the name suggests. It is not only an entertainment mode, but also an artistic expression mode, and is a perfect combination of art and technology. The concept of shadow shows results from the deep understanding and innovative use of light and shadows. Light, the basic element of vision, can illuminate darkness and can create various beautiful visual effects. Shadow, which is an extension of light, can enhance the effect of light and can also create a wide variety of visual effects. By skillfully utilizing light and shadow, the shadow show can create various visual effects, thereby bringing brand-new visual experience to people.
However, in the related art, the form of playing the shadow show is not flexible, and a better visual effect cannot be presented to the user.
Disclosure of Invention
The embodiment of the application provides a light shadow show viewing method, a light shadow show viewing device, a storage medium and electronic equipment, which can improve the flexibility of playing the light shadow show and present a better visual effect to a user.
In a first aspect, an embodiment of the present application provides an ornamental method for a light show, which is applied to a server, and includes:
acquiring a film watching request of a terminal aiming at a target shadow show, wherein the film watching request carries the current geographic position of the terminal;
if the current geographic position is matched with a preset geographic position, extracting a target three-dimensional image data sub-model from a preset three-dimensional image data model in the server according to the preset geographic position;
rendering the target three-dimensional image data submodel to generate a visual image;
and sending the visual image to the terminal so that the terminal plays the visual image.
In some embodiments, the obtaining a viewing request of the terminal for a target light show, and obtaining the current geographic location of the terminal according to the viewing request includes:
receiving a film watching request triggered by a preset graphic code at a film watching position of a target film watching show scanned by a terminal;
and sending a geographic position acquisition request to the terminal according to the film watching request so as to acquire the current geographic position of the terminal.
In some embodiments, before the extracting the target three-dimensional image data submodel from the preset three-dimensional image data model in the server according to the preset geographic location, the method further comprises:
acquiring geospatial data acquired at a movie watching site of the target movie show;
and creating the preset three-dimensional image data model according to the geospatial data.
In some embodiments, the extracting the target three-dimensional image data submodel from the preset three-dimensional image data model in the server according to the preset geographic location includes:
determining the azimuth angle of the ornamental target shadow show at the preset geographic position;
determining a target distance range of the ornamental target shadow show at the preset geographic position;
determining target ornamental data from the preset three-dimensional image data model according to the azimuth angle and the target distance range;
and extracting the target three-dimensional image data sub-model from the preset three-dimensional image data model according to the target ornamental data.
In some embodiments, the sending the visual image to the terminal to cause the terminal to play the visual image includes:
creating a virtual object according to the data object in the visual image;
adding the virtual object to the visual image to generate an enhanced visual image;
and sending the enhanced visual image to the terminal so that the terminal plays the enhanced visual image.
In some embodiments, the adding the virtual object to the visual image generates an enhanced visual image, comprising:
and performing angle matching on the visual image and the virtual object according to a feature matching algorithm to generate the enhanced visual image.
In a second aspect, embodiments of the present application further provide an ornamental device for a light show, including:
the terminal comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring a film watching request of a terminal aiming at a target shadow show, and the film watching request carries the current geographic position of the terminal;
the extraction unit is used for extracting a target three-dimensional image data submodel from a preset three-dimensional image data model in the server according to the preset geographic position if the current geographic position is matched with the preset geographic position;
the rendering unit is used for rendering the target three-dimensional image data submodel and generating a visual image;
and the first sending unit is used for sending the visual image to the terminal so as to enable the terminal to play the visual image.
In a third aspect, an embodiment of the present application provides an ornamental method of a light show, applied to a terminal, including:
sending a viewing request aiming at a target shadow show to a server, so that the server obtains the current geographic position of the terminal according to the viewing request, if the current geographic position is matched with a preset geographic position, extracting a target three-dimensional image data submodel from a preset three-dimensional image data model in the server according to the preset geographic position, rendering the target three-dimensional image data submodel, generating a visual image, and sending the visual image to the terminal;
and receiving the visual image sent by the server and playing the visual image.
In a fourth aspect, embodiments of the present application further provide an ornamental device for a light show, including:
the second sending unit is used for sending a viewing request aiming at a target shadow show to a server so that the server obtains the current geographic position of the terminal according to the viewing request, if the current geographic position is matched with a preset geographic position, extracting a target three-dimensional image data submodel from a preset three-dimensional image data model in the server according to the preset geographic position, rendering the target three-dimensional image data submodel, generating a visual image, and sending the visual image to the terminal;
and the playing unit is used for receiving the visual image sent by the server and playing the visual image.
In a fifth aspect, embodiments of the present application further provide a computer-readable storage medium having stored thereon a computer program which, when run on a computer, causes the computer to perform a method of viewing a light show as provided in any of the embodiments of the present application.
In a sixth aspect, embodiments of the present application further provide an electronic device, including a processor and a memory, where the memory has a computer program, and the processor is configured to execute the ornamental method of the light show provided in any embodiment of the present application by calling the computer program.
According to the technical scheme provided by the embodiment of the application, the current geographic position of the terminal is obtained through obtaining the video watching request of the terminal aiming at the target video showing, and according to the video watching request, if the current geographic position is matched with the preset geographic position, the target three-dimensional image data submodel is extracted from the preset three-dimensional image data model in the server according to the preset geographic position, the target three-dimensional image data submodel is rendered, a visual image is generated, and the visual image is sent to the terminal, so that the visual image is played by the terminal. In the method, the terminal can view the target shadow show of the corresponding view angle of the geographic position of the terminal through the server receiving the shadow request sent by the terminal, so that the flexibility of playing the shadow show can be improved, and better visual effect is presented to the user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of an ornamental method of a light show according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of an ornamental method of a light show according to an embodiment of the present application.
Fig. 3 is a schematic structural view of an ornamental device with a light show according to an embodiment of the present application.
Fig. 4 is a schematic view of another structure of the ornamental device for a light show according to the embodiment of the present application.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by a person skilled in the art without any inventive effort, are intended to be within the scope of the present application based on the embodiments herein.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The embodiment of the application provides an ornamental method of a shadow show, and an execution subject of the ornamental method of the shadow show may be an ornamental device of the shadow show provided in the embodiment of the application, or an electronic device integrated with the ornamental device of the shadow show, where the ornamental device of the shadow show may be implemented in a hardware or software manner. The electronic device may be a server, and the server may receive a viewing request sent by the terminal, obtain a corresponding visual image according to the viewing request, and provide the visual image to the terminal. The terminal can be a smart phone, a tablet computer, a palm computer, a notebook computer, a desktop computer or other devices.
Referring to fig. 1, fig. 1 is a flow chart of an ornamental method of a light show provided in an embodiment of the present application, where the light show playing display method is applied to a server, and the specific flow may be as follows:
s110, obtaining a film watching request of a terminal aiming at a target film showing, and obtaining the current geographic position of the terminal according to the film watching request.
In this embodiment, a server receives a film watching request sent by a terminal and aiming at the target film show, and obtains a current geographic position of the terminal according to the film watching request.
For example, after the server receives the viewing request sent by the terminal, because the geographic location of the terminal needs to be acquired when the viewing request is executed, the server sends a geographic location acquisition request to the user terminal based on the viewing request, thereby acquiring the current geographic location of the terminal.
In some embodiments, the step of "obtaining a viewing request of a terminal for a target light show and obtaining a current geographic location of the terminal according to the viewing request" may include the following steps:
receiving a film watching request triggered by a preset graphic code at a film watching position of a target film watching show scanned by a terminal;
and sending a geographic position acquisition request to the terminal according to the film watching request so as to acquire the current geographic position of the terminal.
Wherein, the viewing place of the target shadow show refers to the viewing place of the viewing target shadow show.
Wherein, the graphic code is a coding mode for representing information by graphic symbols. It converts information into a series of graphical symbols, each representing a particular unit of information. Common graphic codes include two-dimensional codes and bar codes. The preset graphic code is a graphic code preset at a target shadow show watching place, and a user can trigger a watching request after scanning the graphic code through the terminal, namely the terminal can send the watching request to the server after scanning the code. The preset graphic code may be disposed at an optimal viewing point for viewing the target shadow show, for example, may be posted on a wall or floor at the optimal viewing point, and there may be a plurality of the optimal viewing points, and correspondingly, there may be a plurality of the preset graphic codes.
And S120, if the current geographic position is matched with a preset geographic position, extracting a target three-dimensional image data sub-model from a preset three-dimensional image data model in the server according to the preset geographic position.
The preset three-dimensional image data model is established for the geospatial data collected at the viewing place of the target shadow show. The preset geographic location is a geographic location at which the viewing location of the target light show is viewed, for example, the preset geographic location may include a geographic location corresponding to an optimal viewing point at which the target light show is viewed. It is understood that there may be a plurality of preset geographic locations.
In this embodiment, after the current geographic position of the terminal is obtained, the current geographic position is matched with a preset geographic position, and if the current geographic position is matched with the preset geographic position, the target three-dimensional image data submodel is extracted from the preset three-dimensional image data model in the server according to the preset geographic position.
The current geographic position is matched with the preset geographic position, namely the current geographic position is the same as the preset geographic position. In the actual application process, when judging whether the current geographic position is matched with the preset geographic position, if the distance between the current geographic position and the preset geographic position is within a certain distance range, the current geographic position can be identified to be the same as the preset geographic position. Wherein, this certain distance range can be set up according to actual need.
In some embodiments, before the step of extracting the target three-dimensional image data submodel from the preset three-dimensional image data model in the server according to the preset geographic location, the method may further include the steps of:
acquiring geospatial data acquired at a movie watching site of the target movie show;
and creating the preset three-dimensional image data model according to the geospatial data.
Geospatial data, among others, refers to data describing the surface of the earth or a particular region on the earth, typically including geographic location, geographic features, terrain, climate, land utilization, and the like. Specifically, data of buildings, terrains, roads, water bodies, etc. may be included.
In the embodiment of the application, the real-scene image acquisition can be performed at the target shadow show watching site when the geospatial data are acquired, and the specific acquisition means can be realized by means of satellite images, laser scanning, geographic investigation and the like.
In order to reduce the difficulty of data collection, in an embodiment, geospatial data related to the target shadow show may be collected only at a preset geographic location corresponding to the optimal viewing point at which the target shadow show is viewed. The data object in the geospatial data associated with the target light show may be a carrier on which the target light show is displayed.
Because the geospatial data collected in the scheme is used for enabling a user to watch the target shadow on the mobile phone, the collected geospatial data can only collect the geospatial data comprising the carrier showing the target shadow and the preset distance range from the carrier, and the specific preset distance range can be set according to actual conditions, so that the user can watch the target shadow completely.
Wherein, the carrier that the shadow is shown can be objects such as building, water, for example, when the shadow is shown for light, will generally use building, water to show light as the carrier of light is shown.
In this embodiment of the present application, after the geospatial data is collected, the geographic coordinates and the azimuth angle of each data object in the geospatial data need to be determined, where the geographic coordinates include information such as longitude, latitude, and altitude, and the azimuth angle is usually expressed in degrees relative to a certain reference direction. The specific reference direction may be set according to actual conditions, and is not particularly limited herein.
After the server has acquired the geospatial data, the preset three-dimensional image data model may be created from the geospatial data. In particular, this may be accomplished by GIS software, computer Aided Design (CAD) tools, or dedicated three-dimensional modeling software. Each data object may be assigned appropriate attributes and identifications during the modeling process for unique identification in the model.
In some embodiments, the step of extracting the target three-dimensional image data submodel from the preset three-dimensional image data model in the server according to the preset geographic location may include the steps of:
determining the azimuth angle of the ornamental target shadow show at the preset geographic position;
determining a target distance range of the ornamental target shadow show at the preset geographic position;
determining target ornamental data from the preset three-dimensional image data model according to the azimuth angle and the target distance range;
and extracting the target three-dimensional image data sub-model from the preset three-dimensional image data model according to the target ornamental data.
The target distance range is a distance range between a preset geographic position and a target shadow show carrier.
In this embodiment, the azimuth angle and the target distance range of the ornamental target shadow show may be determined according to the preset geographic location, the target ornamental data corresponding to the target shadow show that can be ornamental at the preset geographic location may be determined from the preset three-dimensional image data model according to the azimuth angle and the target distance range, and the target three-dimensional image data sub-model may be extracted from the preset three-dimensional image data model according to the target ornamental data.
And S130, rendering the target three-dimensional image data submodel to generate a visual image.
In this embodiment, after the target three-dimensional image data sub-model is extracted, the target three-dimensional image data sub-model may be presented as a visual image using a three-dimensional rendering technique, such as objects of a building, terrain, etc., may be rendered so that a user may view their appearance and location.
And S140, sending the visual image to the terminal so that the terminal plays the visual image.
In this embodiment, after the visual image is generated, the visual image is sent to the terminal, so that the terminal plays the visual image.
In some embodiments, the sending the visual image to the terminal to cause the terminal to play the visual image includes:
creating a virtual object according to the data object in the visual image;
adding the virtual object to the visual image to generate an enhanced visual image;
and sending the enhanced visual image to the terminal so that the terminal plays the enhanced visual image.
For example, when the data object is a ferris wheel, a virtual object corresponding to the ferris wheel may be established, for example, the virtual object may be a dynamic virtual object of a mechanical arm with a center of the ferris wheel as an axis, and the dynamic virtual object dynamically changes with playing of a target shadow show.
For another example, when the data object is a chimney, a virtual correspondence corresponding to the chimney may be established as a Santa Claus, and the virtual object may be dynamically presented, for example, a screen on which the Santa Claus climbs the chimney.
It will be appreciated that after the virtual object is created, the virtual object may be exposed in conjunction with the data object to increase the viewing of the visual image.
In some embodiments, the adding the virtual object to the visual image generates an enhanced visual image, comprising:
and performing angle matching on the visual image and the virtual object to generate the enhanced visual image.
For example, when the Santa Claus climbs the chimney, the Santa Claus can be subjected to angle matching according to the azimuth angle of the preset geographic position of the user relative to the chimney so as to adapt to the current viewing angle of the user.
In some embodiments, the angle matching the visual image with the virtual object, generating the enhanced visual image, includes:
and performing angle matching on the visual image and the virtual object according to a feature matching algorithm to generate the enhanced visual image.
The feature matching algorithm may include SIFT (Scale-Invariant Feature Transform, scale invariant feature transform), ORB (Oriented FAST and Rotated BRIEF, fast local feature point extraction and fast computation local feature point description sub-algorithm), SURF (Speeded Up Robust Features, accelerated robust feature), and the like.
In this embodiment, the virtual object may be aligned to a corresponding data object in the visual image according to the feature matching algorithm, so as to complete angle matching, and generate a corresponding enhanced visual image.
In particular, the present application is not limited by the order of execution of the steps described, and certain steps may be performed in other orders or concurrently without conflict.
As can be seen from the foregoing, in the viewing method of the light show provided in the embodiment of the present application, by obtaining a viewing request of a terminal for a target light show, and obtaining a current geographic position of the terminal according to the viewing request, if the current geographic position matches with a preset geographic position, extracting a target three-dimensional image data sub-model from a preset three-dimensional image data model in the server according to the preset geographic position, rendering the target three-dimensional image data sub-model, generating a visual image, and sending the visual image to the terminal, so that the terminal plays the visual image. In the method, the terminal can view the target shadow show of the corresponding view angle of the geographic position of the terminal through the server receiving the shadow request sent by the terminal, so that the flexibility of playing the shadow show can be improved, and better visual effect is presented to the user.
The method described in the previous examples is described in further detail below by way of example.
Referring to fig. 2, fig. 2 is a schematic flow chart of an ornamental method of a light show according to an embodiment of the present application. The method comprises the following steps:
s210, sending a viewing request aiming at a target shadow show to a server, so that the server obtains the current geographic position of the terminal according to the viewing request, if the current geographic position is matched with a preset geographic position, extracting a target three-dimensional image data sub-model from a preset three-dimensional image data model in the server according to the preset geographic position, rendering the target three-dimensional image data sub-model, generating a visual image, and sending the visual image to the terminal.
For example, a user scans a preset graphic code set at a target shadow show watching place through a mobile phone, so that a watching request is triggered, and after the server receives the watching request, the server sends a geographic position acquisition request to the terminal according to the watching request to acquire the current geographic position of the terminal, so that the server can conveniently determine a visual image to be sent to the terminal according to the current geographic position of the terminal.
For specific content on the server side, please refer to the content of the above embodiment, and the description is omitted here.
S220, receiving the visual image sent by the server and playing the visual image.
As can be seen from the foregoing, according to the viewing method of the light show provided in the embodiment of the present application, a terminal sends a viewing request for a target light show to a server, so that the server obtains a current geographic position of the terminal according to the viewing request, if the current geographic position matches with a preset geographic position, a target three-dimensional image data sub-model is extracted from a preset three-dimensional image data model in the server according to the preset geographic position, the target three-dimensional image data sub-model is rendered, a visual image is generated, the visual image is sent to the terminal, and then the terminal receives the visual image sent by the server and plays the visual image. According to the method and the device, the terminal can obtain the target shadow show corresponding to the visual angle of the geographic position of the terminal by sending the shadow viewing request aiming at the target shadow show to the server, the flexibility of playing the shadow show can be improved, and better visual effects are presented to the user.
In one embodiment, an ornamental device for a light show is also provided. Referring to fig. 3, fig. 3 is a schematic structural diagram of an ornamental device 300 with a light show according to an embodiment of the present application. The viewing device 300 of the light show is applied to a server, and the viewing device 300 of the light show includes an acquisition unit 301, an extraction unit 302, a rendering unit 303, and a first sending unit 304, as follows:
the obtaining unit 301 is configured to obtain a film watching request of a terminal for a target film show, where the film watching request carries a current geographic position of the terminal;
an extracting unit 302, configured to extract a target three-dimensional image data sub-model from a preset three-dimensional image data model in the server according to a preset geographic position if the current geographic position matches the preset geographic position;
a rendering unit 303, configured to render the target three-dimensional image data submodel and generate a visualized image;
and the first sending unit 304 is configured to send the visual image to the terminal, so that the terminal plays the visual image.
In some embodiments, the acquisition unit 301 may be configured to:
receiving a film watching request triggered by a preset graphic code at a film watching position of a target film watching show scanned by a terminal;
and sending a geographic position acquisition request to the terminal according to the film watching request so as to acquire the current geographic position of the terminal.
In some embodiments, the acquisition unit 301 may also be configured to:
acquiring geospatial data acquired at a movie watching site of the target movie show;
and creating the preset three-dimensional image data model according to the geospatial data.
In some embodiments, the extraction unit 302 may be configured to:
determining the azimuth angle of the ornamental target shadow show at the preset geographic position;
determining a target distance range of the ornamental target shadow show at the preset geographic position;
determining target ornamental data from the preset three-dimensional image data model according to the azimuth angle and the target distance range;
and extracting the target three-dimensional image data sub-model from the preset three-dimensional image data model according to the target ornamental data.
In some embodiments, the first sending unit 304 may be configured to:
creating a virtual object according to the data object in the visual image;
adding the virtual object to the visual image to generate an enhanced visual image;
and sending the enhanced visual image to the terminal so that the terminal plays the enhanced visual image.
In some embodiments, the first sending unit 304 may be configured to:
and performing angle matching on the visual image and the virtual object to generate the enhanced visual image.
In some embodiments, the first sending unit 304 may be configured to:
and performing angle matching on the visual image and the virtual object according to a feature matching algorithm to generate the enhanced visual image.
It should be noted that, the ornamental device of the light show provided in the embodiment of the present application and the ornamental method of the light show in the above embodiment belong to the same concept, and any method provided in the ornamental method embodiment of the light show can be implemented by the ornamental device of the light show, and detailed implementation process of the method embodiment of the light show is omitted herein.
In one embodiment, an ornamental device for a light show is also provided. Referring to fig. 4, fig. 4 is a schematic diagram illustrating another structure of an ornamental device 400 with a light show according to an embodiment of the disclosure. The ornamental device 400 for a light show is applied to a terminal, and the ornamental device 400 for a light show includes a second sending unit 401 and a playing unit 402, as follows:
a second sending unit 401, configured to send a viewing request for a target light show to a server, so that the server obtains a current geographic position of the terminal according to the viewing request, if the current geographic position matches with a preset geographic position, extract a target three-dimensional image data sub-model from a preset three-dimensional image data model in the server according to the preset geographic position, render the target three-dimensional image data sub-model, generate a visual image, and send the visual image to the terminal;
and a playing unit 402, configured to receive the visual image sent by the server, and play the visual image.
In addition, in order to better implement the method for viewing a light show in the embodiment of the present application, the present application further provides an electronic device based on the method for viewing a light show, referring to fig. 5, fig. 5 shows a schematic structural diagram of an electronic device 500 provided in the present application, and as shown in fig. 5, the electronic device 500 provided in the present application includes a processor 501 and a memory 502, where the processor 501 is configured to implement steps of the method for viewing a light show in the above embodiment of the present application when executing a computer program stored in the memory 502, for example:
acquiring a film watching request of a terminal aiming at a target film showing, and acquiring the current geographic position of the terminal according to the film watching request;
if the current geographic position is matched with a preset geographic position, extracting a target three-dimensional image data sub-model from a preset three-dimensional image data model in the server according to the preset geographic position;
rendering the target three-dimensional image data submodel to generate a visual image;
and sending the visual image to the terminal so that the terminal plays the visual image.
By way of example, a computer program may be partitioned into one or more modules/units that are stored in memory 502 and executed by processor 501 to accomplish the embodiments of the present application. One or more of the modules/units may be a series of computer program instruction segments capable of performing particular functions to describe the execution of the computer program in a computer device.
Electronic device 500 may include, but is not limited to, processor 501, memory 502. It will be appreciated by those skilled in the art that the illustration is merely an example of the electronic device 500 and does not constitute a limitation of the electronic device 500, and may include more or less components than illustrated, or may combine some components, or different components, e.g., the electronic device 500 may further include an input-output device, a network access device, a bus, etc., through which the processor 501, the memory 502, the input-output device, the network access device, etc., are connected.
The processor 501 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or any conventional processor or the like that is a control center of the electronic device 500 that interfaces and lines to various portions of the overall electronic device 500.
The memory 502 may be used to store computer programs and/or modules, and the processor 501 may implement various functions of the computer device by executing or executing the computer programs and/or modules stored in the memory 502, and invoking data stored in the memory 502. The memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the electronic device 500, and the like. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the description of the ornamental device of the light show, the electronic device 500 and the specific working process of the corresponding units thereof in the above embodiments of the present application may refer to the description of the ornamental method of the light show, which is not repeated herein.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer readable storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform the steps in the ornamental method of the light show in the above embodiment of the present application, such as:
acquiring a film watching request of a terminal aiming at a target film showing, and acquiring the current geographic position of the terminal according to the film watching request;
if the current geographic position is matched with a preset geographic position, extracting a target three-dimensional image data sub-model from a preset three-dimensional image data model in the server according to the preset geographic position;
rendering the target three-dimensional image data submodel to generate a visual image;
and sending the visual image to the terminal so that the terminal plays the visual image.
For specific operations, reference may be made to the description of the ornamental method of the light show in the above embodiments of the present application, and the description is omitted here.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Since the instructions stored in the computer readable storage medium may execute the steps in the ornamental method of the light show in the above embodiments of the present application, the beneficial effects that can be achieved by the ornamental method of the light show in the above embodiments of the present application can be achieved, which are detailed in the foregoing description and are not repeated here.
Furthermore, the terms "first," "second," and "third," and the like, herein, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the particular steps or modules listed and certain embodiments may include additional steps or modules not listed or inherent to such process, method, article, or apparatus.
The above describes in detail a method, apparatus, electronic device and storage medium for viewing a shadow show provided in the present application, and specific examples are applied herein to illustrate the principles and embodiments of the present application, where the above examples are only used to help understand the method and core ideas of the present application; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. An ornamental method of a light show, applied to a server, is characterized by comprising the following steps:
acquiring a film watching request of a terminal aiming at a target film showing, and acquiring the current geographic position of the terminal according to the film watching request;
if the current geographic position is matched with a preset geographic position, extracting a target three-dimensional image data sub-model from a preset three-dimensional image data model in the server according to the preset geographic position;
rendering the target three-dimensional image data submodel to generate a visual image;
and sending the visual image to the terminal so that the terminal plays the visual image.
2. The viewing method of a light show according to claim 1, wherein the obtaining a viewing request of a terminal for a target light show and obtaining a current geographic location of the terminal according to the viewing request comprises:
receiving a film watching request triggered by a preset graphic code at a film watching position of a target film watching show scanned by a terminal;
and sending a geographic position acquisition request to the terminal according to the film watching request so as to acquire the current geographic position of the terminal.
3. The viewing method of a light show of claim 1, further comprising, prior to said extracting a target three-dimensional image data sub-model from a preset three-dimensional image data model in the server according to the preset geographic location:
acquiring geospatial data acquired at a movie watching site of the target movie show;
and creating the preset three-dimensional image data model according to the geospatial data.
4. The viewing method of a light show according to claim 1, wherein the extracting a target three-dimensional image data sub-model from a preset three-dimensional image data model in the server according to the preset geographic location comprises:
determining the azimuth angle of the ornamental target shadow show at the preset geographic position;
determining a target distance range of the ornamental target shadow show at the preset geographic position;
determining target ornamental data from the preset three-dimensional image data model according to the azimuth angle and the target distance range;
and extracting the target three-dimensional image data sub-model from the preset three-dimensional image data model according to the target ornamental data.
5. The viewing method of a light show according to claim 1, wherein said transmitting the visual image to the terminal to cause the terminal to play the visual image comprises:
creating a virtual object according to the data object in the visual image;
adding the virtual object to the visual image to generate an enhanced visual image;
and sending the enhanced visual image to the terminal so that the terminal plays the enhanced visual image.
6. The method of viewing a light show of claim 5, wherein the adding the virtual object to the visual image generates an enhanced visual image, comprising:
and performing angle matching on the visual image and the virtual object according to a feature matching algorithm to generate the enhanced visual image.
7. An ornamental method of a light show, applied to a terminal, is characterized by comprising the following steps:
sending a viewing request aiming at a target shadow show to a server, so that the server obtains the current geographic position of the terminal according to the viewing request, if the current geographic position is matched with a preset geographic position, extracting a target three-dimensional image data submodel from a preset three-dimensional image data model in the server according to the preset geographic position, rendering the target three-dimensional image data submodel, generating a visual image, and sending the visual image to the terminal;
and receiving the visual image sent by the server and playing the visual image.
8. Viewing apparatus for a light show, comprising means for performing the viewing method of a light show according to any one of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when run on a computer, causes the computer to perform the ornamental method of a light show according to any one of claims 1 to 7.
10. An electronic device comprising a processor and a memory, the memory storing a computer program, wherein the processor is configured to perform the method of viewing a light show according to any one of claims 1 to 7 by invoking the computer program.
CN202410127184.1A 2024-01-30 2024-01-30 Ornamental method and device for light shadow show, storage medium and electronic equipment Pending CN117651160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410127184.1A CN117651160A (en) 2024-01-30 2024-01-30 Ornamental method and device for light shadow show, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410127184.1A CN117651160A (en) 2024-01-30 2024-01-30 Ornamental method and device for light shadow show, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN117651160A true CN117651160A (en) 2024-03-05

Family

ID=90048198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410127184.1A Pending CN117651160A (en) 2024-01-30 2024-01-30 Ornamental method and device for light shadow show, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN117651160A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170200312A1 (en) * 2016-01-11 2017-07-13 Jeff Smith Updating mixed reality thumbnails
CN108550190A (en) * 2018-04-19 2018-09-18 腾讯科技(深圳)有限公司 Augmented reality data processing method, device, computer equipment and storage medium
CN110335351A (en) * 2019-07-02 2019-10-15 北京百度网讯科技有限公司 Multi-modal AR processing method, device, system, equipment and readable storage medium storing program for executing
CN110873963A (en) * 2018-09-03 2020-03-10 广东虚拟现实科技有限公司 Content display method and device, terminal equipment and content display system
CN110990510A (en) * 2019-11-28 2020-04-10 北京世纪高通科技有限公司 Three-dimensional map generation method, terminal and server
CN114332422A (en) * 2021-12-30 2022-04-12 王俊寒 Virtual space interaction method, editing and updating method, system, electronic equipment and readable storage medium based on AR technology
CN114387400A (en) * 2022-01-18 2022-04-22 北京有竹居网络技术有限公司 Three-dimensional scene display method, display device, electronic equipment and server
CN114745598A (en) * 2022-04-12 2022-07-12 北京字跳网络技术有限公司 Video data display method and device, electronic equipment and storage medium
CN116466855A (en) * 2023-03-28 2023-07-21 锦图计算技术(深圳)有限公司 Method, device, equipment and storage medium for viewing live-action fireworks in vehicle cabin
WO2023196395A1 (en) * 2022-04-05 2023-10-12 Wayfair Llc Real-time visualization of a virtual scene controllable through physical objects

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170200312A1 (en) * 2016-01-11 2017-07-13 Jeff Smith Updating mixed reality thumbnails
CN108550190A (en) * 2018-04-19 2018-09-18 腾讯科技(深圳)有限公司 Augmented reality data processing method, device, computer equipment and storage medium
CN110873963A (en) * 2018-09-03 2020-03-10 广东虚拟现实科技有限公司 Content display method and device, terminal equipment and content display system
CN110335351A (en) * 2019-07-02 2019-10-15 北京百度网讯科技有限公司 Multi-modal AR processing method, device, system, equipment and readable storage medium storing program for executing
CN110990510A (en) * 2019-11-28 2020-04-10 北京世纪高通科技有限公司 Three-dimensional map generation method, terminal and server
CN114332422A (en) * 2021-12-30 2022-04-12 王俊寒 Virtual space interaction method, editing and updating method, system, electronic equipment and readable storage medium based on AR technology
CN114387400A (en) * 2022-01-18 2022-04-22 北京有竹居网络技术有限公司 Three-dimensional scene display method, display device, electronic equipment and server
WO2023196395A1 (en) * 2022-04-05 2023-10-12 Wayfair Llc Real-time visualization of a virtual scene controllable through physical objects
CN114745598A (en) * 2022-04-12 2022-07-12 北京字跳网络技术有限公司 Video data display method and device, electronic equipment and storage medium
CN116466855A (en) * 2023-03-28 2023-07-21 锦图计算技术(深圳)有限公司 Method, device, equipment and storage medium for viewing live-action fireworks in vehicle cabin

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
数艺网: "抢先感受视觉盛宴!XR光影秀打开燃灯塔新"视"界", pages 1, Retrieved from the Internet <URL:www.d-arts.cn/article/article_info/key/MTIwMzcxNjc0MTiD332tsKyocw.html> *

Similar Documents

Publication Publication Date Title
US11620800B2 (en) Three dimensional reconstruction of objects based on geolocation and image data
CN110058685B (en) Virtual object display method and device, electronic equipment and computer-readable storage medium
CN111311756B (en) Augmented reality AR display method and related device
CN110827376A (en) Augmented reality multi-plane model animation interaction method, device, equipment and storage medium
CN110378947B (en) 3D model reconstruction method and device and electronic equipment
CN112370784B (en) Virtual scene display method, device, equipment and storage medium
CN109698914B (en) Lightning special effect rendering method, device, equipment and storage medium
US20170171621A1 (en) Method and Electronic Device for Information Processing
CN107644423B (en) Scene segmentation-based video data real-time processing method and device and computing equipment
CN109741462A (en) Showpiece based on AR leads reward device, method and storage medium
CN111729307A (en) Virtual scene display method, device, equipment and storage medium
CN112581632B (en) House source data processing method and device
CN108985421B (en) Method for generating and identifying coded information
CN111833457A (en) Image processing method, apparatus and storage medium
CN115063518A (en) Track rendering method and device, electronic equipment and storage medium
CN111462339A (en) Display method and device in augmented reality, medium and electronic equipment
Bergig et al. In-place augmented reality
CN112308977A (en) Video processing method, video processing apparatus, and storage medium
CN113034658B (en) Method and device for generating model map
CN114092670A (en) Virtual reality display method, equipment and storage medium
CN116385622B (en) Cloud image processing method, cloud image processing device, computer and readable storage medium
CN117197405A (en) Augmented reality method, system and storage medium for three-dimensional object
CN117651160A (en) Ornamental method and device for light shadow show, storage medium and electronic equipment
CN116824688A (en) Shank motion capturing method, shank motion capturing system and storage medium
CN115393423A (en) Target detection method and device

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