Simulation model and generation method, system, medium and equipment of light source display effect

By using 3D graphics technology and a prism light source mathematical model, a realistic stage lighting effect is generated, solving the problem of imprecise lighting effect simulation in existing technologies and realizing efficient virtual preview of stage lighting.

CN115774926BActive Publication Date: 2026-04-07GUANGZHOU CAIYI TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-18
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Existing technologies struggle to accurately simulate the beam effects of lighting fixtures and reproduce various lighting effects, especially prism effects, in a 3D stage, resulting in virtual previews of stage lighting designs that are not refined or dazzling enough.

Method used

Using 3D graphics technology, a 3D simulation model is generated by receiving light source display parameters. Combined with the mathematical model of the prism light source and experimental data, the refraction direction and grayscale image of the light source are simulated to achieve the simulation of the light source display effect.

Benefits of technology

With relatively small amounts of data and computing resources, it can quickly simulate realistic stage light prism projection effects, supporting complete and detailed pre-show rehearsals of stage events.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115774926B_ABST
    Figure CN115774926B_ABST
Patent Text Reader

Abstract

This application provides a simulation model and generation method, system, medium, and device for light source display effects. The method for generating the simulation model includes: receiving model generation parameters for a light source display; generating a 3D simulation model of the light source display based on the model generation parameters; the 3D simulation model includes a projection wall model, a light source model, and the distance between the projection wall model and the light source model; receiving effect light source display parameters and inputting the effect light source display parameters into the 3D simulation model for simulation to obtain simulation results; obtaining the refraction direction of the effect light source based on the simulation results; filling the refraction direction of the effect light source into the transmission attribute of the light source model; pasting the grayscale image from the effect light source display parameters into the Cookie attribute of the light source model, thereby adjusting the 3D simulation model of the light source display to a simulation model of the light source display effect. This application simulates the display effects of various light sources with a small amount of data, low performance, and a short time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of software simulation technology, and relates to a method for simulating lighting effects, and in particular to a simulation model and generation method, system, medium and device for light source display effects. Background Technology

[0002] With the development of 3D technology, 3D visualization technology can be used for planning and previewing events such as galas and performances. In a virtual 3D stage, a simulated display of the stage, actors, and lighting can be seen. In actual simulations, the stage lighting simulation not only needs to accurately illuminate the 3D environment and generate beams of light, but also needs to reproduce the various effects of the lighting fixtures. Summary of the Invention

[0003] The purpose of this application is to provide a simulation model and generation method, system, medium and device for light source display effects, which can be used to simulate and reproduce various effects of lighting fixtures.

[0004] In a first aspect, this application provides a method for generating a simulation model of a light source display effect. The method includes: receiving model generation parameters for a light source display; generating a 3D simulation model of the light source display based on the model generation parameters; the 3D simulation model including a projection wall model, a light source model, and the distance between the projection wall model and the light source model; receiving effect light source display parameters and inputting the effect light source display parameters into the 3D simulation model for simulation to obtain simulation results; obtaining the refraction direction of the effect light source based on the simulation results; filling the refraction direction of the effect light source into the transmission attribute of the light source model; pasting the grayscale image from the effect light source display parameters into the Cookie attribute of the light source model, thereby adjusting the 3D simulation model of the light source display to a simulation model of the light source display effect.

[0005] In one implementation of the first aspect, receiving an effect light source display parameter includes: receiving effect light source test data; identifying the effect light source test data to obtain the effect light source display parameter; the effect light source display parameter includes the type of effect light source, the distance between the effect light source and the projection wall, the proportion of the projection position of a single effect light source beam in the entire area, the spot size of the effect light source, the multiple of the overall area of ​​the effect light source relative to the maximum spot size of the effect light source, and the grayscale image of the effect light source.

[0006] In one implementation of the first aspect, the display parameters of the effect light source are input into the 3D simulation model for simulation, and the simulation results are obtained by: inputting the type of the effect light source, the distance between the effect light source and the projection wall, the proportion of the projection position of a single effect light source beam in the entire area, the spot size of the effect light source, the multiple of the overall area of ​​the effect light source relative to the maximum spot size of the effect light source, and the grayscale image of the effect light source into the 3D simulation model for simulation; the 3D simulation model outputs the simulation results of the effect light source.

