Method and system for generating a celestial sphere based on a spherical display device

By using a UV coordinate mapping method involving bipolar vertical projection and equatorial cylindrical projection, the real-time and accuracy issues in spherical projection technology were resolved, achieving a color-level-free, seamless, and high-precision planet display effect.

CN121053276BActive Publication Date: 2026-01-02TIMEAXIS DIGITAL MEDIA CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511576043.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-10-31
Publication Date
2026-01-02
Estimated Expiration
2045-10-31

AI Technical Summary

Technical Problem

Existing dome projection technology struggles to balance real-time performance and accuracy, resulting in issues such as color gradation, stretching, and frame rate reduction in planet displays.

Method used

A UV coordinate mapping method based on vertical projection at the poles and cylindrical projection at the equator is adopted, combined with auxiliary textures and cylindrical projection algorithms, to generate a planetary mapping with no color levels, no seams, and high precision.

Benefits of technology

It achieves seamless, high-precision planet mapping with no color levels, improving mapping speed and rendering stability and accuracy, and is suitable for real-time planet display on spherical screens.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121053276B_ABST
    Figure CN121053276B_ABST
Patent Text Reader

Abstract

The application discloses a planet generation method and system based on a spherical display device, and the method comprises the following steps: obtaining planet material to be projected; performing spherical projection on the planet material based on preset UV coordinate mapping data, to generate a planet based on vertical projection at two poles and cylindrical projection at the equator; the UV coordinate mapping data is obtained in the following manner: generating corresponding cylindrical projection through a cylindrical projection algorithm based on auxiliary texture; obtaining corresponding spherical coordinates based on auxiliary texture mapping; converting the obtained spherical coordinates into 3D rectangular coordinates; remapping the obtained 3D rectangular coordinates back to a 2D texture space to generate corresponding vertical projection; determining an equator mask; and generating corresponding UV coordinate mapping data based on the equator mask, the cylindrical projection and the vertical projection. Through the design of the UV coordinate mapping data, the method can reduce resource consumption and improve dynamic projection accuracy in the process of performing spherical projection on the planet material.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of image processing, and in particular to a method and system for generating planets based on a spherical display device. Background Technology

[0002] The two most commonly used methods for projecting a dome screen today are as follows:

[0003] The first method is to generate a virtual texture map with three RGB channels, and use two channels of the virtual sticker to simulate the UV (UVUnwrapping, the U-axis and V-axis of two-dimensional texture coordinates, representing the mapping relationship of the model surface on the plane).

[0004] This method is fast and produces accurate colors without color levels; however, any combination of two channels will cause severe stretching of the equatorial region of the texture in the remaining channel, and it is difficult to simulate planetary rotation.

[0005] The second method involves creating a UV mapping texture, which is then imported into the UE engine and used as a UV. This approach allows for customized UV distribution and can simulate planetary rotation by scaling and displacement. However, even when the texture is upgraded to 8K resolution, it produces very obvious color gradations, and when the resolution is too high, it can also cause a significant drop in real-time frame rate. Summary of the Invention

[0006] This invention addresses the shortcomings of existing spherical projection technologies in balancing real-time performance and accuracy by providing a method and system for generating planets based on a spherical display device, with the poles based on vertical projection and the equator based on cylindrical projection.

[0007] To solve the above-mentioned technical problems, the present invention provides the following technical solution:

[0008] In a first aspect, a method for generating planets based on a spherical display device includes the following steps:

[0009] The planet material to be projected is obtained. The planet material is rectangular and can be either a static image or a dynamic video. Static image materials include images of real planets such as the moon and Mars. At this point, the corresponding planet can be quickly displayed on the spherical screen without color levels, seams, or high precision to meet the traditional needs of popular science and display.

[0010] Based on preset UV coordinate mapping data, the planet material is spherically projected to generate a planet with vertical projection at the poles and cylindrical projection at the equator. When the planet material is dynamic video material, the corresponding video frames are sampled, colored and projected according to preset rules and in chronological order using the UV coordinate mapping data to achieve dynamic display of the generated planet (such as simulating planet rotation based on preset rotation speed).

[0011] The UV coordinate mapping data is obtained in the following manner:

[0012] A colorless program texture is created as an auxiliary texture;

[0013] Based on the auxiliary texture, a corresponding cylindrical projection is generated through a cylindrical projection algorithm;

[0014] Based on the auxiliary texture mapping, corresponding spherical coordinates are obtained;

[0015] The obtained spherical coordinates are converted into 3D rectangular coordinates;

[0016] The obtained 3D rectangular coordinates are remapped back to a 2D texture space to generate a corresponding vertical projection;

[0017] An equatorial mask is determined;

[0018] Based on the equatorial mask, the cylindrical projection, and the vertical projection, corresponding UV coordinate mapping data is generated.

[0019] Through the design of UV coordinate mapping data, the polar regions use vertical projection, and the equatorial region uses cylindrical projection, so that the corresponding star material is completely and non-deformationally mapped on the spherical screen;

[0020] Compared with the existing spherical screen projection method, the present application combines the advantages of cylindrical projection and vertical longitudinal projection, and can realize non-color step, non-seam, and high-precision mapping; the calculation amount is small, which greatly improves the mapping speed and meets the requirements of real-time rendering input; both cylindrical projection and vertical longitudinal projection can consider the concept of latitude and longitude, and the projection algorithm itself has no random factors, which not only makes the rendering more stable and the color more accurate, but also maximally reduces the uncertainty in the projection process, and the stability and accuracy of the display effect are only related to the device hardware configuration.

[0021] As an implementable manner:

[0022] Based on a user interaction instruction, a corresponding star material is generated, and the star material includes a star surface material;

[0023] The user interaction instruction includes a star creation instruction, and the star creation instruction is used to indicate the configuration parameters corresponding to each topographic influence element;

[0024] The steps of generating the star surface material based on the star creation instruction are as follows:

[0025] acquire a matched planet template based on each configuration parameter, the planet template comprising a terrain configuration template, the terrain configuration template being used to indicate each type of landform element existing for a corresponding planet type, and also being used to indicate an altitude range and a main color tone corresponding to each landform element;

[0026] acquire a planet terrain height map;

[0027] generate a corresponding planet ground material based on the terrain configuration template and the planet terrain height map;

[0028] determine a planet material based on the planet ground material.

[0029] Traditional planet terrain mapping for spherical screens needs to be drawn in advance and cannot be generated in real time, and therefore is often used for static display of actual celestial bodies such as the moon and Mars;

