A method for generating three-dimensional scene of ship motion in waves based on mechanical drive

Through a mechanics-driven three-dimensional scene generation method, the hull motion scene in a complex ocean environment is constructed, which solves the problem of lack of mechanical knowledge caused by visual effects in the existing technology, and realizes the three-dimensional wave environment field reconstruction and reconstruction driven by mechanical knowledge. Real-time interactive effects meet the needs of ship navigation simulation testing.

CN118379429BActive Publication Date: 2024-10-15TAIHU LAB OF DEEPSEA TECH SCI +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410521254.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-28
Publication Date
2024-10-15
Estimated Expiration
2044-04-28

AI Technical Summary

Technical Problem

The existing three-dimensional scene generation method for ship navigation in complex ocean environments mainly enhances visual effects and weakens mechanical knowledge, resulting in unreasonable wave environment and ship navigation motion, and cannot meet the needs of real-time simulation testing.

Method used

A mechanics-driven three-dimensional scene generation method for hull motion in waves is used. By determining the sea area and ship parameters, a basic component wave is constructed and wave surface extrusion processing is performed. Breaking waves are added to generate real-time wakes under the interaction between the hull model and the wave environment. Field and water wave dynamic effects, combined with the Unity 3D image engine, realize a three-dimensional real-time presentation of the three-dimensional wave environment field driven by mechanical knowledge.

Benefits of technology

It realizes the three-dimensional wave environment field reconstruction driven by mechanical knowledge, meets the visual simulation needs of ship navigation simulation test, can accurately reconstruct wave frequency, amplitude, direction and phase, provides real-time interactive effects, and improves the science of hydrodynamic performance research. sex.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118379429B_ABST
    Figure CN118379429B_ABST
Patent Text Reader

Abstract

The present application discloses a method for generating a three-dimensional visual scene of a ship motion in waves based on mechanical drive, which relates to the technical field of ship motion simulation. The method performs parameterization processing on the mathematical spectrum model of three-dimensional theoretical waves based on the principle of energy conservation, and accurately reconstructs the three-dimensional wave field in the image engine to achieve the unity of its wind and wave frequency, amplitude, direction, phase and mechanical model environmental field. At the same time, the wave surface is nonlinearly processed according to the target sea state level, and the physical phenomena such as waves, wakes, and white foam generated by the movement of the ship are constructed by applying mathematical formulas and image contrast methods, which are superimposed with the theoretical wave field to form a simulated visual effect of the ship sailing in the waves, and finally the environmental audio-visual effect is increased according to the target sea condition. The method realizes the stereoscopic real-time presentation of the three-dimensional wave environment field driven by mechanical knowledge, which can better meet the visual simulation needs in the process of ship navigation simulation testing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of ship motion simulation, and in particular to a method for generating a three-dimensional visual scene of a ship motion in waves based on mechanical drive. Background Art

[0002] The hydrodynamic performance of ships in complex marine environments is of great significance to their safe and efficient navigation. The strong coupling between the three-dimensional marine environment and the ship's maneuvering motion makes the accurate prediction of ship motion in complex marine environments one of the key research issues in the field of ship hydrodynamics. In recent years, the academic community has carried out a large number of breakthrough research and achievements in tank tests, theoretical calculations, numerical simulations, etc., which have been used as scientific references in ship performance design and evaluation. However, due to the limitations of test equipment or computing power, the current research on ship maneuverability in marine environments cannot be widely applied to some industrial fields that require real-time simulation and feedback, such as ship performance boundary exploration and seafarer training. Taking the exploration of ship performance boundaries as an example, it is difficult to carry out the test of ship performance under dangerous sea conditions in actual sea areas. At the same time, the test equipment has great limitations in constructing extreme marine environments. Therefore, it is of great application value to realize the performance test of ships in various dangerous marine environments based on virtual scenes.

[0003] With the rapid development of intelligent electronic devices and their computing and processing capabilities, the ability to construct the visual scene of virtual ocean scenes during the performance test of ships has also been greatly improved. However, the current visual construction is mainly based on visual effects. In order to generate highly realistic visual effects under real-time response, the rendering effect of three-dimensional images is usually strengthened and the knowledge-driven theory of mechanics is weakened. Therefore, for the visual presentation of ship navigation in a complex ocean environment, although the rendering effect of the ocean environment is very professional, the lack of mechanical theory will cause the wave environment and ship navigation movement presented in the visual presentation to be very unreasonable, which cannot meet the visual simulation needs during the ship navigation simulation test. Summary of the invention