[0007] In one implementation of the first aspect, obtaining the refraction direction of the effect light source based on the simulation results includes: Pos[i] = Zn ∩ Tan(a) ∩ 2 ∩ Data[n].zoom / Data[n].spot ∩ Data[n].pos[i]; Rot[i] = ArcTan(Pos[i] / Zn); where Pos[i] represents the spot of the i-th diverging beam, Zn represents the position of the projection wall model in the 3D simulation environment, a represents the light emission angle of the light source model; Data represents the data file of the effect light source; Data[n].zoom represents the zoom column of the n-th row of the data file; Data[n].spot represents the spot column of the n-th row of the data file; Data[n].pos[i] represents the i-th pos value of the Layout column of the n-th row of the data file; Rot[i] represents the final required beam orientation angle.

[0008] In one implementation of the first aspect, the effect light source includes a prism light source; the prism light source includes an 8-prism light source and / or a 16-prism light source.

[0009] Secondly, this application provides a simulation model of the light source display effect, which is generated by the above-described method for generating a simulation model of the light source display effect.

[0010] Thirdly, this application provides a simulation method for light source display effects, the simulation method comprising: running a simulation model of the light source display effects to obtain a simulation effect of the light source display.

[0011] Fourthly, this application provides a simulation model generation system for light source display effects. The system includes: a model parameter input module that receives model generation parameters for light source display; a model generation module communicatively connected to the model parameter input module that generates a 3D simulation model of the light source display based on the model generation parameters; the 3D simulation model includes a projection wall model, a light source model, and the distance between the projection wall model and the light source model; an effect parameter input module that receives effect light source display parameters and inputs these parameters into the 3D simulation model for simulation, causing the 3D simulation model to output simulation results; an effect attribute calculation module communicatively connected to the 3D simulation model that obtains the refraction direction of the effect light source based on the simulation results; and a model adjustment module communicatively connected to the effect parameter input module, the effect attribute calculation module, and the 3D simulation model, respectively, that fills the refraction direction of the effect light source into the transmission attributes of the light source model, and pastes the grayscale image from the effect light source display parameters into the Cookie attribute of the light source model, thereby adjusting the 3D simulation model of the light source display to a simulation model of the light source display effect.

[0012] Fifthly, this application provides an electronic device, the electronic device comprising: a memory storing a computer program; and a processor communicatively connected to the memory, wherein the processor executes the computer program to generate a simulation model of the light source display effect.

[0013] Sixthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a simulation model generation method for the aforementioned light source display effect.

[0014] As described above, the simulation model, generation method, system, medium, and device for the light source display effect described in this application have the following beneficial effects:

[0015] This application utilizes 3D graphics technology to enable pre-visualization of stage content, and such pre-visualization is developing towards a more complete, refined, and dazzling direction. This application can simulate the display effects of various light sources, such as the display effect of a stage light prism, with relatively small data volume and low performance requirements in a short time, realistically reproducing the projection effect of a stage light prism. Attached Figure Description

[0016] Figure 1 This diagram illustrates an application scenario of the simulation model generation method for the light source display effect described in this application embodiment.

[0017] Figure 2 This diagram illustrates a hardware application structure of the simulation model generation method for the light source display effect described in this application embodiment.

[0018] Figure 3A The diagram shown is an exemplary flowchart illustrating a method for generating a simulation model of the light source display effect as described in an embodiment of this application.

[0019] Figure 3B This is an exemplary flowchart illustrating step S330 of the method for generating a simulation model of the light source display effect described in an embodiment of this application.

[0020] Figures 4A-4E The diagram shows the light source display effect data parameters of the prism light source described in the embodiments of this application.

[0021] Figure 4F This is an example diagram of a display interface for inputting the effect light source display parameters via a GUI interface, as described in an embodiment of this application.