[0030] According to given planetary environmental conditions, if generation is completely started from 0, even if an AIGC (Artificial Intelligence Generated Content) model is used, there are problems of long generation time and uncontrollable generation effect;

[0031] The present application reduces the configuration difficulty of users in generating a planet, greatly reduces the complexity of a generation algorithm, shortens the generation time, reduces the uncontrollability of a generated planet effect, and meets basic aesthetic and scientific requirements;

[0032] As an implementable manner, the specific steps of acquiring a matched planet template based on each configuration parameter are as follows:

[0033] Preferably, a ground analysis strategy, an atmosphere analysis strategy and a vegetation analysis strategy are constructed based on the analysis priority of the landform influencing element in advance;

[0034] acquire a corresponding planet ground type based on each configuration parameter and the ground analysis strategy;

[0035] acquire a corresponding atmosphere type based on each configuration parameter and the atmosphere analysis strategy;

[0036] acquire a corresponding vegetation coverage type based on each configuration parameter and the vegetation analysis strategy;

[0037] match the planet ground type, the atmosphere type and the vegetation coverage type to acquire a matched planet template.

[0038] In practical applications, there are configuration parameter combinations that do not conform to natural laws (for example, extremely high heat energy and extremely high fresh water), and such combinations do not have corresponding planet templates; and there are multiple planet types that can be mapped to the same configuration parameter combination; directly labeling each planet template based on the landform influencing elements, and matching the configuration parameters input by the user with the labels corresponding to the planet templates is not convenient for subsequent data maintenance and expansion.

[0039] To solve the above problems, the present application designs priority and surface analysis strategy, atmospheric analysis strategy and vegetation analysis strategy, classifies planets according to surface type, atmospheric type and vegetation coverage and creates corresponding planet templates, and analyzes each configuration parameter input by the user, matches the corresponding planet template based on the surface type, atmospheric type and vegetation coverage type obtained by analysis, so that even if the user inputs a configuration parameter combination that does not conform to natural laws, a reasonable planet can be generated, for example, the user configures extremely high heat energy and extremely high fresh water, because the influence of extremely high heat energy on the surface, atmosphere and vegetation coverage of the planet is decisive, so based on the preset analysis priority and each analysis strategy, the planet topography is determined based on the configuration parameter of extremely high heat energy, and the configuration parameter of extremely high fresh water is ignored. The interference with the generation of the planet based on the spherical display device.

[0040] As an implementable manner,

[0041] The landform influencing elements include heat energy, fresh water, atmosphere, land and planet position, and the planet position is used to indicate whether the target planet is located in the habitable zone; the analysis priority is heat energy, land, atmosphere, planet position, fresh water in descending order.

[0042] As an implementable manner, the planet template further includes a terrain generation template, and the terrain generation template includes a texture map template, a first image transformation template and a second image transformation template.

[0043] The texture map template includes a first terrain texture map, a second terrain texture map and a noise texture map, wherein the first terrain texture map and the second terrain texture map are both looped texture maps, and the textures corresponding to the first terrain texture map and the second terrain texture map are different.

[0044] The first image transformation template is used to indicate the image transformation operation on the noise texture map, and includes three different transformation operations and their adjustment intervals.

[0045] The second image transformation template is used to indicate the image transformation operation on the basic grayscale image, and includes contrast adjustment and its adjustment interval, and brightness adjustment and its adjustment interval.

[0046] The specific steps of generating a planet terrain height map based on the terrain generation template are:

[0047] The random adjustment values corresponding to each transformation operation are obtained based on the adjustment interval, and the noise map is subjected to corresponding transformation operation based on the random adjustment values respectively, to obtain a first weight map, a second weight map and a third weight map.

[0048] The R channel of the first terrain map and the second terrain map is recombined based on the first weight map, to obtain a corresponding fusion R channel.

[0049] The G channel of the first terrain map and the second terrain map is recombined based on the second weight map, to obtain a corresponding fusion G channel.

[0050] The fusion R channel and the fusion G channel are recombined based on the third weight map, to obtain a corresponding base grayscale map.

[0051] The random adjustment values corresponding to contrast adjustment and brightness adjustment are obtained based on the adjustment interval, and the contrast and brightness of the base grayscale map are adjusted based on the random adjustment values, to generate a planet terrain height map.

[0052] Through the design of the terrain generation template and the terrain generation method, the generated planet terrain height map has countless possibilities, and even the repeatedly generated planets based on the same planet type are different, thereby improving the user experience.

[0053] As an implementable manner, the planet template further includes a meteor crater template, which is used to indicate:

[0054] a value range corresponding to the number of meteor craters;

[0055] a value range corresponding to a first meteor crater proportion;

[0056] a value range corresponding to a second meteor crater proportion;

[0057] a value range corresponding to a third meteor crater proportion;

[0058] wherein, the meteor craters are arranged from large to small, and the first meteor crater, the second meteor crater and the third meteor crater are arranged in sequence;

[0059] a corresponding planet ground material is generated based on the terrain configuration template, the planet terrain height map and the meteor crater template.

[0060] As an implementable manner, the planet material further includes an atmosphere material, and the planet template further includes an atmosphere configuration template, the atmosphere configuration template includes a base cloud layer template, the base cloud layer template includes a base cloud layer map and a value range of each type of cloud layer parameter, and the cloud layer parameter includes the range, the movement speed and the projection shadow intensity of the cloud layer.

[0061] The application can simulate the cloud movement dynamically and improve the user experience by configuring the template for the atmosphere.

[0062] As an implementable manner, the user interaction instruction comprises an influence element adjustment instruction, the influence element to be adjusted is taken as a target influence factor, and the influence element adjustment instruction is used for indicating the target influence factor and the configuration parameter thereof.

[0063] The step of updating the planet material based on the influence element adjustment instruction is specifically as follows:

[0064] The configuration parameter corresponding to the previous planet, the planet terrain height map and the planet material are determined.

[0065] The matching planet template is updated based on the configuration parameter corresponding to the previous planet and the configuration parameter of the target influence factor, and a target planet template is obtained.

[0066] The planet material is updated based on the planet terrain height map corresponding to the previous planet and the target planet template.

[0067] The application can convert the planetary science into popular science visual parameters by the influence element adjustment instruction and the response method thereof, and dynamically display the popular science, for example, adjusting the planet position of the planet, adjusting the planet position from the habitable zone to the non-habitable zone, at this time, the planet is transformed according to the planet template corresponding to the non-habitable zone, the user can intuitively see that the ocean of the planet disappears and the planet is covered with vegetation or not, so as to intuitively feel the influence of the planet position on the water and life on the planet.