[0004] In response to the above problems and technical requirements, this application proposes a method for generating a three-dimensional scene of a ship moving in waves based on mechanical drive. The technical solution of this application is as follows:

[0005] A method for generating a three-dimensional visual scene of a ship moving in waves based on mechanical drive, the method comprising:

[0006] Determine the sea area parameters and ship parameters of the scenario to be simulated. The sea area parameters include the wind and wave statistical data and the target sea condition level of the target sea area. The ship parameters include the ship type parameters and ship motion data of the target ship.

[0007] The basic component waves are constructed according to the sea area parameters, and the wave surface of the basic component waves is squeezed according to the target sea state level and breaking waves are added to generate the wave environment field;

[0008] A hull model of the target ship is generated according to the ship type parameters, and the navigation state of the hull model is updated according to the ship motion data; in the process of updating the navigation state of the hull model, a real-time wake field and water wave dynamic effect under the interaction between the hull model and the wave environment field are generated according to the ship motion data and superimposed on the wave environment field;

[0009] The environmental audio-visual effects are generated according to the target sea condition level, and a three-dimensional view of the target ship moving in the target sea area is constructed.

[0010] The beneficial technical effects of this application are:

[0011] The present application discloses a method for generating a three-dimensional visual scene of a ship moving in waves based on mechanical drive. The method generates basic component waves and performs wave surface extrusion processing according to sea area parameters in an image engine, and then superimposes corresponding broken waves, which can accurately reconstruct a three-dimensional wave field to achieve the unity of its wind wave frequency, amplitude, direction, phase and mechanical model environment field. In addition, the real-time wake field and water wave dynamic effects generated by the real-time interaction between the ship and the wave environment under the maneuvering motion in the waves are also considered, and the environmental audio-visual effects matching the target sea state level are generated. Finally, the Unity 3D image engine can be used to generate a three-dimensional visual scene of the target ship moving in the target sea area, and the three-dimensional real-time presentation of the three-dimensional wave environment field driven by mechanical knowledge can be realized. This method can reproduce the energy conservation environment field driven by mechanical knowledge in the study of ship hydrodynamic performance through the Unity 3D image engine, and present the interaction effect between the hull and the three-dimensional wave environment under the maneuvering motion of the ship in real time, which can better meet the visual simulation needs in the process of ship navigation simulation test. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 It is a method flow chart of a method for generating a three-dimensional visual scene of a ship motion in waves according to an embodiment of the present application.

[0013] Figure 2 It is a comparison chart of the visual presentation value of the basic wave environment field generated by superposition of parameters of all basic component waves read by the image engine in an example, and the model theoretical value of the wave surface height time history data of the three-dimensional theoretical wave model.

[0014] Figure 3 This is a comparison diagram of the wave surface squeezing effect of the basic component wave using different wave surface squeezing parameters in an example.

[0015] Figure 4 This is a comparison chart of the effect before and after sharpening of the breaking waves in an example.

[0016] Figure 5 It is a Kelvin wave field superimposed on the wave environment field when the ship model is sailing straight in an example.

[0017] Figure 6 It is the Kelvin wave field generated by superimposing on the wave environment field when the ship model is sailing straight in another example.

[0018] Figure 7 It is a schematic diagram of the splash diffusion effect generated by the splash trigger point at the bow of a ship model in an example.

[0019] Figure 8 yes Figure 7 Schematic diagram of the water splash diffusion effect generated at the water splash trigger point P1 in the example. DETAILED DESCRIPTION

[0020] The specific implementation of the present application is further described below in conjunction with the accompanying drawings.

[0021] This application discloses a method for generating a three-dimensional visual scene of a ship moving in waves based on mechanical drive. Please refer to Figure 1 The flowchart shown in the figure, the method for generating a three-dimensional visual scene of a ship moving in waves comprises:

[0022] Step 1, determine the sea area parameters and ship parameters of the scene to be simulated. The scene to be simulated is a scene in which the target ship performs maneuvering motion in the waves of the target sea area. The sea area parameters and ship parameters are pre-set according to the simulation requirements of the actual scene to be simulated.

