Three-dimensional picture drawing method and system
By configuring 3D models and adding dynamic driving events, the problem of poor alignment between 3D rendering and actual scenes in existing technologies has been solved, achieving accurate rendering of media states and improving the accuracy and efficiency of 3D images.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-28
- Publication Date
- 2026-03-27
AI Technical Summary
Existing 3D rendering methods cannot accurately depict the state of the medium in the device, resulting in insufficient alignment between the 3D image and the actual scene.
By providing a 3D component database, configuring 3D models, and adding dynamic driving events, including data-driven and hardware-driven events, particle models are built using a particle effects editor, scene data is obtained to generate dynamic driving parameters, and dynamic changes in the state of the medium are realized.
It improves the accuracy of 3D images and their fit with the actual scene, enables accurate rendering of device and media status, and improves rendering efficiency and personalized configuration.
Smart Images

Figure CN121746550A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of picture creation, and particularly relates to a three-dimensional picture drawing method and system. BACKGROUND
[0002] In order to facilitate the staff of a nuclear power plant to simulate various working conditions of the nuclear power plant, a three-dimensional picture of each device in the nuclear power plant needs to be drawn. Three-dimensional image drawing is a core field of computer graphics, and the goal is to generate an image with three-dimensional stereoscopic and realistic sense on a two-dimensional picture. With the rapid development of technology, the demand for high-quality and high-efficiency three-dimensional drawing technology is increasingly urgent.
[0003] The three-dimensional picture drawing method in the prior art is only to draw the structure of the device, and cannot draw the state of the medium in the device with the medium, resulting in the technical problem that the three-dimensional picture drawn is not enough accurate and does not fit the actual scene well. SUMMARY
[0004] Therefore, the present application provides a three-dimensional picture drawing method and system to solve the technical problem of low fitting degree and accuracy of three-dimensional drawing in the prior art.
[0005] The first aspect of the present application provides a three-dimensional picture drawing method, which comprises: S10, providing a three-dimensional component database. The three-dimensional component database comprises each component and a component model file and an animation file associated with a plurality of three-dimensional model components.
[0006] S20, importing a plurality of components from the three-dimensional component database to construct a three-dimensional model, and configuring the three-dimensional model. The configuration includes model template variable setting, animation configuration, and special effect configuration.
[0007] S30: adding the configured three-dimensional model to a picture and creating a dynamic driving event to generate a target three-dimensional image picture, wherein the dynamic driving event comprises a data driving event and / or a hardware driving event.
[0008] In one specific embodiment of the present application, the creation of the dynamic driving event comprises: obtaining scene data, and causing dynamic changes of the three-dimensional image picture according to the scene data; and / or, collecting operation data of a hardware device and / or a user page, and causing dynamic changes of the three-dimensional image picture according to the operation data, the operation data including single click, double click, long press, and selection.
[0009] In one specific embodiment of the present application, the animation configuration of the three-dimensional model comprises: obtaining animation files associated with each component, each animation file containing at least one action segment; configuring encoding and first driving parameters corresponding to each action segment, so that the action segment is dynamically driven according to the first driving parameters.
[0010] In one embodiment of the present application, the three-dimensional model is animated, including: obtaining an initial state of a component, and predefining at least one second driving parameter and a target state associated with the second driving parameter, so that the component is transformed to the target state triggered by the second driving parameter to respond to a dynamic driving event.
[0011] In one embodiment of the present application, the three-dimensional model is animated, including: presetting an action variable for a component, which is used to adjust according to scene data to respond to a dynamic driving event in real time.
[0012] In one embodiment of the present application, the three-dimensional model is animated, including: constructing a particle model through a particle special effect editor; obtaining scene data to generate a third dynamic driving parameter to respond to a dynamic driving event, wherein the third dynamic driving parameter includes particle type, particle distribution, particle direction, and particle speed.
[0013] In one embodiment of the present application, obtaining scene data to generate a third dynamic driving parameter to respond to a dynamic driving event includes: obtaining scene data, and calling an image processing model or a prediction model based on the scene data to generate the third dynamic driving parameter.
[0014] In one embodiment of the present application, the dynamic driving event is triggered by a selection instruction or a custom instruction; when the trigger of the dynamic driving event is the custom instruction, a pop-up window is generated, and the third dynamic driving parameter is adjusted in response to parameters in the pop-up window.
[0015] In one embodiment of the present application, the three-dimensional model is animated, including: establishing three-dimensional data mapping according to provided mapping rules.
[0016] In one embodiment of the present application, before constructing a dynamic driving event, the method further includes: optimizing the basic information of the configured three-dimensional model, the basic information including size, position, material, and color.
[0017] The second aspect of the present application provides a three-dimensional picture rendering system, which includes a three-dimensional component database, a configuration unit, and a processing unit.
[0018] The three-dimensional component database comprises respective components and their associated component model files and animation files.
[0019] The configuration unit is configured to import a plurality of components from the three-dimensional component database to construct a three-dimensional model, and configure the three-dimensional model, wherein the configuration comprises model template variable setting, animation configuration, and special effect configuration.
[0020] The processing unit is configured to add the configured three-dimensional model to a picture, and create a dynamic driving event to generate a target three-dimensional picture, wherein the dynamic driving event comprises a data driving event and / or a hardware driving event.
[0021] The third aspect of the present application provides a computer device comprising a processor and a memory. The processor is configured to execute the three-dimensional picture rendering method of the first aspect of the present application. The memory is configured to store executable instructions of the processor.
[0022] The fourth aspect of the present application provides a computer readable storage medium having computer executable instructions stored thereon. The executable instructions, when executed by a processor, implement the three-dimensional picture rendering method of the first aspect of the present application.
[0023] The fifth aspect of the present application provides a computer program product comprising computer programs / instructions, which, when executed by a processor, implement the three-dimensional picture rendering method of the first aspect of the present application.
[0024] The technical scheme of the present application has the beneficial effects that the configuration of the model increases the fitting degree with the actual scene, improves the accuracy of the three-dimensional picture, and the provided component three-dimensional data is configured for animation, particle special effect, etc., to construct a dynamic driving event to make the animation or special effect dynamically change, thereby realizing three-dimensional animation rendering, which is high in efficiency and can realize personalized configuration. Meanwhile, the device and the medium state in the device are rendered, the fitting degree of the generated three-dimensional picture with the actual scene is improved, and the accuracy of the rendered three-dimensional picture is further improved. BRIEF DESCRIPTION OF DRAWINGS
[0025] Figure 1 Fig. 1 shows a flowchart of a three-dimensional picture rendering method according to an embodiment of the present application.
[0026] Figure 2 Fig. 2 shows a flowchart of a three-dimensional picture rendering method according to another embodiment of the present application.
[0027] Figure 3 Fig. 3 shows a block diagram of a three-dimensional picture rendering system according to an embodiment of the present application. DETAILED DESCRIPTION
[0028] The advantages and features of the present application will become apparent from specific examples which are given by way of illustration in the description of the embodiments of the present application and will be clear to those skilled in the art from this disclosure. The embodiments disclosed in the present application can also be implemented or applied in other different specific ways. Various modifications and changes can be made to the embodiments disclosed in the present application based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the embodiments and features in the embodiments can be combined with each other without conflict.
[0029] The drawings provided in the following embodiments only schematically illustrate the basic concept of the present application, and only show the components related to the present application, rather than the number of components in actual implementation. The shape and size are drawn, and the type, number and proportion of each component in actual implementation can be arbitrarily changed, and the layout type of the components can be more complex. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of the present application.
[0030] It should be understood that the schematic drawings are not drawn to scale. The flowcharts used in the present application show the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowcharts can not be implemented in sequence, and the steps without logical context relationship can be reversed in sequence or implemented simultaneously. In addition, one or more other operations can be added to the flowchart or removed from the flowchart by those skilled in the art under the guidance of the content of the present application. Some block diagrams shown in the drawings are functional entities, which do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different network and / or processor systems and / or microcontroller systems.
[0031] Embodiment: The present embodiment provides a three-dimensional image drawing method, which sequentially performs component drawing-layout mapping-drawing of the picture to obtain a three-dimensional image picture. As an illustration, the following "scene data" can be actual scene / working condition measurement point data or simulation data in a simulation system, which is provided by the method described in the present embodiment to other operating systems or simulation systems outside the corresponding system; the following "first", "second" and "third" are only used to distinguish data processing in different steps / configuration processes, and the purpose is to facilitate description. Actual data can be of the same type or in the same storage unit / address, and can even be the same, such as the valve opening and closing examples in the first and second animation configuration processes.
[0032] At least one embodiment of the present application provides a three-dimensional picture drawing method, such asFigure 1 and Figure 2 As shown in FIG. 1, the three-dimensional picture drawing method comprises the following steps S10 to S30.
[0033] Step S10, providing a three-dimensional component database. The three-dimensional component database comprises various components and component model files and animation files associated with a plurality of three-dimensional model components.
[0034] Specifically, the three-dimensional component database comprises a plurality of developed three-dimensional component models and model animation files, which can be independently developed by an external system for direct use in the drawing of three-dimensional images of the present embodiment, thereby improving the efficiency of image drawing in the present embodiment. As an example, the components include but are not limited to pressure vessels, fuel assemblies, steam turbines, valves, pipes, etc.
[0035] The above database can directly obtain a three-dimensional component compression package from the cloud or other server, import the three-dimensional component compression package, then parse the three-dimensional component compression package, obtain the component model file and the animation file, and store them to the storage unit. The model file can include model structure and material parameters and other basic parameters.
[0036] Step S20, importing a plurality of components from the three-dimensional component database to construct a three-dimensional model, and configuring the three-dimensional model. The configuration includes model template variable setting, animation configuration, and special effect configuration.
[0037] Specifically, the imported components can be selected, dragged, moved, scaled, etc. It is worth noting that part of the three-dimensional model corresponding to the scene can also be pre-constructed and directly applied, but considering the degree of adaptation to the actual scene, most of the components need to be selected for construction. The above imported components will also be parsed.
[0038] As an illustration, the configuration in the above steps is not a configuration of the basic parameters of the three-dimensional model, but a configuration of the parameters of each component in the three-dimensional model, so that it forms a three-dimensional animation that can match the actual scene.
[0039] Specifically, the model template variable setting comprises: establishing a three-dimensional data mapping according to the provided mapping rule.
[0040] Specifically, the animation configuration can include different processing, which is specifically described as follows: 1) The first animation configuration processing: obtaining the animation file associated with each component, each animation file containing at least one action segment; configuring the encoding and the first driving parameter (0 / 1) corresponding to each action segment, so that the action segment responds to the dynamic driving event in the following steps according to the first driving parameter.
[0041] As an explanation, each component can be associated with one or more animation files, each of which can represent different models, shapes, etc. of the component (such as valve upside down or right side up, different caliber), and each component associated animation file can also contain several action segments, each of which can correspond to different states of the component, such as the component rotating a certain angle or the component rotating a certain angle in the opposite direction, which corresponds to different first driving parameters, i.e. through different conditions of triggering.
[0042] In this configuration, the animation file associated with the component (JSON file) is directly parsed, and the above-mentioned first driving parameter can be understood as the condition for triggering the animation file. As an example, the valve switch is set as follows: when the first driving parameter is 0, it corresponds to the valve being closed, at which time it corresponds to one animation file; when the first driving parameter is 1, it corresponds to the valve being opened, at which time it corresponds to another animation file. Thus, different animation files are displayed for different states of the valve. Specifically, when the valve is opened, an animation of the valve rotating 90° clockwise can be displayed.
[0043] 2) The processing of the second animation configuration can be: obtaining the initial state of a certain component, predefining at least one second driving parameter (0 / 1) and the target state associated with the second driving parameter, so that the component is triggered by the second driving parameter to change to the target state in response to the dynamic driving event in the following steps.
[0044] In this configuration, code information for controlling the movement of the component is generated to cause the component (state) to change, so as to produce a three-dimensional animation effect in different states of the component. As an example, the valve switch is set as follows: when the second driving parameter is 0, it corresponds to the valve being closed; when the second driving parameter is 1, it corresponds to the valve being opened. If the valve changes from open to closed, the valve is controlled to move from the initial position to the target state. It is particularly noted that the change can include but is not limited to translation, rotation, even scaling, etc. or even color change, transparency change.
[0045] 3) The processing of the third animation configuration can be: predefining an action variable for a certain component, which is used to adjust according to scene data to respond to the dynamic driving event in the following steps in real time.
[0046] Specifically, the above-mentioned "action variable" refers to a certain parameter of the component that can change during the action. In this configuration, it can be used in the scene of flow change in the pipeline. As an example, in a horizontal pipeline, the three-dimensional animation pipeline cross-section (total) height is set to H, and the cross-section height of the falling liquid through the pipeline is set as the action variable. According to the flow in the scene data, such as a flow of 20L / s, the liquid cross-section height is 1 / 2H, at which time the liquid animation with a height of 1 / 2H can be displayed, and in the implementation process, the change of the liquid flow dynamically drives the change of the display height of the liquid animation.
[0047] It can be understood that the above "flow" is only an example parameter that can be realized by the configuration of the components to realize dynamic display, and other parameters / components similar to it can also be realized by the configuration method.
[0048] The processing method of each animation configuration can be applied individually or in combination, and can be selected according to the actual scene.
[0049] Further, the configuration of the three-dimensional model in the embodiment also adds special effect configuration, which is different from the existing two-dimensional model and the single three-dimensional model. Specifically, the special effect configuration can draw particle special effect events when drawing a three-dimensional picture, that is, it realizes the animation drawing of particles such as medium flow state, improves the matching degree of the drawn three-dimensional picture and the real picture of the nuclear power plant, and improves the accuracy of the three-dimensional picture.
[0050] Based on the above, the special effect configuration in the embodiment is actually realized by a particle special effect editor. The particle special effect editor can be used as an independent auxiliary tool or can be integrated into the system implementing the method in the embodiment to create and realize dynamic visual phenomena by simulating and controlling a large number of tiny "particles". Therefore, specifically, the special effect configuration of the three-dimensional model includes: constructing a particle model (which can be selected to match the actual scene) through the particle special effect editor; obtaining scene data to generate a third dynamic driving parameter to respond to a dynamic driving event, wherein the third dynamic driving parameter includes but is not limited to particle type, particle distribution, particle direction, and particle speed.
[0051] Specifically, the particle special effect can be used to present scenes including but not limited to spraying and fire, etc. Specifically, as an example, the spraying can control the particle distribution (density) and the particle direction to realize spraying scenes of different intensities (fast or slow).
[0052] As a preferred embodiment, for the configuration of the particle special effect, scene data can also be obtained, and an image processing model or a prediction model is called based on the scene data to generate the third dynamic driving parameter. Specifically, the image processing model or the prediction model is used to predict the particle distribution, direction, and speed, etc., to further improve the matching degree with the actual scene. Taking "fire" as an example, after a fire occurs in the actual scene, it can be understood that in the untreated state, the fire will expand with time. At this time, if the particle distribution, direction, etc. with fixed data are used for special effect display, there will be a large difference with the actual scene. In order to reduce such cases, the particle distribution, direction, etc. can be updated or predicted in real time according to the scene data. Thus, if an image acquisition device is arranged in the actual scene, the actual data can be obtained by image processing to update the actual data. If no real-time acquisition data is arranged, the historical data can also be used for prediction.
[0053] It can be understood that the above image processing model or prediction model can be loaded with existing algorithms, which can be configured with an independent interface to be used as an independent tool or external model. In actual application, the data response dynamic driving event of the model output can be obtained.
[0054] S30: add the configured three-dimensional model to the picture, create a dynamic driving event to generate a target three-dimensional image picture, wherein the dynamic driving event includes a data driving event and / or a hardware driving event.
[0055] Specifically, the dynamic driving event refers to an event triggered by data or hardware (mouse operation / collection of user's autonomous operation on the interface). As shown in the above examples, the dynamic driving event in the embodiment can include but is not limited to valve switch switching, pipeline flow dynamic change, spraying flame, etc.
[0056] It can be understood that after the three-dimensional model is configured by dragging the component in the above step and the trigger condition (the first driving parameter, the second driving parameter, the action variable, the third driving parameter) of at least one animation or particle special effect is configured, based on this, the event can be constructed by data triggering or operation triggering, so that the occurrence of the event triggers the configured animation or particle special effect, thereby presenting a three-dimensional animation effect.
[0057] Therefore, specifically, the above creating a driving event can include: Obtaining scene data, and causing dynamic changes of the three-dimensional image picture according to the scene data; that is, the above-mentioned "data triggering", as shown in the above examples, the valve "0" means that it is closed, and the parameter corresponding to the valve in the scene data is "0", which triggers the animation effect of closing the corresponding valve.
[0058] And / or, collecting operation data of the hardware device and / or the user page, and causing dynamic changes of the three-dimensional image picture according to the operation data, the operation data including but not limited to single click, double click, long press, selection, etc.; that is, the above-mentioned "hardware triggering"; it can be understood that the above-mentioned hardware includes but is not limited to mouse, keyboard, touchpad, etc., which can be used to trigger user's autonomous operation, or real-time capture of user's operation.
[0059] The above two triggering modes can be arranged separately or integrated, and the above animation or particle special effect can be configured to generate a dynamic driving event.
[0060] Specifically, as a preferred implementation, the dynamic driving event can also be triggered by a selection instruction or a custom instruction of the user operation; when the trigger of the dynamic driving event is the custom instruction, a pop-up window is generated, and the third dynamic driving parameter is adjusted in response to the parameters in the pop-up window.
[0061] It can be understood that, since the particle events are constantly changing in the nuclear power plant scene, the particle special effects in the three-dimensional component database do not conform to the actual scene at the current moment, in order to further improve the matching degree, the real-time transformation of the particle special effects or animation is realized through the above data trigger, hardware trigger, user selection instruction and / or custom instruction, so as to improve the accuracy of the generated three-dimensional image. Further, when the event-driven instruction is a custom instruction, a pop-up window is generated, and the parameters in the pop-up window are adjusted to adjust the particle special effects, that is, batch adjustment of the parameters can be realized through the pop-up window, further improving the processing efficiency.
[0062] The three-dimensional image generation provided by the embodiment can configure animations, template variables, particle special effects, etc., realize the display of three-dimensional animations by using a JSON format file, and embody scenes including but not limited to valve switching, pipeline flow, etc. The above-mentioned particle special effects can be used for corresponding scenes such as spraying and flame, so as to form corresponding three-dimensional images according to actual scenes, increase the fitting degree with actual scenes, and improve the accuracy.
[0063] The embodiment sets a dynamic driving event, which can be driven by data driving or mouse (click) operation driving, and forms a changing image through dynamic driving, such as clicking a switching valve, adjusting a flow animation according to actual scene data, a spraying animation, etc. Unlike the existing two-dimensional image or further specific three-dimensional animation method, the application is more widely applied.
[0064] In the embodiment, as an optional implementation, before constructing the dynamic driving event, the method further comprises: optimizing the basic information of the configured three-dimensional model, the basic information including but not limited to size, position, material, color, etc. It can be understood that the purpose of the optimization of the basic information is to adjust the adaptability of the three-dimensional model, and this step can also be integrated into the configuration of the three-dimensional model to further improve the work efficiency.
[0065] In addition to the above, as an optional implementation, since the above-mentioned particle special effects utilize a particle special effect editor (which pre-provisions part of particle models (basic models, which are not configured with the third driving parameter)), the components in the three-dimensional component database are also constructed in advance, in order to be more adapted to the dynamically changing nuclear power plant, in some embodiments of the present application, before constructing the particle model matched with the scene data, the method further comprises: judging whether the particle model is free of special effects of interest (i.e., not present in the particle model matched with the actual scene), and if so, a new particle model is newly created according to the scene data, so as to create a new particle special effect event in S30 (an interface is additionally provided).
[0066] Therefore, by additionally providing a particle special effect event creation interface, the diversity and deformability of the particle special effect event are further improved, and the accuracy of the drawn three-dimensional picture is further improved.
[0067] In addition, the three-dimensional image drawing method provided by the embodiment can be independently used or combined with other systems to realize other functions, so as to meet different requirements of actual scenes.
[0068] The valve, the pipeline, the flame and the like are only examples, and similar devices or media can be used as alternatives, which are not limited to the embodiment.
[0069] The embodiment further provides a three-dimensional image drawing system 400, which executes the drawing method realized by the above steps, and the drawing system 400 is described with reference to Figure 3 The three-dimensional image drawing system 400 specifically includes a three-dimensional component database 410, a configuration unit 420 and a processing unit 430.
[0070] The three-dimensional component database 410 includes various components and their associated component model files and animation files; The configuration unit 420 is configured to import a plurality of components from the component database to construct a three-dimensional model, and configure the three-dimensional model, wherein the configuration includes model template variable setting, animation configuration and special effect configuration; The processing unit 430 adds the configured three-dimensional model to a picture and creates a dynamic driving event to generate a target three-dimensional image picture, wherein the dynamic driving event includes a data driving event and / or a hardware driving event.
[0071] In the embodiment, the three-dimensional component database is constructed in advance to form a three-dimensional component compression package, and when drawing a three-dimensional picture, only the three-dimensional component compression package needs to be decompressed, which further improves the drawing efficiency of the three-dimensional picture. In the specific embodiment of the application, the three-dimensional model compression package includes structure parameters and material parameters.
[0072] The computer device includes a processor and a memory. The processor is configured to execute the three-dimensional picture drawing method provided by any one of the above embodiments. The memory is configured to store executable instructions of the processor, such as an application program. The number of processors can be one or more. The application program stored in the memory can include one or more than one module corresponding to a set of instructions. In addition, the processor is configured to execute the instructions to execute the above three-dimensional picture drawing method.
[0073] The computer device can further include a power supply component configured to manage the power supply of the computer device, a wired or wireless network interface configured to connect the computer device to a network, and an input / output (I / O) interface. The computer device can operate based on an operating system stored in the memory, such as Windows ServerTM Mac OS X TM Unix TM Linux TM FreeBSD TM or the like.
[0074] The embodiment of the present application also provides a computer readable storage medium, which stores executable instructions of a computer. The executable instructions are executed by a processor to implement the three-dimensional picture rendering method provided by any of the above-mentioned embodiments of the present application.
[0075] A non-transitory computer readable storage medium, when the instructions in the storage medium are executed by the processor of the above-mentioned computer device, enables the above-mentioned computer device to execute the above-mentioned three-dimensional picture rendering method. The three-dimensional picture rendering method is executed by an agent program.
[0076] Those skilled in the art can realize that the algorithm steps of each example described in combination with the embodiments disclosed in the present application can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized by hardware or software depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0077] The embodiment of the present application also provides a computer program product, which includes computer programs / instructions, and the computer programs / instructions are executed by a processor to implement the three-dimensional picture rendering method provided by any of the above-mentioned embodiments of the present application.
[0078] The above-mentioned functions, if realized in the form of software function units and sold or used as independent products, can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the parts of the technical solutions that make contributions to the prior art or the parts of the technical solutions can be embodied in the form of a computer program product stored in a storage medium, and include a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the three-dimensional picture rendering method of the embodiments of the present application. The above-mentioned storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program check codes.
[0079] The three-dimensional picture drawing system provided by the above embodiments can implement the technical solutions described in the three-dimensional picture drawing method embodiments, and the principles or specific implementation details of the implementation of the above modules or units can be referred to the corresponding content in the three-dimensional picture drawing method embodiments.
[0080] Those skilled in the art can understand that all or part of the processes of the above-mentioned embodiments can be completed by a computer program instructing related hardware (such as a processor, a controller, etc.) to complete, and the computer program can be stored in a computer readable storage medium. Wherein, the computer readable storage medium is a disk, an optical disk, a read-only memory or a random access memory, etc.
[0081] The combination modes of the technical features in the embodiments of the present application are not limited to the combination modes described in the embodiments of the present application or the combination modes described in the specific embodiments, and all the technical features described in the present application can be freely combined or integrated in any mode, unless contradictory to each other.
[0082] The above embodiments only exemplarily illustrate the principles and effects of the patent device, and are not used to limit the patent device. Any person skilled in the art can modify or change the above embodiments without departing from the spirit and scope of the patent device. Therefore, all equivalent modifications or changes completed by those skilled in the art without departing from the spirit and technical ideas disclosed by the patent device should be covered by the claims of the patent device.
Claims
1. A method for rendering a three-dimensional image, characterized in that, include: S10. Provide a 3D component database, which includes individual components and component model files and animation files associated with multiple 3D model components; S20. Import several parts from the 3D parts database to build a 3D model, and configure the 3D model, including setting model template variables, animation configuration, and special effects configuration. S30: Add the configured 3D model to the screen and create dynamic driving events to generate the target 3D image screen, wherein the dynamic driving events include data driving events and / or hardware driving events.
2. The three-dimensional image rendering method according to claim 1, characterized in that, The creation of dynamic driver events includes: Acquire scene data, and dynamically change the 3D image based on the scene data; And / or, collect operation data from hardware devices and / or user pages, and dynamically change the three-dimensional image screen according to the operation data, wherein the operation data includes single click, double click, long press, and selection.
3. The three-dimensional image rendering method according to claim 1, characterized in that, Configure animations for 3D models, including: Obtain the animation files associated with each component; each animation file contains at least one motion clip. Configure the encoding and first driving parameters corresponding to each action segment, so that the action segment responds to dynamic driving events according to the first driving parameters; or, A preset action variable is assigned to a certain component. This action variable is used to adjust based on scene data to respond in real time to dynamically driven events; or, Build particle models using the particle effects editor; The system acquires scene data to generate a third dynamic driving parameter in response to dynamic driving events. The third dynamic driving parameter includes particle type, particle distribution, particle direction, and particle velocity.
4. The three-dimensional image rendering method according to claim 3, characterized in that, Acquiring scene data to generate third dynamic driving parameters in response to dynamic driving events includes: Acquire scene data, and based on the scene data, call the image processing model or prediction model to generate a third dynamic driving parameter in response to dynamic driving events; The dynamic driving event is triggered by a selection command or a custom command. When the dynamic driving event is triggered by a custom command, a pop-up window is generated, and the parameters in the pop-up window are used to adjust the third dynamic driving parameter.
5. The three-dimensional image rendering method according to claim 1, characterized in that, Setting model template variables for the 3D model includes: Establish a 3D data mapping based on the provided mapping rules.
6. A three-dimensional image rendering method according to any one of claims 1 to 5, characterized in that, Before constructing dynamically driven events, the following is also included: The basic information of the configured 3D model is optimized, including size, position, material and color.
7. A three-dimensional image rendering system, characterized in that, It includes a 3D component database, configuration units, and processing units. The 3D component database includes the individual components and their associated component model files and animation files. The configuration unit is used to import several parts from the 3D part database to construct a 3D model and configure the 3D model, wherein the configuration includes model template variable settings, animation configuration, and special effects configuration; The processing unit is used to add the configured 3D model to the screen and create dynamic driving events to generate the target 3D image screen, wherein the dynamic driving events include data driving events and / or hardware driving events.
8. A computer device, characterized in that, include: A processor for executing a three-dimensional image rendering method according to any one of claims 1 to 6; as well as Memory for storing the executable instructions of the processor.
9. A computer-readable storage medium having executable instructions stored thereon, characterized in that, When the executable instructions are executed by the processor, they implement a three-dimensional image rendering method according to any one of claims 1 to 6.
10. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement a three-dimensional image rendering method according to any one of claims 1 to 6.