[0022] Figure 5 The diagram shown is an exemplary structural schematic of a simulation model generation system for the light source display effect described in an embodiment of this application.

[0023] Figure 6 The diagram shown is an exemplary structural schematic of an electronic device described in an embodiment of this application. Detailed Implementation

[0024] The following specific examples illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be noted that, unless otherwise specified, the following embodiments and features in the embodiments can be combined with each other.

[0025] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. Therefore, the drawings only show the components related to this application and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.

[0026] In the simulation of stage scenes, the simulation of stage lighting in a virtual 3D stage not only needs to accurately display the 3D environment and generate beams, but also needs to reproduce various effects of the lighting fixtures, providing visualized 3D images for stage lighting design. For example, the prism effect of stage lighting fixtures is a very common lighting effect. The prism effect uses special lenses such as multi-prisms combined with patterned pieces to produce multiple patterned images or three-dimensional effects. In addition, the prism's own rotation and adjustable speed function can produce a very powerful effect.

[0027] This application proposes a method for generating simulation models of light source display effects, which can be used to simulate various lighting effects, providing strong support for the advance planning and previewing of stage events. The technical solutions in the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0028] This application provides a virtual stage lighting effect and performance scene illustration, such as... Figure 1 As shown, it includes a virtual stage 110, virtual performers 120, virtual lighting fixtures 130, and their lighting effects 140. The virtual stage lighting effects and performance scenes can be realized through a 3D simulation system.

[0029] like Figure 2 As shown in the diagram, this application provides a structural schematic of a 3D simulation system. The solution described in this application can be based on... Figure 2 or with Figure 2 Similar simulation systems can be implemented, but the hardware implementation structure of this application includes, but is not limited to, the hardware structure listed in this embodiment. The 3D simulation system 200 includes: a resource layer 210, an interface layer 220, and a rendering layer 230.

[0030] The resource layer 210 is configured to acquire resource files, which are scene organization files that record basic parameters of the stage scene and information such as the position and orientation of each stage entity. For example, the resource file can be exported using software such as the 3ds Max Ofusion plugin to generate files required by the scene organization, materials, entities, textures, and other system data.

[0031] The interface layer 220 is configured to be responsible for importing the resource files into the display scene.

[0032] The rendering layer 230 is configured to render stage scenes and lighting, manage system resources, and provide real-time responses to user interactions in the display scene.

[0033] like Figure 3A As shown, this embodiment provides a method for generating a simulation model of a light source display effect. This method can be based on... Figure 2or with Figure 2 A simulation system with similar functionality can be implemented, but the hardware implementation structure of this application includes, but is not limited to, the hardware structures listed in this embodiment. The method for generating the simulation model of the light source display effect includes steps S310 to S350.

[0034] S310, Receive model generation parameters for a light source display. These model generation parameters may include light source model parameters, projection wall model parameters, distance parameters between the projection wall model and the light source model, and / or other model parameters.

[0035] It should be noted that the model generation parameters can be directly imported from an external system, obtained through a parameter file, input by the user via a GUI interface, or obtained through other interfaces. The light source model parameters are used to configure the generated light source model, the projection wall model parameters are used to configure the generated projection wall model, and the distance parameters are used to configure the distance between the projection wall model and the light source model. Other model parameters can be any model parameters used to generate stage lighting effects and performance scenes, such as stage model parameters, performer model parameters, etc.

[0036] In this application, the model generation parameters for the light source display can be obtained through inputting a parameter file, input by the user through a GUI interface, or obtained through other interfaces. The scope of protection of this application is not limited to the specific method of obtaining the model generation parameters for the light source display. In practical applications, those skilled in the art can flexibly choose the implementation path according to the development of technology.

[0037] S320, Generate a 3D simulation model of the light source display based on the model generation parameters; the 3D simulation model includes a projection wall model, a light source model, and the distance between the projection wall model and the light source model.