[0023] The determined sea area parameters of the scenario to be simulated include wind and wave statistical data of the target sea area in the scenario to be simulated and the target sea condition level to be simulated. The wind and wave statistical data of the target sea area are obtained by statistics of measured data of the target sea area, and the data types of the wind and wave statistical data include wind speed, wind duration, wind blowing distance, terrain depth and swell scale.

[0024] The determined ship parameters of the scene to be simulated include the ship type parameters of the target ship in the scene to be simulated and the ship motion data when the target ship performs maneuvering motion. The ship type data includes the hull waterline length, waterline width, draft depth and other various type values. The ship motion data includes various motion data such as ship speed and heading.

[0025] Step 2: construct basic component waves according to the sea area parameters. The constructed basic component waves match the sea area parameters of the scene to be simulated and can reflect the basic wave conditions of the target sea area in the scene to be simulated.

[0026] In one embodiment, the wave spectrum function is first determined based on the wind and wave statistical data of the target sea area. Common wave spectrum functions include the infinite wind distance Pierson-Moscowitz spectrum model, the six-parameter Ochi-Hubble spectrum model, and the finite wind distance JONSWAP spectrum model. The wave spectrum functions used by different wind and wave statistical data have a preset corresponding relationship.

[0027] Then, the characteristic parameter values ​​in the wave spectrum function are determined according to the target sea state level, thereby obtaining the wave spectrum mathematical model. The characteristic parameter values ​​in the wave spectrum function include significant wave height, characteristic period, and directional diffusion function. The characteristic parameter values ​​matching different target sea state levels are set according to the actual wave data.

[0028] Then, the mathematical model of the wave spectrum is decomposed to obtain several basic component waves in the form of cosine waves, which can be decomposed in equal or unequal ways. Each basic component wave includes four parameters, namely, wave frequency, wave amplitude, phase and wave direction, which are composed of cosine functions. The wave frequency of each basic component wave is converted into wavelength by the dispersion relationship, the wave amplitude of each basic component wave is calculated based on the principle of conservation of wave energy, the wave direction of each basic component wave is calculated using the directional diffusion function, and the phase of each basic component wave is randomly generated.

[0029] The wavelength, amplitude, wave direction and phase of the basic component waves can be read by the image engine to generate a basic wave environment field, which can be unified with the three-dimensional theoretical wave model of the target sea area. In order to achieve a real three-dimensional sense, the number of basic component waves is greater than 120. In an example, Figure 2 As shown, the visual presentation value of the basic wave environment field generated by superposition of parameters of all basic component waves read by the image engine is represented by a dotted line, and the model theoretical value of the wave surface height time history data of the three-dimensional theoretical wave model of the target sea area under the eighth-level sea condition is represented by a solid line, and the visual presentation value is highly consistent with the model theoretical value.

[0030] Step 3: According to the target sea state level, the basic component waves are subjected to wave surface extrusion processing and a certain amount of breaking waves are additionally superimposed to generate a wave environment field.

[0031] In order to present a wave environment field that is more in line with the real ocean environment, the basic wave environment field generated by the superposition of basic component waves is not simply used directly. The basic component waves are in the form of cosine waves, but the waves in actual scenes are often not in the form of cosine waves. Instead, due to nonlinearity, the wave contour presents a prominent crest and flat trough effect. The higher the sea state level, the more obvious the prominent crest is. Therefore, the basic component waves are subjected to wave surface extrusion processing according to the target sea state level, including:

[0032] Determine the wave surface squeezing parameter C corresponding to the target sea state level. The empirical value of C is 1.0-2.0. The higher the target sea state level, the larger the corresponding wave surface squeezing parameter C. The corresponding relationship between the sea state level and the wave surface squeezing parameter C can be pre-defined. Then, the wave surface squeezing parameter C is used to perform wave surface squeezing processing on each basic component wave. The method for correcting the wave surface height of any i-th basic component wave for wave surface squeezing processing is to obtain the corrected wave surface height η of the i-th basic component wave according to the following formula: i :

[0033]

[0034] Among them, A i is the amplitude of the ith basic component wave, ω i is the wave frequency of the ith basic component wave, ε i is the phase of the ith fundamental component wave, k i is the wave number of the ith basic component wave (i.e. the number of waves within a unit length), and x is the spatial horizontal position of the basic component wave.