[0068] As an implementable manner, the user interaction instruction comprises a region adjustment instruction, the planet region to be adjusted is taken as a target region, and the region adjustment instruction is used for indicating the target region and the specified terrain corresponding to the target region.

[0069] The step of updating the planet material based on the region adjustment instruction is specifically as follows:

[0070] The region to be adjusted corresponding to the planet material is determined based on the target region.

[0071] The altitude of the region to be adjusted is raised or lowered based on the altitude of the specified terrain, the topographic element of the region to be adjusted is made to correspond to the specified terrain, and then the region to be adjusted is projected.

[0072] The application can make the user freely edit the generated planet and improve the user experience by the region adjustment instruction and the response method thereof.

[0073] In a second aspect, a star generation system based on a spherical display device is provided, which is connected with an external spherical display device signal, and characterized in that it comprises the following connected with the signal:

[0074] a material acquisition module for acquiring star material to be projected;

[0075] a curved surface topology mapping correction module for spherical projection of the star material based on preset UV coordinate mapping data, generating a star based on vertical projection at the two poles and cylindrical projection at the equator;

[0076] the UV coordinate mapping data comprises the equatorial mask, the cylindrical projection and the vertical projection;

[0077] the cylindrical projection is a cylindrical projection generated by a cylindrical projection algorithm based on a preset auxiliary texture; and the auxiliary texture is a colorless procedural texture;

[0078] the vertical projection is a vertical projection generated by mapping the corresponding spherical coordinates based on the auxiliary texture, converting the obtained spherical coordinates into 3D rectangular coordinates, and remapping the obtained 3D rectangular coordinates back to a 2D texture space.

[0079] As an implementation manner, the material acquisition module is connected with an external human-computer interaction device signal, for generating corresponding star material based on user interaction instructions, and the star material comprises star surface material;

[0080] the material acquisition module comprises:

[0081] an interaction unit for receiving user interaction instructions, the user interaction instructions comprising a star creation instruction for indicating configuration parameters corresponding to each topographic influencing element;

[0082] a matching unit for acquiring a matched star template based on each configuration parameter, the star template comprising a terrain configuration template for indicating each topographic element existing in a corresponding star type, and for indicating an altitude range and a dominant color tone corresponding to each topographic element;

[0083] a surface material generation unit for acquiring a star terrain height map, and for generating corresponding star surface material based on the terrain configuration template and the star terrain height map;

[0084] a star material generation unit for determining star material based on the star surface material.

[0085] The present application has the following technical effects due to the above technical solutions:

[0086] The application reduces resource consumption and improves dynamic projection accuracy in the process of spherical projection of the planet material by designing the UV coordinate mapping data.

[0087] The objects and other advantages of the present application can be achieved and obtained by the specification, claims and drawings. BRIEF DESCRIPTION OF DRAWINGS

[0088] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0089] Figure 1 is a process schematic diagram corresponding to an implementable manner of generating a planet material in the present application;

[0090] Figure 2 is a process schematic diagram corresponding to an implementable manner of projecting a planet material in the present application;

[0091] Figure 3 is a module connection schematic diagram of a planet generation system based on a spherical display device in the present application. DETAILED DESCRIPTION

[0092] The present application will be further described in detail below in combination with embodiments. The following embodiments are an explanation of the present application and the present application is not limited to the following embodiments.

[0093] The present application proposes a planet generation method based on a spherical display device, referring to Figure 1 and Figure 2 , including generation of a planet material and spherical projection of the planet material, specifically including the following steps:

[0094] S100, interactively generating a planet material;

[0095] S110, data preparation:

[0096] S111, configuring a topography influencing element;

[0097] Basic natural resources;

[0098] In the present embodiment, the basic natural resources include atmosphere, fresh water, heat energy and land. In actual application, a user specifies the classification category (such as very high, balanced, very low) corresponding to each basic natural resource to indicate the richness of the basic natural resource, thereby controlling the generation of the corresponding planet.

[0099] Specifically:

[0100] Thermal energy is used to indicate the level of a planet's geological activity. When it is set to extremely low, the planet will be cold and lifeless; when it is set to extremely high, the planet will face violent geological events such as earthquakes and volcanoes.

[0101] Land area is used to indicate land area and will affect the ratio of land to ocean; when configured to be very high, the planet will lose its oceans and life cannot arise (it may be a rocky planet); when configured to be very low, the planet will be covered by oceans or become a gas giant (a Jovian planet or an ice giant).

[0102] The atmosphere is used to indicate the atmospheric environment. The higher the value, the heavier the main elements of the atmosphere and the more intense the atmospheric circulation. When it is set to extremely high, long-lasting and large-scale storms will occur on the planet.

[0103] Freshwater is used to indicate the abundance of freshwater on a planet. Intuitively, the more abundant the freshwater, the richer and denser the vegetation on the planet will be; when it is set to extremely low, the planet will be severely desertified.

[0104] Those skilled in the art can choose the basic natural resources that affect the planet's landform as landform influencing elements according to actual needs, and can also set the corresponding classification categories for each landform influencing element according to actual needs. This specification does not limit them.

[0105] Planetary parameters;

[0106] Planetary parameters include planetary position, which indicates whether a planet is within the habitable zone of its star system. If a planet is not within the habitable zone, water and life will not exist on that planet under any circumstances. In this embodiment, the classification categories corresponding to planetary positions include those within the habitable zone and those not within the habitable zone.

[0107] Habitable zone: describes the location of a planet in a planetary system (distance from its host star).

[0108] Those skilled in the art can set planetary parameters (such as rotation period, revolution period, magnetic declination, etc.) according to actual needs, and set the corresponding classification categories for each planetary parameter. This specification does not limit them.

[0109] S112, Planet type;

[0110] Based on the established landform influencing elements and the classification categories of each landform influencing element, planets are classified to obtain several planet types.

[0111] Specifically:

[0112] Based on the classification of elements affecting various landforms, several element combinations are obtained;

[0113] Screening out element combinations conforming to natural laws to obtain target element combinations;

[0114] Classifying the target element combinations according to the existing published planetary classification method to obtain several planet types, and taking the element combinations as labels of the corresponding planet types to facilitate template matching;

[0115] The person skilled in the art can set the corresponding planet types according to the topography influencing elements and classification categories set by him / herself, and the present specification does not limit them in detail.

[0116] Since there are element combinations not conforming to natural laws, and there are cases where the same element combination corresponds to multiple planet types, for example, gaseous planets are divided into ice giants and terrestrial planets, the scheme of taking the element combinations corresponding to the planet types as labels for label matching is prone to problems in actual use. For example, the element combinations not conforming to natural laws configured by the user cannot be matched to the appropriate planet types, and the corresponding planets cannot be generated. In addition, for the case where the same element corresponds to multiple planet types, it is difficult to reflect its probability. Based on the above problems, the planet classification is further improved;

