CN102509339B - Method for simplifying vertex clustering of three-dimensional models with texture constraint - Google Patents

Method for simplifying vertex clustering of three-dimensional models with texture constraint Download PDF

Info

Publication number
CN102509339B
CN102509339B CN201110304282.0A CN201110304282A CN102509339B CN 102509339 B CN102509339 B CN 102509339B CN 201110304282 A CN201110304282 A CN 201110304282A CN 102509339 B CN102509339 B CN 102509339B
Authority
CN
China
Prior art keywords
summit
texture
error
triangle
vertex
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.)
Expired - Fee Related
Application number
CN201110304282.0A
Other languages
Chinese (zh)
Other versions
CN102509339A (en
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.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
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 Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN201110304282.0A priority Critical patent/CN102509339B/en
Publication of CN102509339A publication Critical patent/CN102509339A/en
Application granted granted Critical
Publication of CN102509339B publication Critical patent/CN102509339B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for simplifying a vertex clustering of three-dimensional models with texture constraint. The method comprises the steps of: expanding the vertexes from a geometric space to a fifth-dimensional space including texture coordinates in consideration of algorithm efficiency in the self-adaptive division processes of the vertexes; dividing the vertexes according to the positions of the vertexes in the geometric space and the texture space in the self-adaptive division processes of the vertexes; in error measurement, respectively computing geometric errors and texture errors, if the error value is more than a given threshold, splitting the current node; and in the self-adaptive division processes of the vertexes, in consideration of saving the storage resources and improving the algorithm efficiency, adopting the relatively important vertex in an original model as a clustering representative instead of computing the geometric position of a new vertex through iteration. The method for simplifying vertex clustering of three-dimensional models with texture constraint organically integrates texture error measurement and geometric simplification, realizes rapid simplification of a mass of complex three-dimensional models and supports efficient three-dimensional visualization of city virtual scenes.

Description

A kind of method for simplifying vertex clustering of three-dimensional models with texture constraint
Technical field
The present invention relates to three-dimensional geographic information visualization technique field, particularly relate to a kind of for the complex three-dimensional model vertices cluster short-cut method under texture error condition.
Background technology
Texture is an important property information of three-dimensional model, is directly connected to the authenticity that three-dimensional model is expressed in virtual reality.In model simplification process, even if the maintenance of the geometric properties of model is good again, if cannot guarantee the correctness of texture, its visual effect will be had a greatly reduced quality.
Although along with the development of virtual reality technology, current existing three-dimensional model simplifying technology is very ripe aspect model geometric simplification, and for keeping in simplification process, the research of model textural characteristics is also few.
For texture error metrics, a kind of conventional method that related documents proposes is by (X, Y, Z) expansion of three-dimensional metric algorithm accounts for (X, Y, Z, R, G, B) 6 dimension spaces in, Garland, M. Multi-Resolution Modeling:Survey & future opportunities[C]. Proceedings of the Eurographics ' 99. 1999; Shen Xukun, Zhao Xuewei, Zhao Qinping. a kind of lattice simplified and compression progressive transmission method [J] of keeping characteristics. Journal of Computer Research and Development, 2007, Vol.44 (7): 1097-1104; Feng Xiang, Zhou Mingquan. with the three-dimensional model simplifying algorithm [J] of texture. computer-aided design (CAD) and graphics journal, 2009, Vol.21 (6): 842-846.Its ultimate principle is as follows: according to the texture coordinate (u, v) on summit, find the colouring information (r, g, b) corresponding to this summit on texture image.In model simplification process, according to simplified model M 1with master pattern M 2summit corresponding relation, define its texture error for the distance error in its vertex color space, shown in following formula, (r wherein 1, g 1, b 1), (r 2, g 2, b 2) be respectively the color value of vertex v 1, v2:
Figure 530226DEST_PATH_IMAGE001
Wherein vertex v 1, v2 belong to respectively model M 1, M 2;
This error metrics method can play certain binding effect to model simplification process, can keep to a certain extent the textural characteristics of model, but still can not be satisfied with the needs of practical application.Its weak point is mainly reflected in following two aspects:
(1) reduce model simplification efficiency.Adopt this texture error metrics method guidance model to simplify process, need to obtain vertex color corresponding on texture image according to texture coordinate.Therefore, need to frequently model data texturing be loaded into internal memory, and need to each summit, carry out the map operation of (u, v) → (r, g, b), greatly increase undoubtedly the resource overhead of shortcut calculation, increase the time of model simplification.
(2) be not suitable for the three-dimensional model of texture information complexity.In the texture of three-dimensional model is expressed, the mapping relations of model vertices and texture image are not that texture coordinate (u, v) is to the simple relation of texture color (r, g, b).To with each 3d space under triangle, can in texture, define a corresponding 2D delta-shaped region according to the texture coordinate on its summit, and by this 3D triangular element of the texture of this 2D delta-shaped region.In Fig. 1, the left side is the triangle under 3d space, take in the XYZ coordinate system that O is that initial point sets up, and summit Q 1, Q 2, Q 3dividing other coordinate is (x 1, y 1, z 1), (x 2, y 2, z 2), (x 3, y 3, z 3); The right is the 2D triangle texture region that this triangle is corresponding, in UV coordinate system, and summit Q 1, Q 2, Q 3dividing other coordinate is (u 1, v 1), (u 2, v 2), (u 3, v 3).
If summit Q 1, Q 2, Q 3corresponding texture color value is identical, and three summits distance in color space is 0.Suppose summit Q in simplification process 1q 2, Q 3substitute summit, if while adopting so formula to carry out error metrics, gained texture error amount is also 0.Yet under actual conditions, this visual impact that brings estimated value much larger than error metrics that simplifies the operation.
Therefore, adopting texture color to carry out error metrics is only suitable in the comparatively uniform three-dimensional model of texture color distribution, for the comparatively complicated three-dimensional model (as city complex three-dimensional BUILDINGS MODELS) of texture improper.
For the Vertex Clustering method of three-dimensional model simplifying visible document: Rossignac the earliest, J., Borrel, P. Multi-Resolution 3D Approximations for Rendering [J]. Modeling in Computer Graphics, June-July 1993:455-465.The method key step is: according to factors such as the size of model meshes, complexities, by the shared spatial division of three-dimensional model, be a plurality of cubic units; Calculate the representative point in each cubic units, each summit in cubic units is replaced with this representative point; The degeneration triangle producing after replacing removes.
Weak point for above-mentioned Vertex Clustering method, related documents: Zhou Kun, Pan Zhigeng, Shi Jiaoying. a kind of new Mesh simplification algorithm based on Vertex Clustering [J]. robotization journal, 1999,1, Vol.25 (1): 1-8, provide a kind of improved clustering method, by Octree, carried out self-adaptation division, and by second order error, measured to control the generation of representative point.The method is very effective for keeping the geometric properties of model in simplification process.But in this method, do not have the attribute information of Consideration of Three-dimensional model, in simplification process, cannot keep the attributive character of three-dimensional model.
Summary of the invention
The object of the invention is to simplify deficiency for existing cluster, propose a kind of method for simplifying vertex clustering of three-dimensional models with texture constraint.
Technical scheme of the present invention is a kind of method for simplifying vertex clustering of three-dimensional models with texture constraint, it is characterized in that, comprises the following steps:
Step 1, calculates the weights on each summit in three-dimensional model;
Step 2, big or small according to default geometric units lattice size and texture cell lattice, by three-dimensional model according to (X, Y, Z, U, V) five dimensions are divided, first according to geometric units lattice, divide and obtain some leaf nodes, according to texture cell lattice, above-mentioned some leaf node Further Divisions are obtained to more leaf node, wherein (X on this basis, Y, Z) represent geometric space coordinate, (U, V) represents texture space coordinates;
Step 3, checks each leaf node inner vertex number,
If number of vertices is empty or is 1, do not do any operation;
If number of vertices is greater than default number threshold value, leaf node is carried out to node split operation;
If number of vertices is greater than 1 and be less than or equal to default number threshold value, according to the weights on step 1 gained summit, in leaf node, select the summit of weights maximum as cluster representative point, calculate the geometric error producing after cluster
Figure 2011103042820100002DEST_PATH_IMAGE002
with texture error
Figure 754534DEST_PATH_IMAGE003
, work as geometric error
Figure 753714DEST_PATH_IMAGE002
be greater than default geometric error threshold value
Figure 2011103042820100002DEST_PATH_IMAGE004
or texture error
Figure 975748DEST_PATH_IMAGE003
be greater than default texture error threshold
Figure 388274DEST_PATH_IMAGE005
shi Jinhang splitting operation;
Step 4, the leaf node that splitting operation is produced returns to execution step 3, until the number of vertices in all leaf nodes is for empty or be 1, or geometric error
Figure 353956DEST_PATH_IMAGE002
with texture error
Figure 473222DEST_PATH_IMAGE003
all in threshold range;
Step 5, for all geometric errors
Figure 662895DEST_PATH_IMAGE002
with texture error
Figure 562718DEST_PATH_IMAGE003
all the leaf node in threshold range, replaces the summit in leaf node, and upgrades index data with cluster representative point, then the triangle of degeneration is removed from the triangle list of three-dimensional model.
And the weights account form on summit is as follows,
If summit weights scope w ∈( 0,1), weights more represent that this summit is more important, for the arbitrary summit that is not positioned at boundary in three-dimensional model q, have relevant triangle set t s = t 0 , t 1 ... t m , suppose triangle set t s intermediate cam shape t i with t j adjacent, definition
Figure 2011103042820100002DEST_PATH_IMAGE006
as follows
Figure 66512DEST_PATH_IMAGE007
Wherein n i , n j be respectively triangle t i , t j normal vector, dotfor vector dot computing, w ij value scope is (0,1), w ij be worth greatlyr, represent triangle t i with t j angle less, summit qweights wbe expressed as:
Figure 2011103042820100002DEST_PATH_IMAGE008
For the summit that is positioned at boundary, its weights are directly given maximal value 1.
And, in step 1, judge whether summit is positioned at the specific implementation of boundary as follows,
If summit qthere is relevant limit set l s with triangle set t s if, limit set l s in have limit lmeet triangle set t s in only have unique triangle tcomprise this limit, so this summit qbe frontier point; If limit set l s in all limits do not meet this condition, this summit is not frontier point so.
And in step 3, computational geometry error adopts error of curvature measure, specific implementation is as follows,
Be set in a vertex set in leaf node q s = q w , Q 0 , Q 1 q n , summit wherein q w for cluster representative point, vertex set q s other any one summits in interior q i there is relevant triangle set ts= t 0 , t 1 ... t m , by triangle set tsin all vertexs of a triangle q i use summit q w after replacement, obtain triangle set ts '= t 0 ', t 1 ' ... t m '; If triangle set tsintermediate cam shape t j normal vector be n j , triangle set ts 'intermediate cam shape t j 'normal vector be n j ', this summit q i geometric error be
Figure 305863DEST_PATH_IMAGE009
Wherein
Figure 2011103042820100002DEST_PATH_IMAGE010
represent vector dot computing, jvalue is 0,1, m;
This vertex set q s geometric error after cluster is
Figure 604120DEST_PATH_IMAGE011
Wherein, max{} represents to get maximal value, ivalue is 0,1, n.
And in step 3, the specific implementation of calculating texture error is as follows,
Be set in a vertex set in leaf node q s = q w , Q 0 , Q 1 q n , summit wherein q w for cluster representative point, summit q w texture coordinate be ( u w , v w ), vertex set q s other any one summits in interior q i texture coordinate be ( u i , v i ), by summit q i use summit q w texture error after replacement is
Figure 2011103042820100002DEST_PATH_IMAGE012
This vertex set q s texture error after cluster is
Figure 943571DEST_PATH_IMAGE013
Wherein, max{} represents to get maximal value, ivalue is 0,1, n.
The present invention, creatively using texture coordinate space length as texture error metrics, makes three-dimensional model simplifying have stronger binding character and higher efficiency; The texture error metrics method of complex three-dimensional model and how much simplification organic unities are got up, realized the quick simplification of magnanimity complex three-dimensional model, and effectively kept the textural characteristics after model simplification.The present invention can support the efficient three-dimensional visualization of city virtual scene.
Accompanying drawing explanation
Fig. 1 is three-dimensional model texture graph of a relation.
Fig. 2 is the process flow diagram of the embodiment of the present invention.
Embodiment
Embodiment adopts method of the present invention, uses C Plus Plus to write the method for simplifying vertex clustering with texture constraint, by typical 3 D complex building model, specifically implements.Consider that 3 D complex BUILDINGS MODELS is all to carry out modeling according to true ratio, the redundant data amount of model is limited, for guaranteeing good reduced mass, simplify result data amount maintain master pattern 30% ~ 50% between.
For the purpose of reference implementation, provide embodiment flow process as follows, referring to Fig. 2:
Step 1, calculates the weights on each summit.
The object of three-dimensional model simplifying is in the situation that the model and the similar as far as possible summit of deleting to greatest extent of master pattern that guarantees to simplify.Therefore in the process of Vertex Clustering, the cluster representative of selection point should be that some can reflect model principal character and the summit that keeps model silhouette.Summit weights can reflect that this summit is for the importance that keeps the aspect of model.Generally, be positioned at the variations such as model boundary, acute angle and comparatively significantly should give larger weights in the summit of part, and should give less weights for the summit that model changes level and smooth part.According to this principle, embodiment is after importing three-dimensional modeling data, and the method for calculating summit weights is as follows:
For ease of calculating, establish summit weights scope w ∈( 0,1), weights more represent that this summit is more important, for the arbitrary summit that is not positioned at boundary in three-dimensional model q, have relevant triangle set t s = t 0 , t 1 ... t m , subscript 0,1, for identifying the triangle of set.Suppose triangle set t s intermediate cam shape t i with t j adjacent, definition
Figure 251055DEST_PATH_IMAGE006
as follows
Figure 79334DEST_PATH_IMAGE007
Wherein n i , n j be respectively triangle t i , t j normal vector, dotfor vector dot computing, w ij value scope is (0,1), w ij be worth greatlyr, represent triangle t i with t j angle less, geometric properties is more obvious.Summit qweights wbe expressed as:
Figure 876389DEST_PATH_IMAGE008
For the summit that is positioned at boundary, its weights are directly given maximal value 1.
In addition,, because model boundary is the pith that keeps model silhouette, therefore for the summit that is positioned at boundary, its weights should be given maximal value 1.A kind of conventional frontier point determination methods is as follows: establish summit qthere is relevant limit set l s with triangle set t s if, limit set l s in have limit l(limit quantity >=1) meets triangle set t s in only have unique triangle tcomprise this limit, this summit is frontier point so q; If limit set l s in all limits do not meet this condition, this summit is not frontier point so.
During concrete enforcement, can also adopt other existing weights account forms.
Step 2, big or small according to default geometric units lattice size and texture cell lattice, by three-dimensional model according to (X, Y, Z, U, V) five dimensions divide, (X wherein, Y, Z) represent geometric space coordinate, (U, V) represents texture space coordinates.
The geometric space that three-dimensional model is corresponding is its bounding box volume, texture space is a two dimensional surface, in its X and Y-direction, span is 0 to 1, geometric units lattice are geometric space volumes of user-defined least unit, texture cell lattice are texture space areas of user-defined least unit, for example defining geometric units lattice is 1 meter of square, texture cell lattice for long and wide be 0.1 texture area.During concrete enforcement, user can set voluntarily according to accuracy requirement.According to user-defined cell (comprising geometric space volume, texture space area) size, by master pattern according to (X, Y, Z, U, V) five dimensions divide, first according to geometric units lattice, divide and obtain some leaf nodes, according to texture space, divide above-mentioned some leaf node Further Divisions are obtained to more leaf node on this basis, complete initial division.The leaf node number obtaining after initial division is initial number, at subsequent step 3, may divide the leafier child node of generation.
Step 3, checks each leaf node inner vertex number,
If number of vertices is empty or is 1, do not do any operation;
If number of vertices is greater than default number threshold value, leaf node is carried out to node split operation;
If number of vertices is greater than 1 and be less than or equal to default number threshold value, according to the weights on step 1 gained summit, in leaf node, select the summit of weights maximum as cluster representative point, calculate the geometric error producing after cluster with texture error , work as geometric error
Figure 544765DEST_PATH_IMAGE002
be greater than default geometric error threshold value
Figure 512721DEST_PATH_IMAGE004
or texture error
Figure 608853DEST_PATH_IMAGE003
be greater than default texture error threshold
Figure 258140DEST_PATH_IMAGE005
shi Jinhang splitting operation.Certainly, if geometric error with texture error
Figure 199868DEST_PATH_IMAGE003
all in threshold range, i.e. geometric error
Figure 783296DEST_PATH_IMAGE002
be less than or equal to default geometric error threshold value
Figure 970695DEST_PATH_IMAGE004
, and texture error be less than or equal to default texture error threshold
Figure 200481DEST_PATH_IMAGE005
time, leaf node is not needed to carry out node split operation, in step 5, the summit in leaf node is replaced with cluster representative point.
The splitting operation that embodiment carries out leaf node is according to (X, Y, Z, U, V) five dimensions again subdivision 2 by present node 5child node, according to dimension X, Y, Z, U, V, each dimension is carried out the division of one-to-two.Summit in this leaf node is reentered in the leaf node that subdivision obtains, and by returning to the leaf node that step 3 obtains each subdivision judges whether continue division.Default number threshold value, error threshold
Figure 271205DEST_PATH_IMAGE004
,
Figure 262295DEST_PATH_IMAGE005
size is relevant with the precision of modeling, can according to actual conditions, suitable value be set by user.
The key factor of three-dimensional model summit and 2 d texture mapping is the texture coordinate (u, v) on summit.For summit (u, v) value, differ larger 3D triangle, the texture information comprising between its 2D triangle corresponding on texture is also more, deletes the texture error that this triangle brings larger; Otherwise, for summit (u, v) value, differing less 3D triangle, the texture information comprising between its 2D triangle corresponding on texture is also less, deletes the texture error that this triangle brings less.Therefore, the present invention is carrying out in three-dimensional model simplifying process, geometric space can be expanded to and comprise texture coordinate (X, Y, Z, U, V) quintuple space in, according to the summit corresponding relation of simplified model and master pattern, defining its texture error is the distance difference of its summit in texture coordinate space:
Wherein, wherein vertex v 1, v2 belong to respectively simplified model M 1, master pattern M 2, (u 1, v 1), (u 2, v 2) be vertex v 1, the apex coordinate of v2.
According to this texture Error Measure Rule, in carrying out the process of model simplification, preferentially delete the less summit of texture coordinate distance, retain the larger summit of texture coordinate distance, thereby make to simplify result, can retain more textural characteristics.
Adopt texture coordinate space length as the method for error metrics, with take texture color space length and compare as error metrics method, not only its binding character is stronger, and owing to not needing each summit to obtain the operation of color, and texture coordinate space than color space few a dimension, in difference calculation process runs, the complexity of algorithm also can be lower, thereby improved the efficiency of Model Simplification Algorithm.
The geometric error that comprises of error metrics is measured and texture error metrics two parts.Embodiment adopts error of curvature measure of the prior art for geometric error tolerance, specific as follows:
Suppose to be positioned at the vertex set of a leaf node q s = q w , Q 0 , Q 1 q n , summit wherein q w for cluster representative point, summit q 0 , Q 1 q n be in leaf node in addition n+ 1 node.Vertex set q s other any one summits in interior q i there is relevant triangle set ts= t 0 , t 1 ... t m , by triangle set tsin all vertexs of a triangle q i use summit q w after replacement, obtain triangle set ts '= t 0 ', t 1 ' ... t m '; If triangle set tsintermediate cam shape t j normal vector be n j , triangle set ts 'intermediate cam shape t j 'normal vector be n j ', this summit q i geometric error be
Wherein
Figure 812859DEST_PATH_IMAGE010
represent vector dot computing, jvalue is 0,1, m;
This vertex set q s geometric error after cluster is
Figure 669956DEST_PATH_IMAGE011
Wherein, max{} represents to get maximal value, ivalue is 0,1, n.
During concrete enforcement, computational geometry error can also adopt additive method, such as distance error tolerance, and angular error tolerance etc.
The basic skills of texture error metrics is as follows:
Be set in a vertex set in leaf node q s = q w , Q 0 , Q 1 q n , summit wherein q w for cluster representative point, summit q w texture coordinate be ( u w , v w ), vertex set q s other any one summits in interior q i texture coordinate be ( u i , v i ), by summit q i use summit q w texture error after replacement is
Figure 301926DEST_PATH_IMAGE012
This vertex set v s texture error formula after cluster is identical with geometric error.This vertex set q s texture error after cluster is
Wherein, max{} represents to get maximal value, ivalue is 0,1, n.
Step 4, the leaf node that splitting operation is produced returns to execution step 3, until all leaf nodes meet one of following two conditions:
(1) number of vertices in leaf node is empty or is 1;
(2) number of vertices in leaf node is greater than 1 and be less than or equal to default number threshold value, and geometric error
Figure 936487DEST_PATH_IMAGE002
with texture error
Figure 331696DEST_PATH_IMAGE003
all in threshold range.In leaf node, select the summit of weights maximum as cluster representative point, calculate the geometric error producing after cluster
Figure 818172DEST_PATH_IMAGE002
with texture error , geometric error
Figure 110930DEST_PATH_IMAGE002
be less than or equal to default geometric error threshold value
Figure 309830DEST_PATH_IMAGE004
, texture error be less than or equal to default texture error threshold
Figure 909756DEST_PATH_IMAGE005
.
Step 5, for all geometric errors
Figure 604698DEST_PATH_IMAGE002
with texture error
Figure 341710DEST_PATH_IMAGE003
all the leaf node in threshold range, replaces the summit in leaf node, and upgrades index data with cluster representative point, then the triangle of degeneration is removed from the triangle list of three-dimensional model.
Embodiment carries out Vertex Clustering operation by all leaf nodes that meet cluster standard, and the degeneration triangle producing after cluster is removed.In prior art, in the data of three-dimensional model, with triangle set, represent object external outline shape, the definition of a plurality of triangle surfaces, consist of, the definition of each tri patch comprises the three-dimensional coordinate on each summit of triangle and the method vector of tri patch.Index data is index corresponding to summit in three-dimensional model, behind replacement summit, needs to upgrade.Triangle list is the set of three-dimensional model intermediate cam shape, with the index on triangle sequence number and corresponding three summits, expresses.The triangle of degenerating, is after simplifying, and therefore the triangle shifting out from three-dimensional model needs correspondingly from triangle list, to remove.
By above concrete enforcement, can find out, increase the simplification after texture constraint, although there is certain increase on algorithm complex, but its efficiency can meet the needs of practical application, more crucial is to keep there is obvious effect for the textural characteristics of simplifying result, is applicable to the three-dimensional building object model of some grain details complexity.In addition, because Vertex Clustering method is a kind of method that does not keep topological structure, thereby be applicable to the model simplification of some non-manifolds, and simplify speed.

Claims (4)

1. for the visual method for simplifying vertex clustering of three-dimensional models of geography information, it is characterized in that, comprise the following steps:
Step 1, calculates the weights on each summit in three-dimensional model;
Step 2, big or small according to default geometric units lattice size and texture cell lattice, by three-dimensional model according to (X, Y, Z, U, V) five dimensions are divided, first according to geometric units lattice, divide and obtain some leaf nodes, according to texture cell lattice, above-mentioned some leaf node Further Divisions are obtained to more leaf node, wherein (X on this basis, Y, Z) represent geometric space coordinate, (U, V) represents texture space coordinates;
Step 3, checks each leaf node inner vertex number,
If number of vertices is empty or is 1, do not do any operation;
If number of vertices is greater than default number threshold value, leaf node is carried out to node split operation;
If number of vertices is greater than 1 and be less than or equal to default number threshold value, according to the weights on step 1 gained summit, in leaf node, select the summit of weights maximum as cluster representative point, calculate the geometric error ε producing after cluster swith texture error ε ' s, as geometric error ε sbe greater than default geometric error threshold epsilon maxor texture error ε ' sbe greater than default texture error threshold ε ' maxshi Jinhang splitting operation; The specific implementation of calculating texture error is as follows,
Be set in a vertex set Q in leaf node s={ Q w, Q 0, Q 1q n, summit Q wherein wfor cluster representative point, summit Q wtexture coordinate be (u w, v w), vertex set Q sother any one summit Q in interior itexture coordinate be (u i, v i), by summit Q iuse summit Q wtexture error after replacement is
ε' i=(u i-u w) 2+(v i-v w) 2
This vertex set Q stexture error after cluster is
ε' s=max{ε' i}
Wherein, max{} represents to get maximal value, and i value is 0,1 ... n;
Step 4, the leaf node that splitting operation is produced returns to execution step 3, until the number of vertices in all leaf nodes is for empty or be 1, or geometric error ε swith texture error ε ' sall in threshold range;
Step 5, for all geometric error ε swith texture error ε ' sall the leaf node in threshold range, replaces the summit in leaf node, and upgrades index data with cluster representative point, then the triangle of degeneration is removed from the triangle list of three-dimensional model.
2. as claimed in claim 1 for the visual method for simplifying vertex clustering of three-dimensional models of geography information, it is characterized in that: the weights account form on summit is as follows,
If summit weights scope w ∈ (0,1), weights more represent that this summit is more important, for the arbitrary summit Q that is not positioned at boundary in three-dimensional model, have relevant triangle set T s={ t 0, t 1... t m, suppose triangle set T sintermediate cam shape t iwith t jadjacent, definition w ijas follows
w ij=(1-dot(n i,n j))/2
N wherein i, n jbe respectively triangle t i, t jnormal vector, dot is vector dot computing, w ijvalue scope is (0,1), w ijbe worth greatlyr, represent triangle t iwith t jangle less, the weight w of summit Q is expressed as:
w = max { w ij } i ≠ j i , j ∈ ( 0 , m )
For the summit that is positioned at boundary, its weights are directly given maximal value 1.
3. as claimed in claim 2 for the visual method for simplifying vertex clustering of three-dimensional models of geography information, it is characterized in that: in step 1, judge whether summit is positioned at the specific implementation of boundary as follows,
If summit Q has relevant limit set L swith triangle set T sif, limit set L sin have limit l and meet triangle set T sin only have unique triangle t to comprise this limit, this summit Q is frontier point so; If limit set L sin all limits do not meet this condition, this summit is not frontier point so.
As described in claim 1 or 2 or 3 for the visual method for simplifying vertex clustering of three-dimensional models of geography information, it is characterized in that: in step 3, computational geometry error adopts error of curvature measure, and specific implementation is as follows,
Be set in a vertex set Q in leaf node s={ Q w, Q 0, Q 1q n, summit Q wherein wfor cluster representative point, vertex set Q sother any one summit Q in interior ithere is relevant triangle set Ts={t 0, t 1... t m, by all vertex of a triangle Q in triangle set Ts iuse summit Q wafter replacement, obtain triangle set Ts '={ t 0', t 1' ... t m'; If triangle set Ts intermediate cam shape t jnormal vector be n j, triangle set Ts ' intermediate cam shape t j' normal vector be n j', this summit Q igeometric error be
ϵ i = 1 m + 1 Σ j = 0 m dot ( n j , n j ′ )
Wherein dot represents vector dot computing, and j value is 0,1 ... m;
This vertex set Q sgeometric error after cluster is
ε s=max{ε i}
Wherein, max{} represents to get maximal value, and i value is 0,1 ... n.
CN201110304282.0A 2011-10-10 2011-10-10 Method for simplifying vertex clustering of three-dimensional models with texture constraint Expired - Fee Related CN102509339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110304282.0A CN102509339B (en) 2011-10-10 2011-10-10 Method for simplifying vertex clustering of three-dimensional models with texture constraint

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110304282.0A CN102509339B (en) 2011-10-10 2011-10-10 Method for simplifying vertex clustering of three-dimensional models with texture constraint

Publications (2)

Publication Number Publication Date
CN102509339A CN102509339A (en) 2012-06-20
CN102509339B true CN102509339B (en) 2014-04-02

Family

ID=46221416

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110304282.0A Expired - Fee Related CN102509339B (en) 2011-10-10 2011-10-10 Method for simplifying vertex clustering of three-dimensional models with texture constraint

Country Status (1)

Country Link
CN (1) CN102509339B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104221057B (en) 2012-04-18 2018-01-02 汤姆逊许可公司 The summit bearing calibration of rotated three dimensional composition and device
BR112015016235A2 (en) 2013-01-10 2017-07-11 Thomson Licensing method and apparatus for correcting vertex error
CN104123696A (en) * 2014-07-07 2014-10-29 北京理工大学 Focus and context visualization method based on multiresolution
EP2996086A1 (en) * 2014-09-12 2016-03-16 Kubity System, method and computer program product for automatic optimization of 3d textured models for network transfer and real-time rendering
CN104574508A (en) * 2015-01-14 2015-04-29 山东大学 Multi-resolution model simplifying method oriented to virtual reality technology
FR3035990A1 (en) 2015-05-07 2016-11-11 Inst Mines Telecom METHOD FOR SIMPLIFYING THE MODEL OF GEOMETRY
CN105654536B (en) * 2015-12-21 2019-04-12 浙江工商大学 The method that time domain cluster is carried out to threedimensional model according to curvature
CN106372224B (en) * 2016-09-07 2019-06-21 北京拓扑视景科技有限公司 A kind of method for searching three-dimension model and device
CN106600684B (en) * 2016-11-29 2019-11-29 浙江科澜信息技术有限公司 A kind of oblique model tissue construction method
WO2019105562A1 (en) * 2017-11-30 2019-06-06 Siemens Industry Software Limited A method of operating a cad system model for modelling an article to be manufactured
CN116402975B (en) * 2023-01-13 2024-03-26 北京航空航天大学云南创新研究院 Method and device for loading and rendering three-dimensional model in WEB platform environment
CN117113478A (en) * 2023-07-28 2023-11-24 中水淮河规划设计研究有限公司 BIM model light weight method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7159212B2 (en) * 2002-03-08 2007-01-02 Electronic Arts Inc. Systems and methods for implementing shader-driven compilation of rendering assets
KR100984473B1 (en) * 2002-07-04 2010-09-30 퀄컴 인코포레이티드 Topological image model

Also Published As

Publication number Publication date
CN102509339A (en) 2012-06-20

Similar Documents

Publication Publication Date Title
CN102509339B (en) Method for simplifying vertex clustering of three-dimensional models with texture constraint
CN108961411B (en) Method for simplifying complex three-dimensional building model by keeping appearance characteristics
CN109410332B (en) Three-dimensional space geometric virtual model detail level cutting method based on point, line and surface
CN103714577B (en) Three-dimensional model simplification method suitable for model with textures
CN105336003A (en) Three-dimensional terrain model real-time smooth drawing method with combination of GPU technology
CN111581776B (en) Iso-geometric analysis method based on geometric reconstruction model
CN107918957B (en) Three-dimensional building model simplification method capable of keeping structure and texture characteristics
CN102750730B (en) Characteristic-maintained point cloud data compacting method
CN103679807A (en) Method for reconstructing scattered point cloud with boundary constraint
CN100454341C (en) Process type ground fast drawing method based on fractal hierarchical tree
CN115797600B (en) Three-dimensional geometric model wrapping grid generation system
CN105760588A (en) SPH fluid surface reconstruction method based on second-layer regular grid
Wang et al. A new point cloud simplification method with feature and integrity preservation by partition strategy
CN113468286A (en) Three-dimensional pyramid construction method based on triangular patch number division
Katsoulis et al. A T-splines-based parametric modeller for computer-aided ship design
CN116030218A (en) Tetrahedral mesh dividing method, device, system and storage medium
CN103617291B (en) Equivalent characterization method for reservoir stratum cause unit interface
CN111028349B (en) Hierarchical construction method suitable for rapid visualization of massive three-dimensional live-action data
CN114494641B (en) Three-dimensional model light weight method and device
CN113342999A (en) Variable-resolution-ratio point cloud simplification method based on multi-layer skip sequence tree structure
CN113094460B (en) Three-dimensional building progressive coding and transmission method and system of structure level
KR101266336B1 (en) Pre/post-processing method for three dimensional finite volume analysis
CN115019012A (en) Efficient error-controllable grid simplification method based on improved envelope test
Greeff Interactive voxel terrain design using procedural techniques
CN105894580A (en) Method for processing curved surface extension data in three-dimensional geological surface model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140402

Termination date: 20211010

CF01 Termination of patent right due to non-payment of annual fee