A spacecraft real-time rendering modeling method, system and storage medium

Through next-generation modeling and UV deployment technology, combined with lightweight processing and space mission simulation parameters, the shortcomings of existing spacecraft modeling methods in real-time rendering and applicability are solved, and efficient and smooth real-time rendering and rapid application of spacecraft models are achieved.

CN113722832BActive Publication Date: 2025-06-06GUANGDONG HANGYU SATELLITE TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111037786.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-06
Publication Date
2025-06-06
Estimated Expiration
2041-09-06

AI Technical Summary

Technical Problem

The existing spacecraft modeling methods have shortcomings in real-time rendering and applicability, resulting in poor visual experience of spacecraft models and cannot be directly used for space mission simulation.

Method used

The spacecraft is modeled using the next generation modeling method, and the spacecraft with surface details is obtained through UV expansion and surface detail baking technology, and the spacecraft has been lightweighted, and the parameter information required for space mission simulation is defined and configured.

Benefits of technology

It improves the authenticity and visual effects of the spacecraft model, reduces resource usage, improves the smoothness of real-time rendering, and enables the spacecraft model to be quickly applied and reused in space mission simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113722832B_ABST
    Figure CN113722832B_ABST
Patent Text Reader

Abstract

The present invention relates to a spacecraft real-time rendering modeling method, system and storage medium, which belongs to the field of spacecraft modeling technology, and solves the problem that the spacecraft model established in the prior art lacks design parameters and has poor applicability. The method includes: using next-generation modeling to model the spacecraft to obtain a static spacecraft model; performing child-parent association on the motion nodes in the static spacecraft model, and performing animation according to the type of the motion nodes in the static spacecraft model to obtain a target spacecraft model. The method uses next-generation modeling to model the spacecraft, and the real-time rendering is smooth. Through lightweight processing, the spacecraft model has a high loading rate, which can support its rapid application and repeated use in space mission simulation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of spacecraft modeling, and in particular to a spacecraft real-time rendering modeling method, system and storage medium. Background Art

[0002] Traditional spacecraft 3D real-time rendering modeling is usually directly based on the CAD file containing the spacecraft model information, that is, the CAD file is directly converted into a 3D format file, and then the spacecraft is modeled based on the file.

[0003] The existing technology has at least the following defects: first, the spacecraft model directly obtained based on the CAD file has a large number of mesh faces, no real lighting and shadow effects, poor visual experience, and lacks parameter information of the space mission; second, the spacecraft model established based on the CAD file is of high modulus level, with poor real-time rendering performance, no material texture, and poor user experience. In addition, the spacecraft model only contains geometric bodies and assembly relationship information, lacks relevant professional design parameter information, cannot be directly used in space mission simulation applications, and has poor applicability. Summary of the invention

[0004] In view of the above analysis, the present invention aims to provide a spacecraft real-time rendering modeling method, system and storage medium to solve the problems of poor real-time rendering and poor applicability of existing spacecraft modeling methods.

[0005] In one aspect, the present invention provides a spacecraft real-time rendering modeling method, comprising:

[0006] Modeling the spacecraft using next-generation modeling to obtain a static spacecraft model;

[0007] The motion nodes in the static spacecraft model are associated with each other as children and parents, and animation is performed according to the types of the motion nodes in the static spacecraft model to obtain a target spacecraft model.

[0008] Furthermore, the step of modeling the spacecraft using next-generation modeling to obtain a static spacecraft model includes:

[0009] Using modeling software to build a spacecraft model based on the CAD file containing spacecraft information;

[0010] Obtaining a spacecraft low model with surface details based on the spacecraft middle model;

[0011] Set the color, metalness, roughness, ambient occlusion, and material of the low-poly model of the spacecraft with surface details, and then obtain the corresponding color map, metalness map, roughness map, ambient occlusion map, and normal material map, and perform lightweight processing;

[0012] A link is established between the lightweight color map, metalness map, roughness map, ambient occlusion map and normal material map and the low-poly model of the spacecraft with surface details, thereby obtaining a static spacecraft model.

[0013] Furthermore, the step of obtaining a spacecraft low model with surface details based on the spacecraft medium model includes:

[0014] Smoothing the spacecraft mid-model to obtain a spacecraft high-model;

[0015] Performing surface reduction processing on the spacecraft middle model to obtain a spacecraft low model;