[0117] List the planet types that can be formed by each target element combination;

[0118] Analyze the surface conditions, atmospheric conditions and vegetation conditions corresponding to each planet type to obtain the surface labels, atmospheric labels and vegetation labels corresponding to each planet type. At this time, the combination of the surface labels, atmospheric labels and vegetation labels corresponds to the planet one by one;

[0119] Pre-set the analysis priority based on the influence degree of each topography influencing element on the surface, atmosphere and vegetation from high to low. In the present embodiment, the analysis priority from high to low is heat energy, land, atmosphere, planet position and fresh water;

[0120] According to the analysis priority, the classification category of each topography influencing element and each type of surface label, construct the corresponding surface analysis strategy;

[0121] According to the analysis priority, the classification category of each topography influencing element and each type of atmospheric label, construct the corresponding atmospheric analysis strategy;

[0122] According to the analysis priority, the classification category of each topography influencing element and each type of vegetation label, construct the corresponding vegetation analysis strategy;

[0123] The person skilled in the art can construct the corresponding analysis strategy according to the analysis priority and the classification category of the corresponding topography influencing element according to the influence degree of the surface / atmosphere / vegetation coverage type, and the present specification does not limit the specific analysis strategy in detail.

[0124] The classification result of each type of strategy is single, and the classification result is taken as the corresponding type label. When the classification result is multiple, one of them is selected as the related type of the generated planet based on a preset probability. For example, for high heat energy, the surface type is analyzed to be hot surface or no surface (i.e., indicating that it is a gaseous planet) based on the surface analysis strategy. At this time, one of the surfaces is output based on a preset probability as the surface type of the generated planet.

[0125] In actual application, the categories of the user's influence elements on the landscape are analyzed by each analysis strategy, and the corresponding surface type, atmosphere type and vegetation coverage type are determined based on the obtained analysis result. The above types are matched with the labels marked by the planet type to obtain the corresponding planet type.

[0126] In this scheme, even if the user inputs an unreasonable element combination, such as high heat energy and high fresh water, due to the setting of the analysis priority, high heat energy is output as hot surface or no surface, and the subsequent low-priority and conflicting configuration of fresh water is ignored.

[0127] S133, planet template;

[0128] A planet template corresponding to each planet type is constructed in advance. The planet template is used to indicate the texture and parameter involved in generating a planet conforming to the corresponding planet type, and the value range of each parameter. The planet template of the present embodiment is not a template with fixed parameter values. It only limits the value range of each type of parameter. In the planet generation process based on the spherical display device, a random value is obtained as the corresponding parameter value based on the value range. The similarity of the generated planets based on the same planet template is low, and the user experience is improved.

[0129] The planet template includes a terrain generation template, a terrain configuration template, an atmosphere configuration template and a meteor crater template.

[0130] Terrain generation templates:

[0131] The terrain generation template includes a texture template, a first image transformation template and a second image transformation template.

[0132] The texture template includes a first terrain texture, a second terrain texture and a noise texture. The first terrain texture and the second terrain texture are both cyclic textures, and the textures corresponding to the first terrain texture and the second terrain texture are different.

[0133] The first image transformation template is used to indicate the image transformation operation on the noise texture, including three different transformation operations and their adjustment intervals. In the present embodiment, the transformation operations include adjusting the contrast, translation and scaling.

[0134] The second graph transformation template is used to indicate a graph transformation operation performed on the base grayscale graph, including contrast adjustment and an adjustment interval thereof, and brightness adjustment and an adjustment interval thereof.

[0135] In the embodiment, the star planet terrain height map is a grayscale graph, 0 (black) is set as the lowest altitude, and 1 (white) is set as the highest altitude. By adjusting the contrast and brightness of the base grayscale graph, the overall terrain can be simulated to be raised or lowered, and the proportion of different altitudes can be simulated.

[0136] In actual application, the highest altitude and the lowest altitude of the corresponding star planet can be set based on the type of the star planet, and a mapping is established based on the highest altitude, the lowest altitude, the grayscale value 1 and 0, so as to establish the mapping between the altitude and the grayscale.

[0137] Terrain configuration templates:

[0138] The terrain configuration template is used to indicate various landform elements existing in the corresponding star planet, and is also used to indicate the altitude range and the main color tone corresponding to each landform element.

[0139] In the embodiment, the altitude range is the grayscale range. For example, taking a terrestrial planet as an example, the landform includes deep sea, shallow sea, land and snow line. The deep sea corresponds to the grayscale 0-0.25, and the main color tone is dark blue. The shallow sea corresponds to the grayscale 0.25-0.5, and the main color tone is light blue. The land corresponds to the grayscale 0.5-0.75, and the main color tone is earthy brown. The snow line corresponds to the grayscale 0.75-1, and the main color tone is white.

[0140] In the embodiment, the terrain configuration template further includes a color offset parameter and a value range thereof. In the actual generation process, a small range of color offset is added to each color to simulate the subtle difference of the terrain, and finally the color of the surface terrain of the star planet is obtained.

[0141] Atmosphere configuration templates:

[0142] The atmosphere configuration template includes a base cloud layer template, and the base cloud layer template includes a base cloud layer map and a value range of various cloud layer parameters. The cloud layer parameters include the range of the cloud layer, the movement speed and the projection shadow intensity.

[0143] In the embodiment, the atmosphere configuration template further includes a special cloud layer template, and the special cloud layer template includes a corresponding special cloud layer map (such as a super storm affecting the whole world) and a UV offset.

[0144] Crater templates :

[0145] The meteor crater template is used to indicate:

[0146] a value range corresponding to the number of meteor craters;

[0147] The first crater proportion corresponds to a value range;

[0148] The second crater proportion corresponds to a value range;

[0149] The third crater proportion corresponds to a value range;

[0150] Among them, the craters are arranged from large to small, and the first crater, the second crater and the third crater are in turn.

[0151] In this embodiment, the crater is simulated by high repetition rate annular normal line, which is divided into crater bottom and annular edge normal intensity controlled separately. In actual use, the displayed crater normal is superimposed on the corresponding terrain normal.

[0152] S120, receiving and responding to user interaction instructions:

[0153] Generating corresponding planet materials based on user interaction instructions, the planet materials including planet surface materials and atmospheric materials;

[0154] The user interaction instructions include planet creation instructions, influence element adjustment instructions and region adjustment instructions;

