A three-dimensional starry sky construction and interactive visualization simulation method and system

By preprocessing star catalog data and using diffraction simulation technology of stellar point light sources, a virtual starry sky model is constructed, which solves the problems of large data processing and storage burden and low efficiency in virtual space environment modeling, and achieves efficient starry sky simulation and A highly interactive virtual space experience.

CN118153350BActive Publication Date: 2024-08-23PLA PEOPLES LIBERATION ARMY OF CHINA STRATEGIC SUPPORT FORCE AEROSPACE ENG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410571413.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-10
Publication Date
2024-08-23
Estimated Expiration
2044-05-10

AI Technical Summary

Technical Problem

Existing technologies in virtual space environment modeling have problems such as heavy data processing and storage burden, low real-time rendering efficiency, insufficient interactivity and multi-user collaboration capabilities, and lack of dynamic simulation of starry sky changes under different observation conditions.

Method used

By preprocessing the star catalog data, calculate the position and brightness of stars in the celestial coordinate system, build a starry sky model using diffraction simulation technology of stellar point light sources and Billboard technology, and store drawing instructions in batches through OpenGL to improve efficiency and support user interaction. and collaborate with multiple users.

Benefits of technology

It significantly reduces the storage requirements and processing time of starry sky data, improves data processing efficiency, enhances user experience, and enables dynamic simulation under different observation conditions, making it suitable for astronomical education and scientific research.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118153350B
    Figure CN118153350B
Patent Text Reader

Abstract

The present invention relates to the field of data simulation technology, and specifically discloses a three-dimensional starry sky construction and interactive visualization simulation method and system, wherein the method comprises preprocessing star data in a star catalog, screening and removing redundant data; calculating the position of the star in a celestial coordinate system according to the preprocessed data; quantifying and calculating the brightness of the star based on the atmospheric diffraction effect; constructing a starry sky model according to the position and brightness of the star, including: constructing a star image according to the diffraction simulation technology of a star point light source and using Billboard technology to draw the star image through two-dimensional graphic elements to construct a starry sky model; displaying the star image according to the time and viewing angle selected by a user and adjusting the display parameters of the starry sky model according to the user settings.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data simulation, and in particular to a three-dimensional starry sky construction and interactive visualization simulation method and system. Background Art

[0002] In the field of virtual space environment modeling, existing technologies mainly focus on using star catalog data to construct and simulate starry sky backgrounds. Star catalog data is widely used because of its detailed star information (including position, motion, magnitude, spectral type, etc.). By simplifying the star catalog data domain, an algorithm that supports reading and drawing star surface data in blocks according to longitude and latitude is proposed and studied.

[0003] Although existing technologies have made some progress in space environment modeling, there are still some limitations. First, the amount of star catalog data is huge, and even after streamlining, the processing and storage of data may still place a heavy burden on computing resources. Second, existing real-time rendering technology may not be efficient when processing large-scale starry sky data, especially when complex interactive operations are required. In addition, existing methods may have limitations in the construction and visualization of three-dimensional space, especially in achieving high interactivity and multi-user collaboration. Finally, existing technologies may lack dynamic simulation of changes in the starry sky under different observation conditions, such as the impact of atmospheric refraction, light pollution and other factors on starry sky observation.

[0004] Therefore, how to solve the deficiencies in the prior art is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention

[0005] To achieve the purpose of the present invention, the present application provides a three-dimensional starry sky construction and interactive visualization simulation method, comprising:

[0006] Step S1: preprocess the star data in the star catalog, filter and remove redundant data;

[0007] Step S2: Calculate the position of the star in the celestial coordinate system according to the preprocessed data;

[0008] Step S3: quantify and calculate the brightness of the star based on the atmospheric diffraction effect;

[0009] Step S4: constructing a starry sky model according to the position and brightness of the star, including: constructing a star image according to the diffraction simulation technology of the star point light source and drawing the star image through two-dimensional graphic elements using the Billboard technology to construct the starry sky model;