[0016] Overlapping the spacecraft high model with the spacecraft low model, and performing UV unfolding on the spacecraft low model to obtain a UV map;

[0017] Baking the surface details of the high-poly model of the spacecraft onto the low-poly model of the spacecraft, and obtaining a normal map of the low-poly model of the spacecraft based on the UV map;

[0018] The spacecraft low-poly model and the normal map are imported into painting and texturing software to obtain a spacecraft low-poly model with surface details.

[0019] Further, the setting of the color, metalness, roughness, ambient occlusion and material of the low-poly model of the spacecraft with surface details, and then obtaining the corresponding color map, metalness map, roughness map, ambient occlusion map and normal material map includes:

[0020] In the painting and texturing software, the color, metalness, roughness, ambient occlusion and material of the spacecraft are determined based on the image data and video data of the spacecraft, and the color, metalness, roughness, ambient occlusion and material of the low-poly model of the spacecraft with surface details are set, so as to obtain the corresponding color map, metalness map, roughness map, ambient occlusion map and normal material map.

[0021] Furthermore, the color map, metalness map, roughness map, ambient occlusion map and normal material map are light-weighted in the following manner:

[0022] The color map, metalness map, roughness map, ambient occlusion map and normal texture map are respectively imported into Photoshop software, the image quality of each map is adjusted so that the size of each map is less than or equal to 1.5M, and they are respectively stored in web format.

[0023] Furthermore, performing child-parent association on the motion nodes in the static spacecraft model includes:

[0024] Returning the components of the static spacecraft model to their original positions, and scaling the spacecraft model so that its size is consistent with that of the physical spacecraft;

[0025] Determine a plurality of motion nodes in a static spacecraft model according to a spacecraft coordinate system definition and an installation matrix parameter in a spacecraft motion node definition input document, separate the plurality of motion nodes from the static spacecraft model, and name them, thereby obtaining a plurality of corresponding motion node models;

[0026] The origin of the coordinate axis of each motion node model is set at the rotation center position of the corresponding active joint in the static spacecraft model, and the child-parent association relationship between the motion node and the active joint is set.

[0027] Further, performing animation according to the type of motion nodes in the static spacecraft model to obtain the target spacecraft model includes:

[0028] In the static spacecraft model, if the type of the motion node is a one-time motion node, model animation joints are produced for the motion node by recording key frames;

[0029] If the type of the motion node is a driven motion node, animation joints are produced for the motion node through data driving, thereby obtaining a target spacecraft model.

[0030] In another aspect, the present invention provides a spacecraft real-time rendering modeling system, comprising:

[0031] A static model building module is used to model the spacecraft using next-generation modeling to obtain a static spacecraft model;

[0032] The dynamic model building module is used to associate the motion nodes in the static spacecraft model with their parents, and to perform animation according to the types of the motion nodes in the static spacecraft model to obtain a target spacecraft model.

[0033] Furthermore, the static model building module is specifically used for:

[0034] Using modeling software to build a spacecraft model based on the CAD file containing spacecraft information;

[0035] Obtaining a spacecraft low model with surface details based on the spacecraft middle model;

[0036] Set the color, metalness, roughness, ambient occlusion, and material of the low-poly model of the spacecraft with surface details, and then obtain the corresponding color map, metalness map, roughness map, ambient occlusion map, and normal material map, and perform lightweight processing;

[0037] A link is established between the lightweight color map, metalness map, roughness map, ambient occlusion map and normal material map and the low-poly model of the spacecraft with surface details, thereby obtaining a static spacecraft model.

[0038] On the other hand, the present invention provides a storage medium for storing a computer program, and a processor executes the computer program to implement the aforementioned spacecraft real-time rendering modeling method.

[0039] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:

[0040] 1. The real-time rendering modeling method and system of spacecraft proposed in the present invention creatively proposes to use the next-generation modeling method to model the spacecraft, and obtains the spacecraft low-poly model with surface details by UV unfolding and baking the surface details on the spacecraft high-poly model onto the spacecraft low-poly model. By lightweight color, metalness, roughness, ambient occlusion and normal maps corresponding to the material, the authenticity and visual effect of the spacecraft model are improved, while the resource occupation of the spacecraft model is reduced, and the fluency of the real-time rendering of the spacecraft model is improved, so that the spacecraft model can be quickly applied and reused in space mission simulation.

