Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a three-dimensional map implementation method based on data visualization, which can convert a map into a three-dimensional map in a visualization large screen and can make the position become a three-dimensional bulge by clicking different positions, thereby being convenient for obviously showing detailed information of a certain position.
The specific scheme provided by the invention is as follows:
acquiring a map contour, determining the pixel size of an obtained map picture, setting the plane size of the map, setting the plane direction as a-Z direction, determining a map contour spline, adjusting and extruding each map model in the map through the spline, selecting the extruded map model, and generating a corresponding target file;
and setting display parameters of the target file by using a video clip design tool, and selecting a map display position corresponding to the target file for display.
Preferably, the data visualization-based three-dimensional map implementation method uses a C4D tool to make a data visualization three-dimensional map.
Preferably, the data visualization-based three-dimensional map implementation method utilizes an AE tool to perform data visualization three-dimensional map display.
Preferably, in the data visualization-based three-dimensional map implementation method, a material ball is newly built by using a C4D tool, the plane size of the map is set to be a multiple of the size of the original map picture, and the display effect is enhanced.
Preferably, in the data visualization-based three-dimensional map implementation method, a C4D tool is used to draw a spline on the map contour through a brush, and the point difference modes of the spline are adjusted to be uniform.
Preferably, in the data visualization-based three-dimensional map implementation method, the C4D tool is used to select the squeezed map model, and the map model is generated as an obj object file.
Preferably, the three-dimensional map implementation method based on data visualization uses an AE tool to import a target file, set transformation parameters and material parameters, and set a presentation effect.
The three-dimensional map implementation system based on data visualization comprises a creation module and a display module, wherein the creation module utilizes a three-dimensional design tool to manufacture a data visualization three-dimensional map, namely, a map contour is obtained, the pixel size of the obtained map picture is determined, the plane size of the map is set, the plane direction is set to be a-Z direction, a map contour spline is determined, each map model in the map is adjusted and extruded through the spline, the extruded map model is selected, and a corresponding target file is generated;
the display module utilizes a video clip design tool to set display parameters of the target file and selects a map display position corresponding to the target file for display.
The invention has the advantages that:
the invention provides a three-dimensional map implementation method based on data visualization, which is characterized in that a three-dimensional design tool is used for manufacturing a data visualization three-dimensional map, and the data visualization three-dimensional map is displayed through a video editing design tool, so that the problems of poor display substitution feeling of a plane map and the like in various large screens needing to display the map can be solved.
Detailed Description
The present invention is further described below in conjunction with the following figures and specific examples so that those skilled in the art may better understand the present invention and practice it, but the examples are not intended to limit the present invention.
The invention provides a data visualization-based three-dimensional map implementation method, which utilizes a three-dimensional design tool to manufacture a data visualization three-dimensional map, namely, acquiring a map contour, determining the pixel size of an acquired map picture, setting the plane size of the map, setting the plane direction as a-Z direction, determining a map contour spline, adjusting and extruding each map model in the map through the spline, selecting the extruded map model, and generating a corresponding target file;
and setting display parameters of the target file by using a video clip design tool, and selecting a map display position corresponding to the target file for display.
According to the method, the data visualization three-dimensional map is manufactured by using the three-dimensional design tool, and is displayed by using the video editing design tool, so that the problems of poor display substitution feeling of the plane map and the like in various large screens needing to display the map can be solved.
In particular applications, the process in some embodiments of the method of the invention is as follows:
s1: a planar graph of a three-dimensional map to be made is selected, and a required map can be downloaded through Baidu encyclopedia search or http:// datav. The pixel size of the obtained picture is determined, taking the map of china as an example, the size of the pixel size is 1028 × 1028 px.
S2: with the C4D tool "create object-plane", set the plane size to the same physical dimensions as the picture size described above, where cm corresponds to px, as long as the scale is correct, and set the direction of the plane to the-Z direction, otherwise no adjustment is required.
S3: and (3) newly building a material ball, loading a map outline picture before loading at a 'material editor-color-texture' position, and setting the size to be 2-3 times of the size of the original picture at the 'material editor-editing-texture preview size' position, so that the preview effect picture becomes clearer.
S4: in the "middle view-space-front view", a plan view is selected instead of a perspective view. Select "create spline-brush" (just like the pen tool in PS), draw the map outline out of the spline with the brush. And meanwhile, the point difference value mode of the spline is adjusted to be uniform, so that the problem of the model when the material is added in the later period is prevented.
S5: adding 'creating-generating-extruding' to the selected sample strip, adjusting the extrusion width 'object-moving' to be 60cm, simultaneously selecting 'capping-type-quadrilateral', checking a standard grid, and setting the width to be 8 cm.
S6: and selecting the squeezed map model, clicking the middle of the mouse to select all layers, and changing the map model into an editable object by 'right mouse button-connecting object + deleting'. Select "File-export-Wavefront OBJ" and generate the map model as a target file for OBJ.
S7: after the steps are completed, the map three-dimensional modeling can be manufactured and completed in C4D. Other provinces and city maps can be sequentially manufactured through the steps.
S8: the AE tool is opened, new-solid layer-effect-Video copy-Element, and E3D effect is newly created. The settings page Scene interface Scene Setup is entered in the E3D plug-in.
S9: importing the obj file generated by us by using C4D, and setting as follows:
the nationwide map and provinces are classified into different groups,
changing-the direction (90 degrees, 180 degrees, 0 degrees),
transformation-ratio (60%, 60%, 60%),
material-basic set-color (#000), diffusion 1.0, ambient 1.0, gloss 100%,
material-reflectivity-strength of 0,
material-refractive index-intensity 0,
texture-illumination-color (# OABCFF), intensity-300%, fresnel offset 1.49.
S10: the method comprises the following steps of building a new solid layer, creating an effect, Video coding, Saber and selecting a pen tool, and drawing the appearance of a map, the boundary line of a city and the outline. The Saber attributes are set for the outer contour color #005AFF and the inner contour province color # E2C 136. Adjusting the light emitting property: the Glow Intensity was 20%, Glow Spread was 0.28, Glow Bias was 0.40, and Core Size was 1.00.
S11: adding a province elevation effect 'Element-group 1-particle copy-position Y', and adding a key frame animation to the position to enable the province to be elevated at a specific time; adding camera animation, "Transform-Position," adds keyframe animation to the Position attribute so that when a certain province is selected, the shot will have a pull-in effect.
When the method is implemented, after the map contour model is obtained, the contour line is redrawn in the C4D, excessive turning points and brush pen handle adjustment are reduced as much as possible in the drawing process, and the line has no redundant points. And modifying the line point difference mode to enable points on the line to be uniformly distributed, so as to prepare for next extrusion.
After the lines are extruded, the upper and lower caps of the extrusion model have no subdivision lines, and when the model type is changed into a quadrilateral and standard grid, the skeleton with grid lines added to the upper and lower caps of the model is equivalent to generate a model capable of being exported.
After the obj model is available, the existing obj model is introduced by adding the E3D effect to the solid layer in AE, and the texture is adjusted to complete the creation in E3D. And simultaneously, a Saber light effect is added through another solid layer, and the outline of the rotated model is drawn. And after the model is manufactured, adding keyframe animation, adjusting the position of a camera, and finally exporting a three-dimensional map to be applied to a large visual screen.
The three-dimensional map manufactured by the steps can be applied to various large screens needing to display the map, the three-dimensional map is convenient to modify, and after parameters are set, the map is changed only by replacing obj. For designers familiar with the design tool, the method can be used for realizing the through-fusion, modifying the color scheme and matching data visualization large screens with different styles.
For design enthusiasts and even front-end developers, the three-dimensional map meeting the requirements can be manufactured through the steps of the method.
The invention also provides a three-dimensional map implementation system based on data visualization, which comprises a creation module and a display module, wherein the creation module utilizes a three-dimensional design tool to manufacture a data visualization three-dimensional map, acquires a map contour, determines the pixel size of an acquired map picture, sets the plane size of the map, sets the plane direction as a-Z direction, determines a map contour spline, adjusts and extrudes each map model in the map through the spline, selects the extruded map model, and generates a corresponding target file;
the display module utilizes a video clip design tool to set display parameters of the target file and selects a map display position corresponding to the target file for display.
The information interaction, execution process and other contents between the modules in the system are based on the same concept as the method embodiment of the present invention, and specific contents can be referred to the description in the method embodiment of the present invention, and are not described herein again.
It should be noted that not all steps and modules in the above flows and system structure diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or some components in a plurality of independent devices may be implemented together.
The above-mentioned embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitution or change made by the technical personnel in the technical field on the basis of the invention is all within the protection scope of the invention. The protection scope of the invention is subject to the claims.