[0010] Step S5: Displaying the star image according to the time and viewing angle selected by the user and adjusting the display parameters of the star model according to the user settings.

[0011] In some specific embodiments, in step S1, the pre-processed data includes: magnitude, apparent motion angle of the star in the equatorial longitude and equatorial latitude directions within a one-year cycle, and the equatorial longitude and equatorial latitude of the star at a reference time point.

[0012] In some specific embodiments, step S2 includes:

[0013] Step S21: performing astronomical correction on the preprocessed data, including: star proper motion correction, precession correction and nutation correction, and determining the equatorial longitude and equatorial latitude of the star position according to the corrected data;

[0014] Step S22: converting the equatorial longitude and equatorial latitude of the star position into hour angle coordinates;

[0015] Step S23: based on the atmospheric refractive index, convert the hour angle coordinates into horizontal coordinates in the celestial coordinate system.

[0016] In some specific embodiments, step S3 includes:

[0017] Step S31: describing the diffraction phenomenon of a stellar point light source when imaging according to the Fraunhofer principle and the circular aperture diffraction formula;

[0018] Step S32: determining the cumulative illumination of each pixel point according to the diffraction phenomenon when the stellar point light source is imaged;

[0019] Step S33: determining the brightness value of the star according to the accumulated illumination, and converting the brightness value into a grayscale value according to the following formula;

[0020] ;

[0021] Where L is the brightness of the star, I is the illumination of the area from the diffraction center to the first dark ring, and I max is the maximum illuminance value in the measurement, I min is the minimum illumination value in the measurement, L max is the maximum value of brightness, L min is the minimum value of brightness.

[0022] In some specific embodiments, step S4 further includes: using OpenGL to batch store star drawing instructions so as to update all star images through one operation and rebuild the starry sky model.

[0023] To achieve the same invention purpose, the present application also provides a three-dimensional starry sky construction and interactive visualization simulation system, including:

[0024] Data preprocessing module: used to preprocess the star data in the star catalog, filter and remove redundant data;

[0025] Position calculation module: used to calculate the position of the star in the celestial coordinate system based on the preprocessed data;

[0026] Brightness calculation module: used to quantify and calculate the brightness of stars based on the atmospheric diffraction effect;

[0027] Model building module: used to build a starry sky model according to the position and brightness of stars, including: building a star image according to the diffraction simulation technology of the star point light source and drawing the star image through two-dimensional graphic elements using the Billboard technology to build the starry sky model;

[0028] Interaction module: used to display the star image according to the time and viewing angle selected by the user and adjust the display parameters of the star model according to the user settings.

[0029] In some specific embodiments, the preprocessed data includes: magnitude, apparent motion angle of the star in the equatorial longitude and equatorial latitude directions within a one-year cycle, and the equatorial longitude and equatorial latitude of the star at a reference time point.

[0030] In some specific embodiments, the position calculation module includes:

[0031] A data correction unit is used to perform astronomical correction on the preprocessed data, including star proper motion correction, precession correction and nutation correction, and determine the equatorial longitude and equatorial latitude of the star position according to the corrected data;

[0032] A coordinate conversion unit: used for converting the equatorial longitude and equatorial latitude of the star position into hour angle coordinates;

[0033] A coordinate determination unit is used to convert the hour angle coordinate into a horizontal coordinate in a celestial coordinate system based on the atmospheric refractive index.

[0034] In some specific embodiments, the brightness calculation module includes:

[0035] Imaging description unit: used to describe the diffraction phenomenon of stellar point light source imaging according to Fraunhofer principle and circular aperture diffraction formula;

[0036] An illumination determination unit is used to determine the cumulative illumination of each pixel point according to the diffraction phenomenon when the star point light source is imaged;

[0037] A brightness conversion unit: used to determine the brightness value of the star according to the accumulated illumination, and convert the brightness value into a grayscale value according to the following formula;

[0038] ;

[0039] Where L is the brightness of the star, I is the illumination of the area from the diffraction center to the first dark ring, and I max is the maximum illuminance value in the measurement, I min is the minimum illumination value in the measurement, L max is the maximum value of brightness, L min is the minimum value of brightness.