[0035] After the above wave surface squeezing process, the basic component wave has shown the effect of prominent wave crest and flat wave trough matching the target sea state level. In one example, the wave surface squeezing process effect achieved when different wave surface squeezing parameters C are taken under different target sea state levels is as follows: Figure 3 shown.

[0036] In addition, there are a large number of breaking waves with extremely short wavelengths and sharp wave surfaces in the real sea environment. Therefore, in order to better conform to the actual wave environment, breaking waves will be added according to the target sea condition level:

[0037] First, determine the number of breaking waves N according to the target sea state level S , the higher the target sea state level, the corresponding number of breaking waves N S The more the number of breaking waves, the better the simulation of the wave rise and fall. The corresponding breaking wave parameters are pre-configured according to the sea condition level. The number of breaking waves is in the range of 20-100, the wavelength is in the range of 0.5m-50m, and the amplitude is in the range of 0-Hs / 100. Among them, Hs is the trinity height of the wave.

[0038] Then generate N S Each wave generated also includes four parameters: wavelength, amplitude, wave direction, and phase. The wave frequency of each wave generated is higher than the frequency threshold, and the amplitude is lower than the amplitude threshold, so that the wave presents the characteristics of extremely small amplitude and extremely high wave frequency in the real wave environment. The wave direction and phase of each wave are randomly generated.

[0039] Generate NS Different from the wavefront extrusion processing method of the basic component wave, the broken wave presents a sharper wavefront contour due to its extremely short wavelength and strong nonlinearity. Therefore, it is necessary to use the wavefront horizontal offset method to sharpen the wavefront.

[0040] When sharpening each generated wavelet, the spatial horizontal position x of each wavelet is horizontally offset to x+D(x), where:

[0041] D(x)=γ(|x|-π)sin(x)

[0042] Where x is the horizontal position in space and γ is the sharpening strength, which is generally set to 0.3.

[0043] In one example, the comparison of a wavelet before and after sharpening is shown in the figure below. Figure 4 shown.

[0044] In another embodiment, in order to further present a visual effect similar to a real ocean environment, after the image engine reads the parameters of the basic component waves and the breaking waves and generates a wave environment field, a white wave effect is generated by a white wave texture image and dynamic water spray particles at the position where the wave surface steepness reaches the steepness threshold in the wave environment field, so as to trigger the high-steepness wave surface to produce a white wave effect. As the target sea condition level is higher, the sharpness of the basic component waves will be higher and the number of sharp breaking waves will be more, so the squeezing and white wave effects of the show in low sea conditions will be weak, the steepness of the wave surface in medium sea conditions will increase, thereby generating a local white wave effect at the wave crest, and the water surface will have a strong squeezing effect and be full of white waves in high sea conditions, so that the white wave phenomenon caused by the increase in sea conditions in the real ocean environment can be restored.

[0045] Step 4: Generate a hull model of the target ship according to the ship type parameters, and update the navigation status of the hull model according to the ship motion data.

[0046] The generated hull model is a high-resolution virtual model. It is necessary to generate various structures of the target ship according to the actual ship parameters, including superstructure, bilge keel, anti-roll fins, propellers, rudders and other structures, and the geometric details must achieve the high precision required for an immersive visual environment.

[0047] Then, the navigation status of the hull model is updated in real time according to the ship motion data, mainly including updating the horizontal position of the hull model to display the process of maneuvering movement of the target ship in the target sea area.

[0048] In the process of updating the navigation status of the hull model, the real-time wake field and water wave dynamic effects under the interaction between the hull model and the wave environment field are generated according to the ship motion data and superimposed on the wave environment field:

[0049] 1. Generate real-time wake field by superposition. The generated real-time wake field mainly includes two parts: wave field and turbulent wake, which are generated as follows:

[0050] The Kelvin wave-making model is used according to the ship type parameters and ship motion data to generate a dynamic and continuous Kelvin wave-making field as the navigation state of the hull model is updated. In the specific implementation, the Kelvin wave-making model is embedded in the image engine, and the Kelvin wave-making field generated by the ship's navigation in still water is calculated based on the target ship's ship type parameters and ship speed, including the wave-making contour and attenuation range, including the use of the following formula to predict the Kelvin wave-making field generated by the ship's navigation:

[0051]