[0041] 2. The real-time rendering modeling method and system of spacecraft proposed in the present invention, when modeling a spacecraft, defines and configures the spacecraft model in combination with the orbit, attitude, mechanism, field of view, link information, etc. required for space mission simulation, so that the established spacecraft model can be directly used in space mission simulation applications.

[0042] In the present invention, the above-mentioned technical solutions can also be combined with each other to achieve more preferred combination solutions. Other features and advantages of the present invention will be described in the subsequent description, and some advantages can become obvious from the description, or can be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The drawings are only for the purpose of illustrating particular embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like components throughout the drawings.

[0044] Figure 1 The figure is a flow chart of a method for real-time rendering and modeling of a spacecraft according to an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.

[0046] A specific embodiment of the present invention discloses a spacecraft real-time rendering modeling method.

[0047] like Figure 1 As shown, the method includes:

[0048] S110. Modeling the spacecraft using next-generation modeling to obtain a static spacecraft model. S120. Associating the motion nodes in the static spacecraft model with their parents, and performing animation according to the types of the motion nodes in the static spacecraft model to obtain a target spacecraft model. The parent-child association means that when a motion node or an active joint moves, it will drive another motion node corresponding to it to move, then the motion node or active joint is the parent node, and the other motion node is the child node.

[0049] Preferably, the step of modeling the spacecraft using next-generation modeling to obtain a static spacecraft model comprises:

[0050] S1101. Use modeling software to establish a spacecraft mid-model according to the CAD file containing spacecraft information. Specifically, the modeling software can be MAYA2017, 3DsMax2017, or Blender2.90. Specifically, first, the dimension unit based on which the modeling is based needs to be set. For example, the unit can be set to "meter" (m); secondly, for example, the CAD file, PROE file, or other file containing the target spacecraft model information of the target spacecraft model to be produced is imported into the 3DsMax software to obtain a preliminary spacecraft model. Preferably, according to the flight requirements of the spacecraft's aerospace mission, the flight attitude, mounting components, and motion mechanism of the spacecraft are determined, and the flight attitude of the preliminary spacecraft model is set according to the information, as well as the state of the mounting components and motion mechanism in the flight attitude. In addition, the orbit, attitude, mechanism, field of view, link information, and other attribute information of the preliminary spacecraft model are set according to the flight requirements of the spacecraft's aerospace mission, thereby obtaining a spacecraft mid-model. For example, during the flight of a spacecraft, its wings are in an open state, and the wings move within a certain angle range, so the wings are set to an open state, and the wing movement angle range is set. By setting the flight attitude, installation components, motion mechanism, and orbit, attitude, mechanism, field of view, link information and other attribute information of the spacecraft model, the established spacecraft model can be directly applied in the space mission simulation, avoiding the defect that the existing technology only establishes the spacecraft model based on the CAD file and lacks the corresponding design parameters and cannot be directly applied in the space mission simulation.

[0051] S1102. In 3DsMax software, copy the aforementioned spacecraft mid-model and convert it into editable polygons. Then, use the quick loop function in the software to add loop edges to the spacecraft mid-model to perform a "line-stuck" operation, and use the "Turbo Smooth" modifier for smoothing. The smoothing process means that the outline of the spacecraft mid-model is composed of edges and faces, while the actual outline of the spacecraft is not full of edges and corners. Therefore, the edges and corners are smoothed out to obtain a spacecraft high-model with a more realistic visual effect.

[0052] S1103. Reduce the surface of the spacecraft model to obtain a low-poly model of the spacecraft. Specifically, reducing the surface refers to deleting some redundant lines or faces in the spacecraft model. If the components (or parts) in the spacecraft model are interspersed with each other, the parts that are invisible to the naked eye can be deleted. For example, if the bottom surface of a cubic component is interspersed inside another cubic component, the bottom surface of the first cubic component can be deleted; in addition, for example, a plane includes multiple lines, and four boundary lines can determine the plane, so other redundant lines in the plane can be deleted. By deleting faces and lines, the size of the spacecraft model can be reduced, thereby reducing the size of the resources occupied by the spacecraft model during the space mission simulation, thereby improving the loading speed of the spacecraft model.