[0038] It should be noted that the 3D simulation model can simulate stage lighting effects and performance scenes. The light source model in the 3D simulation model is generated based on the parameters configured for the light source model, the projection wall model is generated based on the parameters configured for the projection wall model, and the distance between the projection wall model and the light source model is generated based on distance parameters. Other models in the 3D simulation model can also be generated based on the corresponding parameters configured for other models.

[0039] In this application, the light source model can be a general virtual light-emitting device without any special features. When the light source model is given certain attributes through model generation parameters, the light source model can become a type of light source that presents a certain type of light effect. It can simulate various types of light-emitting lamps, such as point light source light, parallel light, ambient light, spotlight light, sunlight, and other types of light sources.

[0040] S330: Receive an effect light source display parameter, input the effect light source display parameter into the 3D simulation model for simulation, and obtain simulation results.

[0041] It should be noted that after the type light source is given a special display effect through the effect light source display parameters, the type light source can present the light effect of the special display effect.

[0042] In this application, the effect light source display parameters can be obtained by inputting a parameter file, by user input through a GUI interface, or by other interfaces. The scope of protection of this application is not limited to the specific method of obtaining the effect light source display parameters. In practical applications, those skilled in the art can flexibly choose the implementation path according to the development of technology.

[0043] In one embodiment of this application, a prism light source is used as an example for detailed explanation. First, the simulated environment consists of a projection wall and a prism light source, with the prism light source and the projection wall separated by a certain distance to ensure that the diverging light spots do not overlap. Second, the stage lights are turned on, and the projection data of the stage lights is obtained. The effect light source display data of the prism light source can be obtained through the above method. The diverging light sources of the prism light source have a fixed arrangement, and the light spot of each diverging light source is an ellipse with uneven intensity. The obtained effect light source display data of the prism light source is shown in Table 1.

[0044] Table 1: Data Table of Prism Light Source Effects and Displays

[0045] Where Distance represents the distance between the prism light source and the projection wall, see [link / reference] Figure 4A As shown; Layout represents the spot distribution of the prism light source; Pn represents the proportion of a single prism beam projection position in the entire region, ranging from [0, 1], where the entire region is the smallest rectangular area that can accommodate all the spots, see [see details]. Figure 4A As shown; Spot represents the spot radius, and spot1 and spot2 represent the spot sizes of a single prism beam measured in the experimental environment. See [reference needed]. Figure 4B As shown; Zoom represents the size of the area occupied by all the light spots, expressed as a multiple of the relative light spot size, that is, the multiple of the entire area of ​​the prism effect relative to the maximum light spot size of the luminaire. See [link to relevant documentation]. Figure 4C As shown; Intensity, or grayscale, represents the light intensity and uniformity of a single prism. See [link / reference]. Figure 4D and Figure 4E As shown; Figure 4DIn the table, box 1 represents the actual size of the Spot record; box 2 represents the multiple of the Zoom record relative to the Spot; and box 3 represents the relative position of the Pn record spot within the rectangular area, denoted by [0,1]. The data in the table can be stored on a computer in JSON / XML format. Figure 4F This is an example diagram of a display interface where a user inputs the display parameters of the effect light source through a GUI interface.

[0046] See Figure 3B As shown, in one embodiment of this application, receiving an effect light source display parameter in step S330 includes:

[0047] S331, Receive test data of an effect light source; the test data of the effect light source can be obtained by experimental means or automatically by testing equipment.

[0048] S332, Identify the test data of the effect light source and obtain the display parameters of the effect light source; the display parameters of the effect light source include the type of effect light source, the distance between the effect light source and the projection wall, the proportion of the projection position of a single effect light source beam in the entire area, the spot size of the effect light source, the multiple of the overall area of ​​the effect light source relative to the maximum spot size of the effect light source, and the grayscale image of the effect light source.

[0049] See Figure 3B As shown, in one embodiment of this application, in step S330, the effect light source display parameters are input into the 3D simulation model for simulation, and the simulation results are obtained including:

[0050] S333, input the type of the effect light source, the distance between the effect light source and the projection wall, the proportion of the projection position of a single effect light source beam in the entire area, the spot size of the effect light source, the multiple of the overall area of ​​the effect light source relative to the maximum spot size of the effect light source, and the grayscale image of the effect light source into the 3D simulation model for simulation;