[0052] Among them, B is the waterline width of the target ship, L is the waterline length of the target ship, and d is the draft of the target ship. B, L, and d are all included in the ship type data. k0 = g / U 2 , g is the acceleration of gravity, and U is the speed included in the ship motion data. The center of the ship is taken as the origin, the ray from the center of the ship to the bow is taken as the polar axis, and θ is the angle between any ray on the horizontal plane and the polar axis. (x, y) is the horizontal position of the ship model. As the horizontal position (x, y) of the ship model is updated, a dynamic and continuous Kelvin wave field can be generated. In one example, the Kelvin wave field generated by superimposing the wave environment field in the straight-ahead state of the ship model is as follows: Figure 5 As shown in the figure, the Kelvin wave field generated by superimposing on the wave environment field under the rotation state of the ship model is as follows Figure 6 shown.

[0053] In addition, the water surface disturbance technology and particle texture images are used to generate turbulent wakes that match the ship motion data as the navigation status of the hull model is updated. The matching relationship between the ship motion data and the turbulent wake is learned in advance using intelligent recognition technology. A large amount of real sea area shooting data of turbulent wakes under different ship motion data is obtained in advance, and then intelligent recognition technology is used to learn and determine the turbulent wakes that match different ship motion data, including the diffusion range and dissipation time of the turbulent wakes.

[0054] When the target ship is sailing in the target sea area, the interaction between the ship and the wave surface will not only generate wave fields and turbulent wakes, but also produce splashing when the wave surface splashes on the ship. This dynamic effect of water waves is also affected by mechanical drive. Therefore, in this step, the relative velocity vector between the splash trigger point of the hull model and the headwater surface is calculated based on the ship motion data. The hull model includes several splash trigger points at different positions. The splash trigger points are arranged according to actual needs and are generally arranged at the bow position, such as Figure 7In the example, three water splash trigger points P1, P2, and P3 are arranged at the bow. The ship motion data includes the ship speed, and the wave speed can be determined based on the generated wave environment field. Combining the ship speed and the wave speed, the relative velocity vector of each hull model at each water splash trigger point and the headwater surface can be determined through vector calculation, such as Figure 7 The relative velocity vectors between the mid-splash triggering points P1, P2, and P3 and the wave-facing water surface are Then, the splash diffusion shape is determined according to the speed direction of the relative velocity vector at each splash trigger point, and the splash diffusion density is determined according to the speed magnitude of the relative velocity vector. Finally, the splash diffusion effect is generated at the splash trigger point of the hull model according to the splash diffusion shape and the splash diffusion density.

[0055] The water splash diffusion shape is determined according to the velocity direction of the velocity vector: a fan-shaped area with the velocity direction of the velocity vector as the normal and at a predetermined angle to the hull surface. The predetermined angle can be customized, such as generally set to 45°. For example, in one example, according to Figure 7 The relative velocity vector at the splash trigger point P1 in The water splash diffusion pattern is determined as Figure 8 shown.

[0056] The greater the speed of the relative speed vector, the greater the generated water splash diffusion density, and the water splash diffusion density corresponding to different speeds can be set in advance with reference to the slamming effect in the real image data.

[0057] Step 5: Generate environmental audio-visual effects according to the target sea state level, including visual effects and auditory effects:

[0058] On the one hand, a color visibility visual effect is generated according to the target sea state level, including: generating sea surface water mist density, sea surface color depth and sky clarity corresponding to the target sea state level. The higher the target sea state level, the greater the sea surface water mist density, so that visibility is at the end of the month, the deeper the sea surface color depth, and the lower the sky clarity. When the target sea state level belongs to low sea conditions (sea conditions of levels 1 to 3), the sea surface water mist density is close to zero, the sky is clear and presents a deep blue color, and the water surface is dark blue. When the target sea state level belongs to medium sea conditions (sea conditions of levels 4 to 6) and high sea conditions (sea conditions of levels 7 to 9), the water mist density gradually increases, resulting in decreased visibility around the hull and decreased sky clarity. At the same time, the sea surface gradually changes from dark blue to black blue, and the visual sense of oppression increases.