[0053] S1104. In order to more accurately bake the surface details on the spacecraft high model to the spacecraft low model, the spacecraft low model is UV unfolded to obtain a UV map. Specifically, the spacecraft high model and the spacecraft low model are placed overlapping, the spacecraft low model is selected, and the spacecraft low model is UV unfolded through the "UV unfold" modifier, that is, the surface of the spacecraft is unfolded, and it is rotated and scaled according to the actual situation after unfolding, so that the UV maps of each component in the spacecraft low model do not overlap with each other, and the UV maps are all rectangular, and the texture size on the UV map of each component is consistent through scaling, and the coverage rate of the UV map in the UV space reaches more than 90%, ensuring that the size of the UV map is not too large or too small.

[0054] S1105. In order to reduce the resource usage of the spacecraft model and improve the visual effect of the spacecraft model, the surface details of the high-poly model of the spacecraft are baked onto the low-poly model of the spacecraft, and the normal map of the low-poly model of the spacecraft is obtained based on the UV map. Specifically, the surface details of the high-poly model of the spacecraft include details such as wear, wrinkles, and bumps on the surface of the spacecraft. Preferably, during baking, the surface details of the high-poly model of the spacecraft are baked onto the corresponding surface of the low-poly model of the spacecraft according to the UV map, thereby obtaining a normal map with the surface details of the high-poly model of the spacecraft.

[0055] Input the spacecraft low-poly model and the baked normal map into the painting and texturing software to obtain a spacecraft low-poly model with surface details.

[0056] S1106. Set the color, metalness, roughness, ambient occlusion and material of the low-poly model of the spacecraft with surface details, including:

[0057] In the painting and texturing software, the color, metalness, roughness, ambient occlusion and material of the low-poly model of the spacecraft with surface details are set according to the visual effects of the image data and video data of the spacecraft to be produced. Exemplarily, the painting and texturing software can be Substance Painter software; Exemplarily, the color, metalness, roughness, ambient occlusion and material of the spacecraft are determined from the image data and video data of the spacecraft to be produced, and the relevant attributes are set, thereby obtaining the corresponding color map, metalness map, roughness map, ambient occlusion map and normal material map.

[0058] S1107. In order to reduce the resource usage of loading the spacecraft model, the color map, metalness map, roughness map, ambient occlusion map and normal material map are lightweighted, including:

[0059] Import the color map, metalness map, roughness map, ambient occlusion map and normal texture map into Photoshop software respectively, set each map to "Save for Web Format", and adjust the image quality of each map so that the size of each map is less than or equal to 1.5M, and finally output the map files corresponding to each map in "jpg" format.

[0060] S1108. Import the prepared spacecraft low-poly model and the above-mentioned five map files into Blender software, establish a link between the lightweight color map, metalness map, roughness map, ambient occlusion map and normal material map and the spacecraft low-poly model, that is, assign the set color, metalness, roughness, ambient occlusion and material to the spacecraft low-poly model, and then obtain a static spacecraft model.

[0061] Preferably, in step S120, the motion nodes in the static spacecraft model are associated with each other as children and parents, and animation is performed according to the types of the motion nodes in the static spacecraft model to obtain the target spacecraft model, which specifically includes:

[0062] S1201. Return the components of the static spacecraft model to their original positions and scale the spacecraft model to make it consistent with the size of the physical spacecraft. Specifically, in the modeling software, use the "Reset Transformation" function to set all rotations of the static spacecraft model to 0 and all scalings to 1. At the same time, adjust the coordinate origin of the "coordinate axis" in the modeling software to be located at the exact center of the static spacecraft model.

[0063] S1202, according to the spacecraft coordinate system definition and installation matrix parameters in the spacecraft motion node definition input document, multiple motion nodes in the static spacecraft model are determined, the aforementioned multiple motion nodes are separated from the static spacecraft model, and named, and then the corresponding multiple motion node models are obtained. Specifically, the spacecraft motion node definition input document defines the names of the components of each motion node in the spacecraft, and the installation matrix parameters include the position and rotation state of the motion node (component), so the motion nodes in the spacecraft model can be found according to these information. The spacecraft motion node definition input document and the installation matrix parameters are given in advance when making the spacecraft model. Preferably, the motion node is named according to the capital letter of the pinyin first letter (for example: the solar wing is named: TYY). If there are multiple similar movable nodes, they are distinguished by adding _A, _B, _C, etc. after the name. For example, when two identical infrared cameras are included, they are named as: HWZXJ_A and HWZXJ_B respectively. If a motion node name contains multiple motion nodes, add _1, _2, _3, etc. after the name to distinguish them. For example, the motion node robot arm consists of three joints (motion nodes), which are named as: JXB_1, JXB_2, JXB_3.