[0155] The planet creation instruction is used to indicate the configuration parameters corresponding to each landform influence element;

[0156] Taking the landform influence element to be adjusted as the target influence factor, the influence element adjustment instruction is used to indicate the target influence factor and its configuration parameter;

[0157] Taking the planet region to be adjusted as the target region, the region adjustment instruction is used to indicate the target region and the specified terrain corresponding to the target region.

[0158] S121, generating planet materials based on planet creation instructions;

[0159] Referring to Figure 1 , the specific steps are:

[0160] A10, obtaining a matched planet template based on each configuration parameter;

[0161] In this embodiment, the corresponding planet surface type is obtained based on each configuration parameter and a preset surface analysis strategy; the corresponding atmospheric type is obtained based on each configuration parameter and a preset atmospheric analysis strategy; the corresponding vegetation coverage type is obtained based on each configuration parameter and a preset vegetation analysis strategy; the matched planet template is obtained based on the planet surface type, the atmospheric type and the vegetation coverage type.

[0162] A20, generating a corresponding planet terrain height map based on the terrain in the template:

[0163] obtain a first terrain map, a second terrain map and a noise map according to the terrain generation template;

[0164] obtain a first weight map, a second weight map and a third weight map by performing corresponding transformation operations on the noise map according to the random adjustment values;

[0165] recombine R channels of the first terrain map and the second terrain map based on the first weight map to obtain a corresponding fusion R channel, specifically, associate the R channel of the first terrain map to the input a of lerp, associate the R channel of the second terrain map to the input b of lerp, connect the first weight map to the alpha input of lerp, and take the output of lerp as the corresponding fusion R channel;

[0166] recombine G channels of the first terrain map and the second terrain map based on the second weight map to obtain a corresponding fusion G channel, specifically, associate the G channel of the first terrain map to the input a of lerp, associate the G channel of the second terrain map to the input b of lerp, connect the second weight map to the alpha input of lerp, and take the output of lerp as the corresponding fusion G channel;

[0167] recombine the fusion R channel and the fusion G channel based on the third weight map to obtain a base grayscale map, specifically, associate the fusion R channel to the input a of lerp, associate the fusion G channel to the input b of lerp, connect the third weight map to the alpha input of lerp, and take the output of lerp as the corresponding base grayscale map;

[0168] The lerp in this embodiment specifically refers to a linear interpolation tool disclosed in the prior art.

[0169] randomly adjust the contrast and brightness of the base grayscale map according to the adjustment interval preset in the terrain generation template to generate a corresponding planet terrain height map.

[0170] A30、based on the terrain configuration template in the planet template and the planet terrain height map, generate a corresponding planet ground material;

[0171] split the planet terrain height map based on the elevation range of each landform in the terrain configuration template, color the split terrain based on the dominant color of each landform in the terrain configuration template, and add color offset to obtain a corresponding base ground map.

[0172] In actual application, after obtaining the base ground map, a corresponding ground normal map is made, and the specific steps are as follows:

[0173] Shift the base ground map to the left by n1 pixels (n1 is an adjustable parameter) and subtract the base ground map to convert into R channel;

[0174] Shift the base ground map to the down by n2 pixels (n2 is an adjustable parameter) and subtract the base ground map to convert into G channel;

[0175] Set the value of B channel as 1;

[0176] Obtain the corresponding normal map, and perform dot operation between the normal map and the main light direction to realize the simulation of the detail normal shadow of the planet terrain; the intensity and range of the shadow are adjustable parameters to achieve the purpose of enriching the details of the planet terrain.

[0177] When the planet has a meteor crater, generate a corresponding meteor crater based on the meteor crater template in the corresponding planet template and superimpose it on the base ground map, and generate a corresponding planet ground material based on the preset rotation speed, i.e., the planet ground material is a video material;

[0178] Since the effects of meteor craters on the ground of different planets are completely different, some planets have few or even no meteor craters; therefore, the meteor crater effect needs to be simulated using a high-repetition annular normal, which is split into a crater bottom and an annular edge normal intensity for separate control, and finally the meteor crater normal is superimposed on the terrain normal.

[0179] In actual application, all superimposed normals are converted into world coordinate space normal mode, re-performed dot operation with the main light direction to correct the light direction error caused by the normal space, and the highlight intensity of the planet is set according to the main tone corresponding to each landform indicated by the terrain configuration template to realize different highlight reflection intensities for different landforms, such as high highlight reflection for sea surface and low highlight reflection for mud.

[0180] A40、Based on the atmosphere configuration template in the planet template, generate a corresponding atmosphere material;

[0181] Based on the base cloud layer template configured in the atmosphere configuration template, generate random parameter values of various cloud layer parameters, and generate a corresponding base cloud layer material based on the random parameter values and the corresponding base cloud layer map;

[0182] When the special cloud layer template is configured in the atmosphere configuration template, generate a corresponding UV offset value based on the preset value range, and generate a corresponding special cloud layer material based on the UV offset value and the corresponding special cloud layer map;

[0183] Based on the base cloud layer material and / or special cloud layer material, construct the atmosphere material, and since there is a motion speed, i.e., UV offset, the generated atmosphere material is also a dynamic video material.

[0184] A50, generating the corresponding planet material based on the planet surface material and the atmosphere material.

[0185] S122, updating the planet material based on the influence element adjustment instruction, and the specific steps are as follows:

[0186] As an implementable manner, the corresponding planet template is matched based on the updated configuration parameter directly, and the planet material is regenerated based on the planet template, for example, the planet position is changed from being located in the habitable zone to not being located in the habitable zone, at this time, the corresponding planet without vegetation coverage is regenerated according to the newly matched planet template.

[0187] As another implementable manner, the corresponding planet is regenerated based on the previous planet according to the newly matched planet template, that is, the corresponding planet is generated based on the reserved base terrain, and the specific steps are as follows:

[0188] determining the configuration parameter, the planet terrain height map and the planet material corresponding to the previous planet;

[0189] updating the matched planet template based on the configuration parameter of the previous planet and the configuration parameter of the target influence factor, that is, matching the corresponding planet template based on the updated configuration parameter, and those skilled in the art can perform re-matching based on the updated configuration parameter according to the matching scheme described above, and can also reserve the analysis result of the influence priority higher than the target influence factor in the previous analysis process based on the influence priority corresponding to the target influence factor.

[0190] updating the planet material based on the planet terrain height map corresponding to the previous planet and the target planet template;

[0191] that is, the planet terrain height map is divided, colored and the like according to the terrain configuration template in the target planet template, so as to obtain the corresponding base surface map;