[0051] S334, The 3D simulation model outputs the simulation results of the light source effect.

[0052] S340, Obtain the refraction direction of the effect light source based on the simulation results.

[0053] In this application, the refraction direction of the light source obtained based on the simulation results includes:

[0054] Pos[i] = ZnÎTan(a)Î2ÎData[n].zoom / Data[n].spotÎData[n].pos[i];

[0055] Rot[i] = ArcTan(Pos[i] / Zn)

[0056] Where Pos[i] represents the spot of the i-th diverging beam, Zn represents the position of the projection wall model in the 3D simulation environment, and a represents the light emission angle of the light source model; Data represents the data file of the effect light source, as shown in Table 1; Data[n].zoom represents the zoom column of the n-th row of the data file; Data[n].spot represents the spot column of the n-th row of the data file; Data[n].pos[i] represents the i-th pos value of the Layout column of the n-th row of the data file; Rot[i] represents the final required beam orientation angle. Pos[i] is the spot position in the real test environment represented by the range [0,1], and pos[i] is the 3D coordinate of the spot in the 3D program.

[0057] S350, fill the refraction direction of the effect light source into the transmission attribute of the light source model, paste the grayscale image in the display parameters of the effect light source into the Cookie attribute of the light source model, so that the 3D simulation model of the light source display is adjusted to the simulation model of the light source display effect.

[0058] The grayscale information in this application is represented by an image. After the grayscale image is pasted into the Cookie attribute, the image will be loaded to obtain the grayscale information during simulation calculation. Therefore, intensity is translated into grayscale image.

[0059] This application utilizes 3D graphics technology to enable pre-visualization of stage content, and such pre-visualization is developing towards a more complete, refined, and dazzling direction. This application can simulate the display effects of various light sources, such as the display effect of a stage light prism, with relatively small data volume and low performance requirements in a short time, realistically reproducing the projection effect of a stage light prism.

[0060] Compared to traditional ray tracing simulations, which require calculating the refraction path of the light beam inside the prism to simulate the prism effect of stage lighting, this application uses a testing method to collect data on the divergence of the light beam and can simulate the dynamic effect in a 3D environment using a simple formula.

[0061] If 3D simulation is performed based on the physical characteristics of various optical mirror devices, the physical parameters of different optical mirror devices need to be known. Moreover, conventional ray tracing technology has very high requirements for machine performance and is time-consuming, making it unsuitable for real-time applications. This application establishes a mathematical model of the effect of optical mirror devices (such as prisms in stage lights), obtains projection data of stage lights through experimental photography, and combines the model with the obtained data to simulate the display effect of optical mirror devices (such as stage light prisms) in a short time with a small amount of data, realistically restoring the projection effect of optical mirror devices (such as stage light prisms).

[0062] This application provides a simulation model of light source display effect, which is generated by the above-described method for generating simulation models of light source display effect.

[0063] This application embodiment also provides a simulation method for light source display effect, the simulation method for light source display effect includes: running the simulation model of the light source display effect to obtain the 3D display effect (or 3D simulation effect) of the effect light source.

[0064] The protection scope of the simulation model generation method for light source display effect described in the embodiments of this application is not limited to the execution order of the steps listed in this embodiment. Any solution implemented by adding, subtracting, or replacing steps in the prior art based on the principles of this application is included within the protection scope of this application.

[0065] This application also provides a simulation model generation system for light source display effects. The simulation model generation system for light source display effects can implement the simulation model generation method for light source display effects described in this application. However, the implementation device for the simulation model generation method for light source display effects described in this application includes, but is not limited to, the structure of the simulation model generation system for light source display effects listed in this embodiment. All structural modifications and substitutions of the prior art made based on the principles of this application are included within the protection scope of this application.

[0066] See Figure 5 As shown in the figure, this application embodiment also provides a simulation model generation system for light source display effects. The simulation model generation system 500 for light source display effects includes: a model parameter input module 510, a model generation module 520, an effect parameter input module 530, an effect attribute calculation module 540, and a model adjustment module 550.