[0064] S1203. In order to obtain a dynamic spacecraft model, it is necessary to set the motion properties of the corresponding motion nodes in the static spacecraft model. Specifically:

[0065] The origin of the coordinate axis of each motion node model is set at the rotation center position of the corresponding active joint in the static spacecraft model. The rotation center of the active joint (or motion node) is usually the motion hinge point. The child-parent relationship between each motion node and the corresponding active joint is set according to the motion logic. Exemplarily, the motion nodes of the robot arm include the shoulder joint, elbow joint, and wrist joint. The movement of the shoulder joint will drive the elbow joint and wrist joint to follow the movement. The movement of the elbow joint will drive the wrist joint. The child-parent relationship from parent to child is: shoulder joint, elbow joint, wrist joint. The shoulder joint is set as the parent of the elbow joint, the elbow joint is set as the parent of the wrist joint, the wrist joint is set as the child of the elbow joint, and the elbow joint is set as the child of the shoulder joint.

[0066] S1204, performing animation according to the type of the motion node in the static spacecraft model to obtain the target spacecraft model includes:

[0067] In a static spacecraft model, determine the type of motion node therein. If the type of motion node is a one-time motion node, then perform model animation joint production on the motion node by recording key frames. For example, if a component in the spacecraft model is opened from the beginning of the flight and remains open during the flight, then the component is a one-time motion node. If the type of motion node is a driven motion node, perform animation joint production on the motion node through data drive to obtain the target spacecraft model. For example, if the wing of the spacecraft model keeps swinging within a certain angle range during the flight of the spacecraft, then the wing is a driven motion node.

[0068] Preferably, after obtaining the target spacecraft model, the target spacecraft model is exported to the GLB format, and the spacecraft model is named according to the capitalized first letter of its pinyin. In addition, the exported target spacecraft model file is opened and browsed by VScode software equipped with the "gltfTools" component, and the target spacecraft model is checked according to the relevant requirement standard documents to see whether it meets the requirements.

[0069] Another embodiment of the present invention discloses a spacecraft real-time rendering modeling system. Since the system embodiment and the aforementioned method embodiment are based on the same working principle, it is repeatedly pointed out that reference can be made to the aforementioned method embodiment, and no further description is given here.

[0070] Specifically, the system includes:

[0071] The static model building module is used to model the spacecraft using next-generation modeling to obtain a static spacecraft model.

[0072] The dynamic model building module is used to associate the motion nodes in the static spacecraft model with their parents, and to perform animation according to the types of the motion nodes in the static spacecraft model to obtain the target spacecraft model.

[0073] Preferably, the static model building module is specifically used for:

[0074] Using modeling software to build a spacecraft model based on the CAD file containing spacecraft information;

[0075] Obtaining a spacecraft low model with surface details based on the spacecraft middle model;

[0076] Set the color, metalness, roughness, ambient occlusion, and material of the low-poly model of the spacecraft with surface details, and then obtain the corresponding color map, metalness map, roughness map, ambient occlusion map, and normal material map, and perform lightweight processing;

[0077] A link is established between the lightweight color map, metalness map, roughness map, ambient occlusion map and normal material map and the low-poly model of the spacecraft with surface details, thereby obtaining a static spacecraft model.

[0078] Another embodiment of the present invention discloses a storage medium for storing a computer program. A processor executes the computer program to implement the aforementioned spacecraft real-time rendering modeling method. Specifically, the storage medium may be a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the technical field.

[0079] Compared with the prior art, the spacecraft real-time rendering modeling method and system disclosed in the embodiment of the present invention, firstly, creatively proposes to use the next-generation modeling method to model the spacecraft, and obtains the spacecraft low-poly model with surface details by UV unfolding and baking the surface details on the spacecraft high-poly model onto the spacecraft low-poly model, and improves the authenticity and visual effect of the spacecraft model by lightweight color, metalness, roughness, ambient light occlusion and normal maps corresponding to the material, while reducing the resource occupation of the spacecraft model and improving the smoothness of the real-time rendering of the spacecraft model, so that the spacecraft model can be quickly applied and reused in space mission simulation. Secondly, the spacecraft real-time rendering modeling method and system proposed in the present invention, when modeling the spacecraft, defines and configures the spacecraft model in combination with the orbit, attitude, mechanism, field of view, link information, etc. required for space mission simulation, so that the established spacecraft model can be directly used in space mission simulation applications.