[0192] superimposing the corresponding meteorite craters according to the meteorite crater template in the target planet template.

[0193] superimposing the corresponding atmosphere material according to the atmosphere configuration template in the target planet template.

[0194] In this embodiment, the previous planet is transitioned to the newly generated planet by using the picture superimposition manner.

[0195] S123, the steps of updating the planet material based on the region adjustment instruction are as follows:

[0196] determining the corresponding region to be adjusted of the planet material based on the target region, that is, the region to be adjusted corresponding to the planet surface material;

[0197] Lifting or lowering the elevation of the to-be-adjusted region based on the elevation corresponding to the specified terrain, and projecting the to-be-adjusted region after the topographic elements of the to-be-adjusted region correspond to the specified terrain.

[0198] S200, performing spherical projection on the star material based on preset UV coordinate mapping data;

[0199] In this embodiment, each video frame of the star material is sampled and projected in sequence based on preset UV coordinate mapping data;

[0200] Referring to Figure 2 , the specific steps are as follows:

[0201] S210, constructing UV coordinate mapping data;

[0202] The two poles of the UV coordinate mapping data use vertical projection, and the equator uses cylindrical projection;

[0203] The specific construction steps are as follows:

[0204] S211, creating an auxiliary texture;

[0205] The auxiliary texture is a colorless step program texture with an R channel from left to right 0-1 and a B channel from top to bottom 0-1;

[0206] S212, based on the auxiliary texture, generating corresponding cylindrical projection, i.e., first UV, through a cylindrical projection algorithm;

[0207] The cylindrical projection is correct at the equator, but there is distortion and distortion at the two poles;

[0208] S213, obtaining corresponding spherical coordinates based on the auxiliary texture mapping;

[0209] In this embodiment, the auxiliary texture is directly used as UV input, lon=UV.x*2π is used to map the U channel from 0-1 to 0-2π radians as a longitude coordinate covering 360 degrees, and lat=(UV.y-0.5)*π is used to map the V channel to -π / 2 to π / 2 radians as a latitude from the South Pole to the North Pole;

[0210] S214, converting the obtained spherical coordinates into 3D rectangular coordinates (x, y, z);

[0211] The conversion formula is

[0212] x=cos(lat)*cos(lon);

[0213] y=cos(lat)*sin(lon);

[0214] z=sin(lat);

[0215] S215, remap the obtained 3D rectangular coordinates back to the 2D texture space to generate a corresponding vertical projection, i.e., a second UV;

[0216] The vertical projection is correct at the two poles, but there is stretching at the equator;

[0217] In this embodiment, the x of the obtained 3D rectangular coordinates is input into the R channel, the y is input into the G channel, and the z is input into the B channel to generate a corresponding color texture. The R and G channels of the obtained color texture are used as the corresponding projection UV, and the B channel describes the 0-1 transition of the north and south poles. Finally, using float3original=(pos+1.0)*0.5, the coordinates are remapped from the range of -1 to 1 to the range of 0-1, where pos represents the point corresponding to the 3D rectangular coordinates.

[0218] S216, determine an equatorial mask;

[0219] Based on the above, it is known that the B channel describes the 0-1 transition of the north and south poles. Those skilled in the art can construct an equatorial mask through the B channel according to actual needs, such as creating an equatorial mask based on a preset equatorial region;

[0220] In this embodiment, the stretching region of the vertical projection at the equator is identified, and the equatorial mask is created based on the identification result;

[0221] The identification of the stretching region corresponding to the projection UA is a prior art, so it will not be described in detail here.

[0222] S217, generate corresponding UV coordinate mapping data based on the equatorial mask, the cylindrical projection, and the vertical projection.

[0223] S220, sample and project each video frame of the planet material;

[0224] In this embodiment, the video frame is sampled based on the vertical projection to obtain polar mapping data;

[0225] Based on the cylindrical projection and the equatorial mask, the region corresponding to the equatorial mask in the video frame is adopted, and the equatorial mapping data is obtained by adoption;

[0226] Superimpose the equatorial mapping data on the polar mapping data.

[0227] The embodiment is based on a UE native TexCoord node (texture coordinate node), and projection of the generated planet material can be completed through simple mathematical calculation, with extremely small consumption and extremely high precision, without color steps. Compared with the existing projection scheme, the speed of mapping can be greatly improved to reach the level of real-time rendering. The projection scheme proposed in the embodiment can also accurately retrieve latitude and longitude, and the user can modify the terrain of a local area of the planet. The projection method can also solve the problem of the joint of the spherical screen projection, achieving the effect of seamless mapping. Finally, the projection method does not have random factors, can minimize the uncertainty in the projection process, and the stability and accuracy of the display effect are only related to the hardware configuration of the device.

[0228] In the current scene of planet display based on a spherical screen, on the one hand, the planet material needs to be manually calibrated when projected onto the spherical screen, and the dynamic content mapping efficiency is low and prone to distortion, which is not convenient for user interaction. On the other hand, the planet material takes a long time to make and cannot respond to user interaction requests in real time. Therefore, in view of the defects that cannot dynamically respond to user interaction, the content is fixed and the material update cost is high, the current spherical screen only displays fixed planets and does not support user interaction.

[0229] The embodiment can compensate for real-time distortion of the planet material to be projected in real time through the design of UV coordinate mapping data and specific projection methods, so as to project the planet material onto the physical spherical screen in real time and without distortion, and provide a technical basis for responding to user interaction.

[0230] The embodiment can also quickly respond to user interaction instructions to generate corresponding planets, meet the user's interaction needs of creating planets and dynamically adjusting planets, and realize dynamic popularization of planetary science in the process of creating planets and adjusting planets based on the topographic influence elements.

[0231] Compared with the prior art, the prior art needs to be pre-rendered based on a CPU cluster, and the end-to-end delay is 2-5 minutes. The embodiment is based on a single GPU for distributed ray tracing rendering, and the end-to-end delay is not higher than 800 ms. In the prior art, the material to be projected is calibrated statically, and the error is greater than 5%. In the embodiment, real-time distortion compensation is performed based on UV coordinate mapping data, and the corresponding error can be as low as 0.5%. For video material, the prior art needs to pre-record video playback, and the frame rate stability is only 30 fps. The frame rate stability of the embodiment is greater than or equal to 90 fps, can generate real-time rendering in real time, and the smoothness is improved by 3 times.

[0232] The application also proposes a planet generation system based on a spherical display device, which is described with reference to Figure 3 The planet generation system is connected to an external spherical display device signal, and the planet generation system comprises signals connected to:

[0233] The material acquisition module is configured to acquire a planet material to be projected, the planet material being a rectangular material, and the planet material can be a static picture material or a dynamic video material. When the planet material is a video material, video frames are projected in time sequence;

[0234] The curved surface topology mapping correction module is configured to perform spherical projection on the planet material based on preset UV coordinate mapping data, to generate a planet with poles based on vertical projection and equator based on cylindrical projection.

[0235] The UV coordinate mapping data includes the equator mask, the cylindrical projection, and the vertical projection.

[0236] The cylindrical projection is a cylindrical projection generated by a cylindrical projection algorithm based on a preset auxiliary texture, and the auxiliary texture is a colorless procedural texture.

[0237] The vertical projection is a vertical projection generated by mapping a corresponding spherical coordinate based on the auxiliary texture, converting the obtained spherical coordinate into 3D rectangular coordinates, and remapping the obtained 3D rectangular coordinates back to a 2D texture space.

[0238] Specifically,

[0239] The curved surface topology mapping correction module is configured to sample the corresponding planet material based on the vertical projection to obtain polar mapping data.

[0240] The cylindrical projection is a cylindrical projection generated by a cylindrical projection algorithm based on a preset auxiliary texture, and the auxiliary texture is a colorless procedural texture.

[0241] The equator mapping data is superimposed on the polar mapping data through the equator template, that is, the equator mapping data corresponding to the equator mask is superimposed on the polar mapping data.

[0242] Specifically, the material acquisition module is connected to an external human-computer interaction device signal, and is configured to generate corresponding planet material based on user interaction instructions, the planet material including planet surface material.

[0243] The material acquisition module includes:

[0244] The interaction unit is configured to receive user interaction instructions, the user interaction instructions including planet creation instructions, and the planet creation instructions being configured to indicate configuration parameters corresponding to each topographic influencing element.

[0245] The matching unit is configured to obtain a matched planet template based on the configuration parameters, the planet template comprising a terrain configuration template configured to indicate various landform elements existing in a corresponding planet type, and configured to indicate an altitude range and a main color tone corresponding to each landform element.

[0246] The ground material generation unit is configured to obtain a planet terrain height map, and generate corresponding planet ground material based on the terrain configuration template and the planet terrain height map.

[0247] The planet material generation unit is configured to determine planet material based on the planet ground material.

[0248] The material obtaining module further comprises an atmosphere material generation unit.

[0249] The atmosphere material generation unit is configured to generate corresponding atmosphere material based on an atmosphere configuration template in the planet template.

[0250] The planet material generation unit is configured to determine planet material based on the planet ground material and the atmosphere material.

[0251] For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the related parts are described in the part of the method embodiment.

[0252] Each embodiment in the specification is described in a progressive manner, and each embodiment focuses on the difference from other embodiments. The same and similar parts between the embodiments can be referred to each other.

[0253] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a device, or a computer program product. Therefore, the present application can be in the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can be in the form of a computer program product implemented on one or more computer usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.

[0254] The present application is described with reference to flowcharts and / or block diagrams of the method, terminal device (system), and computer program product according to the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of the flows and / or blocks in the flowcharts and / or block diagrams can be realized by computer program instructions. These computer program instructions can be provided to 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 computer or other programmable data processing terminal device produce a machine that implements the flowcharts and / or block diagrams. Figure Oneone or more processes and / or blocks Figure One an apparatus for performing the functions specified in the one or more blocks

[0255] These computer program instructions can also be stored in a computer- readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the Figure One one or more processes and / or blocks Figure One an apparatus for performing the functions specified in the one or more blocks

[0256] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the Figure One one or more processes and / or blocks Figure One an apparatus for performing the functions specified in the one or more blocks

[0257] It is to be understood that:

[0258] The phrase "one embodiment" or "an embodiment" as used throughout this specification means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. The appearances of the phrase "one embodiment" or "an embodiment" in various places throughout the specification are not necessarily all referring to the same embodiment.

[0259] Although preferred embodiments of the application have been described, those skilled in the art will recognize that additional modifications and variations are possible in light of the above teachings. It is therefore intended that the appended claims be interpreted as including all such modifications and variations as fall within the scope of the application.

[0260] In addition, it should be noted that the specific embodiments described in the specification, the shape of the components, the names used, etc. can be different. Any equivalent or simple change made in accordance with the structure, features and principles described in the patent concept of the present application is included in the protection scope of the present application. Those skilled in the art can make various modifications or supplements to the specific embodiments described or use similar ways to replace, as long as they do not deviate from the structure of the present application or exceed the scope defined by the claims. It shall belong to the protection scope of the present application.

Claims

1. A method for generating a starry sky based on a spherical display device, characterized in that, The method comprises the following steps: Obtaining a planet material to be projected; Based on the preset UV coordinate mapping data, the planet material is projected on a spherical surface to generate a planet with polar vertical projection and equatorial cylindrical projection; The UV coordinate mapping data is obtained in the following manner: Creating a colorless procedural texture as an auxiliary texture; Based on the auxiliary texture, a corresponding cylindrical projection is generated through a cylindrical projection algorithm; Based on the auxiliary texture mapping, corresponding spherical coordinates are obtained; The obtained spherical coordinates are converted into 3D rectangular coordinates; The obtained 3D rectangular coordinates are remapped to a 2D texture space to generate a corresponding vertical projection; An equatorial mask is determined; Based on the equatorial mask, the cylindrical projection, and the vertical projection, corresponding UV coordinate mapping data is generated; The manner in which each video frame of the planet material is sampled and projected is as follows: Based on the vertical projection, polar mapping data is obtained by sampling the video frame; Based on the cylindrical projection and the equatorial mask, the equatorial mapping data is obtained by sampling the area of the video frame corresponding to the equatorial mask; The equatorial mapping data is superimposed on the polar mapping data; Based on a user interaction instruction, a corresponding planet material is generated, and the planet material includes planet surface material; The user interaction instruction includes a planet creation instruction, which is used to indicate the configuration parameters corresponding to each topographic influence element; The steps of generating planet surface material based on the planet creation instruction are as follows: Based on each configuration parameter, a matching planet template is obtained, which includes a terrain configuration template used to indicate each topographic element present in the corresponding planet type and to indicate the altitude range and dominant color tone corresponding to each topographic element; A planet terrain height map is obtained; Based on the terrain configuration template and the planet terrain height map, corresponding planet surface material is generated; Based on the planet surface material, planet material is determined.