[0059] On the other hand, a matching scene sound effect is generated according to the target sea state level. When a ship is sailing in the sea, the scene sound effect mainly includes three parts of sound effects: ship power sound, wave slamming sound, and hull slamming sound, and the ship power sound, wave slamming sound, and hull slamming sound are mixed according to their corresponding mixing factors to form the scene sound effect. According to the target sea state level, the mixing factors corresponding to the ship power sound, wave slamming sound, and hull slamming sound are determined, so as to adjust the mixing ratio and hierarchical structure of the ship power sound, wave slamming sound, and hull slamming sound, and change the overall scene sound effect. When the target sea state level is low, the marine environment is mild, and the scene mixed sound effect is mainly based on the ship power sound. When the medium and high sea conditions are reached, the wave slamming sound and the hull slamming sound are aggravated, and the ship power sound is covered. Therefore, the higher the target sea state level, the larger the mixing factor of the wave slamming sound and the hull slamming sound, and the smaller the mixing factor of the ship power sound.

[0060] The various scene factors generated by the above steps are superimposed on each other, and finally the three-dimensional view of the target ship moving in the target sea area can be constructed using the Unity 3D graphics engine. And the visual characteristics of the generated three-dimensional view under different target sea conditions are highly consistent with the mechanical environment:

[0061] In low sea conditions (sea conditions level 1 to 3), the ripple effect on the water surface is mainly formed by the superposition of a large number of basic component waves with extremely small wavelengths. The wave surface squeezing effect and whitecap effect are relatively weak, and the density of sea surface water mist is close to zero. Therefore, the environmental visibility is high, the sky is clear and presents a deep blue color, the water surface is dark blue, and the scene sound effects are mainly ship power sounds.

[0062] In the medium sea conditions (sea conditions of 4 to 6), the water surface ripple effect is formed by the superposition of breaking waves and basic component waves, and the wave surface extrusion parameters are increased to enhance the wave surface extrusion effect. At the same time, due to the increase in the steepness of the water surface, the white wave effect is enhanced, and the local white wave effect is mainly generated at the wave crest. The increase in the density of sea surface water mist leads to a decrease in visibility, a decrease in the clarity of the sky, and a deeper blue depth on the sea surface. At the same time, the sound of waves and hulls is aggravated, and the sound of ship power is weak.

[0063] In high sea conditions (sea conditions of level 7 to 9), the breaking waves increase significantly and are superimposed on the basic component waves to form violently fluctuating waves. The wave surface extrusion parameters are further increased to produce a strong wave surface extrusion effect. The water surface steepness further increases, resulting in white waves all over the wave environment field. The density of sea surface water mist increases further, resulting in a further decrease in visibility, the clarity of the sky further decreases, and the blue depth of the sea surface deepens to a dark blue. The scene sound effects are mainly the sound of waves hitting and the sound of the hull hitting, and the sound of the ship's power is masked.

[0064] The above is only a preferred embodiment of the present application, and the present application is not limited to the above embodiments. It is understood that other improvements and changes directly derived or associated by those skilled in the art without departing from the spirit and concept of the present application should be considered to be included in the protection scope of the present application.

Claims

1. A method for generating a three-dimensional scene of a ship moving in waves based on mechanical drive, characterized in that: The method for generating a three-dimensional visual scene of a ship moving in waves comprises: Determine the sea area parameters and ship parameters of the scenario to be simulated. The sea area parameters include the wind and wave statistical data and the target sea condition level of the target sea area. The ship parameters include the ship type parameters and ship motion data of the target ship. The basic component wave is constructed according to the sea area parameters, and the basic component wave is subjected to wave surface extrusion processing according to the target sea state level and additionally superimposed with breaking waves to generate a wave environment field; the basic component wave adopts the cosine wave form, and the wave surface extrusion processing of the basic component wave according to the target sea state level includes: determining the wave surface extrusion parameters corresponding to the target sea state level , the higher the target sea state level, the corresponding wave surface extrusion parameter The larger the value, the more the wave surface extrusion parameter Each basic component wave is subjected to wave surface extrusion processing, and any The method of correcting the wave surface height of the first basic component wave to perform wave surface extrusion processing is to obtain the first The height of the wave surface corrected by the basic component wave : ,in, It is The amplitude of the basic component wave, It is The wave frequencies of the fundamental component waves, It is The phase of the fundamental component wave, It is The wave number of the basic component wave, is the horizontal position in space; A hull model of the target ship is generated according to the ship type parameters, and the navigation state of the hull model is updated according to the ship motion data; in the process of updating the navigation state of the hull model, a real-time wake field and a water wave dynamic effect under the interaction between the hull model and the wave environment field are generated according to the ship motion data and superimposed on the wave environment field; The environmental audio-visual effects are generated according to the target sea condition level, and a three-dimensional view of the target ship moving in the target sea area is constructed.