[0040] In some specific embodiments, the model building module is also used to use OpenGL to batch store star drawing instructions so that all star images can be updated through one operation to rebuild the starry sky model.

[0041] Beneficial effects of the above technical solution:

[0042] The present invention significantly reduces the storage requirements and processing time of starry sky data by adopting advanced data compression and optimization technologies. This not only improves the efficiency of data processing, but also reduces the dependence on computing resources, so that high-quality starry sky simulation can be achieved under limited hardware conditions. This improvement in realism has important application value in the fields of astronomical education, scientific research, and space exploration. The present invention provides an interactive visualization platform, and users can interact with the starry sky model through simple operations, such as adjusting the observation angle, time, location, etc. This interactivity not only enhances the user experience, but also provides astronomy enthusiasts and professionals with a new tool for exploring the universe. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0044] Figure 1 A schematic diagram of a flow chart of a three-dimensional starry sky construction and interactive visualization simulation method provided by an embodiment of the present invention;

[0045] Figure 2 A schematic structural diagram of a three-dimensional starry sky construction and interactive visualization simulation system provided for one embodiment of the present invention. DETAILED DESCRIPTION

[0046] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0047] Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar symbols throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0048] Embodiment 1

[0049] An embodiment of the present invention provides a three-dimensional starry sky construction and interactive visualization simulation method, referring to Figure 1 As shown, including:

[0050] Step S1: Preprocess the star data in the star catalog to screen and remove redundant data.

[0051] Specifically, a star catalog is a detailed astronomical database that records in detail the positions, motion trajectories, apparent magnitudes, spectral classifications, and other related parameters of stars. According to their compilation purposes and scope of use, star catalogs are mainly divided into two categories: basic star catalogs and comprehensive star catalogs. Basic star catalogs constitute the basic framework for astronomical research, while comprehensive star catalogs are star catalogs that are further developed on this framework for specific application purposes. A notable feature of a comprehensive star catalog is that it does not independently provide a coordinate grid system, but relies on the coordinate grid provided by the basic star catalog to expand the number of stars through meridian observation or photographic measurement technology, thus forming a new star catalog. The SAO J2000.0 star catalog used in this study is an example of such a comprehensive star catalog. The SAO star catalog, full name Smithsonian Astrophysical Observatory star catalog, provides key calibration star resources for photographic observations of artificial satellites. The design of this star catalog ensures that at least four stars with known positions and proper motions can be identified in any square degree area of ​​the celestial sphere. This feature is crucial for the application of star scene matching simulation.

[0052] The SAO star catalog has been compiled by the Smithsonian Astrophysical Observatory since 1966. The latest version of the catalog, SAOJ2000.0, collects detailed information on 258,997 stars, covering parameters such as position, stellar proper motion, apparent brightness level and spectral type in the B1950 equatorial coordinate system. The data set is divided into 52 fields and stored in binary format, with a single star data occupying 204 bytes. Based on this calculation, the total data volume of the SAO J2000.0 star catalog reaches 51.85 megabytes. Given its huge data size, data preprocessing of the SAO star catalog is particularly critical to meet the specific requirements of real-time rendering of space scenes. This process aims to filter and remove data attributes that are not related to the rendering task, ensure the pertinence and efficiency of data processing, thereby optimizing the rendering process and improving the simulation quality. After optimization, the streamlined star catalog retains five key data fields, and its data volume is reduced to 9.39 megabytes.

[0053] Table 1 Simplified SAO catalog data fields

[0054]

[0055] Magnitude is a metric used in astronomy to quantify the apparent brightness of stars. Normally, the brightness limit of stars visible to the naked eye is around magnitude 6, and the total number of stars in this brightness range is about 5,000. In astronomy, for every decrease in magnitude, the corresponding star brightness increases by 2.512 times. Therefore, magnitude is a key parameter for evaluating the visual brightness of stars.

