CN102117347B - Three-dimensional editing method for LED lighting scenes - Google Patents

Three-dimensional editing method for LED lighting scenes Download PDF

Info

Publication number
CN102117347B
CN102117347B CN 200910248010 CN200910248010A CN102117347B CN 102117347 B CN102117347 B CN 102117347B CN 200910248010 CN200910248010 CN 200910248010 CN 200910248010 A CN200910248010 A CN 200910248010A CN 102117347 B CN102117347 B CN 102117347B
Authority
CN
China
Prior art keywords
dimensional
lamp
cloth lamp
cloth
scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN 200910248010
Other languages
Chinese (zh)
Other versions
CN102117347A (en
Inventor
范宗国
李英远
谢海军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Grandar Light Art and Technology Co Ltd
Original Assignee
Shanghai Grandar Light Art and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Grandar Light Art and Technology Co Ltd filed Critical Shanghai Grandar Light Art and Technology Co Ltd
Priority to CN 200910248010 priority Critical patent/CN102117347B/en
Publication of CN102117347A publication Critical patent/CN102117347A/en
Application granted granted Critical
Publication of CN102117347B publication Critical patent/CN102117347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a three-dimensional editing method for LED lighting scenes, which comprises the following steps: based on a light arrangement three-dimensional coordinate in a light arrangement database, generating a scene effect file by adopting an algorithm; and/or based on the projection relationship between the light arrangement three-dimensional coordinate in the light arrangement database and plane materials, generating a scene effect file by using a pixel acquisition mode; and and/or based on a three-dimensional object, generating a scene effect file. According to the invention, the three-dimensional edition of the LED lighting scenes can be achieved through computer software; the three-dimensional editing method is not only suitable for regular lighting arrangement, but also is suitable for irregular light arrangement; the generalization and the flow of the three-dimensional edition of the LED lighting scenes can be realized; and the requirement for what you see is what you get can be met.

Description

The three-dimensional editing method of LED lamplight scene
Technical field
The present invention relates to a kind of edit methods of LED lamplight scene, particularly relate to a kind of three-dimensional editing method of the LED lamplight scene of realizing by computer software.
Background technology
Along with the fast development of electronics, software engineering and the widespread use of great power LED, the computer software edit methods of various LED light Project Realization effects is also more and more paid attention to by each producer and user.Scene editor's computer software of LED light industry and the method for employing mainly are applicable to regular cloth lamp at present, the common method that adopts two dimension editor in the plane, complicated three-dimensional LED cloth lamp result also are to be deformed the edit methods that is converted into the plane to carry out the effect making.Therefore the serious or a lot of effects of scene effect distortion can't realize.So, also do not have a kind of three-dimensional editing method of LED lamp light landscape scene in the prior art.
Summary of the invention
The technical problem to be solved in the present invention is the defective that can't carry out to the LED cloth lamp that designs true three-dimension demonstration and scene editor in order to overcome prior art, and a kind of three-dimensional editing method of LED lamplight scene is provided.
The present invention solves above-mentioned technical matters by following technical proposals:
The three-dimensional editing method of LED lamplight scene is characterized in that, it may further comprise the steps:
S 4, based on the cloth lamp three-dimensional coordinate in the cloth lamp database, adopt algorithm generating scene effect files; And/or S 5, based on the projection relation of the cloth lamp three-dimensional coordinate in the cloth lamp database and plane material, utilize the pixel acquisition mode, the generating scene effect files; And/or S 6, based on three dimensional object, the generating scene effect files.
Wherein, step S 4Before further comprising the steps of:
S 1, adopt AutoCAD software to carry out LED cloth lamp, preserve into * .dxf form cloth lamp file;
S 2, import and resolve this * .dxf form cloth lamp file, the information that parses is write cloth lamp database;
S 3, read this cloth lamp database, utilize OpenGL to carry out three-dimensional cloth lamp and show.
Wherein, step S 6Further comprising the steps of afterwards: S 7, read this scene effect file, utilize OpenGL with this scene effect file of three dimensional constitution preview.
Wherein, step S 1Further comprising the steps:
S 11, newly-built autocad file, determine coordinate range, determine cloth lamp point;
S 12, the light fixture type judges, draws the light projector relation;
S 13, determine the annexation between controller and the light fixture, adopt three-dimensional multi-section-line to connect successively controller and the light fixture of controlling;
S 14, sign controller attribute, adopt multline text to identify IP information, the network port, channel number, bus mode and the color mode of controller;
S 15, preserve into * .dxf form cloth lamp file.
Wherein, step S 12If middle light fixture type Projecting Lamp is then drawn lamp point and luminous point relation with linear fashion.
Wherein, step S 2Further comprising the steps:
S 21, turn on and read * .dxf form cloth lamp file;
S 22, resolve three-dimensional multi-section-line summit sequence number and summit three-dimensional coordinate;
S 23, if the light fixture type is Projecting Lamp, then resolves straight line starting point three-dimensional coordinate and end point three-dimensional coordinate, then with step S 22In coordinate points carry out offset correction;
S 24, resolve multline text, parse IP information, the network port, channel number, bus mode and the color mode of controller;
S 25, if there is the bifurcated situation in cloth modulating signal line, then resolves bifurcated information, presses the bifurcation position, the light fixture order is rearranged;
S 26, with step S 22-S 25In the information that parses write access cloth lamp database.
Wherein, step S 3Further comprising the steps:
S 31, read access cloth lamp database, with step S 2Object information read the software data buffer zone;
S 32, utilize OpenGL 3-D display cloth lamp situation;
S 33, by mouse action, check the cloth lamp with convergent-divergent, translation, rotation mode by different angles.
Wherein, step S 4Further comprising the steps:
S 41, select to want the cloth lamp of generating scene effect files;
S 42, selection algorithm, algorithm parameter is set, described parameter has determined color, direction, frame number, the speed of algorithm;
S 43, by step S 42In algorithm and the real-time calculation procedure S of parameter 41The color data of middle lamp point;
S 44, the generating scene effect files.
Wherein, step S 5Further comprising the steps:
S 51, select the cloth lamp three-dimensional coordinate pre-define and the projection relation of plane material;
S 52, draw material, this material comprises picture, Flash animation or multimedia video frequency file;
S 53, play this material frame by frame, according to step S 51Described projection relation is determined the corresponding relation of each cloth lamp coordinate points and plane material internal coordinate point, and records frame by frame the color value of cloth lamp coordinate points;
S 54, generating scene effect files frame by frame.
Wherein, step S 7Further comprising the steps:
S 71, select to read S 54In the scene effect file;
S 72, resolve the cloth lamp information in this scene effect file, determine the lamp point coordinate;
S 73, resolve the color data in this scene effect file, this color data is corresponding with this lamp point coordinate;
S 74, utilize frame by frame displayed scene effect of OpenGL, by mouse action, check the cloth lamp with convergent-divergent, translation, rotation mode by different angles.
Wherein, step S 4Described in algorithm comprise in the following algorithm one or more: whole variable color, follow spot, flowing water, accumulation, gradual change, rainbow and starry sky algorithm.
Positive progressive effect of the present invention is: the present invention realizes the three-dimensional editor of LED lamplight scene by computer software, not only be applicable to regular cloth lamp and also be applicable to irregular cloth lamp, and realized the universalization of LED lamplight scene three-dimensional editing method, procedure, and realized the requirement of What You See Is What You Get.
Description of drawings
Fig. 1 is the process flow diagram of the three-dimensional editing method of preferred embodiment of the present invention.
Fig. 2 is the process flow diagram of the AutoCAD cloth lamp of preferred embodiment of the present invention.
Fig. 3 is the process flow diagram that the autocad file of preferred embodiment of the present invention is resolved.
Fig. 4 is the process flow diagram that the three-dimensional cloth lamp of preferred embodiment of the present invention shows.
Fig. 5 is the process flow diagram based on cloth lamp three-dimensional coordinate employing algorithm generating scene effect of preferred embodiment of the present invention.
Fig. 6 be preferred embodiment of the present invention according to pixels gather the process flow diagram of generating scene effect based on three-dimensional coordinate and plane material projection relation.
Fig. 7 is the process flow diagram based on the generating scene effect of three dimensional object of preferred embodiment of the present invention.
Fig. 8 is the process flow diagram of the three dimensional constitution preview effect files of preferred embodiment of the present invention.
Embodiment
Provide preferred embodiment of the present invention below in conjunction with accompanying drawing, to describe technical scheme of the present invention in detail.
As shown in Figure 1, the three-dimensional editing method of LED lamplight scene of the present invention comprises 6 large steps generally:
S 1, adopt AutoCAD software to carry out LED cloth lamp, preserve into * .dxf form cloth lamp file;
S 2, import and resolve this * .dxf form cloth lamp file, the information that parses is write cloth lamp database;
S 3, read this cloth lamp database, utilize OpenGL to carry out three-dimensional cloth lamp and show;
S 4, based on the cloth lamp three-dimensional coordinate in this cloth lamp database, adopt algorithm generating scene effect files; And/or S 5, based on the cloth lamp three-dimensional coordinate in this cloth lamp database and the projection relation of plane material, utilize the pixel acquisition mode, the generating scene effect files; S 6, based on the scene edit methods of three dimensional object; Be step S 4, S 5And S 6In the realization of whole method, can select one of them, also can be used in combination.
S 7, read this scene effect file, utilize OpenGL with this scene effect file of three dimensional constitution preview.And step S 1, S 2, S 3And S 7For optionally, those skilled in the art can adopt additive method of the prior art to realize.
Above-mentioned steps S 1-S 7Specific implementation, those skilled in the art can adopt known technological means, the specific implementation of each step has then adopted following more specifically step in the present embodiment.Now be described below respectively.
1, adopt AutoCAD software to carry out LED cloth lamp, as shown in Figure 2, S in the present embodiment 1Step adopts following steps specifically to finish.
Step 100, newly-built autocad file, the version of AutoCAD software can be AutoCADR12, AutoCAD2000, AutoCAD2004, AutoCAD2007.
Step 101 is determined coordinate range.
Step 102 is determined cloth lamp point.In AutoCAD, show real LED lamp position with point first.
Step 103, the light fixture type is judged.The type of light fixture is such as being star light, Projecting Lamp etc., and wherein to be the position of lamp point and luminous point be consistent to star light, and for Projecting Lamp, the position of lamp point and luminous point is inconsistent, and the position of luminous point is that the projection of lamp point shines in the past.The type of light fixture and differentiation are the common practise of this area, do not do at this and give unnecessary details.
Step 104 according to 103 step results, if Projecting Lamp is then drawn the light projector relation, is drawn lamp point and luminous point relation with linear fashion.
Step 105 is determined controller and light fixture annexation.Adopt three-dimensional multi-section-line (a kind of instrument among the AutoCAD) to connect successively controller and the light fixture of controlling.
Step 106, sign controller attribute.Adopt multline text to identify the IP information, the network port, channel number, bus mode, color mode etc. of controller.
Step 107 is preserved into * .dxf (a kind of file layout of AutoCAD) form cloth lamp file.
Above-mentioned steps 100~107 has been worked out the rule and method of a cover employing AutoCAD software complete expression cloth lamp information, except the three-dimensional X-Y-Z coordinate of explaining each LED light fixture lamp point and luminous point, has also explained the order of connection of attribute and each light fixture of controller.The specific implementation of above-mentioned steps 100~107 for well known to a person skilled in the art technological means, is not inventive point of the present invention place, does not repeat them here.
2, software imports and resolves the AutoCAD formatted file, as shown in Figure 3, and S in the present embodiment 2Step adopts following steps specifically to finish.
* .dxf form cloth lamp file is turned on and read to step 200.This document is step S 1The result.
Step 201 is resolved three-dimensional multi-section-line summit sequence number and summit three-dimensional coordinate.Three-dimensional multi-section-line summit order is as the LED light fixture order of connection, and the summit three-dimensional coordinate is as LED light fixture coordinate.
Step 202 if the LED light fixture is Projecting Lamp, is resolved straight line starting point three-dimensional coordinate and end point three-dimensional coordinate, and the coordinate points of step 201 is carried out offset correction.Be (0,0,0) such as a certain lamp point coordinate in the step 201, if but light fixture is Projecting Lamp, then as previously mentioned, the luminous point coordinate has not been (0,0,0) just, carry out offset correction to it, for example is modified to (1,1,0).
Step 203 is resolved multline text.Parse IP information, the network port, channel number, bus mode, color mode of controller etc.
Step 204 is resolved bifurcated information.If there is the bifurcated situation in cloth modulating signal line, then press the bifurcation position, the light fixture order is rearranged.Bifurcated finger draws a straight line such as original 1,2,3,4,5,6,6 light fixture herein.Now, on the basis of this straight line, connect again straight line to light fixture 5 from light fixture 2, be bifurcated information.Bifurcated information is the known terms of this area, exceeds description at this.
Step 205 writes the access database.
As seen above-mentioned steps 200~205, can read and the process step S that resolves different lamp numbers, different layout structure characteristics 1Normalized autocad file.The specific implementation of above-mentioned steps 200~205 for well known to a person skilled in the art technological means, is not inventive point of the present invention place, does not repeat them here.
3, three-dimensional cloth lamp shows, as shown in Figure 4, and S in the present embodiment 3Step adopts following steps specifically to finish.
Step 300 is selected the cloth lamp.A plurality of cloth lamps can be stored in the cloth lamp database, the cloth lamp tabulation that will turn on be selected first.A plurality of cloth lamps here refer to a plurality of cloth lamps take project as unit, and such as the cloth lamp of doing for the effect of the Water Cube exterior wall, so cloth lamp of perhaps doing for certain architectural appearance effect of World Expo etc. is at step S 3When carrying out 3-D display, at first to select to expect the cloth lamp that shows.
Step 301 reads access cloth lamp database.Be read step S 2Object information to the software data buffer zone.
Step 302, the OpenGL 3-D display.Utilize OpenGL technology (common technology in the 3-D view process field) 3-D display cloth lamp in software.
Step 303, the different angles such as convergent-divergent, translation, rotation are checked.Can pass through mouse action, in software, check the cloth lamp by different angles.
The specific implementation of above-mentioned steps 300~303 for well known to a person skilled in the art technological means, is not inventive point of the present invention place, does not repeat them here.
4, adopt algorithm generating scene effect based on cloth lamp three-dimensional coordinate, as shown in Figure 5, S in the present embodiment 4Step adopts following steps specifically to finish.
Step 400 is selected the cloth lamp.Can all select, also can partly select.Selecteed lamp point just responds the algorithm of following steps.
Step 401, selection algorithm.The whole variable color that to commonly use in the inventive method, follow spot, flowing water, accumulation, gradual change, rainbow, starry sky scheduling algorithm is selective with the form of tabulation.The operand of algorithm is the cloth lamp of selecting in the step 400.
Step 402 arranges algorithm parameter.Each algorithm has multiple parameters for revise arranging in the inventive method, and these parameters have determined the color, direction, frame number, speed of algorithm etc.
Step 403 continues to select.If what 400 steps were selected is part cloth lamp, then behind completing steps 402, can also select unselected cloth lamp.Step 400,401,402,403 is in the situation that select the cloth lamp not overlap and can carry out repeatedly.
Step 404, algorithm calculates.Color data by the real-time calculation procedure 400 lamp points of parameter of the algorithm of step 401 and step 402.
Step 405 generates * .als form effect files.Wherein, * .als form is the self-defining title in the present embodiment, and those skilled in the art can adopt other title.
As seen, above-mentioned steps 400~405 is integrated and can the multiple algorithm that carries out based on three-dimensional coordinate of infinite expanding, and final the preservation generates effect files.The specific implementation of above-mentioned steps 400~405 for well known to a person skilled in the art technological means, is not inventive point of the present invention place, does not repeat them here.
5, based on the projection relation of different three-dimensional coordinates and plane material, utilize the pixel collection, the generating scene effect, as shown in Figure 6, S in the present embodiment 5Step adopts following steps specifically to finish.
Step 500 is selected the projected correspondence relation.Method of the present invention can be integrated with multiple projected correspondence relation, can be by selecting according to effect demand and different cloth lamp results.Such as, the projection relation of cloth lamp three-dimensional coordinate and plane material can concern for stereoprojection, plane projection relation or cone projection relation etc. projection relation well known in the art.For convenience of explanation, to produce effect that a Five-Starred Red Flag (the national flag of the People's Republic of China) waves at the Water Cube exterior wall as example, Fig. 6 is described.
Step 501 is drawn material.The inventive method can be in software rendered images, Flash animation, multimedia video frequency file.Can draw a plurality ofly, press that diverse location is arranged or layering shows.Certainly, these materials can be downloaded from the Internet and get, such as the flash that can download to a Five-Starred Red Flag (the national flag of the People's Republic of China) from the Internet and wave.
Step 502 is play frame by frame and is shown the material that 501 steps are drawn, such as the flash that plays the Five-Starred Red Flag (the national flag of the People's Republic of China) and wave.The purpose of playing is be used to recording, being step 503 and preparing.Reason with online television in the prior art is play repeats no more.
Step 503 is determined cloth lamp color value according to aforesaid projection relation.Press projection relation, determine the corresponding relation of each cloth lamp coordinate points and plane material internal coordinate point, and record frame by frame its color value.Pentagram on the Red Star red flag is yellow, when on the corresponding pentagram of a certain cloth lamp coordinate points, then records this cloth lamp coordinate points color value for yellow; In like manner, when on the corresponding Five-Starred Red Flag (the national flag of the People's Republic of China) of a certain cloth lamp coordinate points, then record this cloth lamp coordinate points color value for red.
Step 504 generates * .als form effect files frame by frame.Wherein, * .als form is the self-defining title in the present embodiment, and those skilled in the art can adopt other title.
The projected correspondence relation of in sum, above-mentioned steps 500~504 is integrated multiple three-dimensional coordinate and planimetric coordinates.And this step adopts software to play frame by frame the plane material, determines in real time the method for the color-values of each LED lamp point pixel of this frame by the projected correspondence relation, and final the preservation generates effect files.The specific implementation of above-mentioned steps 500~504 for well known to a person skilled in the art technological means, is not inventive point of the present invention place, does not repeat them here.
6, based on three dimensional object, the generating scene effect, as shown in Figure 7, step S in the present embodiment 6Adopt following steps specifically to finish.
Step 600, drawing object is selected.Have the drawing objects such as paintbrush, paintbrush, the rectangle tool, polygon tool selective under this step, drawing object has color attribute for arranging.
Step 601, single frames lamp point color, graphic plotting.The drawing object of selecting by step 600 under this step carries out corresponding drafting to the three-dimensional lamp point in software editing district.
Step 602 continues to compile next frame.If continue to edit next frame, then the frame number count value is added 1, this count value also can increase the value greater than 1, if the frame count added value is greater than 1, then intermediate frame can be arranged to identically with all lamp point colors of last compiled frame, and also can be arranged to is the transition frames of last compiled frame and a rear compiled frame.
Step 603 generates * .als form effect files.Wherein, * .als form is the self-defining title in the present embodiment, and those skilled in the art can adopt other title.
The specific implementation of above-mentioned steps 600~603 for well known to a person skilled in the art technological means, is not inventive point of the present invention place, does not repeat them here.
7, three dimensional constitution preview effect files, as shown in Figure 7, S in the present embodiment 7Step adopts following steps specifically to finish.
Step 700 selects to read * .als effect files.
Step 701 is resolved cloth lamp information in the * .als, determines the lamp point coordinate.The information that this step reads is stored in the lamp point coordinate buffer zone specially.
Step 702 is resolved color data in the * .als.This color data is corresponding with step 601 coordinate.
Step 703 utilizes the OpenGL technology to show frame by frame.
Step 704, the different angles such as convergent-divergent, translation, rotation are checked.Can be changed to different viewing angles by mouse action.
As seen, at step S 3And S 7In, all adopt the OPENGL technology to utilize three-dimensional point in computer software, to show cloth lamp (step S 3) and preview display effect file (step S 7), in these two steps, can utilize mouse to carry out convergent-divergent, drag and the operation such as rotation.The specific implementation of above-mentioned steps 700~704 for well known to a person skilled in the art technological means, is not inventive point of the present invention place, does not repeat them here.
Although more than described the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, under the prerequisite that does not deviate from principle of the present invention and essence, can make various changes or modifications to these embodiments.Therefore, protection scope of the present invention is limited by appended claims.

Claims (26)

1. the three-dimensional editing method of a LED lamplight scene is characterized in that, it may further comprise the steps:
S 4, based on the cloth lamp three-dimensional coordinate in the cloth lamp database, adopt algorithm generating scene effect files, wherein, step S 4Further comprising the steps:
S 41, select to want the cloth lamp of generating scene effect files;
S 42, selection algorithm, algorithm parameter is set, described parameter has determined color, direction, frame number, the speed of algorithm;
S 43, by step S 42In algorithm and the real-time calculation procedure S of parameter 41The color data of middle lamp point;
S 44, the generating scene effect files.
2. the three-dimensional editing method of LED lamplight scene as claimed in claim 1 is characterized in that, step S 4Before further comprising the steps of:
S 1, adopt AutoCAD software to carry out LED cloth lamp, preserve into * .dxf form cloth lamp file;
S 2, import and resolve this * .dxf form cloth lamp file, the information that parses is write cloth lamp database;
S 3, read this cloth lamp database, utilize OpenGL to carry out three-dimensional cloth lamp and show.
3. the three-dimensional editing method of LED lamplight scene as claimed in claim 2 is characterized in that, step S 4Further comprising the steps of afterwards: S 7, read this scene effect file, utilize OpenGL with this scene effect file of three dimensional constitution preview.
4. the three-dimensional editing method of LED lamplight scene as claimed in claim 3 is characterized in that, step S 1Further comprising the steps:
S 11, newly-built autocad file, determine coordinate range, determine cloth lamp point;
S 12, the light fixture type judges, draws the light projector relation;
S 13, determine the annexation between controller and the light fixture, adopt three-dimensional multi-section-line to connect successively controller and the light fixture of controlling;
S 14, sign controller attribute, adopt multline text to identify IP information, the network port, channel number, bus mode and the color mode of controller;
S 15, preserve into * .dxf form cloth lamp file.
5. the three-dimensional editing method of LED lamplight scene as claimed in claim 4 is characterized in that, step S 12If middle light fixture type Projecting Lamp is then drawn lamp point and luminous point relation with linear fashion.
6. the three-dimensional editing method of LED lamplight scene as claimed in claim 5 is characterized in that, step S 2Further comprising the steps:
S 21, turn on and read * .dxf form cloth lamp file;
S 22, resolve three-dimensional multi-section-line summit sequence number and summit three-dimensional coordinate;
S 23, if the light fixture type is Projecting Lamp, then resolves straight line starting point three-dimensional coordinate and end point three-dimensional coordinate, then with step S 22In coordinate points carry out offset correction;
S 24, resolve multline text, parse IP information, the network port, channel number, bus mode and the color mode of controller;
S 25, if there is the bifurcated situation in cloth modulating signal line, then resolves bifurcated information, presses the bifurcation position, the light fixture order is rearranged;
S 26, with step S 22-S 25In the information that parses write access cloth lamp database.
7. the three-dimensional editing method of LED lamplight scene as claimed in claim 6 is characterized in that, step S 3Further comprising the steps:
S 31, read access cloth lamp database, with step S 2Object information read the software data buffer zone;
S 32, utilize OpenGL 3-D display cloth lamp situation;
S 33, by mouse action, check the cloth lamp with convergent-divergent, translation, rotation mode by different angles.
8. the three-dimensional editing method of LED lamplight scene as claimed in claim 7 is characterized in that, step S 7Further comprising the steps:
S 71, select to read S 44In the scene effect file;
S 72, resolve the cloth lamp information in this scene effect file, determine the lamp point coordinate;
S 73, resolve the color data in this scene effect file, this color data is corresponding with this lamp point coordinate;
S 74, utilize frame by frame displayed scene effect of OpenGL, by mouse action, check the cloth lamp with convergent-divergent, translation, rotation mode by different angles.
9. the three-dimensional editing method of LED lamplight scene as claimed in claim 1 is characterized in that, step S 4Described in algorithm comprise in the following algorithm one or more: whole variable color, follow spot, flowing water, accumulation, gradual change, rainbow and starry sky algorithm.
10. the three-dimensional editing method of a LED lamplight scene is characterized in that, it may further comprise the steps:
S 5, based on the projection relation of the cloth lamp three-dimensional coordinate in the cloth lamp database and plane material, utilize the pixel acquisition mode, the generating scene effect files, wherein, step S 5Further comprising the steps:
S 51, select the cloth lamp three-dimensional coordinate pre-define and the projection relation of plane material;
S 52, draw material, this material comprises picture, Flash animation or multimedia video frequency file;
S 53, play this material frame by frame, according to step S 51Described projection relation is determined the corresponding relation of each cloth lamp coordinate points and plane material internal coordinate point, and records frame by frame the color value of cloth lamp coordinate points;
S 54, generating scene effect files frame by frame.
11. the three-dimensional editing method of LED lamplight scene as claimed in claim 10 is characterized in that, step S 5Before further comprising the steps of:
S 1, adopt AutoCAD software to carry out LED cloth lamp, preserve into * .dxf form cloth lamp file;
S 2, import and resolve this * .dxf form cloth lamp file, the information that parses is write cloth lamp database;
S 3, read this cloth lamp database, utilize OpenGL to carry out three-dimensional cloth lamp and show.
12. the three-dimensional editing method of LED lamplight scene as claimed in claim 11 is characterized in that, step S 5Further comprising the steps of afterwards: S 7, read this scene effect file, utilize OpenGL with this scene effect file of three dimensional constitution preview.
13. the three-dimensional editing method of LED lamplight scene as claimed in claim 12 is characterized in that, step S 1Further comprising the steps:
S 11, newly-built autocad file, determine coordinate range, determine cloth lamp point;
S 12, the light fixture type judges, draws the light projector relation;
S 13, determine the annexation between controller and the light fixture, adopt three-dimensional multi-section-line to connect successively controller and the light fixture of controlling;
S 14, sign controller attribute, adopt multline text to identify IP information, the network port, channel number, bus mode and the color mode of controller;
S 15, preserve into * .dxf form cloth lamp file.
14. the three-dimensional editing method of LED lamplight scene as claimed in claim 13 is characterized in that, step S 12If middle light fixture type Projecting Lamp is then drawn lamp point and luminous point relation with linear fashion.
15. the three-dimensional editing method of LED lamplight scene as claimed in claim 14 is characterized in that, step S 2Further comprising the steps:
S 21, turn on and read * .dxf form cloth lamp file;
S 22, resolve three-dimensional multi-section-line summit sequence number and summit three-dimensional coordinate;
S 23, if the light fixture type is Projecting Lamp, then resolves straight line starting point three-dimensional coordinate and end point three-dimensional coordinate, then with step S 22In coordinate points carry out offset correction;
S 24, resolve multline text, parse IP information, the network port, channel number, bus mode and the color mode of controller;
S 25, if there is the bifurcated situation in cloth modulating signal line, then resolves bifurcated information, presses the bifurcation position, the light fixture order is rearranged;
S 26, with step S 22-S 25In the information that parses write access cloth lamp database.
16. the three-dimensional editing method of LED lamplight scene as claimed in claim 15 is characterized in that, step S 3Further comprising the steps:
S 31, read access cloth lamp database, with step S 2Object information read the software data buffer zone;
S 32, utilize OpenGL 3-D display cloth lamp situation;
S 33, by mouse action, check the cloth lamp with convergent-divergent, translation, rotation mode by different angles.
17. the three-dimensional editing method of LED lamplight scene as claimed in claim 16 is characterized in that, step S 7Further comprising the steps:
S 71, select to read S 54In the scene effect file;
S 72, resolve the cloth lamp information in this scene effect file, determine the lamp point coordinate;
S 73, resolve the color data in this scene effect file, this color data is corresponding with this lamp point coordinate;
S 74, utilize frame by frame displayed scene effect of OpenGL, by mouse action, check the cloth lamp with convergent-divergent, translation, rotation mode by different angles.
18. the three-dimensional editing method of a LED lamplight scene is characterized in that, it may further comprise the steps:
S 4, based on the cloth lamp three-dimensional coordinate in the cloth lamp database, adopt algorithm generating scene effect files, wherein, step S 4Further comprising the steps:
S 41, select to want the cloth lamp of generating scene effect files;
S 42, selection algorithm, algorithm parameter is set, described parameter has determined color, direction, frame number, the speed of algorithm;
S 43, by step S 42In algorithm and the real-time calculation procedure S of parameter 41The color data of middle lamp point;
S 44, the generating scene effect files; And S 5, based on the projection relation of the cloth lamp three-dimensional coordinate in the cloth lamp database and plane material, utilize the pixel acquisition mode, the generating scene effect files, wherein, step S 5Further comprising the steps:
S 51, select the cloth lamp three-dimensional coordinate pre-define and the projection relation of plane material;
S 52, draw material, this material comprises picture, Flash animation or multimedia video frequency file;
S 53, play this material frame by frame, according to step S 51Described projection relation is determined the corresponding relation of each cloth lamp coordinate points and plane material internal coordinate point, and records frame by frame the color value of cloth lamp coordinate points;
S 54, generating scene effect files frame by frame.
19. the three-dimensional editing method of LED lamplight scene as claimed in claim 18 is characterized in that, step S 4Before further comprising the steps of:
S 1, adopt AutoCAD software to carry out LED cloth lamp, preserve into * .dxf form cloth lamp file;
S 2, import and resolve this * .dxf form cloth lamp file, the information that parses is write cloth lamp database;
S 3, read this cloth lamp database, utilize OpenGL to carry out three-dimensional cloth lamp and show.
20. the three-dimensional editing method of LED lamplight scene as claimed in claim 19 is characterized in that, step S 5Further comprising the steps of afterwards: S 7, read this scene effect file, utilize OpenGL with this scene effect file of three dimensional constitution preview.
21. the three-dimensional editing method of LED lamplight scene as claimed in claim 20 is characterized in that, step S 1Further comprising the steps:
S 11, newly-built autocad file, determine coordinate range, determine cloth lamp point;
S 12, the light fixture type judges, draws the light projector relation;
S 13, determine the annexation between controller and the light fixture, adopt three-dimensional multi-section-line to connect successively controller and the light fixture of controlling;
S 14, sign controller attribute, adopt multline text to identify IP information, the network port, channel number, bus mode and the color mode of controller;
S 15, preserve into * .dxf form cloth lamp file.
22. the three-dimensional editing method of LED lamplight scene as claimed in claim 21 is characterized in that, step S 12If middle light fixture type Projecting Lamp is then drawn lamp point and luminous point relation with linear fashion.
23. the three-dimensional editing method of LED lamplight scene as claimed in claim 22 is characterized in that, step S 2Further comprising the steps:
S 21, turn on and read * .dxf form cloth lamp file;
S 22, resolve three-dimensional multi-section-line summit sequence number and summit three-dimensional coordinate;
S 23, if the light fixture type is Projecting Lamp, then resolves straight line starting point three-dimensional coordinate and end point three-dimensional coordinate, then with step S 22In coordinate points carry out offset correction;
S 24, resolve multline text, parse IP information, the network port, channel number, bus mode and the color mode of controller;
S 25, if there is the bifurcated situation in cloth modulating signal line, then resolves bifurcated information, presses the bifurcation position, the light fixture order is rearranged;
S 26, with step S 22-S 25In the information that parses write access cloth lamp database.
24. the three-dimensional editing method of LED lamplight scene as claimed in claim 23 is characterized in that, step S 3Further comprising the steps:
S 31, read access cloth lamp database, with step S 2Object information read the software data buffer zone;
S 32, utilize OpenGL 3-D display cloth lamp situation;
S 33, by mouse action, check the cloth lamp with convergent-divergent, translation, rotation mode by different angles.
25. the three-dimensional editing method of LED lamplight scene as claimed in claim 24 is characterized in that, step S 7Further comprising the steps:
S 71, select to read S 54In the scene effect file;
S 72, resolve the cloth lamp information in this scene effect file, determine the lamp point coordinate;
S 73, resolve the color data in this scene effect file, this color data is corresponding with this lamp point coordinate;
S 74, utilize frame by frame displayed scene effect of OpenGL, by mouse action, check the cloth lamp with convergent-divergent, translation, rotation mode by different angles.
26. the three-dimensional editing method of LED lamplight scene as claimed in claim 25 is characterized in that, step S 4Described in algorithm comprise in the following algorithm one or more: whole variable color, follow spot, flowing water, accumulation, gradual change, rainbow and starry sky algorithm.
CN 200910248010 2009-12-31 2009-12-31 Three-dimensional editing method for LED lighting scenes Active CN102117347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910248010 CN102117347B (en) 2009-12-31 2009-12-31 Three-dimensional editing method for LED lighting scenes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910248010 CN102117347B (en) 2009-12-31 2009-12-31 Three-dimensional editing method for LED lighting scenes

Publications (2)

Publication Number Publication Date
CN102117347A CN102117347A (en) 2011-07-06
CN102117347B true CN102117347B (en) 2013-03-06

Family

ID=44216117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910248010 Active CN102117347B (en) 2009-12-31 2009-12-31 Three-dimensional editing method for LED lighting scenes

Country Status (1)

Country Link
CN (1) CN102117347B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298887B (en) * 2011-09-21 2014-08-27 上海大三和弦城市环境艺术有限公司 Method, device and system for simulative preview of LED program
CN107016139B (en) * 2016-01-28 2020-07-21 上海广茂达光艺科技股份有限公司 Method and system for designing light distribution of building
CN109408997A (en) * 2018-11-05 2019-03-01 大峡谷照明系统(苏州)股份有限公司 A kind of automatic stationing method and system
CN109584344A (en) * 2018-11-27 2019-04-05 上海时丘照明设计有限公司 A kind of 3D lighting effects animation system
CN112489185B (en) * 2019-08-20 2023-12-12 黎欧思照明(上海)有限公司 Integrated lamplight modeling method based on spatial data acquisition

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442853A (en) * 2008-12-19 2009-05-27 上海广茂达灯光景观工程有限公司 Computer file format of LED lamplight scene and storage and coalition method thereof
CN101489337A (en) * 2008-12-19 2009-07-22 上海广茂达灯光景观工程有限公司 Editing method for LED lamp light landscape scene

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442853A (en) * 2008-12-19 2009-05-27 上海广茂达灯光景观工程有限公司 Computer file format of LED lamplight scene and storage and coalition method thereof
CN101489337A (en) * 2008-12-19 2009-07-22 上海广茂达灯光景观工程有限公司 Editing method for LED lamp light landscape scene

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
祝敏.基于Open GL的LED灯光情景仿真.《哈尔滨理工大学》.2007,正文第10页第1段至第36页最后1段. *

Also Published As

Publication number Publication date
CN102117347A (en) 2011-07-06

Similar Documents

Publication Publication Date Title
Agrawala et al. Artistic multiprojection rendering
CN102800119B (en) Animation display method and device of three-dimensional curve
CN102117347B (en) Three-dimensional editing method for LED lighting scenes
CN106408631B (en) Three-dimensional macro methods of exhibiting and system
CN106415667A (en) Computer graphics with enhanced depth effect
CN107197341A (en) It is a kind of that screen display methods, device and a kind of storage device are dazzled based on GPU
CN111756956B (en) Virtual light control method and device, medium and equipment in virtual studio
CN104392479A (en) Method of carrying out illumination coloring on pixel by using light index number
CN113781660A (en) Method and device for rendering and processing virtual scene on line in live broadcast room
US9483873B2 (en) Easy selection threshold
CN105303603A (en) Three-dimensional production system used for demonstrating document and production method thereof
CN116055800A (en) Method for mobile terminal to obtain customized background real-time dance video
CN102737567B (en) Multimedia orthographic projection digital model interactive integration system
Nebiker Support for visualisation and animation in a scalable 3D GIS environment: motivation, concepts and implementation
CN105931574A (en) Wiring method of LED (light-emitting diode) special-shaped screen
KR100403942B1 (en) System for emboding dynamic image of it when selected object in three dimensions imagination space
CN112087662B (en) Method for generating dance combination dance video by mobile terminal and mobile terminal
Rossi Smart architectural models: Spatial projection-based augmented mock-up
CN113706700A (en) Three-dimensional map implementation method based on data visualization
Cardoso Lumion 3D Best Practices
Gao et al. Modern Stage Performance Simulation Based on Augmented Reality Style
CN112087663B (en) Method for generating dance video with adaptive light and shade environment by mobile terminal
Spieker Utilizing and Optimizing 3D Photogrammetry Assets for VR Experiences: Case: Pop-Up VR Museum on Meta Quest 2
Zheng et al. Visual Sensing Technology for Digital Image-Oriented Public Art Design
WO2024082897A1 (en) Illumination control method and apparatus, and computer device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant