CN106600699A - 3D model fast generation method - Google Patents

3D model fast generation method Download PDF

Info

Publication number
CN106600699A
CN106600699A CN201611175151.6A CN201611175151A CN106600699A CN 106600699 A CN106600699 A CN 106600699A CN 201611175151 A CN201611175151 A CN 201611175151A CN 106600699 A CN106600699 A CN 106600699A
Authority
CN
China
Prior art keywords
points
setting
point
vector
path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201611175151.6A
Other languages
Chinese (zh)
Inventor
沈育龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Junqian Information Technology Co Ltd
Original Assignee
Chengdu Junqian Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Junqian Information Technology Co Ltd filed Critical Chengdu Junqian Information Technology Co Ltd
Priority to CN201611175151.6A priority Critical patent/CN106600699A/en
Publication of CN106600699A publication Critical patent/CN106600699A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/30Polynomial surface description

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Physics (AREA)
  • Mathematical Analysis (AREA)
  • Algebra (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to a 3D model fast generation method. According to the 3D model fast generation method, a lofting section and a lofting route are set; model data are generated according to a certain rule, wherein the model data include a 3D lofting point, a normal information and the vertical value and horizontal value of mapping coordinates, wherein the vertical value is represented by v, and the horizontal value is represented by u; and an usable 3D model is generated with one step. The 3D model fast generation method has the advantages of flexible modeling and one-step modeling. According to the 3D model fast generation method, normal smoothing and mapping coordinate generation are completed simultaneously, and a 3D model satisfying effect requirements can be generated without subsequent model processing required.

Description

A kind of 3D models rapid generation
Technical field
The present invention relates to 3D moulding domain model is generated calculate, specifically, it is related to a kind of 3D models rapid generation.
Background technology
In 3D fields, it is often necessary to build model for showing.Shortcoming is compared in the research in the country field at present, conventional 3D models use loft setting out method, and such method can be only generated 3D layout points, and no pinup picture uv is calculated and normal meter Calculate, can be only generated white model, especially illumination dash area is missing from such 3D models in display effect, it is impossible to directly expire The effect requirements of the present 3D models of foot, in addition it is also necessary to carry out follow-up pinup picture and normal is processed, in-convenience in use.
The content of the invention
In order to solve the above problems, the present invention provides a kind of moulding flexibly one-time formed 3D models rapid generation.
A kind of 3D models rapid generation of the present invention, comprises the steps:
A series of 3D points of s1, the initial lofter path of setting composition, each 3D point represent lofter path point, while specifying Setting-out on each 3D point cuts flat with surface information;The setting-out incisal plane information of every 3D points include the incisal plane X-axis vector, The corresponding 3D points of Z axis vector and the incisal plane that Y-axis vector, the X-axis vector Y-axis vector multiplication cross are obtained corresponding are put Line-transect;
S2, the lofter path constituted according to the 3D points specified and the corresponding incisal plane X-axis of every 3D points, Y-axis vector, calculate Go out the space plane information in each corresponding setting-out incisal plane of 3D points;
S3, according to the setting-out result points in the actual 3d space of the corresponding setting-out line computation of every 3D points, and according in front and back 3D The position relationship of point, calculates the tangent line vector of before and after 3D points;If current calculating point is identical with front point, tangent line vector is designated as 0 vector, tangent line vector will merge in front and back, meanwhile, according to starting point to the current continuous line segment for calculating point be converted into mapping coordinates U values;
The sequencing of s4, the lofter path constituted according to specified 3D layout points, calculates each setting-out incisal plane 3D setting-out result points information arrangements get up, chain is picked up the setting-out result points generated two neighboring path point according to a sequence each other Come, form polyhedron network;
S5, according to two neighboring path point rectilinear direction, generate path direction vector, and according to path point context meter Calculate path vector and, by the path vector for calculating and with tangent line vector multiplication cross and carry out unitization, obtain each layout point Normal value;
S6, according to current path length, according to the Path error in setting-out incisal plane, calculate the v values of mapping coordinates, and will Mapping coordinates v values are updated in each setting-out result points;
S7, according to the mapping coordinates u values and v values of setting-out result points, all setting-out result points are constituted into triangular facet, shape successively Into the model with normal and pinup picture uv value informations.
Wherein, Loft Line is specified by a series of 2D points, and Loft Line is plane of the descriptive model on the setting-out incisal plane Upper thread, Loft Line are made up of a series of continuity points, and XY values of these points are components based on current setting-out incisal plane X, Y-axis, point Between point it is that normal is continuous on setting-out incisal plane, while being converted mapping coordinates u values according to setting-out line length.When composition is put When the consecutive points of line-transect are identical point, then normal here is pointed out discontinuously.The normal of every 3D setting-out result points is flat along Loft Line Degree of slipping over, if current point is identical point with subsequent point, normal will not carry out smooth excessiveness, while according to lofter path length Conversion pinup picture v values.
Using the 3D model rapid generations of the present invention, moulding flexibly, can be with one-shot forming, while Completion Techniques linear light is slided Generate with mapping coordinates, need not carry out the 3D models for meeting effect demand being generated by following model is processed.
Specific embodiment
In order to be better understood from the present invention, the following detailed description of the present invention.
It is of the invention main by arranging setting-out section and setting-out route, according to certain regular generation model data, Ran Houyi Secondary property generates available 3D models, wherein, model data includes the value in length and breadth of 3D layout points, normal information and mapping coordinates, and v is represented Vertical value, u represent horizontal value.
Specifically, a kind of 3D models rapid generation of the invention, comprises the steps:
A series of 3D points of s1, the initial lofter path of setting composition, each 3D point represent lofter path point, while specifying Setting-out on each 3D point cuts flat with surface information;The setting-out incisal plane information of every 3D points include the incisal plane X-axis vector, The corresponding 3D points of Z axis vector and the incisal plane that Y-axis vector, the X-axis vector Y-axis vector multiplication cross are obtained corresponding are put Line-transect;
S2, the lofter path constituted according to the 3D points specified and the corresponding incisal plane X-axis of every 3D points, Y-axis vector, calculate Go out the space plane information in each corresponding setting-out incisal plane of 3D points;
S3, according to the setting-out result points in the actual 3d space of the corresponding setting-out line computation of every 3D points, and according in front and back 3D The position relationship of point, calculates the tangent line vector of before and after 3D points;If current calculating point is identical with front point, tangent line vector is designated as 0 vector, tangent line vector will merge in front and back, meanwhile, according to starting point to the current continuous line segment for calculating point be converted into mapping coordinates U values;
The sequencing of s4, the lofter path constituted according to specified 3D layout points, calculates each setting-out incisal plane 3D setting-out result points information arrangements get up, chain is picked up the setting-out result points generated two neighboring path point according to a sequence each other Come, form polyhedron network;
S5, according to two neighboring path point rectilinear direction, generate path direction vector, and according to path point context meter Calculate path vector and, by the path vector for calculating and with tangent line vector multiplication cross and carry out unitization, obtain each layout point Normal value;
S6, according to current path length, according to the Path error in setting-out incisal plane, calculate the v values of mapping coordinates, and will Mapping coordinates v values are updated in each setting-out result points;
S7, according to the mapping coordinates u values and v values of setting-out result points, all setting-out result points are constituted into triangular facet, shape successively Into the model with normal and pinup picture uv value informations.
Wherein, Loft Line is specified by a series of 2D points, and Loft Line is plane of the descriptive model on the setting-out incisal plane Upper thread, Loft Line are made up of a series of continuity points, and XY values of these points are components based on current setting-out incisal plane X, Y-axis, point Between point it is that normal is continuous on setting-out incisal plane, while being converted mapping coordinates u values according to setting-out line length.When composition is put When the consecutive points of line-transect are identical point, then normal here is pointed out discontinuously.The normal of every 3D setting-out result points is flat along Loft Line Degree of slipping over, if current point is identical point with subsequent point, normal will not carry out smooth excessiveness, while according to lofter path length Conversion pinup picture v values.
Using the 3D model rapid generations of the present invention, moulding flexibly, can be with one-shot forming, while Completion Techniques linear light is slided Generate with mapping coordinates, need not carry out the 3D models for meeting effect demand being generated by following model is processed.
The above, the only present invention preferably specific embodiment, but protection scope of the present invention is not limited thereto, Any those familiar with the art in the technical scope of present disclosure, technology according to the present invention scheme and its Inventive concept equivalent or change in addition, should all be included within the scope of the present invention.

Claims (4)

1. a kind of 3D models rapid generation, it is characterised in that the 3D models rapid generation comprises the steps:
A series of 3D points of s1, the initial lofter path of setting composition, each 3D point represent lofter path point, while specifying each Setting-out on 3D points cuts flat with surface information;The setting-out incisal plane information of every 3D points includes the X-axis vector in the incisal plane, Y-axis The corresponding setting-out of the corresponding 3D points of Z axis vector and the incisal plane that vector, the X-axis vector Y-axis vector multiplication cross are obtained Line;
S2, the lofter path constituted according to the 3D points specified and the corresponding incisal plane X-axis of every 3D points, Y-axis vector, calculate every The space plane information in the corresponding setting-out incisal plane of one 3D point;
S3, according to the setting-out result points in the actual 3d space of the corresponding setting-out line computation of every 3D points, and according in front and back 3D points Position relationship, calculates the tangent line vector of before and after 3D points;If current calculating point is identical with front point, tangent line vector is designated as 0 arrow Amount, tangent line vector will merge in front and back, meanwhile, according to starting point to the current continuous line segment for calculating point be converted into mapping coordinates u Value;
The sequencing of s4, the lofter path constituted according to specified 3D layout points, the 3D calculated by each setting-out incisal plane Setting-out result points information arrangement gets up, and is chained up according to the setting-out result points that two neighboring path point is generated by a sequence each other, Form polyhedron network;
S5, according to two neighboring path point rectilinear direction, generate path direction vector, and road calculated according to path point context Footpath vector, by the path vector for calculating and with tangent line vector multiplication cross and carries out unitization, obtains the normal of each layout point Value;
S6, according to current path length, according to the Path error in setting-out incisal plane, calculate the v values of mapping coordinates, and by pinup picture Coordinate v values are updated in each setting-out result points;
S7, according to the mapping coordinates u values and v values of setting-out result points, all setting-out result points are constituted into triangular facet successively, tool is formed There is the model of normal and pinup picture uv value informations.
2. 3D models rapid generation according to claim 1, it is characterised in that
Loft Line is specified by a series of 2D points, and Loft Line is planing surface line of the descriptive model on the setting-out incisal plane, setting-out Line is made up of a series of continuity points, and the XY values of these points are the components based on current setting-out incisal plane X, Y-axis, are existed between points It is that normal is continuous on setting-out incisal plane, while according to setting-out line length conversion mapping coordinates u values.
3. 3D models rapid generation according to claim 2, it is characterised in that
When the consecutive points of composition Loft Line are identical point, then normal here is pointed out discontinuously.
4. 3D models rapid generation according to claim 3, it is characterised in that
The normal of every 3D setting-out result points is along Loft Line smooth excessiveness, if current point and subsequent point are identical point, normal Smooth excessiveness will not be carried out, while according to lofter path length conversion pinup picture v values.
CN201611175151.6A 2016-12-19 2016-12-19 3D model fast generation method Withdrawn CN106600699A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611175151.6A CN106600699A (en) 2016-12-19 2016-12-19 3D model fast generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611175151.6A CN106600699A (en) 2016-12-19 2016-12-19 3D model fast generation method

Publications (1)

Publication Number Publication Date
CN106600699A true CN106600699A (en) 2017-04-26

Family

ID=58601445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611175151.6A Withdrawn CN106600699A (en) 2016-12-19 2016-12-19 3D model fast generation method

Country Status (1)

Country Link
CN (1) CN106600699A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109523636A (en) * 2018-11-21 2019-03-26 北京像素软件科技股份有限公司 The generation method and device of continuous grids object

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109523636A (en) * 2018-11-21 2019-03-26 北京像素软件科技股份有限公司 The generation method and device of continuous grids object
CN109523636B (en) * 2018-11-21 2023-08-11 北京像素软件科技股份有限公司 Method and device for generating continuous grid object

Similar Documents

Publication Publication Date Title
CN105913483A (en) Method and device for generating three-dimensional crossing road model
US8793108B2 (en) Three-dimensional model determination from two-dimensional sketch with two-dimensional refinement
CN104422396B (en) Assembling product gap three dimensional analysis system and method
CN108682043A (en) A kind of complex-curved measure planning method based on parameter mapping
CN107038755A (en) The method that vector data superposition DSM automatic batch generates threedimensional model
CN108180918A (en) A kind of cloud geodetic path forward trace generation method and device
CN104392013A (en) Integrated modeling and calculating system and method for substation-project cable trench on basis of CAD (Computer-Aided Design)
JPH04243487A (en) Three-dimensional contour processing method
CN106600699A (en) 3D model fast generation method
JP6949415B2 (en) Mold CAD model data creation device and mold CAD model data creation method
CN108332766A (en) A kind of dynamic fusion method and system for planning of multi-source road network
JP2012237620A (en) Error image generation method
CN103942397A (en) Power function-based digital modeling method for shape modification gear
Ko A survey: application of geometric modeling techniques to ship modeling and design
US7865330B2 (en) System and method for measuring a curve of an object
CN109376409A (en) A kind of pre-buried map generalization method, apparatus of three-dimensional water power, equipment and storage medium
CN107833274A (en) A kind of creation method and system of three-dimensional cable model
Wu et al. Visualizing 2d scalar fields with hierarchical topology
CN102831282A (en) Two-dimensional map generation method based on GOCAD (Geological Object Computer Aided Design) software
Paluszny et al. G 2-continuous cubic algebraic splines and their efficient display
Rouhani et al. A fast accurate implicit polynomial fitting approach
CN104516733B (en) A kind of optimization method and device of visual control
US20200250886A1 (en) Method for determining real world measurements from an apparel 3d model
KR101053911B1 (en) Reverse engineering method of tire pattern
Zheng et al. An algorithm for computing geodesic curve based on digital experiment of point clouds

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170426