2. The method for generating a three-dimensional visual scene of a ship moving in waves according to claim 1, characterized in that: The basic component waves constructed according to the sea area parameters include: Determine the wave spectrum function according to the wind and wave statistical data of the target sea area, determine the characteristic parameter value in the wave spectrum function according to the target sea condition level, and obtain the wave spectrum mathematical model; The mathematical model of the wave spectrum is decomposed to obtain several basic component waves in the form of cosine waves. The wave frequency of each basic component wave is converted into wavelength by the dispersion relationship. The amplitude of each basic component wave is calculated based on the principle of conservation of wave energy. The wave direction of each basic component wave is calculated using the directional diffusion function. The phase of each basic component wave is randomly generated.

3. The method for generating a three-dimensional visual scene of a ship moving in waves according to claim 1, characterized in that: Add breaking waves according to the target sea state level including: Determine the number of breaking waves according to the target sea state level , the higher the target sea state level, the corresponding number of breaking waves The more; generate Each wave has a frequency higher than the frequency threshold, an amplitude lower than the amplitude threshold, a randomly generated wave direction, and a randomly generated phase. Each of the generated broken waves is sharpened and then superimposed with the basic component wave.

4. The method for generating a three-dimensional visual scene of a ship moving in waves according to claim 3, characterized in that: Sharpening of each generated wavelet includes: The spatial horizontal position of each wave Horizontal offset to The sharpening process is performed, where: Here, γ is the sharpening strength.

5. The method for generating a three-dimensional visual scene of a ship moving in waves according to claim 1, characterized in that: The dynamic effects of water waves generated by the interaction between the hull model and the wave environment field based on the ship motion data include: The relative velocity vector between the splash trigger point of the hull model and the headwater surface is calculated according to the ship motion data, the splash diffusion shape is determined according to the velocity direction of the relative velocity vector at the splash trigger point, the splash diffusion density is determined according to the velocity magnitude of the relative velocity vector, and the splash diffusion effect is generated at the splash trigger point of the hull model according to the splash diffusion shape and the splash diffusion density.

6. The method for generating a three-dimensional visual scene of a ship moving in waves according to claim 1, characterized in that: Generating the real-time wake field under the interaction between the hull model and the wave environment field based on the ship motion data includes: The Kelvin wave-making model is used according to the ship type parameters and ship motion data to generate a dynamic and continuous Kelvin wave-making field as the navigation state of the hull model is updated; The water surface disturbance technology and particle texture images are used to generate turbulent wakes that match the ship motion data as the navigation status of the hull model is updated.

7. The method for generating a three-dimensional visual scene of a ship moving in waves according to claim 1, characterized in that: The method for generating a three-dimensional visual scene of a ship moving in waves also includes: In the wave environment field, a white wave effect is generated by using a white wave texture image and dynamic water splash particles at a position where the wave surface steepness reaches a steepness threshold.

8. The method for generating a three-dimensional visual scene of a ship moving in waves according to claim 1, characterized in that: Generates environmental audio-visual effects based on target sea state levels, including: Generate color visibility visuals based on target sea state levels; The mixing factors corresponding to the ship power sound, wave slamming sound and hull slamming sound are determined according to the target sea state level. The ship power sound, wave slamming sound and hull slamming sound are mixed according to their corresponding mixing factors to form the scene sound effect; the higher the target sea state level, the greater the mixing factor of the wave slamming sound and the hull slamming sound, and the smaller the mixing factor of the ship power sound.

9. The method for generating a three-dimensional visual scene of a ship moving in waves according to claim 8, characterized in that: Color visibility visuals are generated based on the target sea state level including: Generate sea surface water mist density, sea surface color depth and sky clarity corresponding to the target sea condition level. The higher the target sea condition level, the greater the sea surface water mist density so that visibility is at the end of the month, the deeper the sea surface color depth, and the lower the sky clarity.

Citation Information

Patent Citations

  • Real-time sea wave simulation method for various sea conditions

    CN114818262A

  • Real sea area ship motion forecasting method and system based on marine environment data

    CN116644608A

  • Real-time infrared simulation method based on large-scale ocean scene

    CN117709063A