2. The method of claim 1, wherein the method further comprises: The specific steps of obtaining a matching planet template based on each configuration parameter are as follows: A surface analysis strategy, an atmosphere analysis strategy, and a vegetation analysis strategy are constructed in advance based on the analysis priority of topographic influence elements; Based on each configuration parameter and the surface analysis strategy, a corresponding planet surface type is obtained by analysis; Based on each configuration parameter and the atmosphere analysis strategy, a corresponding atmosphere type is obtained by analysis; Based on each configuration parameter and the vegetation analysis strategy, a corresponding vegetation coverage type is obtained by analysis; Based on the planet surface type, the atmosphere type, and the vegetation coverage type, a matching planet template is obtained.

3. The planet generation method based on the spherical display device according to claim 2, wherein: The topographic influence elements include heat energy, fresh water, atmosphere, land, and planet position, and the planet position is used to indicate whether the target planet is located in the habitable zone; the analysis priority is heat energy, land, atmosphere, planet position, and fresh water in descending order.

4. The method of claim 1, wherein the method further comprises: The planet template further includes a terrain generation template, and the terrain generation template includes a texture template, a first image transformation template, and a second image transformation template. The map template comprises a first terrain map, a second terrain map and a noise map, wherein the first terrain map and the second terrain map are both cyclic maps, and the first terrain map and the second terrain map correspond to different textures; The first graph transformation template is used to indicate graph transformation operations performed on the noise map, and comprises three different transformation operations and their adjustment intervals; The second graph transformation template is used to indicate graph transformation operations performed on the basic grayscale map, and comprises contrast adjustment and its adjustment interval, and brightness adjustment and its adjustment interval; The specific steps of generating a planet terrain height map based on the terrain generation template are as follows: Random adjustment values corresponding to each transformation operation are obtained based on the adjustment intervals, and the noise map is subjected to corresponding transformation operations based on the random adjustment values to obtain a first weight map, a second weight map and a third weight map; A corresponding fusion R channel is obtained by recombining the R channels of the first terrain map and the second terrain map based on the first weight map; A corresponding fusion G channel is obtained by recombining the G channels of the first terrain map and the second terrain map based on the second weight map; A corresponding basic grayscale map is obtained by recombining the fusion R channel and the fusion G channel based on the third weight map; Random adjustment values corresponding to contrast adjustment and brightness adjustment are obtained based on the adjustment intervals, and the contrast and brightness of the basic grayscale map are adjusted based on the random adjustment values to generate a planet terrain height map.

5. The method of claim 1, wherein the method further comprises: The planet template further comprises a crater template, and the crater template is used to indicate: a value range corresponding to the number of craters; a value range corresponding to the first crater proportion; a value range corresponding to the second crater proportion; a value range corresponding to the third crater proportion; wherein the craters are arranged in descending order, and the first crater, the second crater and the third crater are arranged in turn; A corresponding planet surface material is generated based on the terrain configuration template, the planet terrain height map and the crater template.

6. The method of claim 2, wherein the method further comprises: The planet material further comprises an atmosphere material, and the planet template further comprises an atmosphere configuration template, wherein the atmosphere configuration template comprises a basic cloud layer template, and the basic cloud layer template comprises a basic cloud layer map and value ranges of various cloud layer parameters, and the cloud layer parameters comprise the range, movement speed and shadow projection intensity of the cloud layer.

7. The method of claim 1 to 6, wherein the method further comprises: The user interaction instruction comprises an influence element adjustment instruction, and a topographic influence element to be adjusted is taken as a target influence factor, and the influence element adjustment instruction is used to indicate the target influence factor and its configuration parameters; The steps of updating the planet material based on the influence element adjustment instruction are as follows: configuration parameters, a planet terrain height map and a planet material corresponding to a previous planet are determined; a target planet template is obtained by updating a matching planet template based on the configuration parameters of the previous planet and the configuration parameters of the target influence factor; the planet material is updated based on the planet terrain height map corresponding to the previous planet and the target planet template.

8. The method of claim 1 to 6, wherein, The user interaction instruction comprises a region adjustment instruction, and a planet region to be adjusted is taken as a target region, and the region adjustment instruction is used to indicate the target region and a specified terrain corresponding to the target region; The step of updating the planet material based on the region adjustment instruction specifically comprises: determining a to-be-adjusted region corresponding to the planet material based on the target region; raising or lowering the altitude of the to-be-adjusted region based on the altitude corresponding to the specified terrain, so that the topographic elements of the to-be-adjusted region correspond to the specified terrain, and then projecting the to-be-adjusted region.

9. A star sphere generation system based on a spherical display device, connected to an external spherical display device signal, characterized in that, comprising a signal connection: a material acquisition module configured to acquire a planet material to be projected; a curved surface topology mapping correction module configured to perform spherical projection on the planet material based on preset UV coordinate mapping data, to generate a planet based on vertical projection at the two poles and cylindrical projection at the equator; the UV coordinate mapping data comprises an equatorial mask, the cylindrical projection, and the vertical projection; the cylindrical projection is generated by a cylindrical projection algorithm based on a preset auxiliary texture, and the auxiliary texture is a colorless procedural texture; the vertical projection is generated by mapping a corresponding spherical coordinate based on the auxiliary texture, converting the obtained spherical coordinate into 3D rectangular coordinates, and remapping the obtained 3D rectangular coordinates back to a 2D texture space; the curved surface topology mapping correction module is configured to sample and project each video frame of the planet material, specifically: sampling the video frame based on the vertical projection to obtain polar mapping data; sampling the area corresponding to the equatorial mask in the video frame based on the cylindrical projection and the equatorial mask to obtain equatorial mapping data; superimposing the equatorial mapping data on the polar mapping data; the material acquisition module is connected to an external human-computer interaction device via a signal, and is configured to generate corresponding planet material based on user interaction instructions, wherein the planet material comprises planet surface material; the material acquisition module comprises: an interaction unit configured to receive user interaction instructions, wherein the user interaction instructions comprise planet creation instructions, and the planet creation instructions are used to indicate configuration parameters corresponding to each topographic influencing element; a matching unit configured to acquire a matched planet template based on each configuration parameter, wherein the planet template comprises a terrain configuration template, and the terrain configuration template is used to indicate each topographic element present in a corresponding planet type, and is also used to indicate an altitude range and a dominant color tone corresponding to each topographic element; a surface material generation unit configured to acquire a planet terrain height map, and also configured to generate corresponding planet surface material based on the terrain configuration template and the planet terrain height map; a planet material generation unit configured to determine planet material based on the planet surface material.

Citation Information

Patent Citations

  • Equidistant cylindrical projection panoramic video pixel redistribution method and system

    CN111091491A

  • Method and system for omnidirectional environmental projection with Single Projector and Single Spherical Mirror

    KR1020170030926A