[0056] The proper motion of equatorial longitude and equatorial latitude describes the apparent motion angle of stars in the equatorial longitude and equatorial latitude directions within a year, reflecting the relative motion speed of stars in an inertial reference frame. Usually, these values ​​are extremely small. Equatorial longitude and equatorial latitude define the celestial coordinate position of stars at a reference time point. They are the standard coordinate system used in astronomy to describe the position of stars and other celestial bodies on the celestial sphere. Through the above five parameters, the position and brightness of stars in the celestial coordinate system at any given moment can be accurately calculated, thus meeting the accuracy requirements of celestial mapping.

[0057] In a specific embodiment of the present invention, in step S1, the preprocessed data includes: magnitude, apparent motion angle of the star in the equatorial longitude and equatorial latitude directions within a one-year period, and the equatorial longitude and equatorial latitude of the star at a reference time point.

[0058] Step S2: Calculate the position of the star in the celestial coordinate system based on the preprocessed data.

[0059] In a specific embodiment of the present invention, step S2 includes:

[0060] Step S21: performing astronomical correction on the processed data, including: star proper motion correction, precession correction and nutation correction, and determining the equatorial longitude and equatorial latitude of the star position according to the corrected data;

[0061] Step S22: converting the equatorial longitude and equatorial latitude of the star position into hour angle coordinates;

[0062] Step S23: based on the atmospheric refractive index, convert the hour angle coordinates into horizontal coordinates in the celestial coordinate system.

[0063] Specifically, in order to achieve the conversion from the star position data recorded at a specific epoch to the real-time position at the moment of observation, a series of precise astronomical corrections need to be performed on the original data. These corrections cover a variety of astronomical phenomena such as proper motion, precession and nutation, aiming to ensure the accuracy of the star position data and the consistency of the observation results.

[0064] (1) Stellar self-correction

[0065] Stellar proper motion refers to the motion of a star relative to the Sun on the celestial sphere. Proper motion correction can be done using the following formula:

[0066] ;

[0067] ;

[0068] in, and are the proper corrections for equatorial longitude and equatorial latitude, respectively. and are the components of the stellar proper motion (unit: arc seconds / year), and t is the time interval from the reference epoch to the observation moment (unit: year).

[0069] (2) Precession correction

[0070] Precession is the rotation of the celestial coordinate system caused by the precession of the Earth's axis of rotation. Precession correction can be made using the following formula:

[0071] ;

[0072] ;

[0073] in, is the change in the obliquity of the ecliptic, is the eccentricity of the Earth, It is the obliquity of the ecliptic at the reference epoch.

[0074] (3) Nutation correction

[0075] Nutation is an additional change in the celestial coordinate system caused by the wobble of the Earth's rotation axis. Nutation correction can be performed using the following formula:

[0076] ;

[0077] ;

[0078] in, and are the nutation corrections calculated according to the observation time.

[0079] (4) Calculation of final position

[0080] Add the above correction to the star position data of the reference epoch to obtain the star position at the moment of observation:

[0081] ;

[0082] ;

[0083] in, and are the equatorial longitude and equatorial latitude at the time of observation, and and are the equatorial longitude and equatorial latitude of the reference epoch.

[0084] Through the above-mentioned astronomical correction process, the accuracy of star position data can be ensured to be consistent with actual observation results.

[0085] Step S3: quantify and calculate the brightness of the star based on the atmospheric diffraction effect.

[0086] In a specific embodiment of the present invention, step S3 includes:

[0087] Step S31: describing the diffraction phenomenon of a stellar point light source when imaging according to the Fraunhofer principle and the circular aperture diffraction formula;

[0088] Step S32: determining the cumulative illumination of each pixel point according to the diffraction phenomenon when the stellar point light source is imaged;

[0089] Step S33: determining the brightness value of the star according to the accumulated illumination, and converting the brightness value into a grayscale value according to the following formula;

[0090] ;

[0091] Where L is the brightness of the star, I is the illumination of the area from the diffraction center to the first dark ring, and I max is the maximum illuminance value in the measurement, I min is the minimum illumination value in the measurement, L max is the maximum value of brightness, L min is the minimum value of brightness.