[0067] The model parameter input module 510 receives model generation parameters displayed by a light source.

[0068] The model generation module 520 is communicatively connected to the model parameter input module and generates a 3D simulation model 360 of the light source display according to the model generation parameters; the 3D simulation model includes a projection wall model, a light source model, and the distance between the projection wall model and the light source model.

[0069] The effect parameter input module 530 receives an effect light source display parameter and inputs the effect light source display parameter into the 3D simulation model for simulation, so that the 3D simulation model outputs the simulation result.

[0070] The effect attribute calculation module 540 is communicatively connected to the 3D simulation model and obtains the refraction direction of the effect light source based on the simulation results.

[0071] The model adjustment module 550 is communicatively connected to the effect parameter input module, the effect attribute calculation module, and the 3D simulation model, respectively. It fills the refraction direction of the effect light source into the transmission attribute of the light source model, and pastes the grayscale image in the effect light source display parameters into the Cookie attribute of the light source model, so that the 3D simulation model of the light source display is adjusted to a simulation model of the light source display effect.

[0072] In the embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, or methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules / units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or units may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of apparatuses or modules or units may be electrical, mechanical, or other forms.

[0073] The modules / units described as separate components may or may not be physically separate. The components shown as modules / units may or may not be physical modules; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules / units can be selected to achieve the objectives of the embodiments of this application, depending on actual needs. For example, the functional modules / units in the various embodiments of this application may be integrated into one processing module, or each module / unit may exist physically separately, or two or more modules / units may be integrated into one module / unit.

[0074] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0075] See Figure 6 As shown in the illustration, this application also provides an electronic device 600, which includes a memory 610 and a processor 620. The memory 610 stores a computer program; the processor 620 is communicatively connected to the memory 610, and executes the computer program to implement the simulation model generation method for the light source display effect described above.

[0076] Optionally, the electronic device 600 may also include a display 630, which is communicatively connected to the memory 610 and the processor 620, for displaying the relevant GUI (Graphical User Interface) of the network connection identification method.

[0077] For example, the processor 620 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc. It can also be a digital signal processor (DSP), an application-specific integrated circuit, a field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.

[0078] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for generating a simulation model of the light source display effect.

[0079] This application also provides a computer-readable storage medium. Those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing a processor. The program can be stored in a computer-readable storage medium, which is a non-transitory medium, such as random access memory, read-only memory, flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disk, and any combination thereof. The storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital video disc (DVD)), or a semiconductor medium (e.g., solid-state drive (SSD)).

[0080] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described method for generating a simulation model of the light source display effect.

[0081] The descriptions of the processes or structures corresponding to the above figures each have their own emphasis. For parts of a process or structure that are not described in detail, please refer to the relevant descriptions of other processes or structures.

[0082] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in this application should still be covered by the claims of this application.

Claims

1. A method for generating a simulation model of a light source display effect, characterized in that, The method for generating the simulation model of the light source display effect includes: Receive model generation parameters displayed by a light source; A 3D simulation model of the light source display is generated based on the model generation parameters; the 3D simulation model includes a projection wall model, a light source model, and the distance between the projection wall model and the light source model; The system receives display parameters for an effect light source and inputs these parameters into the 3D simulation model for simulation, obtaining simulation results. It then inputs the type of the effect light source, the distance between the effect light source and the projection wall, the proportion of a single effect light source beam's projection position within the entire area, the size of the effect light source's spot, the multiple of the overall area of ​​the effect light source relative to its maximum spot size, and the grayscale image of the effect light source into the 3D simulation model for further simulation. The 3D simulation model outputs the simulation results for the effect light source. The refraction direction of the light source is obtained based on the simulation results; Fill the refraction direction of the effect light source into the transmission attribute of the light source model, paste the grayscale image in the display parameters of the effect light source into the Cookie attribute of the light source model, so that the 3D simulation model of the light source display is adjusted to the simulation model of the light source display effect. The refraction direction of the light source obtained based on the simulation results includes: Pos[i] = ZnÎTan(a)Î2ÎData[n].zoom / Data[n].spotÎData[n].pos[i] Rot[i] = ArcTan(Pos[i] / Zn) Where Pos[i] represents the spot of the i-th diverging beam, Zn represents the position of the projection wall model in the 3D simulation environment, a represents the light emission angle of the light source model; Data represents the data file of the effect light source; Data[n].zoom represents the zoom column of the n-th row of the data file; Data[n].spot represents the spot column of the n-th row of the data file; Data[n].pos[i] represents the pos value of the i-th Layout column of the n-th row of the data file; Rot[i] represents the final required beam orientation angle.