[0080] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the 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 storage memory, or a random access memory, etc.

[0081] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.

Claims

1. A spacecraft real-time rendering modeling method, It is characterized in that include: S1: Model the spacecraft using next-generation modeling to obtain a static spacecraft model, including: S11: using modeling software to establish a spacecraft mid-model according to a CAD file containing spacecraft information, including: S111: importing a CAD file or PROE file of a target spacecraft model to be produced into 3DsMax software to obtain a preliminary spacecraft model; S112: setting the orbit, attitude, mechanism, field of view, and link information of the preliminary spacecraft model according to the space mission flight requirements of the target spacecraft, thereby obtaining a spacecraft mid-model; S12: Obtaining a spacecraft low-poly model with surface details based on the spacecraft mid-poly model, including: S121: In 3DsMax software, copying the spacecraft mid-poly model and converting the spacecraft mid-poly model into an editable polygon, then adding loop edges to the spacecraft mid-poly model through the fast loop function in the software to perform a line-clip operation, and using a turbo smooth modifier to perform smoothing to obtain a spacecraft high-poly model with a more realistic visual effect; S122: Performing a surface reduction process on the spacecraft mid-poly model to obtain a spacecraft low-poly model; S123: Overlapping the spacecraft high-poly model with the spacecraft low-poly model, and performing UV unfolding on the spacecraft low-poly model to obtain a UV map; S124: Baking the surface details of the spacecraft high-poly model onto the spacecraft low-poly model, and obtaining a normal map of the spacecraft low-poly model based on the UV map; S125: Importing the spacecraft low-poly model and the normal map into a painting and mapping software to obtain a spacecraft low-poly model with surface details; S13: setting the color, metalness, roughness, ambient occlusion, and material of the low-poly model of the spacecraft with surface details, thereby obtaining corresponding color maps, metalness maps, roughness maps, ambient occlusion maps, and normal material maps, and performing lightweight processing, wherein the color, metalness, roughness, ambient occlusion, and material are set based on image data and video data of the target spacecraft; S14: establishing a link between the lightweight color map, the metalness map, the roughness map, the ambient occlusion map, and the normal material map and the low-poly model of the spacecraft with surface details, thereby obtaining a static spacecraft model; S2: performing child-parent association on the motion nodes in the static spacecraft model, and performing animation according to the types of the motion nodes in the static spacecraft model to obtain a target spacecraft model; The child-parent association of the motion nodes in the static spacecraft model includes: Returning the components of the static spacecraft model to their original positions, and scaling the spacecraft model so that its size is consistent with that of the physical spacecraft; Determine a plurality of motion nodes in a static spacecraft model according to a spacecraft coordinate system definition and an installation matrix parameter in a spacecraft motion node definition input document, separate the plurality of motion nodes from the static spacecraft model, and name them, thereby obtaining a plurality of corresponding motion node models; The origin of the coordinate axis of each motion node model is set at the rotation center position of the corresponding active joint in the static spacecraft model, and the child-parent association relationship between the motion node and the active joint is set; According to the type of motion nodes in the static spacecraft model, animation is performed to obtain the target spacecraft model, including: In the static spacecraft model, if the type of the motion node is a one-time motion node, model animation joints are produced for the motion node by recording key frames; If the type of the motion node is a driven motion node, animation joints are produced for the motion node through data driving, thereby obtaining a target spacecraft model; S3: After obtaining the target spacecraft model, export the target spacecraft model to the GLB format, name the spacecraft model according to the capitalized first letter of its pinyin, and open the exported target spacecraft model file with VScode software for browsing, and check whether the target spacecraft model meets the requirements according to the requirement standard document.

2. The spacecraft real-time rendering modeling method according to claim 1, It is characterized in that The step of setting the color, metalness, roughness, ambient occlusion and material of the low-poly model of the spacecraft with surface details, and then obtaining the corresponding color map, metalness map, roughness map, ambient occlusion map and normal material map comprises: In the painting and texturing software, the color, metalness, roughness, ambient occlusion and material of the spacecraft are determined based on the image data and video data of the spacecraft, and the color, metalness, roughness, ambient occlusion and material of the low-poly model of the spacecraft with surface details are set, so as to obtain the corresponding color map, metalness map, roughness map, ambient occlusion map and normal material map.