[0092] Specifically, the spatial coordinate transformation of stars is a key process that involves transforming the true equatorial coordinates of stars into a local spatial reference frame corresponding to the geographic location of the observer. The goal of this process is to accurately determine the apparent spatial coordinate position of the star relative to the observer at a specific point in time.

[0093] (1) Conversion from true equatorial coordinates to hour angle coordinates:

[0094] First, the true equatorial coordinates of the star ( , ) is converted to the coordinates in the hour angle coordinate system ( , ). This requires knowing the sidereal hour angle at the time of observation and the observer's geographic location (longitude and latitude ).

[0095] ;

[0096] .

[0097] (2) Conversion from hour angle coordinates to horizontal coordinates:

[0098] Next, the hour angle coordinate ( , ) is converted to the horizontal coordinate system (h, A). Here, h is the elevation angle of the star and A is the azimuth angle.

[0099] h = \sin^{-1}\left(\sin(\delta')\cdot\sin(\phi)+\cos(\delta')\cdot\cos(\phi)\cdot lcos(lalpha'));

[0100] ;

[0101] in, is the latitude of the observer in radians.

[0102] (3) Consider the influence of atmospheric refraction:

[0103] In actual observation, atmospheric refraction will affect the apparent position of stars. Therefore, it is necessary to correct the elevation angle h to obtain the corrected elevation angle .

[0104] ;

[0105] in, is the elevation correction due to atmospheric refraction, which depends on the atmospheric conditions at the observer's location and the zenith distance of the star.

[0106] (4) Final view space coordinates

[0107] After the above steps, we get and A are the apparent space coordinates of the star in the local space reference frame of the observer's geographic location.

[0108] Step S4: constructing a starry sky model according to the positions and brightness of stars, including: constructing a star image according to the diffraction simulation technology of the star point light source and drawing the star image through two-dimensional graphic elements using the Billboard technology to construct the starry sky model.

[0109] In a specific embodiment of the present invention, step S4 further includes: using OpenGL to batch store star drawing instructions so that all star images can be updated through one operation to reconstruct the starry sky model.

[0110] Specifically, by using the diffraction simulation technology of stellar point light sources, a detailed celestial image is created, which includes all observable stars within the field of view. Considering the huge number of stars, in order to reduce the excessive reliance on polygons (faces) in the image drawing process, the Billboard technology is introduced. This technology simulates three-dimensional visual performance through two-dimensional graphic elements, which significantly improves the efficiency of image drawing.

[0111] Furthermore, in order to optimize rendering performance, we took advantage of the display list feature of OpenGL to store the rendering instructions of stars in batches, allowing the display of all stars to be updated through a single rendering operation. This batch processing mechanism greatly improves the efficiency of the rendering process.

[0112] Step S5: Displaying the star image according to the time and viewing angle selected by the user and adjusting the display parameters of the star model according to the user settings.

[0113] In a specific embodiment of the present invention, the user can change the observation angle by dragging the mouse or using the arrow keys. This allows the user to observe the starry sky from different perspectives, simulating actual astronomical observation conditions. For example, the user can choose to observe upward from a specific position on the surface of the earth, or to look down at the starry sky from a virtual position in space.

[0114] Specifically, the application provides a time slider or date selector, allowing the user to select a specific date and time. In this way, the user can observe the starry sky layout at different historical periods or at a certain moment in the future.

[0115] Specifically, in order to further enhance interactivity, the display parameters of the starry sky model can also be adjusted, such as brightness, color saturation, star magnitude range, etc. This provides users with a customized visual experience, allowing them to observe according to their needs and interests.

[0116] The present invention aims to provide a more efficient, realistic and interactive starry sky modeling and visualization solution. It adopts more advanced data processing technology to process and store large-scale starry sky data. At the same time, it introduces more complex physical models and algorithms, and through time and space transformation, it realizes the real-time rendering of space dynamic scenes at any time and any viewpoint, so as to achieve more realistic starry sky visual effects and smoother interactive experience. It supports multi-user collaboration and real-time data update to adapt to the ever-changing observation conditions and user needs.

[0117] Embodiment 2

[0118] An embodiment of the present invention provides a three-dimensional starry sky construction and interactive visualization simulation system, referring to Figure 2 As shown, including:

[0119] Data preprocessing module 10: used to preprocess the star data in the star catalog, filter and remove redundant data;

[0120] Position calculation module 20: used to calculate the position of the star in the celestial coordinate system according to the preprocessed data;

[0121] Brightness calculation module 30: used to quantify and calculate the brightness of stars based on the atmospheric diffraction effect;

[0122] Model building module 40: used to build a starry sky model according to the position and brightness of stars, including: building a star image according to the diffraction simulation technology of the star point light source and drawing the star image through two-dimensional graphic elements using the Billboard technology to build the starry sky model;

[0123] Interaction module 50: used to display the star image according to the time and viewing angle selected by the user and adjust the display parameters of the star model according to the user settings.

[0124] In a specific embodiment of the present invention, in the data preprocessing module 10, the preprocessed data includes: magnitude, apparent motion angle of the star in the equatorial longitude and equatorial latitude directions within a one-year period, and the equatorial longitude and equatorial latitude of the star at a reference time point.

[0125] In a specific embodiment of the present invention, the position calculation module 20 includes:

[0126] Data correction unit: used to make astronomical corrections to the processed data, including: star proper motion correction, precession correction and nutation correction, and determine the equatorial longitude and equatorial latitude of the star position based on the corrected data;

[0127] A coordinate conversion unit: used for converting the equatorial longitude and equatorial latitude of the star position into hour angle coordinates;

[0128] A coordinate determination unit is used to convert the hour angle coordinate into a horizontal coordinate in a celestial coordinate system based on the atmospheric refractive index.

[0129] In a specific embodiment of the present invention, the brightness calculation module includes:

[0130] Imaging description unit: used to describe the diffraction phenomenon of stellar point light source imaging according to Fraunhofer principle and circular aperture diffraction formula;

[0131] An illumination determination unit is used to determine the cumulative illumination of each pixel point according to the diffraction phenomenon when the star point light source is imaged;

[0132] A brightness conversion unit: used to determine the brightness value of the star according to the accumulated illumination, and convert the brightness value into a grayscale value according to the following formula;

[0133] ;

[0134] Where L is the brightness of the star, I is the illumination of the area from the diffraction center to the first dark ring, and I max is the maximum illuminance value in the measurement, I min is the minimum illumination value in the measurement, L max is the maximum value of brightness, L min is the minimum value of brightness.

[0135] In a specific embodiment of the present invention, the model building module further includes: using OpenGL to batch store star drawing instructions so that all star images can be updated through one operation to rebuild the starry sky model.

[0136] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

[0137] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referenced to each other. The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the functions in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing terminal device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device, so that a series of operation steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable terminal device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps of the functions specified in one or more boxes. Although the preferred embodiments of the embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they know the basic creative concept. Therefore, the attached claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention. Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or terminal device including a series of elements includes not only those elements, but also other elements that are not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of more restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0138] The method and device provided by the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principle and implementation mode of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

[0139] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", "one specific embodiment" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0140] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A three-dimensional starry sky construction and interactive visualization simulation method, characterized in that: include: Step S1: preprocess the star data in the star catalog, filter and remove redundant data; Step S2: Calculate the position of the star in the celestial coordinate system according to the preprocessed data; Step S3: quantify and calculate the brightness of the star based on the atmospheric diffraction effect; Step S4: constructing a starry sky model according to the position and brightness of the star, including: constructing a star image according to the diffraction simulation technology of the star point light source and drawing the star image through two-dimensional graphic elements using the Billboard technology to construct the starry sky model; Step S5: displaying the star image according to the time and viewing angle selected by the user, and adjusting the display parameters of the star model according to the user settings; Step S2 includes: Step S21: performing astronomical correction on the preprocessed data, including star proper motion correction, precession correction and nutation correction, and determining the equatorial longitude and equatorial latitude of the star position according to the corrected data; Step S22: converting the equatorial longitude and equatorial latitude of the star position into hour angle coordinates; Step S23: based on the atmospheric refractive index, converting the hour angle coordinates into horizontal coordinates in the celestial coordinate system; Step S3 includes: Step S31: describing the diffraction phenomenon of a stellar point light source when imaging according to the Fraunhofer principle and the circular aperture diffraction formula; Step S32: determining the cumulative illumination of each pixel point according to the diffraction phenomenon when the stellar point light source is imaged; Step S33: determining the brightness value of the star according to the accumulated illumination, and converting the brightness value into a grayscale value according to the following formula; Where L is the brightness of the star, I is the illumination of the area from the diffraction center to the first dark ring, and I max is the maximum illuminance value in the measurement, I min is the minimum illumination value in the measurement, L max is the maximum value of brightness, L min is the minimum value of brightness.

2. The three-dimensional starry sky construction and interactive visualization simulation method according to claim 1, characterized in that: In step S1, the preprocessed data includes: magnitude, apparent motion angle of the star in the equatorial longitude and equatorial latitude directions within a one-year period, and the equatorial longitude and equatorial latitude of the star at a reference time point.

3. The three-dimensional starry sky construction and interactive visualization simulation method according to claim 1, characterized in that: Step S4 also includes: using OpenGL to store the star drawing instructions in batches, so as to update all star images through one operation and rebuild the starry sky model.

4. A three-dimensional starry sky construction and interactive visualization simulation system, characterized in that: include: Data preprocessing module: used to preprocess the star data in the star catalog, filter and remove redundant data; Position calculation module: used to calculate the position of the star in the celestial coordinate system based on the preprocessed data; Brightness calculation module: used to quantify and calculate the brightness of stars based on the atmospheric diffraction effect; Model building module: used to build a starry sky model according to the position and brightness of stars, including: building a star image according to the diffraction simulation technology of the star point light source and drawing the star image through two-dimensional graphic elements using the Billboard technology to build the starry sky model; Interaction module: used to display the star image according to the time and viewing angle selected by the user, and adjust the display parameters of the star model according to the user settings; The position calculation module comprises: A data correction unit is used to perform astronomical correction on the preprocessed data, including star proper motion correction, precession correction and nutation correction, and determine the equatorial longitude and equatorial latitude of the star position according to the corrected data; A coordinate conversion unit: used for converting the equatorial longitude and equatorial latitude of the star position into hour angle coordinates; A coordinate determination unit: used for converting the hour angle coordinate into a horizontal coordinate in a celestial coordinate system based on the atmospheric refractive index; The brightness calculation module comprises: Imaging description unit: used to describe the diffraction phenomenon of stellar point light source imaging according to Fraunhofer principle and circular aperture diffraction formula; An illumination determination unit is used to determine the cumulative illumination of each pixel point according to the diffraction phenomenon when the star point light source is imaged; A brightness conversion unit: used to determine the brightness value of the star according to the accumulated illumination, and convert the brightness value into a grayscale value according to the following formula; Where L is the brightness of the star, I is the illumination of the area from the diffraction center to the first dark ring, and I max is the maximum illuminance value in the measurement, I min is the minimum illumination value in the measurement, L max is the maximum value of brightness, L min is the minimum value of brightness.

5. The three-dimensional starry sky construction and interactive visualization simulation system according to claim 4, characterized in that: The pre-processed data include: star magnitude, apparent motion angle of the star in the equatorial longitude and equatorial latitude directions within a one-year cycle, and the equatorial longitude and equatorial latitude of the star at a reference time point.

6. The three-dimensional starry sky construction and interactive visualization simulation system according to claim 4, characterized in that: The model building module is also used to use OpenGL to store the star drawing instructions in batches, so as to update all star images through one operation and rebuild the starry sky model.