Escolar Documentos
Profissional Documentos
Cultura Documentos
Technical Report
NWU-CS-02-09
March 29, 2002
Abstract
The growing availability of massive models and the inability of most existing
visualization tools to work with them requires efficient new methods for massive
mesh simplification. In this paper, we present a completely adaptive, virtual
memory based simplification algorithm for large polygonal datasets. The algorithm is
an enhancement of RSimp [2], enabling out of core simplification without reducing the
output quality of the original algorithm.
The primary improvement in our new algorithm, VMRSimp, builds and preserves
memory locality throughout the simplification process. This is crucial for successful
simplification of massive meshes. An additional enhancement based on a depthfirst
simplification approach improves running time further by increasing reuse of the
resident working set, at the cost of a minor reduction in output quality. VMRSimp
performs completely adaptive simplification of massive meshes at reasonable rates,
reducing for example 18 million to 100 thousand vertices in 51 minutes. This
permits simplification to output sizes in the millions without thrashing, improves
accuracy for all smaller output sizes, and enables sensitivity in simplification to mesh
boundaries and topological changes.
CR Categories and Subject Descriptors: I.3.5 [Computer Graphics]: Computational Geometry
and Object Modeling – Geometric algorithms.
Additional Keywords: model simplification, massive models, quadric error, memory locality,
out-of-core simplification
Completely Adaptive Simplification of Massive Meshes
60 20
40 15
20
10
5
0
0 5 10 15 20 25 30 0
Input Size (millions of vertices) 0 200 400 600 800 1000
Figure 1: Simplification times for VMRSimp (size-based Out put Size (t housands of vert ices)
control), Lindstroms’s algorithm [9] and Rsimp [2].
Differently sized models were simplified to 100,000 vertices. Figure 2: Performance time of VMRSimp (size-based control)
for different output sizes of the David (4.1 million vertices)
4.2.2 Accuracy-based control model as compared to Lindstrom’s algorithm [9] and RSimp
5.5 Accuracy-Based Simplification [2] D. Brodsky and B. Watson. Model simplification through
refinement. In Proceedings of Graphics Interface 2000, pages
Accuracy-based output control allows simplification times nearly 221-228, May 2000.
25% lower than purely best-first size-based control, and equal to
or better than the most aggressive depth-first heuristic control (see [3] P. Cignoni, C. Rocchini and R. Scopigno. Metro: Measuring
again Figure 3). Once more, this is particularly true at large input error on simplified surfaces. Computer Graphics Forum, vol.
sizes. Unlike heuristic control, these improvements in 17(2): 167-174, 1997. http://vcg.iei.pi.cnr.it/metro.html.
simplification time do not come at the price of output quality.
However, accuracy-based control cannot offer users precise [4] J. El-Sana and Y-J. Chiang. External memory view-
selection of output size. dependent simplification. Computer Graphics Forum, vol.
19(3): 139-150, August 2000.
6 CONCLUSION AND FUTURE WORK
[5] M. Garland and P. Heckbert. Surface simplification using
We have presented VMRSimp, an algorithm for fully adaptive quadric error metrics. In Turner Whitted, editor, SIGGRAPH
simplification of massive meshes. The algorithm makes extensive 97 Conference Proceedings, Annual Conference Series,
and efficient use of virtual memory, allowing simplification of pages 209-216. ACM SIGGRAPH, Addison Wesley, August
these massive meshes at reasonable speed. Because the 1997. ISBN 0-201-32230-7.
simplification is fully adaptive, the quality of VMRSimp’s output is
better than quality in output from other simplification algorithms [6] M. Garland. Multi-resolution modeling: Survey and future
for massive meshes. Unlike these other algorithms, VMRSimp opportunities. In State of the Art Report, Eurographics, pages
retains the topological information present in its input, allowing it 111-131, 1999.
to avoid merging topologically disjoint model components and to
preserve mesh boundaries. Models output by VMRSimp can be [7] H. Hoppe. Smooth view-dependent level-of-detail control
quite large, and need not fit in core memory. and its application to terrain rendering. Proceedings IEEE
We have examined the performance of VMRSimp with models Visualization, pages 35-42, IEEE October 1998.
that near the limits of virtual address space on 32 bit machines. In
particular, the larger David model approached this limit, and took [8] M. Levoy, K. Pulli, B. Curless, S. Rusinkiewicz, D. Koller,
nearly two hours to simplify using size-based control, one and a L. Pereira, M. Ginzton, S. Anderson, J. Davis, J. Ginsberg, J.
half hours with accuracy-based control. We plan to examine larger Shade and D. Fulk. The Digital Michelangelo Project: 3D
models soon on a 64 bit machine with significant swap space, and scanning of large statues. In Kurt Akeley, editor, SIGGRAPH
believe based on current trends that we will be able to simplify 2000 Conference Proceedings, Annual Conference Series,
models containing hundreds of millions of faces. pages 131-144. ACM SIGGRAPH, Addison Wesley, July
As Figure 2 makes clear, most of the computation required to 2000. ISBN 0-201-48564-8.
simplify massive models in VMRSimp is performed at the early
stages of simplification, which put the model in coarse spatial [9] P. Lindstrom. Out-of-Core simplification of large polygonal
order. If input models already had some rough spatial models. In Kurt Akeley, editor, SIGGRAPH 2000 Conference
organization, simplification times might drop dramatically, as Proceedings, Annual Conference Series, pages 259-262,
reported in [14]. We have experimented with creating this rough ACM SIGGRAPH, Addison Wesley, July 2000. ISBN 0-201-
order in linear time using a hashing scheme similar to Lindstrom’s 48564-8.
algorithm [9], but have found that the resulting improvements in
simplification time were approximately the same as the expended [10] P. Lindstrom and C. Silva. A memory insensitive technique
hash times. However, it may be that the spatial organization for large model simplification. In T. Ertl, K. Joy and A.
achieved in our hashing attempts was too coarse. We plan to Varshney, editors, Proceedings IEEE Visualization, pages
investigate the possible benefits of using finer resolutions in our 121-126, IEEE, October 2001.
hashing scheme.
[11] D. Luebke. A developer’s survey of polygonal simplification
algorithms. IEEE Computer Graphics and Applications, vol.
21(3): 24-35, May – June 2001.
[12] R. Ronfard, and J Rossignac. Full-range Approximation of [14] V. Salamon, P. Lu, B. Watson, D. Brodsky and D. Gomboc.
Triangulated Polyhedra. Computer Graphics Forum. vol. A case study in improving memory locality in model
15(3): 67-76 and 462, 1996. simplification: metrics and performance. In B. Monien, V.K.
Prasanna and S. Vajpeyam editors, High Performance
[13] J. Rossaignac and P. Borrel. Multi-resolution 3D Computing Conference Proceedings, pages 137-148,
approximation for rendering complex scenes. Modeling in Springer Verlag, December 2001. ISBN 3-540-43009-1.
Computer Graphics, pages 455-465, 1993.
[15] E. Shaffer and M. Garland. Efficient adaptive simplification
of massive meshes. In T. Ertl, K. Joy and A. Varshney,
editors, Proceedings IEEE Visualization, IEEE October
2001.
Figure 4: Sensitivity to mesh boundaries. On the bottom row, the St. Matthew Face is simplified to roughly 500 vertices by adaptive
simplification [15] (left) and VMRSimp (right). Some normals were flipped by adaptive simplification – this could easily be remedied in the
algorithm itself. On the top, the face is simplified to 50,000 vertices, showing a better approximation of the original boundaries.
Figure 5: Lucy model simplified to roughly 500 (first column), 5000 (second column) and 50,000 (third column) vertices. The models in
the top row were simplified with Shaffer and Garland’s [15] algorithm, the middle row with Lindstrom’s [9] algorithm, and the bottom row
with VMRSimp. Each row includes a close-up of Lucy’s dress and a different view of her wing.
Figure 6: David model (28 million vertices) simplified to roughly 1000 vertices (left), 5000 vertices (middle) and 50,000 vertices (right),
using VMRSimp (bottom) and adaptive simplification (top). Note the extraneous joins at the groin and armpits in adaptive simplification.
Again, the flipped normals in adaptive simplification could easily be fixed.