3. The spacecraft real-time rendering modeling method according to any one of claims 1 to 2, It is characterized in that Specifically, the color map, metalness map, roughness map, ambient occlusion map, and normal material map are lightweighted in the following manner: The color map, metalness map, roughness map, ambient occlusion map and normal texture map are respectively imported into Photoshop software, the image quality of each map is adjusted so that the size of each map is less than or equal to 1.5M, and they are respectively stored in web format.

4. A spacecraft real-time rendering modeling system, It is characterized in that include: The static model building module is used to model the spacecraft using next-generation modeling to obtain a static spacecraft model, including: Using modeling software to establish a spacecraft mid-model based on the CAD file containing spacecraft information, including: importing the CAD file or PROE file of the target spacecraft model to be produced into 3DsMax software to obtain a preliminary spacecraft model; setting the orbit, attitude, mechanism, field of view, and link information of the preliminary spacecraft model according to the space mission flight requirements of the target spacecraft, thereby obtaining a spacecraft mid-model; Obtaining a low-poly model of a spacecraft with surface details based on the spacecraft mid-poly model, comprising: in 3DsMax software, copying the spacecraft mid-poly model, converting the spacecraft mid-poly model into an editable polygon, then adding loop edges to the spacecraft mid-poly model through the fast loop function in the software to perform a line-clip operation, and using a turbo smooth modifier to perform smoothing to obtain a high-poly model of the spacecraft with a more realistic visual effect; performing surface reduction processing on the spacecraft mid-poly model to obtain a low-poly model of the spacecraft; overlapping the spacecraft high-poly model and the spacecraft low-poly model, and performing UV unfolding on the spacecraft low-poly model to obtain a UV map; baking the surface details of the spacecraft high-poly model onto the spacecraft low-poly model, and obtaining a normal map of the spacecraft low-poly model based on the UV map; importing the spacecraft low-poly model and the normal map into a painting and mapping software to obtain a low-poly model of the spacecraft with surface details; Setting the color, metalness, roughness, ambient occlusion, and material of a low-poly model of a spacecraft with surface details, thereby obtaining corresponding color maps, metalness maps, roughness maps, ambient occlusion maps, and normal material maps, and performing lightweight processing, wherein the color, metalness, roughness, ambient occlusion, and material are set based on image data and video data of the target spacecraft; Establishing a link between the lightweight color map, metalness map, roughness map, ambient occlusion map, and normal material map and the low-poly model of the spacecraft with surface details, thereby obtaining a static spacecraft model; A dynamic model building module, used for performing child-parent association of the motion nodes in the static spacecraft model, and performing animation according to the types of the motion nodes in the static spacecraft model to obtain a target spacecraft model; The child-parent association of the motion nodes in the static spacecraft model includes: Returning the components of the static spacecraft model to their original positions, and scaling the spacecraft model so that its size is consistent with that of the physical spacecraft; Determine a plurality of motion nodes in a static spacecraft model according to a spacecraft coordinate system definition and an installation matrix parameter in a spacecraft motion node definition input document, separate the plurality of motion nodes from the static spacecraft model, and name them, thereby obtaining a plurality of corresponding motion node models; The origin of the coordinate axis of each motion node model is set at the rotation center position of the corresponding active joint in the static spacecraft model, and the child-parent association relationship between the motion node and the active joint is set; According to the type of motion nodes in the static spacecraft model, animation is performed to obtain the target spacecraft model, including: In the static spacecraft model, if the type of the motion node is a one-time motion node, model animation joints are produced for the motion node by recording key frames; If the type of the motion node is a driven motion node, animation joints are produced for the motion node through data driving, thereby obtaining a target spacecraft model; The model verification module, after obtaining the target spacecraft model, exports the target spacecraft model to the GLB format, names the spacecraft model according to the capitalized first letter of its pinyin, and opens the exported target spacecraft model file with VScode software for browsing, and checks whether the target spacecraft model meets the requirements according to the requirement standard document.

5. A storage medium for storing a computer program, It is characterized in that The processor executes the computer program to implement the spacecraft real-time rendering modeling method described in any one of claims 1-3.

Citation Information

Patent Citations

  • Spacecraft solar panel three-dimensional dynamic simulation method taking shielding effect into consideration

    CN104615841A