2. The method for generating a simulation model of the light source display effect according to claim 1, characterized in that, The parameters for receiving an effect light source display include: Receive test data for an effect light source; Identify the test data of the effect light source to obtain the display parameters of the effect light source; the display parameters of the effect light source include the type of effect light source, the distance between the effect light source and the projection wall, the proportion of the projection position of a single effect light source beam in the entire area, the spot size of the effect light source, the multiple of the overall area of ​​the effect light source relative to the maximum spot size of the effect light source, and the grayscale image of the effect light source.

3. The method for generating a simulation model of the light source display effect according to claim 1, characterized in that: The effect light source includes a prism light source; the prism light source includes an octagonal light source and / or a 16-prism light source.

4. A method for simulating the display effect of a light source, characterized in that, The simulation method for the light source display effect includes: The simulation model of the light source display effect generated by the simulation model generation method of the light source display effect according to claim 1 is run to obtain the simulation effect of the light source display.

5. A simulation model generation system for light source display effects, characterized in that, The simulation model generation system for the light source display effect includes: The model parameter input module receives model generation parameters displayed by a light source; The model generation module is communicatively connected to the model parameter input module and generates a 3D simulation model of the light source display based on the model generation parameters; the 3D simulation model includes a projection wall model, a light source model, and the distance between the projection wall model and the light source model; The effect parameter input module receives an effect light source display parameter and inputs it into the 3D simulation model for simulation, causing the 3D simulation model to output simulation results. The module also inputs the effect light source type, the distance between the effect light source and the projection wall, the proportion of a single effect light source beam projection position in the entire area, the spot size of the effect light source, the multiple of the overall area of ​​the effect light source relative to the maximum spot size, and the grayscale image of the effect light source into the 3D simulation model for simulation; the 3D simulation model then outputs the simulation results for the effect light source. The effect attribute calculation module is communicatively connected to the 3D simulation model and obtains the refraction direction of the effect light source based on the simulation results. The model adjustment module is communicatively connected to the effect parameter input module, the effect attribute calculation module, and the 3D simulation model, respectively. It fills the refraction direction of the effect light source into the transmission attribute of the light source model, and pastes the grayscale image in the effect light source display parameters into the Cookie attribute of the light source model, so that the 3D simulation model of the light source display is adjusted to the simulation model of the light source display effect. The refraction direction of the light source obtained based on the simulation results includes: Pos[i] = ZnÎTan(a)Î2ÎData[n].zoom / Data[n].spotÎData[n].pos[i] Rot[i] = ArcTan(Pos[i] / Zn) Where Pos[i] represents the spot of the i-th diverging beam, Zn represents the position of the projection wall model in the 3D simulation environment, a represents the light emission angle of the light source model; Data represents the data file of the effect light source; Data[n].zoom represents the zoom column of the n-th row of the data file; Data[n].spot represents the spot column of the n-th row of the data file; Data[n].pos[i] represents the pos value of the i-th Layout column of the n-th row of the data file; Rot[i] represents the final required beam orientation angle.

6. An electronic device, characterized in that, The electronic device includes: A memory that stores a computer program; The processor, which is communicatively connected to the memory, executes the computer program to implement the method described in any one of claims 1 to 3.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the program implements the method described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Augmented reality lighting effects

    US20160364914A1