CN107103639B - Method and system for determining a set of mesh polygons or segments of mesh polygons - Google Patents

Method and system for determining a set of mesh polygons or segments of mesh polygons Download PDF

Info

Publication number
CN107103639B
CN107103639B CN201710146079.2A CN201710146079A CN107103639B CN 107103639 B CN107103639 B CN 107103639B CN 201710146079 A CN201710146079 A CN 201710146079A CN 107103639 B CN107103639 B CN 107103639B
Authority
CN
China
Prior art keywords
mesh
visibility
polygon
polygons
viewcell
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.)
Active
Application number
CN201710146079.2A
Other languages
Chinese (zh)
Other versions
CN107103639A (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.)
Ba LiLinenZhanjinsi
Original Assignee
Ba LiLinenZhanjinsi
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 Ba LiLinenZhanjinsi filed Critical Ba LiLinenZhanjinsi
Publication of CN107103639A publication Critical patent/CN107103639A/en
Application granted granted Critical
Publication of CN107103639B publication Critical patent/CN107103639B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/10Geometric effects
    • G06T15/20Perspective computation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/10Geometric effects
    • G06T15/40Hidden part removal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/04Texture mapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/10Geometric effects
    • G06T15/40Hidden part removal
    • G06T15/405Hidden part removal using Z-buffer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • G06T15/60Shadow generation
    • 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/20Finite element generation, e.g. wire-frame surface description, tesselation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/003Navigation within 3D models or images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/16Indexing scheme for image data processing or generation, in general involving adaptation to the client's capabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/28Indexing scheme for image data processing or generation, in general involving image processing hardware
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/36Review paper; Tutorial; Survey

Abstract

The present invention relates to a method and system for determining a set of mesh polygons or segments of mesh polygons. The method comprises the following steps: determining at least one from-view occlusion boundary incident on the mesh polygon, the at least one from-view occlusion boundary having an unoccluded side and an occluded side; determining a number of mesh polygons to add to a set of mesh polygons or fragments of mesh polygons visible from the view region, the mesh polygons added by repartitioning a surface of the intersecting polygon meshes at an intersection between the at least one from the view region occlusion boundary and the polygon meshes on a non-occluded side; determining a number of mesh polygons occluded by the at least one occlusion boundary from view; removing the at least one occlusion boundary from view upon determining that the number of added mesh polygons exceeds the number of occluded mesh polygons by a predetermined threshold.

Description

Method and system for determining a set of mesh polygons or segments of mesh polygons
The present patent application is a divisional application of a patent application having an international application date of 2011, 6/29, and a national application number of 201180042082.0 entitled "system and method for determining visibility from a region and performing incremental PVS-based content stream processing using a conservative linearized umbra event surface".
Cross reference to related applications
The present application claims priority From the previous application date of U.S. provisional application No. 61/360,283, entitled "System and Method of From-Region visual Determination and Delta-PVS Based Content Streaming Using connective Linear Event surface", filed on 30.6.2010, the entire contents of which are incorporated herein by reference. The present application also claims priority from the previous application date of U.S. provisional application No. 61/382,056 entitled "System and Method of rendering and Controlling Interactive Media comprehensive predicted Packets of geometry, Texture, Lighting and Other Data in a wheel derived on a Receiving Device", filed on 9/13/2010, the entire contents of Which are incorporated herein by reference. This application also claims priority from the previous application date of U.S. provisional application No. 61/384,284 entitled System and Method of Recording and Using clinical Adaptation as Streaming Interactive Media, filed on 19.9.2010. The entire contents of this application are incorporated by reference into this application. The present application also claims priority from the previous application date of U.S. provisional application No. 61/452,330 entitled System and Method of Controlling visual-Based Geometry and Texture Streaming for Interactive Content Delivery, filed on 14.3.2011, the entire contents of which are incorporated herein by reference. The present Application also claims priority from the previous filing date of U.S. provisional Application No. 61/474,491 entitled System and Method of protecting door Engine data Formats and visual Event code Formats, filed on 12.4.2011, which is incorporated herein by reference in its entirety. This application also claims priority from the previous application date, U.S. provisional application No. 61/476,819 entitled "System and Method of rendering Targeted, Clickable, Opt-Out or Opt-in augmenting as a Unit", visual Event Stream for Games and Streaming Interactive Media ", filed on 19.4.2011. The entire contents of this application are incorporated by reference into this application.
Technical Field
The invention relates to a method and a system for generating an image using pre-computed visibility information.
Background
Real-time 3D graphics display hardware has become increasingly powerful and affordable. The availability of such hardware has enabled computer and game console applications to routinely display scenes containing tens of thousands of graphics primitives per frame. With few exceptions, these hardware display systems employ a Z-buffer based hidden surface removal algorithm.
The Z-buffer hidden surface removal algorithm accounts for per-pixel visibility by computing the Z (depth) value of each rasterized (rastered) pixel (or segment) for each primitive in the view frustum. During rasterization, the Z value of the current segment is compared to the existing Z values in the frame buffer and the color of the segment is written to the frame buffer only if the Z value of the current segment is less than the existing Z values in the Z buffer.
While this approach provides acceptable performance for relatively simple scenes, it does not provide sufficient real-time performance for complex, realistic scenes. Such scenes tend to have high depth complexity, which typically forces multiple comparisons of each element of the Z-buffer during rendering of a single frame. Essentially, all hidden surface samples located within the view frustum must be Z-rasterized and compared to the Z-buffer value to find the closest visible sample.
In some Z-buffer implementations, the rasterizing program often not only performs Z-determination and Z-buffer comparison for all hidden segments, but also computes a full rendering of the hidden segments, writing the resulting color to the frame buffer only when the corresponding Z-value is closer to the existing Z-buffer value. This can lead to computational waste and performance degradation for even moderate depth complexity scenarios.
Other Z-buffer implementations include some type of "early-Z" rejection, where the segmented color value is not calculated if the segmented Z value is greater than the corresponding Z-buffer value. This may reduce rendering of hidden segments, but only maximize efficiency when rendering graphics primitives in a back-to-front order.
Another modification to the hardware Z-Buffer is the integration of certain elements of the "hierarchical Z-Buffer" algorithm (Greenet et al 1993) (Green N., Kass, M., Miller, G, "hierarchical Z-Buffer Visability" Procedents of ACM Siggraph 1993pp.231-238, the entire contents of which are incorporated herein by reference). The algorithm employs a hierarchical representation of the Z-buffer to perform a fast visibility rejection test. Although a basic version of the hierarchical Z-buffer pyramids themselves have been implemented in some systems (e.g., Nvidia, ATI), the full hierarchical Z-buffer algorithm has proven difficult to implement on hardware. In these implementations, the low resolution version of the Z-buffer is saved in memory local to the respective rasterizer unit. These local representations are used in the "early Z" rejection test described previously. If the individual segments can be rejected by comparing them to the low resolution locally stored Z-buffer elements, slower access to the high resolution (non-local) Z-buffer is avoided.
In these accelerated hardware Z-buffer systems, the "early Z" rejection can sometimes prevent rendering of hidden segments and the hierarchical Z pyramid can expedite the "early Z" rejection test. However such acceleration systems still require: all primitives within the view frustum are processed through the geometry stage of the graphics pipeline and all segments in the view frustum including the occluded face are processed through at least the Z generate/reject test facies. Thus, these systems still perform poorly when rendering scenes of high depth complexity.
In view of the relatively poor performance of the Z-buffer system for high depth complexity scenes, the following algorithm has been developed: an algorithm that identifies occluded geometries and excludes such geometries from both the geometry stage and the rasterization stage of the hardware graphics pipeline. These occlusion culling techniques may be performed at runtime or during a preprocessing stage. A review of visibility culling techniques is published in the following documents: Cohen-Or et al (2003) (Cohen-Or, Daniel, et al, "A Surveiy of Visibility for Walktrough applications," IEEE Transactions on Visualization and Computer Graphics 9.3(2003):412-31.Print, visibility culling refers to any method of identifying and rejecting invisible geometry before actual hidden surface removal (i.e., through a Z-buffer), hi applications where graphics primitives are culled from the hardware pipeline, occlusion culling involves complex interrelationships between graphics primitives in the model and is generally more difficult to perform than view frustum culling.
In general, run-time occlusion culling techniques determine what geometry is visible from a single viewpoint. These techniques are referred to as "from-point" culling techniques. Instead, the pre-processing method for occlusion culling determines a subset of the geometry that is visible from any viewpoint in the specified region. The latter approach is referred to as "from-region" visibility techniques.
The investigation of Cohen-Or et al (2003) focused on "roaming" type applications, which are characterized by a relatively large number of static geometries and a high potential for depth complexity. Many computer games, simulators, and other interactive applications fall into this category. These applications tend to benefit greatly when "from-region" occlusion culling techniques are applied to the geometry database in a preprocessing step. These techniques divide the model into regions or cells. These viewports are navigable areas of the model that may include a viewpoint. During pre-processing, a subset of the graphics primitives that are potentially visible from anywhere within the viewcell (a potentially visible set or PVS) is determined. The main advantage of the visibility technique from a region perspective is the significant occlusion culling computation cost incurred in the pre-processing step rather than at run-time.
Generally, the visibility pre-processing technique from region view aims at computing a conservative overestimation of the exact PVS for the visual element. A first zone-seen visibility method is developed for interactive viewing of the architectural model. The building model is naturally subdivided into units (e.g., rooms, hallways) and visibility between units is visualized through connected ports (doorways, windows) called portals. Airey (1990) developed this structure in a simple axially aligned model. He demonstrated the following approach: the polygons visible through the portal are identified using approximate but conservative shadow penumbra calculations.
Teller (1992) (-Teller, Seth, Visivity Compounds in Densely Ocplus polyhedrial Environs. Diss. U of California at Berkeley,1992. Berkeley. U of California at Berkeley,1992, GAX93-30757.ACM Portal, the entire contents of which are incorporated herein by reference) and Sequin extended the method of Visibility from a region of a cell-Portal to a polygon model that does not require the user to define the non-axial alignment of walls and portals. Teller employs a BSP tree defined by the polygons of the model (auto-partition). The leaves of the BSP tree must be convex polygons, which may not be completely closed. These convex polygons are visibility cells (or viewcells) of the model. The open area on the boundary between adjacent cells is identified using cell adjacency information available in the BSP map and listed as an entry between visibility cells.
Thus, Teller reduces the visibility problem from region view to a more limited and simplified visibility problem through a series of polygon entries using the structure of BSP auto-partitioning. Teller indicates that: even for relatively limited visibility problems, the visibility event surface that separates the visible volume as seen from the cell and the occluded volume as seen from the cell is typically a conic surface.
Teller targets units by adoptionThe presence of extreme crossing lines that cross a portal or portal sequence in between determines cell-to-cell visibility. In this method, cell-to-cell visibility is determined by confirming the presence of at least one ray originating from the source cell and penetrating a series of portals to the connected cells. The presence of such a ray through four inlets is given, for example, by the extreme traversing rays incident on any four sides of the associated inlet. Such rays are identified using a Plucker (Plucker) mapping in which lines in three-dimensional space are mapped to planes in five-dimensional space. The intersection of these four planes in five-dimensional space forms a line that intersects the Prockel quadric to produce at most two non-imaginary (non-imaginary) results. Each of these intersections corresponds to a line intersecting four inlet sides in three-dimensional space, i.e., an extremum crossing line. Locating the cost of extremum traversing rays as O (n) of the number of edges in the entry sequence 2). Since the traversal is performed incrementally, the total cost is O (n)3). The method employs a singular value matrix decomposition method, which can exhibit numerical instability due to the degradation of geometry encountered in the traversal sequence.
Teller also developed a method to calculate the exact visible volume by entry sequence: non penumbra (antipenumbra) volume. As previously noted, in the general case, the volume is surrounded by both planar and quadric surfaces. In this method, the edges of the entry are again duplexed into the Prockian coordinates, with each line in 3-dimensional space representing the coordinates of a plane in 5-dimensional space. Planes corresponding to all edges in the entry sequence are intersected with each other using a higher-dimensional convex hull computation to form a polyhedron in a 5-dimensional space. The intersection of the facets with the Prock quadric corresponds to the extremum band (swing) or visibility event face between the entry edges. Instead of directly calculating the intersection of the 5D surface with the prock quadric, the intersection of the edges of the 5D polyhedron with the prock quadric is calculated. The intersection of the edges of the 5D polyhedron with the prock quadric corresponds to the line of extremum crossings of the bounding bands. The intersection of these 5D edges with the prock quadric is identified by finding the root of the quadratic equation. These bands are indirectly identified by calculating the intersection of the 5D edge with the pureck quadric and examining the faces of the 5D polyhedron that share the 5D edge (the edges in 3D).
Each band may be a component of the boundary of the non-penumbra, or alternatively, may lie entirely within the non-penumbra volume. The contain (containment) test is used to identify the boundary strip.
Teller finds it difficult to robustly implement non-penumbra calculations. This method requires high latitude linear programming computation and root finding methods, which together cannot be used sufficiently robust for complex models.
Teller (1992) and Teller and Hanrahan (1993) (Teller, Seth J., and Pat Hanrahan. "Global Visibility Algorithms for Illumination calculations." Proceedings of the 20th Annual Conference on Computer Graphics and Interactive technologies. New York: ACM,1993, the entire contents of which are incorporated herein by reference) have also developed a simpler technique for determining unit-to-unit and unit-to-object Visibility through portal sequences. In this implementation, the non-penumbra is conservatively approximated by a convex polyhedron. The "linearized" non-penumbra is surrounded by the separation planes of the entry sequence that effectively form the convex hull of the non-penumbra. The planes defining the boundaries of the linearized non-penumbra intersect each other and the bounding planes of the BSP leaf cells to determine visibility through the entry sequence.
Although the linearized non-penumbra approach overestimates the cell-to-cell visibility across the entry sequence, it is suitable for robust implementations.
In 1996, John Carmac used a method for pre-calculating the cell-to-cell visibility for the computer game Quake. The visibility pre-calculation method in Quake of Carmack is somewhat similar to the linearized non-penumbra method described by Teller. In both the Teller's method and the Carmac's method, the geometry database is subdivided by BSP trees with large obstructions (e.g., walls, floors) as splitting planes. Such subdivided terminal leaves are convex polyhedrons that may have one or more non-closed boundaries or entries. In both methods, entries between leaf cells are identified and cell-to-cell visibility is determined using linearized overestimation of the non-penumbra between entries.
In Teller's method, linearized non-penumbra is constructed by rotation from each entry edge to two specific extrema or "disjoint" vertices in the entry sequence: one in each half of the inlet. (an extremum vertex of an entry is a vertex that, together with the original entry edge, forms a separation plane between two entries.) the selected extremum vertex is generated in the plane with the entry and all other extremum vertices are located in the same half-space.
In the implementation of Carmac, pairwise sequential intersections of linearized non-penumbra are used to determine the existence of cell-to-cell visibility in the entry chain. No actual intersection of the non-penumbra with the object in each cell is made. The results are stored as cell-to-cell PVSs for each leaf cell.
Implementation of the Teller algorithm by Carmac in 1996 established BSP space subdivision using cell-to-cell visibility through portals as the preferred method of visibility precomputation for computer games. 3D computer gaming systems (e.g., Quake II, Quake III, and Valve Software "Source" game engines) that were later derived directly from Carmack's Quake code, or 3D computer Games unrelated thereto (e.g., Epic Games Inc "Unreal" game engine), employed pre-computed occlusion culling methods for densely occluded polyhedral environments.
In all of these systems, a "level editing" tool is used to create wall, floor and ceiling geometries and other static, potentially occluding, environmental elements to construct a modeled environment for the game. The geometry is then submitted to pre-processing that constructs a BSP tree from the geometry using conventional BSP algorithms. A second pre-processing is then typically invoked to compute a cell-to-cell PVS for each leaf cell of the BSP tree using the previously described visibility through entry method. The PVS for a particular leaf cell is typically stored as a valid compressed bit vector, which represents the other BSP leaf cells as seen from the source cell.
During run-time display of a particular leaf cell containing the current view, a simple BSP algorithm is used to determine the view leaf cell. The PVS for the viewpoint leaf cell is read and then the corresponding (potentially visible) leaf cell is removed hierarchically with respect to the current view cone using standard hierarchical view cone removal methods. Those graphics primitives from the PVS leaf cells located in the view frustum are then sent to the hardware graphics pipeline. During runtime display, primitives sent to the hardware graphics pipeline may also be further constrained using various point-wise occlusion culling methods, such as point-wise entry and non-entry culling. However, the pre-computed PVS is typically a working set of primitives for which run-time culling from point-to-point is performed. Thus, pre-computing PVSs is extremely important to runtime performance, not only because its own occlusion culling cost has been paid in pre-processing, but also because an accurate PVS can reduce the cost of runtime point-of-view occlusion culling methods by limiting the amount of geometry that must be manipulated.
Although the PVS pre-computed BSP/portal-sequence approach is widely used to enhance the performance of computing games and similar applications, the current implementation of this approach has a number of drawbacks. As discussed previously, a linearized approximation of the inlet sequence non-penumbra can enable the method to significantly overestimate the PVS size.
Another limitation of the present method is: the BSP needs to be constructed from potentially occluded geometry of the model (automatic partitioning). Spatial subdivision using balanced and spatially efficient BSP trees is known to be an inherently difficult problem (see, page 96, teler (1992)). For worst case tree size O (n)2) The optimal limit for the time complexity of the tree structure is O (n)3). With a good choice, a split heuristic BSP of reasonable size can be generated for models of moderate complexity. But for larger models, these temporal and spatial cost functions can make actual BSP construction and storage prohibitive. Thus, when using this method, the user must often limit the number of primitives used to construct the BSP. Complex objects comprising a large number of non-coplanar primitives are often excluded as potential occlusions,because they increase the time and space costs of BSP construction. Such objects are typically managed individually by: this approach requires the user (i.e., the level designer) to specify the above-mentioned objects as "detail" objects that do not provide the BSP plane and do not act as an obstruction during PVS pre-computation. These "detail" objects can still be used as potential occluded objects in this method. The detail object may be excluded from the PVS of the viewpoint leaf cell if the detail object is fully included within the PVS leaf cell and the leaf cell is not determined to be part of the cell-to-cell PVS for the given viewpoint leaf cell. Although objects are excluded from consideration as potential occlusions by replacing their occlusion possibilities based on the complexity of their geometry, this approach can significantly overestimate the actual PVS as seen from the region.
The related weaknesses of the BSP/entry-sequence approach are: for modeling environments other than the interior of a building, this approach performs poorly. When applied to a building interior model, the method is easy to naturally construct BSP leaf units corresponding to rooms having entrances corresponding to doors or windows. In contrast, for open, outdoor scenes, and many complex interior scenes, visibility is less clearly governed by the closed cell, open-portal relationship. In these scenarios, visibility is often limited primarily by independent obstructions that are not associated with relatively closed cells. When culling occluded geometries, the BSP/entry-sequence does not effectively account for the fusion of individual occlusions. Applying the BSP/entry-sequence method to such a scenario can result in a very large BSP and a very long entry sequence. Under these conditions, the method tends to take a very long time to compute PVSs that are highly overestimated and run-time inefficient. Applications using the BSP/entry-sequence method will typically avoid pre-computing PVS pre-computations for such scenes and instead rely on point-wise occlusion culling methods such as point-wise entry culling, e.g., by Source of Valve Software that must be computed at runtime RA dynamic non-entry method used by a game engine.
Initial descriptions of the entry sequence method by Teller include the following techniques: the cell-to-cell PVS is computed by intersecting the linearized non-penumbra with each cell in the BSP leaf cell. In practice, this technique is not employed by Carmac or other existing systems, in part because the storage cost of the cell-primitive PVS can be much higher than the cost of the cell-cell PVS.
Although various approximations have been used to simplify and speed up BSP/entry sequence visibility preprocessing, it is still a computationally expensive process. Because the BSP/entry sequence method overestimates PVS, a fully occluded graphics primitive may undergo expensive run-time preprocessing, even though it is not visible in the scene. The computational cost of processing occluded primitives at runtime can be paid for by the CPU, GPU, or both. CPU processing may include view frustum culling, point-wise entry culling, point-wise non-entry culling, and CPU cost to batch-commit primitives to the GPU. On the GPU side, occluded primitives may go through both the vertex processing and rasterization stages of the hardware graphics pipeline. One measure of the efficiency of pre-computed occlusion culling is the degree of overdraft that occurs at runtime. Whenever a rasterized fragment must be compared to a non-empty entry in the Z-buffer, it is possible that overdraws occur during rasterization. Non-empty entries in the Z-buffer are caused by earlier rasterization of segments at the same image space coordinates. Earlier entries may be located before or after (occluded from) the current segment. This condition must be addressed by the Z-buffer read and compare operation. If the Z value of the earlier entry is further than the Z value of the current segment, the earlier entry is overwritten. As described previously, modern hardware Z-buffer systems are sometimes able to prevent actual shading (shading) of occluded segments using an "early Z" rejection test that may include a hierarchical Z-compare mechanism. However, fully occluded primitives to the rasterization stage of the graphics pipeline are made to have at least each of their rasterized segments in comparison to the corresponding Z-buffer and/or its hierarchical equivalent. We use the following convention: the overdraw includes any "overlap" of segments in image space that requires at least a Z comparison operation.
When applying the BSP/entry sequence method to the building model of the game shake, the average overdraft was found to be 50% but could vary to 150% in the worst case. (Abrash 1997, pg. 1189, Abrash, Michael "Michael Abrash's Graphics Programming Black Book Special Edition", 1997The Coriolis Group, The entire contents of which are incorporated by reference in The present application). This level of foreshortening is encountered when aiming at relatively simple models, which have a maximum depth complexity of about 10 and in which the visible depth complexity is often intentionally minimized by carefully selecting the location of the obstructing walls or portals.
The latter implementation of the visibility precomputation method of Carmac is used in the Quake III computer game by ID Software. The environment simulated in this game has significantly more geometric detail (about 40,000 polygons per level) than the original Quake game. As in the original game, the level was carefully designed to include various obstacles including right angle aisles, walls behind doorways, stairs with U-turns, and other visibility obstructions. These obstacles are intentionally arranged to limit visibility within the model, thus reducing the size of the PVS to the visibility cell of the model. Even with these visibility barriers, approximate cell-to-cell portal visibility calculations can result in considerable overdraft during run-time display. When applying the BSP/entry sequence pre-computation method to Quake III, the BSP/entry sequence pre-computation method generally yields an overdraft of typically 80% and in the worst case over 300%. These results are obtained by measuring depth complexity during runtime roaming of a typical Quake III level using the-dc command line option. During these measurements, the effect of the multi-pass coloration must be carefully controlled.
Since even when the BSP/entry sequence method is applied in its most suitable modeling environment, it is a computationally expensive and relatively inefficient block-from-view occlusion culling method. Thus, more recent work has focused on block-wise occlusion culling methods that can be applied to general scenes and that produce more accurate PVSs at a reasonable computational cost.
Early conservative general region-wise occlusion culling methods are described in the following documents: Cohen-Or et al (1998) (Chrysanthemu, YIorgos, Daniel Cohen-Or, and Dani Lischinski. "Fast adaptive sensitivity for compact scenes." Proceedings of the Computer Graphics International 1998. Washington, DC: IEEE Computer Society,1998.220, the entire contents of which are incorporated herein by reference). In these methods, objects are culled only if they are occluded by a single, large, convex occlusion. Unfortunately, in practical applications it is rare to encounter the presence of large convex occlusions.
More recently, zone-wise visibility pre-calculation methods have been developed that attempt to combine occlusions (occlusion blending) that take into account the collection of smaller occlusions.
Durand et al (2000) (Dual, Fredo, et al, "statistical visual prediction Extended projects of the 27th Annual Conference on Computer Graphics and Interactive technologies. Proc. of International Conference on Computer Graphics and Interactive technologies. New York: ACM Press/Weslidding Co.,2000.239-48, the entire contents of which are incorporated by reference herein) propose a region-wise Visibility precomputation method using conserved image space representations, called generalized projections, of shades and occludens. In this method, a conservative pixel-based representation of a convex obstruction is constructed by rasterizing obstruction primitives from eight different viewpoints corresponding to the vertices of the viewcell. The generalized projection of a convex occlusion is the intersection of its projections from these viewpoints. The intersection can be computed by rasterizing the occlusions together into a hardware Z-buffer and stencil buffer data structure that forms a "generalized depth buffer". Occluded objects are represented conservatively as a union of their bounding box projections from the same viewcell vertex. If the sheltered object is completely covered by the sheltered object positioned in the generalized depth buffer area, the sheltered object is removed because the sheltered object cannot be seen from the area. Generalized projections of multiple occlusions are aggregated in a generalized depth buffer, which explains occlusion fusion.
The method may use a generalized depth buffer corresponding to a single set of six planes surrounding the entire environment. Alternatively, a continuous set of surrounding planes at increasing distances from the viewpoint unit may be used. In this case, the aggregate occlusion on the near plane can be projected onto the subsequent plane using a conservative convolution operator. This "occlusion sweep" reprojection method is more effective in capturing the fusion of multiple small occlusions at varying distances from the viewpoint unit. For example, this arrangement is used to account for occlusion aggregation in high depth complexity forest scenes.
The generalized projection method uses a large number of approximations that result in an overestimation of the PVS. First, because the method does not use the projection of the occluded object itself, the size of the potential occluded object is always overestimated. Alternatively, the bounding box of the occluded object is projected. Furthermore, the bounding rectangle of the second approximation of the projection is used to calculate the generalized projection of the occluded object. These successive approximations result in an overestimation of the size of the occluded object, thus reducing the accuracy of the PVS. Furthermore, the requirement for using occluded bounding boxes effectively limits the accuracy of the method of generating cell-to-object (rather than cell-to-primitive) PVSs.
The generalized projection method is able to directly rasterize only the convex occlusion to a generalized depth buffer. The concave occlusion must first be converted to a convex representation by intersecting the concave occlusion with the projection plane. This is an additional step that requires object space computation, which can be computationally expensive depending on the characteristics of the occluded object plane. Furthermore, if the position of the projection plane is not ideal, the intersection calculation can significantly underestimate the actual occlusion effect of the concave occlusion.
Another approximation used by the generalized projection method is the technique of re-projecting occlusions from one projection plane to a more distant one. The goal of this reprojection is to effectively identify the umbra of a planar obstruction (relative to the light source represented by the viewcell) and to find the intersection of this umbra with more distant planes. The generalized projection method conservatively estimates this intersection by convolving the image of the obstruction with the inverse image of the rectangle that serves as an overestimate of the light source formed by the viewpoint cell. This technique can significantly underestimate the self-shadow of an obstruction similar in size to the viewpoint cell. By significantly underestimating the size of the re-projected occlusion, this approach can easily overestimate the PVS.
The main motivation for the generalized projection approach is to detect occlusions caused by the combined effect of multiple small occlusions. Durand et al (2000) acknowledge that the method only detects fusion between occlusions whose umbra (occluded area) intersects, and when the intersecting volume itself intersects an arbitrarily chosen parallel projection plane. Because relatively few projection planes are used in the occlusion sweep implementation, this approach often fails to detect occlusion fusion caused by the ghost intersecting outside the vicinity of the projection planes.
Schaufler et al (2000) (Schaufler, Gernot, et al, "statistical Volumetric visualization with Occluder fusion," Proceedings of the 27th annular Conference on Computer Graphics and Interactive techniques, New York, ACM Press/Wesley Publishing Co.,2000.229-38, the entire contents of which are incorporated herein by reference) developed a precomputed conserved, region-wise PVS that requires a Volumetric representation of the modeling environment. In this method, the modeled object must be surrounded by a closed surface. The closed envelope surface has to produce a well defined internal volume for each object. It is assumed that the internal volume of the object is opaque and represented by convex voxels generated by the internal volume decomposition. The voxels serve as occlusions for the method. Occlusion is computed by finding the axis (snapshot) connecting the viewpoint cell and the voxel. The extension of the axis is the umbra within which all the geometric figures are occluded. The method accounts for occlusion fusion by combining neighboring voxels and by combining voxels and neighboring regions of the occluded space. The proposed implementation calculates the cell-to-cell PVS (e.g., modeled as a city of high field) for 2D and 2.5D environments. Although the authors discuss the extension of a full 3D environment, the computational and storage costs of the detailed volume representation of the 3D model are a real limitation of this approach. While the volume visibility method of Schaufler et al does not require the barrier to be convex, it does require the barrier to be a well-formed flow pattern with a recognizable solid (water-impermeable) interior volume. This enables each shade to be conservatively approximated by a box-like structure that lies entirely within the original shade. The approximate mask is generated by decomposing the interior into voxels and recombining the voxels in a process that attempts to maximize the barrier expansion of the included box-shaped approximate mask. This method requires that the approximate shade maintain a box shape to facilitate the configuration of the axis used to determine the shade. The main limitation of this approach is that many shades are poorly approximated by the box-like structure involved. In particular, concave objects or objects with topological holes (manifold of genus greater than 0) present an ambiguous situation for the obstacle extension algorithm and significantly underestimate the occlusion caused by the object. The 2.5D implementation of the method described by Schaufler et al for calculating PVS for viewcell in an urban model was tested primarily using graph objects of genus 0. The use of box-shaped internal shades tends to approximate these objects fairly well. For more realistic models comprising concave elements and apertures (e.g., doors and windows), this method is less efficient at approximating occlusions and therefore culling occluded geometries.
The volumetric visibility method detects occlusion fusion in the case of linearized umbra intersections of the occlusions. However, for individual shades, the barrier extension algorithm ultimately produces a simplified box-shaped approximation of the shaded aggregate region, which can significantly underestimate the effect of shade fusion.
Both the generalized projection method and the volumetric visibility method effectively treat viewcells as surface light sources and compute conservative linearized approximations to the silhouette of the polygonal mesh using image space and object space techniques, respectively. Algorithms for calculating Shadow boundaries (shadows and penumbra) for polygonal Area Light Sources, Nishita, Nakame (1985) (Nishita, Tomoyuki, Isao Okamura, and Eihachiro Nakamae, "shaping Models for points and Linear Sources," ACM Transactions On Graphics (TOG)4.2(1985):124-46, the entire contents of which are incorporated herein by reference), and Chin-Finer (1992) (Chin, Norman, and Steven Feiner, "Fast Object-Precision shape Generation for Area Light Sources use P trees," progress of the symmetry on interaction 3D Graphics. Proc. of the example Graphics interface 3D, the contents of which are also incorporated herein by reference.
These shadow boundary methods only use linear ghost event surfaces formed between a single convex polygon light source and a single convex polygon. Using these methods, for example, on non-convex polygonal meshes, can produce discontinuous umbral event surfaces that do not accurately represent the umbral volume. Thus, the use of these methods is practically limited to very simple models.
In 1992, Heckbert (Heckbert, P "Discontinuity Meshing for radiation", Third Eurogenics works hop on reconstruction, Bristol, UK, May 1992, pp203-216, the entire contents of which are incorporated herein by reference) used what is known as incomplete Discontinuity Meshing to construct accurate linear visibility event surfaces (penumbra and penumbra) projected from a planar light source from a simple polygon model. In this technique, linear event surfaces or wedges are formed between the edges of the light source and the vertices of the mask and between the vertices of the light source and the edges of the mask. Wedges intersect all model polygons and segments of polygons that are actually visible on the wedges are subsequently determined by using a 2D version of the point-from-view visibility algorithm of the Weiler-Atherton object space (Weiler, Kevin, and Peter Atherton. "high Surface Removal using Polygon Area encoding." Proceedings of the 4th Annual Conference Computer Graphics and Interactive technologies.new York: ACM,1977.214-22, the entire contents of which are incorporated herein by reference).
The primary motivation for the discontinuity gridding approach is to identify discontinuity boundaries within the penumbra. These boundaries may be used to increase the accuracy of the luminance calculation within the penumbra. Unfortunately, because the incomplete discontinuity gridding method constructs only exact linear ghost event wedges, it generally fails to produce a complete, continuous ghost event surface. This is because, for all but the simplest models, the continuous primitive event surface (e.g., incident on the outline contour of the polygon mesh) is formed by both the planar visibility event surface and the quadratic visibility event surface. Thus, the incomplete discontinuity meshing method is not suitable for recognizing mesh polygons or mesh polygon segments that are visible or occluded from a surface light source (or view cell).
In the prior art incomplete discontinuity meshing method, all visibility event surfaces are formed by vertices and edges. FIG. 53 is an incomplete discontinuity meshing method proposed by Heckbert from the prior art. The figure shows an accurate linear visibility event surface or wedge, such as a shaded triangular structural wedge R ". The wedge labeled wedge R "is incident on side e of the polygon and also at vertex v, which may be a vertex of the light source. In the incomplete discontinuity meshing method, the linear event surface is not defined on a segment of the edge that is not visible from the vertex. In the case of fig. 53, the "wedge R" is not defined on the segment of edge E labeled GAP E, because the polygon O occludes the vertex v as viewed from GAP E. Because the wedge is not defined on this segment, the intersection of the wedge with the polygon P creates a corresponding gap between "segment 1" and "segment 2". If wedge R is a ghost wedge, its intersection with P will result in an incomplete ghost boundary. Because of these gaps, linear visibility event wedges constructed by incomplete discontinuity meshing methods cannot be used alone to define the umbral boundaries (or visibility boundaries from the region view).
Drettakis and Fiume (1994) (Drettakis, George, and Eugene Fiume. "A Fast Shadow Algorihm for Area Light Sources Using Back project." Procedents of the 21st annular Conference on Computer Graphics and Interactive technologies. New York: ACM,1994.223-30, the entire contents of which are incorporated herein by reference) fully characterizes the visibility event facets that occur between a polygonal Light source and objects in a polyhedral environment. In a method called complete discontinuity gridding, both the ghost event faces and the penumbra event faces are identified and intersected with the model polygon. These intersections divide the model geometry into "complete discontinuity meshes" such that the view of the light sources in each facet is topologically equivalent. The discontinuity grid is shown as a useful data structure for computing the global brightness within the penumbra.
In the complete discontinuity gridding method, four types of event faces between a face light source (referred to as a "illuminant") and a polyhedral mesh object are identified. Two of these event surfaces are planar and the other two are quadratic.
The identified visibility event facets of the first type are formed between vertices or edges of the illuminant and particular edges or vertices of the polyhedral model. These polygons are called illuminant-VE or (E-EV) wedges. The authors emphasize that not all vertices of the polyhedral mesh support the E-EV wedge. The wedges are only supported for those grid edges where any point on the illuminant is a silhouette edge (they are called "shadow edge") from the point. All grid edges that support the ghost or penumbra E-EV wedge are identified by defining "silhouette edges from the area" in this manner.
Another type of planar visibility event surface used in complete discontinuity gridding is the non-illuminant-EV (NonE-EV) wedge. Such wedges are potentially formed between any edge and any other edge of the polyhedral mesh such that the formed wedges intersect the luminaire. For any edge of the polyhedral mesh, the supported NonE-EV wedges appear only in the axis formed between that edge and the illuminant. This fact is used to construct the identification NonE-EV wedge.
A third type of visibility event surface is a quadric surface formed from one edge of the illuminant and two edges of the polyhedral mesh. This is referred to as illuminant EEE event plane or EeEEE surface. Such a face is identified whenever two non-adjacent hypotenuses of the discontinuity grid intersect. The intersection actually corresponds to the intersection of the planar wedge with the contour edge as seen from the zone forming the contour of the composite contour]. The continuous visibility event surface at this point is a quadric surface.
The fourth and last class of visibility event surfaces formed between the face illuminant and the polyhedral mesh object are non e-EEEs. This is the quadratic event surface formed between the three hypotenuses of the polyhedral mesh so that the resulting quadric intersects the view cell.
In this specification, some modifications of nomenclature employ zone-wise visibility event surface classification based on Drettakis and Fuime (1994) to accommodate further sub-classifications. Table Ia includes four categories of visibility event surfaces originally proposed by Drettakis and Fuime (1994), which have been renamed for clarity.
TABLE Ia
Prior art nomenclature for visibility event surface from region
Visibility event surface Drettakis et al nomenclature
Planar event surface without features of illuminant/view element/source E-EV (illuminant-edge vertex)
Planar event surface without features of illuminant/view element/source NonE-EV
Secondary event surface including features of illuminant/visual element/source luminophores-EEE, EeEE
Secondary event surface including features of illuminant/visual element/source Non-illuminant EEE
Any of the four types of visibility event surfaces may ultimately contribute to the actual ghost boundaries seen from the illuminant (from the region), which separates the volume of space that is occluded from all points on the illuminant from the volume of space that is visible from any point on the illuminant. Unfortunately, with existing discontinuity mesh methods, there is no existing method to determine which event faces would contribute to the umbra boundary that defines the visibility from the zone. Thus, to identify conservative, region-wise visibility event boundaries using a discontinuity meshing method, all visibility event faces must first be generated and the resulting discontinuity mesh must be post-processed to determine which event face-mesh polygon intersection represents the actual region-wise visibility boundary.
Several other problems limit the use of discontinuity gridding methods to compute conservative visibility from regions. The secondary event surfaces make event surface projection difficult to implement. The event-projection surface is needed to find the visible conic section seen from the luminaire side (in the case of luminaire EEE wedges). This on-wedge visibility is typically addressed using a 2D implementation of the Weiler-Atherton visibility algorithm, which is difficult to implement robustly when using quadric.
As discussed previously, if the quadric is simply omitted (as in an incomplete discontinuity meshing method), there is no guarantee of a continuous, native shadow from the region making it impossible to determine visible mesh polygons from the region.
Another important limitation of the conventional discontinuous gridding method is that it does not show output-sensitive performance. This is because existing discontinuity meshing algorithms start with generating all visibility event faces on all (from the region view) contour edges of the polyhedral mesh. This includes the contour edges that are actually obscured from view from the illuminant/source. These event faces then intersect each potential polygon of the polyhedral mesh and subsequently, as post-processing, the visible segments on the wedges are identified using 2D Weiler-Atherton visibility. Because there is no depth prioritization at any stage of these algorithms, they do a very bad job in densely occluded environments, where most of the generated boundaries will lie within conservative region-seen ghost boundaries, and therefore do not contribute to the region-seen visibility solution.
As will be shown later in this specification, the present method of constructing a visibility graph with a conservative linearized umbral event surface generated using an output-sensitive algorithm solves the limitations of existing discontinuity meshing methods when applied to conservative region-seen visibility problems.
Using the classification of visibility event surfaces from region as described by Drettakis and Fiume (1994), it is apparent that the volume visibility method (Schauffler 2000) utilizes only E-EV surfaces to represent the umbral boundaries. Generalized projection methods (as well as other projective methods) also implicitly use the E-EV constitutive boundaries.
Many conservative region-wise visibility pre-computed image space techniques use "contracted occlusions" to conservatively approximate region-wise visibility using the visibility of a single point in the region-wise. Wonka et al (2000) (Wonka, Peter, Michael Wimmer, and Dieter Schmalstieg. "Visibility Preprocessing with occupancy Fusion for an Urban Walkthroughs." Proceedings of the Eurogrophics Workshop on retrieving Techniques 2000.London: Springer-Verlag,2000.71-82., the entire contents of which are incorporated herein by reference) uses this method to conservatively calculate Visibility from a region surrounding the viewpoint of a face located at a viewcell. Using a plurality of viewpoints located on the face of the view unit, the visibility from the view unit is calculated as the combined visibility from the points. The distance between the viewpoints determines the size of the occlusion contraction that must be applied to ensure a conservative result. Because this method samples visibility at multiple locations on the viewcell, it does not a priori assume that all non-occluded elements are fully visible from the entire viewcell.
In contrast to many of the previously described methods (including volumetric visibility and generalized projection), the method of Wonka et al does not assume that all non-occluded elements are fully visible from everywhere on the viewcell plane. Because it samples visibility from multiple locations on the view element, it can approximate a back projection that explains the partial occlusion of the view element from the unoccluded element. Because elements in the viewcell/light source penumbra can result in planar (NonE-EV) umbral boundaries and more accurate quadratic umbral boundaries (illuminant EEEs and non-illuminant EEEs) than E-EV boundaries, the E-EV boundaries are generated by assuming that the entire viewcell is visible from an unobstructed element. Another implementation of the method is proposed for a 2.5D model with view cells that are rectangular. This greatly reduces the complexity of the occlusion contraction process and substantially reduces the number of viewpoint samples required compared to a full 3D implementation. Unfortunately, because the implementation is limited to the 2.5D model, it cannot be used in most roaming applications.
Chuhangi et al (2005) (Chuhangi, Jatin, et al, "vLOD: High-Fidelity Walktrough of Large visual environments," IEEE Transactions on Visualization and Computer Graphics 11.1(2005):35-47, the entire contents of which are incorporated herein by reference) describe another visibility precomputation method that utilizes "systolic occlusion" to approximate the visibility from a viewcell using the visibility from a single point within the viewcell. The method utilizes a combined object space and image space approach. A "support plane tangent to the viewcell and the object" is constructed in object space. Viewpoints included in these support planes are selected, and for each support plane, an offset plane is constructed that passes through the viewpoints and is parallel to the original plane. According to the authors, the intersection of the positive half-spaces of these offset planes comprises a truncated cone that lies within the actual ghost of the original object. For each object polygon that generates a support plane, the shrinkage of the polygon is determined by the offset of the corresponding polygon for the selected viewpoint. Occlusion behind the occlusion object is determined by rendering a contracted version from the viewpoint and then expanding the rendered occlusion using the occlusion query of the depth buffer. The query returns zero for the non-visible occluded object. The method performs limited occlusion fusion by rendering a contracted occlusion prior to the occluded occlusion. All the contracted occlusions must be generated and rendered using the same viewpoint. The viewpoint must be located in the frustum of all the obstructions. The location of the viewpoint is chosen to maximize the sum of the volumes of the collapsed frustums using convex quadratic optimization that achieves a local minimum solution.
The accuracy of the collapsed occlusion is largely determined by the size and distribution of the occlusions under consideration. Thus, it is not easy to control the accuracy in this method.
Although this method acknowledges non-convex shades comprising individual polygons and a connected polygon mesh, it is not suitable for shades with holes. This is because the method relies on each occluded object having a single ambiguous line "boundary" that is actually the type of contour seen from the region. This is a significant limitation because some large polygonal meshes (e.g., buildings) that typically produce significant from-zone shading also have multiple topological holes (e.g., doors and windows).
As is evident from the foregoing analysis, many existing PVS pre-computation methods use a conservative linearized approximation of the silhouette boundary based on simple E-EV event surfaces (e.g., generalized projection, volume visibility), which assumes that the unoccluded elements are visible from anywhere on the viewcell (i.e., the entire viewcell is visible from the unoccluded elements).
Although existing original spatial methods of visibility pre-computation from region view do not use exact secondary visible event boundaries; other visibility applications compute secondary visible event surfaces in the original space. One of these applications, Visibility Skeleton (Visibility skeeleton) Durand (1997), is a data structure for answering global Visibility queries. Other applications, discontinuous meshing, are methods of calculating the brightness in the case of surface light sources. The discontinuity gridding method will be examined first.
As previously described, in the complete discontinuity gridding method of Drettakis and Fuime (1994), all visibility event facets that appear between a polygonal light source and a polyhedral model are identified and intersected with the polygons of the model. These intersections comprise the "complete discontinuity mesh" of the model with respect to the source. The discontinuity mesh divides the model geometric image into a mesh of faces such that the view of the source is topologically equivalent in each face. A complete discontinuity grid is a useful data structure for computing global intensities near the penumbra and penumbra boundaries.
In the complete discontinuity gridding method, four types of event surfaces are identified (see tables Ia and Ib). Two of these event surfaces are planar and the other two are quadric surfaces. The two planar event surface types previously discussed, E-EV and NonE-EV, are used by the conservative from-zone visibility event method to conservatively include the self-shadow boundary surface as seen from the zone. In some cases, these planes are actually part of the exact silhouette boundary formed by the silhouette edge and the viewcell as the light source.
Two types of quadric surfaces: illuminant edge-edge (illuminant EEE or E) eEE) and non-emitter-edge (non-emitter EEE) are part of some visibility event planes between the area light source and the model polygon. For example, in some cases, these quadric surfaces may be part of the exact silhouette boundary formed by the silhouette edge and the viewcell as the light source. In most cases, these event surfaces are part of a penumbra. The discontinuity mesh method describes a technique for identifying all secondary event surfaces that occur between the surface light source and the model polygon.
For example, in the discussion by Drettakis and Fuime (1994), both illuminant EEE and non-illuminant EEE event facets can be identified by forming an axis between the generator edge and the convex hull of the illuminant polygon. The illuminant EEE event plane is formed by the original edge in the axis, the edge of the illuminant, and other edges. The non-emitter EEE event plane is formed by pairs of original and non-parallel edges in the axis. Non-emitter EEE faces are those that intersect the emitter polygon. In both cases, the quadratic event surface of the identification rule is illustrated using the parametric equation for the first spanning metaedge:
Pt=a1+t(b1-a1)
wherein a is1And b1End point e of1
By forming a layer including points P and e2And points P and e 3To find a point P on a regular quadric surfacetThe value of t of (a). The intersection of these two planes forms1A line of intersection.
By calculating for the edge e2Endpoint a of2And b2And for edge e3Endpoint a of3And b3To find the effective interval to generate a regular quadric on the meta-edge. The intersection of the spaces is the active area on the first producer edge. (Teller also suggests using a parametric representation of the regular quadric to represent faces in 3D. however, in Teller's method, there are virtually no regular secondary visibility event faces identified in the original space.
In the discontinuous meshing method, once a quadric is identified by finding the effective interval of its generator edges, the coefficients of the corresponding quadratic equation are determined:
Ax2+By2+Cz2+Dyz+Exz+Fxy+Gx+Hy+Iz+J=0
the intersection of the quadric surface and the model polygon is a quadratic curve. It is determined by converting the three generated edges so that the polygon is embedded in a plane where z is 0. The quadratic curve is defined by subtracting all terms including z from the coefficients of the corresponding quadratic equation. To generate the discontinuity mesh elements, the quadratic curve is intersected with the edges of the model polygon and checked for visibility using a line sweep visibility processing algorithm.
In the discontinuity gridding method, all visibility event surfaces including the area light source and the model polygon are identified. These visibility event surfaces include not only the penumbra and extremum penumbra boundaries but also many other event surfaces that vary in the topological view or "aspect" of the light source from the model geometry over the entire range. In discontinuity meshing, visibility event faces are identified and intersected with model polygons, but no specific bounding volumes of these faces, such as the umbral volume, are computed. These intersections generally produce a fifth-degree spatial curve that is difficult to solve robustly. Fortunately, the intensity calculation using the discontinuity grid need not represent the ghost volume.
The construction of a complete discontinuity mesh does not require the event faces to intersect the model polygons, forming lines or conic lines on the faces of the polygons. These intersections are made by projecting a surface through the model. A spatial subdivision data structure based on a regular grid is used to limit the number of intersections made. After all these intersections are calculated, the visibility step determines the visible sub-segments on the wedge. Therefore, the construction of the discontinuity mesh is not output sensitive. And the cost of E-EV processing is O (n) which is the number of polygons 2). The quadric surface is also processed by first finding all quadrics formed by the intersection of the quadric surface with the model polygons, the visibility on the quadric surface being solved by the line sweep algorithm applied subsequently, the cost of quadric surface processing being O (n) of the number of polygons6)。
As with The complete discontinuity grid, The Visibility Skeleton (Durand et al 1997) (Durand, Fredo; Drettakis, George; pure, Calude; "The Visibility Skeleton: a Powerfull and Efficient Multi-Visibility Global Visibility Tool, SIGRAPH 1997 Proceedings, The entire contents of which are incorporated by reference herein) is a data structure that uses The original spatial approach to interpret The boundaries of secondary Visibility events. The visibility skeleton is a complete directory of visible events that occur between edges in the polyhedral environment. In visibility skeletons, the visibility information of a model is organized into the following graph structures: where the extremum crossing lines are nodes of the graph and the visibility event surface is an arc of the graph. Visibility skeletons may be used to answer visibility queries in those scenes that occur, for example, during global brightness computation.
Unlike complete discontinuity meshing, the visibility skeleton avoids direct processing of linear bands that include secondary visible event surfaces. Alternatively, the skeleton is constructed by directly computing only the extremum crossing lines that surround the event surface itself and correspond to the nodes of the visibility skeleton graph structure.
In the general case of an extremum crossing line incident on four edges (EEEE nodes), the above-mentioned nodes are identified using a set of tetrahedral wedges formed between these four edges. In this method, a generalized tetrahedron is formed between two of the above-mentioned edges, as shown in fig. 8a, 8b and 8c of Durand et al (1997). The figures mentioned in this paragraph refer to figures in the paper by Durand et al (1997). In fig. 8a, a generalized tetrahedron formed by edges ei and edges ej is shown. Shown along the third side ej in fig. 8b as ej segments within the generalized tetrahedron formed by ei and ej. [ the portion ej within the generalized tetrahedron will form the secondary visibility event (EEE) surface with ei and ej ]. In fig. 8c, the fourth el is shown. This fourth side similarly passes to three other generalized tetrahedrons that may intersect it: ekej, ekei, and ejei. The segment el located in all these tetrahedral wedges can form three quadric surfaces with the other three edges. Only one line will actually intersect an el and other lines. This is the extremum illuminant-EEE line or the node of the visibility skeleton that includes these four edges. It is found by a simple binary search of the restricted segment el. In this binary search, an initial estimate of the intersection point P on el is selected. The plane formed by this point and ei is then intersected with ej and e, giving two lines originating at P. The intersection P on the estimated el is refined by a binary search until the angle between the two lines originating at P is close to zero. This occurs when the lines are all equal, thus intersecting ei, ej, ek, and el. The extreme lines so identified are intersected with the model polygons using ray casting to determine the extreme lines between edges of any scene polygon that are occluded from generation. If the line is so occluded, no extremum crossing line is recorded.
Other nodes of the visibility skeleton, such as EVE, VEE, and EEV nodes, form the limits of a planar visibility event surface (e.g., VE), and are found by intersecting the relevant edges with the corresponding generalized tetrahedron.
The extremum crossing lines so identified are explicitly stored as nodes of the visibility skeleton. The visibility event surface (polygon or quadratic surface) enclosed by these lines is not directly computed, but instead is explicitly stored as an arc in the graph. Partial edges of the event surface are derived from nodes connected to the corresponding arcs. Subsequent use of a visibility skeleton for global visibility queries, such as discontinuity meshing in the case of a surface light source, may require the generation of a quadric surface using a quadratic form of parameters such as those described by Teller (1992).
As is evident from the foregoing analysis, the discontinuity meshing and visibility skeleton method includes an original spatial technique for identifying planar visibility event surfaces and secondary visibility event surfaces produced by a surface light source. Both effectively use the generalized tetrahedral wedge test to identify the quadric surface and the segment of the edge triplet that supports the quadric surface. Both methods produce all visibility event surfaces between related edges. Neither method is structured to effectively generate only one region-seen native boundary surface that is relevant in calculating the region-seen visibility.
Another way to calculate the visibility from a region is to convert the problem into line space and calculate the umbral boundary surface using the prock coordinates.
As previously described, the method of Teller (1992) developed the computing machinery necessary to compute the exact planar and quadric elements of the non-penumbral boundaries of an entry sequence. This method converts the problem to 5D line space.
Without the presence of different portals, the portal sequence is a significantly more efficient visibility problem than the general problem of visibility seen from a surface light source (or equivalently, a viewcell). Furthermore, to identify the quadratic surface elements of non-penumbra boundaries, Teller must convert the problem to line space using Procko coordinates and perform hyperplane intersection in 5D. This conversion increases the algorithm complexity of the processing and introduces potential robustness issues that do not arise when working in the original space.
Starting From 2001, two groups of researchers Bittner (2001) (J.Bittner and J.P ˇ rikryl. Exact registration using Line Space registration. technique. Rep. TR-186-2-01-06, Institute of Computer Graphics and Algorithm, Vinna University of Technology, March 2001.) and Nierenstein (2002) (Nirenstein, S., E.Blake, and J.gain. "Exact From-registration Visibility gathering. Proceedings of the 13th Eurology work registration. Proc. of the ACM International registration, Proceedings, Pirie, 2002, visual registration 28. Vision 2002.191. all of which were developed by the Exact procedure incorporated by reference into the present application for the Exact polygon registration, visual registration, see registration, Vocal. 28. Vision registration, Vocal. registration, see FIG. 32. the contents of this application are incorporated by reference. Like the exact non-penumbra computation of Teller, these methods require conversion of the problem to Procko coordinates and rely on a combination of numerical techniques including singular value decomposition, robust root finding, and high-dimensional convex hull computation. Unlike the Teller's method, these methods do not require automatic partitioning of the model into BSP trees with enumerated entries.
Generally, these two precise methods, Niernstein (2002) and Bittner (2001), are structured to determine whether there is a visibility query of an unobstructed line of sight between two convex graphics primitives (i.e., polygons). One of the tested polygons is a face of the viewcell and the other tested polygon is a mesh polygon of the modeling environment. The query determines that the polygons in the model, either individually or in combination, occlude all lines of sight between the tested polygons. The occlusion query represents the line space between polygons by a 5D euclidean space derived from the prock space. The mapping requires a singular value matrix decomposition. In a subsequent step, the method uses a constructive solid geometry operation performed in a 5-dimensional space. These processes forming the basis for visibility queries have high computational costs. Furthermore, because the underlying organization of the method uses polygons to polygon queries, the cost of natural implementation is O (n) which is the number of polygons2.15)(Nirenstein 2002)。
The scalability of the method at this worst case is improved by using trivial accept and trivial reject tests. The trivial acceptance of the visibility of polygons to polygons is established using a ray casting query of polygons to polygons. If a ray originating at one test polygon reaches another test polygon without being in phase with any intervening polygons in the database In return, visibility queries can be trivially accepted. Although this query has a lower computational cost than the exact Prock spatial visibility query, it is itself a relatively expensive test for trivial acceptance. A hierarchically organized database can be used to accelerate the trivial rejection of clusters of polygons. If the query determines that the bounding box of the object is occluded with respect to the viewpoint cell, then all polygons included by the bounding box are also occluded. Furthermore, the method treats the occluded bounding box itself as a simple "virtual occlusion". (Koltun et al 2000) (Koltun, Vladen, Yiorgos Chrysanthemu, and Daniel Cohen-Or. "Virtual Ocplus: An effective Intermediate PVS registration." Proceedings of the Eurographics Workshop on retrieval Techniques 2000. London: Springer-Verlag,2000.59-70, the entire contents of which are incorporated herein by reference). As defined by Koltun et al (2000), the virtual occlusion is not part of the original model geometry, but still represents a set of occlusion lines. If the bounding box of the object is not occluded, it can be used as an occlusion for any geometry located behind it. Because the bounding box itself is more than enough to test for occlusion for objects behind it, there is no need to consider any of the polygons within the occluded bounding box as an occlusion candidate. Using these virtual occlusions in conjunction with the front-to-back processing of the scene objects of Nirenstein et al (2000), it is evident that the scalability of the method is from O (n) for some tested scenes 2.15) Is increased to O (n)1.15). Nevertheless, this approach is shown to have a large constant computational overhead. For a densely occluded forest scene consisting of 780 ten thousand triangles, preprocessing on a dual Pentium IV 1.7GHz multiprocessor takes 2 days and 22 hours. In contrast, preprocessing the same database using the Durand et al generalized projection method implemented on a 200MHz MIPS R10000 uniprocessor with SGI Onyx2 graphics hardware takes only 59 minutes. This exact method presents an average of 99.12% geometry, in contrast to 95.5% rejection achieved using the conservative generalized projection method.
One reason for the high computational cost of this accurate method is: polygon-to-polygon occlusion queries separately process occlusions caused by each polygon and do not explicitly account for connection relationships between polygons to compute aggregate occlusions. The exact method interprets the combined occlusion of connected polygons by only expensive 5D construction solid geometry processing that processes each polygon individually. For this precise approach, the combined occlusion of connected polygons is determined only by subtracting each 5D polygon (representing a candidate for occluding the polygon) individually from the 5D polygon (representing the cell to polygon line of sight). In the case of a connected grid, the shared edges represent the trivial case of occlusion blending, but for an accurate method the blending of these occlusions must be explicitly computed and represents a degenerate case of the algorithm, since the resulting polyhedrons intersect exactly along the shared edges. In this scenario, the approach of Niernstein et al (2002) completely ignores the important issue of identification of those specific edges of the polygon model that potentially support the visibility event surface from the region view, and instead uses all polygon edges for visibility queries.
In the latter implementation, Nirenstein et al (2005) (Nirenstein, S., Haumont, D., Makinen, O., A Low dimensional Framework for Exact Polygon-to-Polygon encapsulation materials, Eurographtics Sysmposum on Rendering 2005, the entire contents of which are incorporated herein by reference) addresses this shortcoming of this approach by identifying potential outline boundaries as seen from the viewing cell and constructing blocking polyhedrons in 5D along these boundaries. The definition of the outline edge from area used in this method is substantially the same as that used in the earlier complete discontinuity gridding method of Drettakis et al (1994). Although a bench implementation using this lifting speeds up the method by a factor of 30, the method still has a high constant computational overhead.
In addition to being computationally expensive, this precise method is difficult to implement robustly. Singular value decomposition, robust root finding and higher-dimensional constructive solid geometry calculation of the method tend to be very sensitive to numerical tolerances and geometry degradation.
Another disadvantage of this precise from-zone approach is: current implementations generally do not identify and remove occluded portions of partially occluded polygons. The current implementation of the method uses polygon-polygon visibility queries between the faces of the viewcell and the model polygon. The query is specifically structured to identify unobstructed regions between the tested polygons and to terminate early if any such regions are detected. Such an implementation includes the entire polygon in the PVS, even if only a small portion of it is visible from the viewcell. Thus, while the PVS calculated by these implementations may be a "precise" set of polygons visible from the region, the PVS may significantly overestimate the exposed surface area visible from the viewcell for most polygons. This can result in significant run-time overdraft. Modifying the exact from-region implementation to determine non-occluded segments can substantially increase computational cost and implementation complexity because: 1) the benefit of early termination is lost and 2) the boundary between an unoccluded segment and an occluded segment is quadratic.
Because these line space methods compute the quadratic ghost boundaries between the source polygon and the target polygon, they can provide an accurate solution to the visibility query. In contrast, the conservative approach of visibility pre-computation uses less accurate linearized umbral boundaries, either explicitly (volumetric visibility) or implicitly (projection approach). However, because these conservative methods work in raw space, they are suitable for simpler, more robust implementations than line space methods that require robust root finding and higher dimensions to construct solid geometry.
In both the generalized projection method and the volumetric visibility method, as well as the exact from-region method, PVS is calculated for a parallelepiped viewing element comprising navigable space. The use of planar hexahedron view cells has several advantages over the typical convex polyhedron view cells used by the BSP/portal sequence approach. The spatial subdivision defining the parallelepiped viewing elements can be easily arranged into a spatial hierarchy (e.g., a k-d tree) that facilitates a hierarchical approach to PVS determination. In this method, which is used by both the generalized projection method and the volume visualization method, the PVS is determined for viewcells at a high level in the hierarchy and used as a working set to recursively determine PVSs for sub-viewcells lower in the hierarchy.
Another advantage of the parallelepiped element is: they have a simple cell-abutting relationship to adjacent cells. This relationship is used in a generalized projection implementation implementing an incremental PVS storage scheme, Durand et al (2000). In this scheme, the entire PVS for many critical viewcells is stored. For most other viewcells, a set of differences representing PVSs of neighboring viewcells is stored. The storage scheme substantially reduces the storage requirements for PVS data.
In a generalized projection implementation, the computed PVS encodes conservative viewcell-to-scene-graph-cell visibility at the coarse granularity level. For this approximate solution, incremental PVS storage for 12,166 viewcells (1/12 representing the street region of the city model including 6 million polygons) requires 60MB of storage space. It is speculated that the storage space for incremental PVS data for viewcells comprising all streets would be 720 MB. During the runtime portion, all the geometry is stored in main memory and incremental PVS data is retrieved from the disc.
Another region-wise visibility method that uses the incremental PVS storage scheme is the Vold method of chugani et al (2005). In this implementation, the visibility from region solution uses a variation of the "shrink obstruction" method to provide a conservative viewcell-object PVS.
The delta PVS is a list of object IDs that refer to newly visible or newly invisible objects for viewcell transitions. In contrast to the generalized projection method, Vlod implementation does not require storing all of the model geometry in main memory. Instead, the geometry is stored on disk and the current and predicted viewpoint locations are used to guide the speculative prefetch process, which dynamically loads the delta PVS data and the model geometry data. Model geometry is stored on disk using an object reordering scheme that reduces disk access times by storing objects that tend to be prefetched together on disk. Delta PVS data is also stored on disk. For a powerplant model with 130 thousand triangles and 500,000 viewcells, 7GB of storage space is required to store the incremental PVS object IDs.
At run-time, the Vold implementation can render models that are too large to be stored on main memory in real-time. Because the rendered model is not textured in Vlod implementations, this approach does not address the storage and dynamic pre-fetching of texture information. In most modern roaming applications, such as games, the amount of texture information for a model is usually much larger than the amount of geometry information.
The Vlod system is an example of an out-of-core real-time rendering system that uses geometry prefetching based on pre-computed visibility from a region. Earlier examples of this method by Funkhouse (Database Management for Interactive displays of Large architecture Models, Proceedings of the conference on Graphics interface'96 Toronto, Ontario, Canada Pages:1-8 Yeast of Publication:1996 ISBN:0-9695338-5-3, the entire contents of which are incorporated herein by reference) used geometric PVS data calculated by the entry sequence method. This implementation also uses untextured geometry and, like Vold, does not address prefetching of texture information.
Other memory methods use prefetching based on a runtime-conservative point-of-view visibility method (e.g., priority layer projection algorithm or PLP) that is used to determine a conservative subset of the model (IWALK, MMR) that is visible from the viewpoint. In a variant of this method, the process of primitive reprojection is used to directly identify model geometries that become newly exposed due to viewpoint motion (U.S. patent No.6111582, Jenkins). These zone-wise visibility methods must be computed at runtime, thus increasing the overall runtime computation cost.
The goal of the out-of-core rendering system is to enable an uninterrupted survey of very large, detailed environments that cannot fit into the core memory. When effectively implemented, the stream processing method can eliminate frequent interrupts caused by conventional loading schemes in which an entire portion of the environment (e.g., a level) is loaded before the next level is reached. Subdividing the 3D model of the load thoroughly into different "levels" simplifies the loading and display of graphical information while forcing the user to experience a series of disaggregated locations separated by loading times that often disrupt the consistency of the experience.
The available data transfer between The auxiliary memory and The core is a significant limiting factor to stream processing implementations (Brad Bulkley, "The Edge of The World" Game Developer mountain June/July 2006 pg.19, The entire contents of which are incorporated by reference into this application). The incremental PVS storage scheme can substantially reduce the transfer rate required to stream pre-fetched data. Current incremental PVS implementations do not provide a way to manage texture information. Furthermore, they use coarse-grained cell-to-object or cell-to-scene graph-cell PVS data, which is calculated using an inaccurate from-region visibility pre-calculation that results in overestimating the PVS/delta PVS data. If the incremental PVS data causes the pre-fetch process to exceed the transfer rate between the secondary storage and memory, a visibility error may be generated.
The from-region visibility pre-calculation method, which can determine occluded polygon segmentation and texture, can yield a more accurate cell-to-polygon PVS/delta PVS than existing methods. This may reduce the transmission rate required to support streaming pre-fetching and may also enhance the performance of the display hardware by reducing the overdraft.
Conclusion of the background section
As is apparent from the foregoing analysis of the prior art, the existing from-region visibility pre-calculation method uses: a) an inexact visibility event boundary that produces an inexact PVS solution, or b) an exact visibility event surface that must be computed in five-dimensional line space. Such line space calculations incur high computational cost and algorithm complexity and are difficult to implement robustly. Furthermore, for a single collection of polyhedral objects, some of the exact visibility event faces from the region are well approximated by simpler linearized extremum umbra boundaries; while others are not. This makes the exact method overly sensitive to detailed inputs in the following respects: in some regions of a typical polyhedral model, a large number of computations may be spent to compute a very small number of occlusions.
Thus, a general PVS determination method that identifies conservatively linearized umbral event surfaces in the original space estimates the deviation of these surfaces from the exact event surface and adaptively refines these surfaces to more accurately approximate the exact surface, which enables a region-wise visibility pre-calculation with improved accuracy and reduced computational cost compared to prior methods.
This practical accuracy controlled PVS determination method can be used in conjunction with incremental PVS and intermediate representation that reduces storage cost and facilitates visibility-based stream prefetching. Because only geometric, texture, and other graphical elements visible near the user's initial position are initially transmitted, this visibility-based stream pre-fetching approach enables the user to quickly begin interacting with large textured 3D models. This initial data is typically a small portion of the overall graph database for the modeling environment. This approach can significantly reduce latency for interaction compared to prior approaches such as MPEG-4 part 11(VRML or X3D) that do not specify an efficient visibility-based prefetch stream processing approach. Such prior approaches typically required loading of the entire database before interaction began, or alternatively, suffered from visibility errors (e.g., a sudden appearance of an object) during user navigation.
Disclosure of Invention
In an exemplary embodiment, a method determines a set of mesh polygons or fragments of mesh polygons visible from a view region having a plurality of view region vertices, the mesh polygons forming polygon meshes. The method includes determining at least one supporting polygon between the view region and the polygon mesh. The method further includes constructing at least one wedge from the at least one supporting polygon, the at least one wedge extending away from the view region beyond the at least polygonal mesh. Further, the method includes determining one or more intersections of the mesh polygons with the wedges. Additionally, the method includes determining a set of mesh polygons or fragments of mesh polygons visible from the view region using the determined one or more intersections of the at least one wedge with the mesh polygons.
In an exemplary embodiment, the proposed method is for receiving a set of mesh polygons or fragments of said mesh polygons visible from a view region having a plurality of view region vertices, said mesh polygons forming polygon meshes. The method includes receiving a set of said mesh polygons or fragments of said mesh polygons visible from said view region, said set of mesh polygons determined according to one or more intersections of at least one wedge with said mesh polygons, said at least one wedge incident on a first-order silhouette edge, and said at least one wedge constructed according to at least one supporting polygon between said view region and said polygon meshes. The method further includes displaying the received set of mesh polygons or fragments of the mesh polygons visible from the view region.
In an exemplary embodiment, the system determines a set of mesh polygons or fragments of the mesh polygons visible from a view region having a plurality of view region vertices, the mesh polygons forming polygon meshes. The system includes a processor having a component configured to determine at least one supporting polygon between the view region and the polygon mesh. The processor is further configured to construct at least one wedge from the at least one supporting polygon, the at least one wedge extending away from the view region beyond at least the polygon mesh. The processor is also configured to determine one or more intersections of the wedges with the mesh polygons. The processor is further configured to determine the set of the mesh polygons or fragments of the mesh polygons visible from the view region using the determined one or more intersections of the polygon meshes with the at least one wedge. The system also includes a client device for displaying the set of mesh polygons or fragments of the mesh polygons visible from the view region.
In an exemplary embodiment, a non-transitory computer readable storage medium has stored thereon executable instructions that, when executed by a processor, cause the processor to perform a method of determining a set of mesh polygons or fragments of the mesh polygons visible from a view region having a plurality of view region vertices, wherein the mesh polygons form polygon meshes. The method includes determining at least one supporting polygon between the view region and the polygon mesh. The method further includes constructing at least one wedge from the at least one supporting polygon, the at least one wedge extending away from the view region beyond the at least polygonal mesh. Further, the method includes determining one or more intersections of the wedges with the mesh polygons. Additionally, the method includes determining a set of mesh polygons or fragments of mesh polygons visible from the view region using the determined one or more intersections of the polygon meshes with the at least one wedge.
In an exemplary embodiment, the method determines a set of mesh polygons or fragments of mesh polygons visible from the view region, the mesh polygons forming polygon meshes. The method includes determining at least one from-view occlusion boundary incident on a mesh polygon, the at least one from-view occlusion boundary having an unoccluded side and an occluded side. The method further includes determining a number of mesh polygons to add to the set of mesh polygons or fragments of mesh polygons visible from the view region, the mesh polygons being added by repartitioning a surface of the intersecting polygon meshes at an intersection between at least one occlusion boundary from the view region and the polygon meshes on an unoccluded side. In addition, the method includes determining a number of mesh polygons occluded by at least one occlusion boundary seen from the view region. Further, the method comprises: removing at least one occlusion boundary from view upon determining that the number of added mesh polygons exceeds the number of occluded mesh polygons by a predetermined threshold.
In an exemplary embodiment, a method receives a set of mesh polygons or fragments of the mesh polygons visible from a view region having a plurality of view region vertices, the mesh polygons forming polygon meshes. The method includes receiving a set of said mesh polygons or fragments of said mesh polygons visible from said view region. The set of mesh polygons excludes at least one from-view-region occlusion boundary removed from the set of mesh polygons or fragments of the mesh polygons visible from the view region, the at least one from-view-region occlusion boundary having an unoccluded side and an occluded side. Removing at least one occlusion boundary from the set of mesh polygons or fragments of the mesh polygons visible from the view region when it is determined that the number of mesh polygons added to the set of mesh polygons or fragments of the mesh polygons exceeds the number of mesh polygons occluded by the at least one from-region occlusion boundary by a predetermined threshold. Adding the number of mesh polygons by repartitioning a surface of the intersecting polygon meshes at an intersection between the polygon meshes on the unoccluded side and the at least one from view region occlusion boundary. The method further includes aggregating the mesh polygons or fragments of the mesh polygons visible from the view region.
In an exemplary embodiment, the system determines a set of mesh polygons or fragments of the mesh polygons visible from the view region, the mesh polygons forming polygon meshes. The system includes a decoder having a processor configured to determine at least one from view region occlusion boundary incident on the mesh polygon, the at least one from view region occlusion boundary having an unoccluded side and an occluded side. The processing is further configured to determine a number of mesh polygons added to the set of mesh polygons or fragments of the mesh polygons visible from the view region, the mesh polygons added by repartitioning surfaces of the intersected polygon meshes at intersections between polygon meshes on the unoccluded side and the at least one out-of-view occlusion boundary. The processor is further configured to determine a number of mesh polygons occluded by the at least one from view region boundary. The processor is further configured to: removing the at least one from view occlusion boundary when the number of added mesh polygons exceeds the number of occluded mesh polygons by a predetermined threshold. The system also includes a client device that displays the set of mesh polygons or fragments of the mesh polygons visible from the view region.
In an exemplary embodiment, a non-transitory computer readable medium has stored thereon executable instructions that, when executed by a processor, cause the processor to perform a method of determining a set of mesh polygons or fragments of the mesh polygons visible from a view region, the mesh polygons forming polygon meshes. The method includes determining at least one from view region occlusion boundary incident on a mesh polygon, the at least one from view region occlusion boundary having an unoccluded side and an occluded side. The method further includes determining a number of mesh polygons added to the set of mesh polygons or fragments of mesh polygons visible from the view region, the mesh polygons being added by repartitioning surfaces of intersecting polygon meshes at an intersection between the mesh polygons on an unoccluded side and at least one occlusion boundary seen from the view region. Further, the method includes determining a number of mesh polygons occluded by the at least one occlusion boundary from view region. Further, the method comprises: removing the at least one occlusion boundary from view when the number of added mesh polygons exceeds the number of occluded mesh polygons by a predetermined threshold.
In an exemplary embodiment, a method determines a set of mesh polygons or fragments of mesh polygons visible from a view region having a plurality of vertices, the mesh polygons forming polygon meshes. The method includes traversing at least one mesh polygon from the set of mesh polygons and stopping the traversing when at least one first-order silhouette edge is encountered. The method further includes constructing at least one wedge on the first order contour edge. Further, the method includes determining at least one intersection of the at least one wedge with another mesh polygon from the set of mesh polygons. The method further includes determining whether the at least one intersection is an occlusion boundary as seen from the view region. The method further includes continuing traversal on an unoccluded side of the occlusion boundary from view region when it is determined that the at least one intersection is a from view region occlusion boundary.
In an exemplary embodiment, a method receives a set of mesh polygons or fragments of the mesh polygons visible from a view region having a plurality of vertices, the mesh polygons forming polygon meshes. The method includes receiving, at a client device, the set of mesh polygons or fragments of the mesh polygons visible from the view region. Determining, by the encoder, the received set according to a traversal method comprising: traversing at least one mesh polygon from said set of mesh polygons, aborting traversal when encountering at least one first-order silhouette edge, constructing at least one wedge on said first-order silhouette edge, determining at least one intersection of said at least one wedge with another mesh polygon from said set of mesh polygons, determining whether said at least one intersection is a from view region occlusion boundary, and when said at least one intersection is a from view region occlusion boundary, continuing said traversal on an unoccluded side of said from view region occlusion boundary. The method further includes displaying, by the client device, the set of mesh polygons or fragments of the mesh polygons visible from the view region.
In an exemplary embodiment, the system determines a set of mesh polygons or fragments of the mesh polygons visible from a view region having a plurality of vertices, the mesh polygons forming polygon meshes. The system includes a processor having a processor configured to traverse at least one mesh polygon from the set of mesh polygons. The processor is further configured to abort the traversal when at least one first-order contour edge is encountered. The processor is further configured to construct at least one wedge on the first contour edge. The processor is further configured to determine at least one intersection of the at least one wedge with another mesh polygon from the set of mesh polygons. The processor is further configured to determine whether the at least one intersection is an occlusion boundary as seen from the view region. The process is further configured to continue said traversal on an unoccluded side of said from-view-region occlusion boundary when said at least one intersection is determined to be a from-view-region occlusion boundary. The system also includes a client device for displaying a set of mesh polygons or fragments of the mesh polygons visible from the view region.
In an exemplary embodiment, a non-transitory computer readable storage medium has instructions stored thereon that, when executed by a processor, cause the processor to perform a method of determining a set of mesh polygons or fragments of the mesh polygons visible from a view region having a plurality of vertices, the mesh polygons forming polygon meshes. The method includes traversing at least one mesh polygon from the set of mesh polygons and aborting the traversing when at least one first-order silhouette edge is encountered. The method further includes constructing at least one wedge on the first-order contoured edge. Further, the method includes determining at least one intersection of the at least one wedge with another mesh polygon from the set of mesh polygons. The method further includes determining whether the at least one intersection is an occlusion boundary as seen from the view region. The method further comprises continuing said traversal on an unoccluded side of said from-view-region occlusion boundary when it is determined that said at least one intersection is a from-view-region occlusion boundary.
In an exemplary embodiment, the method determines and stores information describing a first set of mesh polygons, the mesh polygons forming polygon meshes, the first set of mesh polygons visible from the first view region. The method includes determining and storing a second set of mesh polygons visible from a second view region, the second view region containing the first view region. The method further includes determining and storing information indicative of at least one mesh polygon belonging to a set of connected mesh polygons visible from the first view region. The method further comprises determining and storing information representing at least one boundary edge of the at least one set of connected mesh polygons.
In an exemplary embodiment, the method uses the stored information to determine a first set of mesh polygons that form polygon meshes, the first set of mesh polygons being visible from the first view region. The method includes retrieving a second set of mesh polygons visible from a second view region, said second view region containing said first view region. The method further includes retrieving information indicative of at least one first mesh polygon belonging to a set of connected mesh polygons visible from the first view region. The method further comprises retrieving at least one boundary edge indicative of the at least one set of connected mesh polygons. The method further comprises traversing said at least one set of connected mesh polygons belonging to said second set of mesh polygons. The traversing comprises the following steps: starting the traversal at the at least one first mesh polygon and aborting the traversal when the at least one boundary edge is encountered during the traversal.
In an exemplary embodiment, the system determines and stores information describing a first set of mesh polygons, the mesh polygons forming polygon meshes, the first set of mesh polygons visible from the first view region. The system includes a decoder having a processor configured to determine a second set of mesh polygons visible from a second view region, the second view region including the first view region. The processor is further configured to determine information indicative of at least one mesh polygon belonging to a set of connected mesh polygons visible from the first view region. The processor is further configured to determine information indicative of at least one boundary edge in the at least one set of connected mesh polygons. The system further includes a database storing the second set of mesh polygons, the information indicative of the at least one mesh polygon, and the information indicative of the at least one boundary edge.
In an example embodiment, a non-transitory computer readable storage medium has stored thereon executable instructions that, when executed by a processor, cause the processor to perform a method of determining and storing a set of mesh polygons describing a first mesh polygon, the mesh polygons forming a polygon mesh. The method includes determining and storing a second set of mesh polygons visible from a second view region, the second view region containing the first view region. The method further includes determining and storing information indicative of at least one mesh polygon belonging to a set of connected mesh polygons, the set of connected mesh polygons being visible from the first view region. The method further comprises determining and storing information representing at least one boundary edge of the at least one set of connected mesh polygons.
In an exemplary embodiment, a method, at a server, of controlling sending of graphics information to a client device, said graphics information comprising a first set of graphics information visible from a second view region and not visible from a first view region, and said graphics information comprising a second set of graphics information visible from the second view region and not visible from the first view region, the second set of graphics information having a lower level of detail than the first set of graphics information. The method includes determining a first period of time during which a first set of graphical information will arrive after a client device is scheduled to access the first set of graphical information on the client device. The method further includes transmitting a second set of graphics information during the first time period.
In an exemplary embodiment, a method of controlling navigation-based pre-fetch reception of graphics information from a server device is performed on a client device, the graphics information including a first set of graphics information visible from a second view region and not visible from a first view region. The method includes determining a first period of time during which a first set of graphical information will arrive after a client device is scheduled to access the first set of graphical information on the client device. The method further includes receiving adjustment information during the first period, the adjustment information for reducing the viewpoint velocity.
In an exemplary embodiment, the system controls navigation-based pre-fetch sending of graphics information, said graphics information including a first set of graphics information visible from a second view region and not visible from a first view region, and said graphics information including a second set of graphics information visible from said second view region and not visible from the first view region, the second set of graphics information having a lower level of detail than the first set of graphics information. The system includes a server having a processor configured to: a first time period is determined during which the first set of graphical information will arrive after the client device is scheduled to access the first set of graphical information on the client device. The processor is also configured to transmit a second set of graphics information during the first time period. The system further includes a client device for displaying a second set of graphics.
In an exemplary embodiment, a non-transitory computer readable storage medium has stored thereon executable instructions that, when executed by a processor in a server, cause the processor to perform a method for controlling navigation-based pre-fetch sending of graphics information to a client device, the graphics information including a first set of graphics information visible from a second view region and not visible from a first view region, and the second graphics information including a second set of graphics information visible from the second view region and not visible from the first view region, the second set of graphics information having a lower level of detail than the first set of graphics information. The method includes determining a first period of time during which a first set of graphical information will arrive after a client device is scheduled to access the first set of graphical information on the client device. The method further includes transmitting a second set of graphics information during the first time period.
Thus, at least one embodiment has the following objects and advantages. The following list of objects and advantages is not exhaustive and serves to emphasize only some of the objects and advantages of an embodiment.
It is an object to provide a method of determining: a) a set of potentially visible graphical primitives from each element in the set of viewcells, and b) a portion of the partially occluded primitives that are potentially visible from each element in the set of viewcells.
Advantageously, by determining occluded portions of partially visible primitives, the resulting set of Potential Visibility (PVS) is more accurate than the PVS of cell-to-cell or cell-to-primitive determined by prior methods of visibility pre-computation.
Another object is to provide a method of determining PVS that does not require BSP automatic partitioning of the represented database.
The method has the advantage that the method can be applied to complex models for which automatic partitioning of the BSP is impractical.
It is a further object to provide a method of determining PVS that does not require translation of the problem to line space.
Advantageously, with the solution in raw space, the method avoids the following computational cost and robustness problems: the higher dimensionality of the constructive solid geometry calculation and quadratic programming required for the visibility precomputed line space approach.
It is yet another object to provide a method for determining PVS using a visibility pre-computation technique from viewcell view that uses a conservative linearized umbral event surface that is an exact event surface or conservatively approximates an exact event surface (which may be a quadratic surface).
Advantageously, a simple test can be used to determine the deviation of a particular linearized umbral event surface from the corresponding exact umbral event surface. Further advantageously, the method includes a first order backprojection method that may be used to adaptively refine the conservative linearized umbral event surface such that the conservative linearized umbral event surface converges on an exact event surface that may be quadratic. Still further advantageously, this accuracy can be achieved without incurring the computational complexity of explicitly computing a quadric.
It is yet another object to provide a method for determining PVS using a polygonal approximation to a secondary edge-to-edge visibility event surface.
Advantageously, embodiments produce PVS that is more accurate than PVS produced by shadow-based visibility pre-calculation methods that use only planar vertex-edge visibility event surfaces.
It is yet another object to provide a method of determining PVS that identifies conservatively linearized umbral event surfaces, estimates deviations of these surfaces from the exact event surface, and refines the conservatively linearized umbral event surface to more accurately approximate the exact event surface.
Advantageously, by refining the conservative solution only when the approximate conservative solution deviates significantly from the exact solution, the accuracy of the method can be comparable to the accuracy of existing exact visibility from region methods, and at a lower cost.
It is a further object to provide a method of determining PVS comprising: the accuracy of the polygon approximation to the secondary visibility event surface is controlled by estimating the maximum difference in the umbo volume produced by the secondary event surface and the polygon event surface and refining the polygon approximation to achieve the desired accuracy.
Advantageously, the complexity of the polygon approximation to a quadric directly reflects the non-linearity or "skew" of the approximated quadric.
It is yet another object to provide a front-to-back polygon mesh traversal algorithm that organizes visibility computations as efficient, which will limit the processing of occluded geometries.
The invention has the advantages that: by implementing a front-to-back grid traversal, constructing an occlusion boundary when encountered and terminating the traversal at the occlusion boundary, the method achieves output sensitivity performance for dense occlusion environments.
It is a further object to provide the following PVS determination method: occlusion coherence inherent in the connectivity of a manifold (modeled) mesh is directly exploited, regardless of the shape of the mesh, without relying on the presence of a convex occlusion.
The advantages are that: this approach is more effective at identifying occlusions than, for example, the Weiler-Atherton algorithm, which relies on large convex occlusions not commonly found in real models, extended projection, and the like.
Yet another object is to represent PVS information for each visibility cell by encoding differences in PVS of neighboring cells.
The advantages are that: representing the PVS information as the difference in PVS of neighboring cells (delta PVS) exploits the natural space visible coherence of the 3D scene, thus significantly reducing the storage requirements for the PVS information and the data transfer rate required to support stream prefetching.
Yet another object is to utilize an intermediate incremental PVS representation that encodes differences in PVS between viewcells by storing information indicating which (contour seen from viewcell) edge produced a ghost boundary that caused significant occlusion or exposure during a viewcell transition.
The advantages are that: storing contour edges that are significantly occluded/exposed reduces incremental PVS storage requirements and enables rapid real-time construction of incremental PVS data or PVS data through existing traversals (as seen from adjacent or contained viewcells).
It is a further object to provide a client-server method of graphical display of: the server stores all graphics primitives and associated surface information (e.g., texture information), including models as well as PVS data and incremental PVS data; and the client stores only a subset of the model information needed for display of the set of viewcells reachable from the current viewpoint. The client model information is maintained by dynamically pre-fetching newly visible/invisible geometry and texture information encoded as incremental PVS packets corresponding to view cell boundaries.
The advantages are that: a visibility-based on-demand streaming method of image content during interactive roaming applications is provided that does not require the low-latency connections required by prior art image compression-based streaming methods.
The additional advantages are: a visibility-based on-demand streaming method of image content during interactive roaming applications is provided that requires significantly less bandwidth to transmit interactions at high resolution than the bandwidth required by prior art image compression-based streaming methods.
Yet another object is to substantially reduce the bandwidth to provide incremental PVS data to a client by maintaining a set of geometry and surface information on the server that has been rendered on the client and by examining this information during prefetching to eliminate redundant transmissions.
Yet another object is to provide a method and system for generating geometric and surface detail information by storing model information on a server in several levels of geometric and surface detail and transmitting lower level of detail information during periods of low spatiotemporal visible continuity (e.g., high rate of newly visible surface exposure) and higher level of detail information during periods of higher spatiotemporal visible continuity.
The advantages are that: transmitting the newly visible model information at a relatively low level of detail during periods of low spatiotemporal visible coherence substantially reduces the bandwidth required to provide incremental PVS information during these periods of additional "peak" bandwidth demand, while at the same time producing a perceptually lossless image stream as human visual sensitivity is reduced during periods of low spatiotemporal coherence and especially for newly exposed faces.
The advantages are that: transmitting recent visible model information at a relatively high level of detail during periods of high spatiotemporal visible continuity enables efficient utilization of the available bandwidth during these additional "through" bandwidth demand periods, while producing a perceptually lossless graphics stream by using higher level of detail information instead of lower level of detail information for a period of time matching the time required for the human visual system to fully resolve the added detail.
It is yet another object to provide an out-of-core (out-of-core) method of graphical display: the secondary memory stores all graphics primitives and associated surface information (e.g., texture information) including model and PVS data; and the core memory stores only a subset of the model information required for display of the set of viewcells accessible from the current viewpoint. The core memory model information is maintained by dynamic prefetching of newly visible/invisible geometry and texture information encoded as incremental PVS packets corresponding to view cell boundaries.
An advantage is that embodiments provide a general approach to visibility stream based prefetching that obviates the need for: the modeled database is arbitrarily divided manually into different hierarchies or sub-hierarchies, which must be loaded one at a time, which are processed to kernel memory based on event or location triggers manually placed in the model by the hierarchy designer.
The invention has the following additional advantages: by providing a good granularity of visibility-based pre-fetch stream processing, the method facilitates the design of the following game and simulation model databases: it is more continuous and affordable through an intentionally constructed visibility "bottleneck," and it does not create user experience stalls caused by streaming coarse-grained sub-level data.
Yet another object is to substantially reduce the bandwidth required to transfer incremental PVS data to core memory in an out-of-core rendering system by storing model information in secondary memory in multiple levels of geometry and surface detail and transferring lower level of detail information during periods of low spatio-temporal visible continuity (e.g., high rate of newly visible surface exposure) and higher level of detail information during periods of higher spatio-temporal visible continuity.
The advantages are that: transmitting recent visual model information at a relatively low level of detail during periods of low spatiotemporal visual consistency substantially reduces the bandwidth providing incremental PVS information during these additional "peak" bandwidth demand periods, while producing a perceptually lossless image stream as human visual sensitivity is reduced generally during periods of low spatiotemporal consistency and particularly for newly exposed faces.
Other advantages will be apparent from the description of the invention.
Drawings
FIG. 1 is an exemplary flow diagram showing top-down organization of conservative linearized umbral event surfaces or wedges using a rotation and sweep approach to construct at first order contour mesh contour edges or vertices; the flow chart shows the case of degradation of parallel support viewcell and contour edges explicitly identified and managed by constructing corresponding SE-ME wedges;
FIG. 2A is an exemplary diagram illustrating a viewcell and two polygonal meshes with first-order wedges incident on two first-order silhouette edges;
FIG. 2B is an exemplary diagram illustrating a viewcell and two polygonal meshes with (back-projected) first-order wedges viewed from the silhouette edge and corresponding high-order (front-projected) wedges viewed from the viewcell;
FIG. 3 is an exemplary flow chart illustrating a method of identifying a first-order silhouette edge from a region (in this case from a viewcell); FIG. 3 shows details of step 110 in FIG. 1;
FIG. 4A is an exemplary flow chart illustrating a method of constructing SV-ME support polygons incident on the edges of a mesh profile; FIG. 4A gives additional detail of the process shown in step 116 of FIG. 1;
FIG. 4B shows mesh object M1, a viewcell, and two candidate supporting polygons having their respective rotation angles;
FIG. 4C illustrates an exemplary flow chart of a test for determining whether a polygon formed between a first-order silhouette edge and a viewcell vertex is a supporting polygon;
FIG. 4D1 is an exemplary diagram illustrating two mesh polygons with consistent vertex ordering;
FIG. 4D2 is an exemplary diagram illustrating two mesh polygons with inconsistent ordering of vertices;
FIG. 5A is an exemplary flow chart illustrating a method of constructing SE-MV swept triangles incident on the inside corner mesh silhouette vertices;
FIG. 5B is a continuation of FIG. 5A;
FIG. 5C is an exemplary flow chart illustrating a test for determining whether a polygon formed between an inside corner first-order silhouette vertex and a viewcell edge is a supporting polygon;
FIG. 6A is an exemplary flow chart illustrating a method of constructing SV-ME and SE-ME wedges from corresponding SV-ME and SE-ME support polygons;
FIG. 6B is an exemplary flow chart illustrating a method of constructing SE-MV wedges from corresponding SE-MV support polygons;
FIG. 7A is an exemplary diagram illustrating a convex viewcell and a non-convex polygon mesh, the first order of the mesh being shown in bold solid lines from the viewcell silhouette edge, the diagram being a perspective view looking in the general direction from the viewcell toward the polygon mesh;
FIG. 7B1 is an exemplary diagram showing the same object as in FIG. 7A, but the diagram is a perspective view looking in the general direction from the polygonal mesh toward the viewcell;
FIG. 7B2 is a diagram illustrating a polygon mesh that is different from the polygon mesh illustrated in FIG. 7B1, and illustrating inside corner edges of the mesh that are not first order contour edges;
FIG. 7C1 is an exemplary diagram illustrating supporting polygons for first-order silhouette edges A and B, this diagram being a perspective view looking in the general direction from the viewcell toward the mesh object;
FIG. 7C2 is an exemplary diagram illustrating support polygons and corresponding source vertex-mesh edge (SV-ME) wedges for first-order silhouette edges A and B, this diagram being a perspective view looking in the general direction from the viewcell toward the mesh object;
FIG. 7C3 is an exemplary diagram illustrating only SV-ME wedges formed according to the extension of the corresponding support polygon sides;
FIG. 7D1 is an exemplary diagram showing the same object as shown in FIG. 7C, but this diagram is a perspective view from the mesh object looking in the general direction of the viewcell;
FIG. 7D2 is an exemplary diagram showing the same objects as shown in FIG. 7C1, but this diagram is a perspective view from the grid object looking in the general direction of the viewcell;
FIG. 7D3 is an exemplary diagram showing the same objects as described in FIG. 7C2, but this diagram is a perspective view from the grid object looking in the general direction of the viewcell;
FIG. 7D4 is a hidden diagram showing the same polygon meshes and view cells as those shown in FIG. 7D3 and showing two rotating wedges intersecting at the outside corner vertices of a first order contour;
FIG. 7D5 is a hidden view showing the same polygon meshes and view cells and limited rotational wedges as shown in FIG. 7D4, but from a different perspective;
FIG. 8A1 is an exemplary diagram showing a swept triangle (SE-MV support polygon) on the inside corner vertex shared by the first-order contour edges labeled A and B; this figure is a perspective view looking in the general direction from the viewcell towards the polygon mesh object;
fig. 8a2 is an exemplary diagram showing a swept triangle (SE-MV supporting polygon) and a corresponding SE-MV wedge on the inside corner vertices shared by the first-order contour edges labeled a and B. This figure is a perspective view looking in the general direction from the viewcell towards the polygon mesh object;
FIG. 8A3 is an exemplary diagram illustrating inside corner vertices and corresponding SE-MV wedges shared by first-order silhouette edges labeled A and B; this figure is a perspective view looking in the general direction from the viewcell to the polygon mesh object;
FIG. 8A4 is an exemplary diagram illustrating first order wedges incident on contour edges A and B that include two SV-ME wedges and a single SE-MV wedge, all of which intersect at an inside corner contour vertex labeled ICSV. The figure is seen along the general direction from the viewcell to the polygon mesh object;
FIG. 8B1 is an exemplary diagram showing the same object as shown in FIG. 8A1, but the diagram is a perspective view looking in the general direction from the grid object toward the viewcell;
FIG. 8B2 is an exemplary diagram showing the same object as shown in FIG. 8A2, but the diagram is a perspective view looking in the general direction from the grid object toward the viewcell;
FIG. 8B3 is an exemplary diagram showing the same object as shown in FIG. 8A3, but the diagram is a perspective view looking in the general direction from the grid object toward the viewcell;
FIG. 8B4 shows an exemplary diagram of a first order wedge incident on contour edges A and B comprising two SV-ME wedges and a single SE-MV wedge, all of which intersect at an inside corner contour vertex labeled ICSV; this figure is a perspective view looking in the general direction from the polygonal grid towards the viewcell;
FIG. 8C is an exemplary diagram showing a first-order umbra boundary incident on silhouette edges A and B, this diagram being a perspective view looking in the general direction from the viewcell to the mesh object;
FIG. 9A is an exemplary diagram showing a first-order umbra boundary incident on silhouette edges A and B constructed by the Teller (1992) method of the prior art, this diagram being a perspective view looking in the general direction from the viewcell toward the mesh object;
FIG. 9B is an exemplary diagram showing the same object as shown in FIG. 9A, but the diagram is a perspective view looking in the general direction from the grid object toward the viewcell;
FIG. 9C is an exemplary diagram illustrating a more accurate home-shadow boundary produced by the present method compared to the home-shadow boundary produced by the Teller method of the prior art, this diagram being a perspective view looking along the view cell toward the general direction of the grid object;
FIG. 9D is an exemplary diagram showing the same object as shown in FIG. 9C, but from a perspective view looking in the general direction from the mesh object toward the viewcell;
FIG. 10A is an exemplary diagram illustrating some additional UBPs of the umbral boundary surface formed by the intersection of UBPs for several adjacent first-order contour edges, this diagram being a perspective view along the general direction from the viewcell toward the mesh object;
Fig. 10B is a view of the same polygon meshes and view cells as those shown in fig. 10A, but showing a set of UBPs forming a PAU.
FIG. 11A is an exemplary diagram illustrating the first order visibility event surfaces (wedges) generated by the present rotation and sweep method in the case of a compound profile contour;
FIG. 11B is a different view of the same structure as shown in FIG. 11A;
FIG. 11C illustrates the use of at least one higher order rotating wedge to form a portion of a continuous linearized umbral event surface at a compound silhouette vertex; the same as the views of fig. 2B and 11A;
FIG. 12 is an exemplary flow diagram illustrating a method for constructing a conservative first order linearized umbral discontinuity mesh using a rotating and sweeping construction of a wedge;
FIG. 13 is an exemplary flow diagram illustrating a process of identifying and resolving overlapping loops during 3D mesh traversal;
FIG. 14 is an exemplary flow chart illustrating control processing for a method of constructing a 2D visibility map of an element from view cells for wedges using 2D mesh traversal;
FIG. 15 is an exemplary flow diagram illustrating the main traversal process for a method of constructing a 2D visibility graph of an element from view cells with respect to wedges using 2D mesh traversal;
FIG. 16 is an exemplary flow chart illustrating a process for determining whether a 2D discontinuity mesh point is otherwise conservatively occluded from the corresponding view element (VCE) of the wedge;
fig. 17 is an exemplary diagram showing a control process for a method of constructing a high-order wedge line for determining a visibility map with respect to a view cell side by a back projection method;
FIG. 18 is an exemplary flow chart illustrating a main process of a vertex-wise 2D mesh traversal main process for constructing a backprojection of high-order wedge lines;
FIG. 19 is an exemplary flow diagram illustrating the control process of an output-sensitive method for constructing a visibility graph from a region using 3D polygon mesh traversal;
FIG. 20A is an exemplary flow chart illustrating the main processing of an output sensitive method using a 3D mesh traversal to construct a conservative linearized region-wise visibility map;
FIG. 20B is an exemplary flow chart illustrating estimated values of the inside corner vertex estimate of the difference of the umbral volumes resulting from the rotational sweep method and the intersecting plane method; the difference is used to determine a method of constructing a continuous primitive event surface at the inside corner vertex;
FIGS. 20C-20J illustrate steps of 3D mesh traversal of a polygon mesh;
FIG. 20K is a diagram showing a surrounding polygon mesh containing other polygon meshes;
FIG. 21A is an exemplary flow diagram of a method of determining whether a discontinuity mesh segment is otherwise occluded from view (i.e., whether a discontinuity mesh segment is an occlusion boundary from a region);
FIG. 21B is a continuation of FIG. 21A;
FIG. 21C is an exemplary flow chart illustrating a method of classifying PVS polygons as strongly visible, non-occluded and always-on-front;
FIG. 22 is an exemplary flow chart illustrating a control process of a method of constructing a 3D mesh traversal backprojecting a visibility map from silhouette edges for determining visible support view cell vertices (VSVV) and visible view cell silhouette contours (VSVSVSSC) from silhouette edges;
FIG. 23 is an exemplary flow chart illustrating the main processing of a method of constructing a 3D mesh traversal that backprojects a visibility map from silhouette edges for determining Visible Supported Viewcell Vertices (VSVV) and visible supported viewcell silhouette contours (VSVSVSSC) from silhouette edges;
FIG. 24A is an exemplary flowchart illustrating a process for determining that dm _ segment is otherwise occluded from a silhouette edge source used to construct a visibility map backprojection from a silhouette edge using a 3D mesh traversal;
FIG. 24B is an exemplary continuation of FIG. 24A;
FIG. 24C is an exemplary flow chart illustrating a method for constructing a conservatively visible supported viewcell contour (VSVSVSVS) comprising VSVS corresponding to an adjacent contour edge using a back projected visibility map as seen from the contour edge;
FIG. 25 is an exemplary flow chart illustrating a point occlusion testing method using first order and high order wedges;
FIG. 26 is an exemplary flow diagram illustrating an alternative embodiment method of a method for constructing a polyhedral aggregate Primitive (PAU) from primitive boundary polygons (UBPs) using 3D mesh traversal;
FIG. 27A is an exemplary diagram illustrating a viewcell and two polygon MESH objects, MESH E and MESH D; FIG. 27A shows that the SV-ME ghost wedge, first order from the zone, may be inaccurate over the following segments: the corresponding support polygon intersects the geometric figure between the view element and the support first-order contour edge;
fig. 27B is an exemplary diagram showing the same view as that of fig. 27A except that: performing a first-order back-projection thinning of an inaccurate part of the first-order wedge by subdividing a corresponding segment of the first-order contour edge and using a sub-segment as a line light source; the result is that the inexact portion of the wedge is replaced by two SV-ME wedges connected by a single SE-MV wedge, which together with the two SV-ME wedges form a continuous umbral surface that more accurately approximates the actual secondary umbral event surface incident on the inexact segment of the first-order contour edge;
Fig. 27C is an exemplary diagram showing the same view as that of fig. 27B except that: the subdivision of the inexact part of the original first order wedge is now refined by subdividing the corresponding segment of the first order contour into 4 sub-segments instead of two to produce a more accurate approximation of the actual ghost event surface (quadric) in the region;
FIG. 27D is an exemplary diagram showing the same structure as described in FIG. 27A in a different view (slightly behind the view cell) showing the first order contours with segments SE1U and SE1O being first order visible from the view cell;
FIG. 28 is an exemplary flow chart illustrating a method of controlling the edge-wise backprojection process by examining the maximum possible deviation between a first order wedge and a precise wedge and by identifying segments of the contour edge for which the first order wedge is not precise;
FIG. 29 is an exemplary flow chart illustrating the control of the edge-looking backprojection process by examining the maximum possible deviation between a first order wedge and a precise wedge and by identifying simple and compound inside corner contour vertices for which the first order SE-MV wedge is not precise;
FIG. 30A is an exemplary flow chart illustrating a method of identifying occluded regions from view units in a visibility graph with high Effective Static Occlusion (ESO) and a process of conservatively simplifying both the occluded boundaries and the corresponding mesh contour contours;
FIG. 30B is a continuation of FIG. 30A;
FIG. 30C is a continuation of FIG. 30B;
FIG. 30D is a 3D hidden line drawing illustrating a viewcell and two polygon meshes;
FIG. 30E is a 3D hidden line drawing showing the same perspective as that of FIG. 30D and including an occlusion zone and corresponding occlusion boundary;
FIG. 31A illustrates an exemplary data structure used by the mark silhouette edge method;
FIG. 31B is a continuation of FIG. 31A;
FIG. 31C is a continuation of FIG. 31B;
FIG. 31D is a diagram illustrating a data structure for an exemplary embodiment employing delta G + data;
FIG. 32A is an exemplary flow chart illustrating a method for identifying edges and vertices of a silhouette contour using a data structure for labeling silhouette contours;
FIG. 32B is a continuation of FIG. 32A;
FIG. 33A is an exemplary flow chart illustrating a method of identifying a visibility difference delta region for a transition from viewcell A to viewcell B;
FIG. 33B is an exemplary continuation of FIG. 33A; FIG. 33C is an exemplary continuation of FIG. 33B; FIG. 33D is an exemplary continuation of FIG. 33C;
FIG. 34A is an exemplary flow chart illustrating a method for using marker outline contour information for a single contour to quickly construct a visibility map occlusion boundary segment at runtime;
FIG. 34B is a continuation of FIG. 34A;
FIG. 35A is an exemplary flow chart illustrating a method of constructing a visibility map occlusion boundary segment derived from a single silhouette edge marking a silhouette contour;
FIG. 35B is a continuation of FIG. 35A;
FIG. 36 is an exemplary flowchart illustrating a process of controlling a runtime process of constructing a visibility map ROI using ROI boundaries constructed from pre-stored marker contours, wherein the ROI boundaries define a simplified, implied runtime 3D mesh traversal bounding a traversal of the ROI;
FIG. 37 is a main process for constructing an ROI from pre-stored marker silhouette contour information and constructing a seed triangle list of connected components for the ROI using a simplified, implied run-time 3D mesh traversal process;
FIG. 38 is an exemplary flow chart illustrating a method of attaching a delta G + submesh corresponding to newly exposed grid elements for a particular viewcell transition to the starting boundary of the corresponding marker silhouette contour;
FIG. 39A illustrates an exemplary simple shade;
FIG. 39B illustrates an exemplary incremental region (DR) where an occlusion is formed by a simple occlusion (of FIG. 39A) when viewed from connected viewcells A and B;
FIG. 40 shows the same unified from-region visibility diagram as the unified from-region visibility diagram shown in FIG. 39B, except as follows: the portion of OCCLUSION REGION VIEWCELL A that is outside of OCCLUSION REGION VIEWCELL B is labeled DR OBA (incremental zone of occlusion from B to A) and DREAB (incremental area of exposure from a to B);
fig. 41A is an exemplary diagram illustrating the use of identifying a CSV and constructing a wedge line for an SV-ME wedge with respect to the visibility method of the wedge (fig. 14, 15, and 16), fig. 41A illustrating the case of a simple CSV without a tip;
FIG. 41B is an exemplary diagram illustrating the use of identifying a CSV and constructing a wedge line for an SV-ME wedge with respect to the visibility method of the wedge (FIGS. 14, 15, and 16); FIG. 41B shows the case of degraded CSV at the tip forming a first order contour;
FIG. 41C is an exemplary plot showing SE-ME wedges intersecting 3 polygonal mesh objects incident on first-order silhouette edges, showing first-order Wedge Lines (WL) as seen from the view cell edge and their intersections with mesh polygons; this figure is used to illustrate the operation of the 2D mesh traversal process used to construct the visibility map for the wedges (fig. 15 and related figures);
FIG. 41D is a perspective view showing a portion of the polygon mesh, viewcell, and first-order silhouette contour including cusps and compound silhouette vertices;
FIG. 42A is an exemplary flow chart illustrating a method of using hierarchical viewcells;
FIG. 42B is an exemplary flow chart illustrating a method of using hierarchical viewcells;
FIG. 43A is an exemplary diagram illustrating data structures maintained for a delta VM/PVS using delta VM/PVS data;
FIG. 43B is a continuation of FIG. 43A;
FIG. 44A is an exemplary flow chart illustrating a data storage and transmission method to support incremental VM/PVS maintenance using incremental VM/PVS (incremental G + submesh) data sent from a remote server;
FIG. 44B is a continuation of FIG. 44A; FIG. 44C is a continuation of FIG. 44B;
FIG. 45A is an exemplary flow chart illustrating a data storage and transmission method to support incremental VM/PVS maintenance using incremental VM/PVS (incremental G-submesh) data sent from a remote server;
FIG. 45B is a continuation of FIG. 45A;
FIG. 45C is a continuation of FIG. 45B;
FIG. 46 is an exemplary block/flow diagram illustrating a distributed client-server implementation in which a server accesses stored out-of-core delta G-submesh data, converts global IDs to DDL IDs, and maintains DDL, VM/PVS data on both the server and the client;
FIG. 47 is an exemplary block/flow diagram illustrating the following arrangement: the server process and the client process are located on the same device and use a single copy of the DDL;
FIG. 48A is an exemplary block/flow diagram illustrating a server process for sending reduced level of detail incremental visibility information in the event that the current viewpoint soon penetrates a viewcell boundary where no incremental visibility information has been read/sent;
Fig. 48B is an exemplary flowchart illustrating a method of preventing delayed arrival of visibility event information by reducing an allowed viewpoint speed;
FIG. 49 is an exemplary graph illustrating the effect of exposure time on the ability of a human subject to resolve spatial detail;
FIG. 50A is an exemplary block/flow diagram illustrating a server process for transmitting reduced level of detail delta visibility information when: the image spatial speed of the newly visible geometry and/or texture corresponding to the incremental visibility information is high enough such that visual sensitivity to motion geometry and/or texture is reduced;
FIG. 50B is an exemplary block/flow diagram illustrating an alternative embodiment of a server process sending reduced level of detail visibility event information in the event that required transmission bandwidth exceeds available transmission bandwidth: (ii) a
FIG. 51 is an exemplary graph illustrating relative spatial visual acuity as a function of retinal velocity;
FIG. 52 is an exemplary flowchart/block diagram illustrating the following client and server processes: the server accesses a pre-stored delta G-child mesh for parent viewcell and uses this information to construct a visibility map/PVS for the parent viewcell, which is then used along with pre-stored outline contour information for child viewcell transitions to construct delta G-child mesh data for child viewcell transitions;
FIG. 53 illustrates a prior art depiction of an incomplete discontinuity grid wedge;
FIG. 54 is an exemplary flowchart/block diagram illustrating the following client and server processes: the client receiving the delta G data and the marked contour data and using the data to generate PVS and/or delta PVS data;
FIG. 55 is an exemplary diagram of a system and method for implementing content stream processing based on region-wise visibility determination and incremental PVS using a conservative linearized umbral event surface in accordance with the present invention;
FIG. 56 illustrates an exemplary diagram of a processor; and
FIG. 57 illustrates an exemplary diagram of the relationship between a visibility event encoder, a visibility event server, and a visibility event client in one embodiment.
Detailed Description
In an exemplary embodiment, the term ESO (effective static occlusion) refers to a metric that is proportional to the number of polygons (original meshes) within the occluded region of the visibility map and/or the surface area of those polygons. The ESO is also inversely proportional to the number of new polygons introduced in the visibility region surrounding the occluded region, which are introduced by re-triangularization caused by the edges (edge) of the occluded boundary. This metric is used for conservative simplification of VMs or unified VMs.
In an exemplary embodiment, the term EDO (effective dynamic occlusion) refers to a measure that is proportional to the number of occluded polygons and/or the area of the polygon faces in the incremental region of occlusion (DR), where DR represents the occlusion region created during a particular viewcell transition. EDO is also inversely proportional to the number of new polygons introduced in the visible area surrounding the DR, which are introduced by re-triangularization caused by the edges of the occlusion boundary.
In an exemplary embodiment, the term EDV (effective dynamic visibility) refers to a measure of the effectiveness of the Delta Region (DR) of the unified visibility graph. If DR is DR for a particular viewcell transitionO(shaded delta region), then the EDV corresponds to the EDO of the DR.
If DR is DRE(exposed delta region), the EDV is determined by examining the ESO of the surrounding occlusion region. Reduction by surrounding OR and reduction of DREExtend to OR OR DROIn the process of continuing DREThe simplification of (1).
In an exemplary embodiment, the term unified visibility map refers to a visibility map that includes occlusion boundaries from view cells generated from two view cells (e.g., a and B), wherein the view cells are associated in one of two ways: 1) one viewcell is fully contained within another viewcell, or 2) viewcells fully share a common plane. The unified visibility graph is an arrangement of VM regions such that: for the transition from viewcell a to viewcell B, some zones include newly occluded mesh triangles/segments and other zones include newly exposed mesh triangles/segments. The unified visibility graph is used to construct incremental PVS data for direct storage. Alternatively, the unified visibility map can be used to identify visibly occluded or visibly outlined contours, which can be marked and subsequently used to generate delta G/delta PVS data.
In an exemplary embodiment, the term wedge (see also CLUES) refers to a visibility event surface formed by the features (vertices or edges) of the viewcell and the vertices or edges of the mesh polygon. In general, wedges define the visibility from the features of the viewcell and through the vertices or edges of the mesh polygon.
The wedges employed in the prior art method of discontinuous meshing are precise. These edges may be planar or quadric. The planar wedges described in the discontinuous mesh literature are two categories renamed here:
1) SV-ME wedges-are formed by vertices of view cells (or "sources") and edges of meshes. Also known as a rotating wedge or a supporting apex wedge.
2) SE-MV wedge-is formed by the edges of the viewcell and the vertices of the polygon mesh. Also known as sweep wedges or support edge wedges.
3) SE-ME wedges-are formed in the specific case where the grid outline edges are parallel to the support viewcell outline edges.
These definitions assume orthographic projection (i.e., using viewcells as light sources). In the back projection method, contour edges or segments of contour edges are used as "sources" and various contour edges in the axis between the source edge and the viewcell support the back projection event surface. In addition, the definition is the same for the case of back projection.
Since the wedges employed in discontinuity meshing are typically used to identify portions of the source penumbra that are constructed on a relatively large number of edges of the polygonal mesh, referred to as silhouette edges from the viewpoint.
Since the planar wedges used in discontinuous meshing are precise event surfaces, they are not limited to the following areas: the viewcell feature (vertex or edge) of the wedge is occluded from view of the polygon mesh feature of the wedge. This definition of a wedge creates a "gap" in the event surface that results in the surface being a discontinuous plane. In the complete discontinuity gridding approach, these gaps are filled with high-order visibility event surfaces, which may be quadratic wedges. The gaps are filled by these higher order event surfaces, so the resulting visibility event surface is generally continuous.
See tables Ia and Ib for wedge nomenclature.
Embodiments also employ a planar, feature-wise event surface, a Conservative Linearized Umbral Event Surface (CLUES) similar to but in important respects different from the planar wedges employed in discontinuous meshing.
One difference between planar wedges used in discontinuous meshing and CLUES (also referred to herein as first order wedges, or simply wedges) is that: the wedges employed in the method are only those that can form the face of the ghosted event as seen from the viewcell, and the ghosted event itself is not considered in the visibility as seen from the viewcell. The wedges of the present method are constructed on fewer polygon mesh edges (called first-order contour edges) and they are constructed using a sweep technique that generates only potentially ghost event wedges. This means that the number of wedges constructed in the present method is much smaller than the number of wedges generated in discontinuous meshing.
Another difference between the discontinuous gridding wedge and the wedge of the present method is that: the wedges are defined and constructed using only viewcell features of the wedges and polygonal mesh features of the wedges. Any intervening geometry between these two features will be ignored.
This approach to wedge construction is based on a first-order model of visibility propagation in a polyhedral environment that guarantees the construction of conservative, continuous ghost boundaries.
In fact, the intervening geometry may produce regions of view cell features that are occluded from view of the polygon mesh features. These are regions of the wedge where the corresponding discontinuous mesh wedge is undefined (thus creating gaps or discontinuities in the event surface that are typically filled by higher order wedges or quadrics). By ignoring this intervening geometry, the present method constructs wedges that define a continuous event surface without gaps. Since the wedge of the present method is constructed of this type by ignoring high order occlusions, the wedge conservatively represents the actual event surface of the ghost as seen from the feature. The wedge constructed by the present method is accurate for areas of the wedge without intervening geometry.
In areas where the wedges are imprecise, optionally, the wedges may be replaced by other wedges constructed using a modified method of wedge construction that accounts for the high order occlusion caused by the intervening geometry.
The method includes three types of (first order) wedges:
1) SV-ME wedges-are formed by extending corresponding rotational support polygons. The corresponding rotated support polygon is formed by the support vertices of the viewcell (SVV) and the first-order silhouette edges of the polygon mesh through a rotation process from edge to viewcell. The rotation support polygon is also referred to as an SV-ME support polygon or a vertex support polygon. This type of visibility event surface reflects the inclusion and occlusion at points on the viewcell by the (silhouette) edges of the mesh. Also known as a rotating wedge. The rotation process is described as a process of identifying a support plane between a first order contour edge and a view element. Although it appears to humans that the process may be an actual continuous rotation of the plane about the contour edge until the viewcell is contacted, in fact, embodiments may measure a particular discrete angle formed by each candidate support plane (formed by the corresponding viewcell vertex) and another polygon. Comparing these angle measurements in one embodiment enables the actual support polygon to be determined from the number of candidate support polygons.
2) SE-MV wedges-are formed by extending the sides of corresponding swept support polygons, (also referred to simply as swept polygons or side-support polygons), which are support polygons formed by the process of sweeping along the support view cell contour (SVSC) between SVVs supporting adjacent SV-ME wedges, by the support sides and inside corner mesh contour vertices of the view cells. This type of visibility event surface reflects the inclusion of (boundary) edges of the finite visual elements at the vertices of the (inside corner) mesh silhouette. The SE-MV wedge is also called a sweep wedge.
3) SE-ME wedge-is formed only when the supporting viewcell edge is parallel to the supported grid profile edge. Formed by extending the edges of the corresponding SE-ME support polygons formed between the parallel support viewcell edges and the supported mesh profile edges. Unlike other types of planar wedges, the visibility determination for SE-ME wedges with respect to wedges is a region-wise visibility problem, rather than a point-wise visibility problem. This type of visibility event surface reflects the inclusion and occlusion on the (boundary) side of the viewcell by the (contour) side of the grid.
Another important difference between the wedges used in prior art discontinuous meshing and those used in the present invention is that: the conservative approach of constructing the contour vertices for a wedge to appear on contour edges at a first order from the viewcell is used in the present method to determine visibility for a wedge. This ensures that each contour vertex for a wedge is a compound contour vertex (CSV), the intersection of two wedges (one wedge corresponding to the current wedge). In contrast, in prior art discontinuity gridding methods, visibility about wedges is typically accurately determined using a point-wise object spatial visibility method such as the Weiler-Atherton algorithm.
In an exemplary embodiment, the term rotating wedge refers to an SV-ME wedge formed by extending the sides of a rotating supporting polygon.
In an exemplary embodiment, the term "clients" (see wedges) refers to another name for a first order copy wedge constructed using the rotation and sweep method of the present invention. These wedges can be refined using the backprojection method of the present invention to reflect the higher order visible interactions.
In an exemplary embodiment, the term Umbral Boundary Polygon (UBP) refers to a polygon that is part of a face of the umbral volume as seen from the viewcell. In the present method, the volume of the umbra seen from the viewcell (called the umbra of a polyhedral aggregate, or PAU) can be constructed using a conservative UBP derived from the corresponding (first order) wedge.
The wedge used by the method is a self-shadow event surface from viewcell features that is guaranteed to be only the self-shadow event surface from viewcell (from the entire viewcell) next to the edge of the mesh outline supporting the wedge. This is because the wedge can intersect another wedge beyond the edge of the support profile in a manner that limits the edge of the ghost from the viewcell to the wedge. That is, the wedge itself, which is tangentially visible from the supported viewcell feature, may become visible from other portions of the viewcell.
Higher order UBPs may be constructed from corresponding higher order wedges.
In an exemplary embodiment, the term polygon mesh refers to a finite set of connected vertices, edges, and faces (also referred to as polygons) formed from vertices and edges. If two polygons of a mesh intersect, the intersecting edges or vertices must be part of the mesh. Interpenetration (interpenetration) without facets is allowed. Also referred to as polygonal mesh objects, triangular meshes, or simply meshes. A mesh is a manifold polygon mesh if each edge of the mesh is shared by at most two polygons. If each edge is shared exactly by two faces, the mesh is a closed manifold polygon mesh. The polygon mesh in this specification is assumed to be a closed manifold polygon mesh unless otherwise specified.
In an exemplary embodiment, the term viewcell or view region refers to a polyhedron, which may be represented as a polygonal mesh, that describes a region that bounds a viewpoint. Unless otherwise indicated, visual elements and zones in this specification are assumed to be convex. The viewcell is limited to a parallelepiped or box, but may not necessarily be so limited to the viewport.
In an exemplary embodiment, the term PVS (potentially visible set) refers to a set of polygons or segments of polygons that are visible from the view cell. PVS is typically computed to be conservative, including all visible polygons or polygon segments and some invisible polygons or polygon segments.
In an exemplary embodiment, the term polyhedral aggregate Primitive (PAU) refers to a volume of space that is occluded by a mesh object from a view unit, and the first order model assuming visibility propagation is referred to as a first order polyhedral primitive volume. Since the individual umbra volumes can intersect to aggregate occlusions, we refer to these volumes as first-order Polyhedral Aggregate Umbra (PAU).
First order PAUs, also referred to as PAUs for short, are surrounded by polygons called primitive boundary polygons or UBPs. These polygons are formed by the intersection of a first order wedge with a triangular mesh polygon with other wedges. PAUs are also surrounded by first-order visible mesh polygon segments (segments that include the visibility map as seen from the view unit). The UBPs together with the visible mesh polygon segments form a continuous (although not necessarily closed) primitive defining the boundary of the PAU.
As described in detail in connection with the 3D 2-manifold traversal method (fig. 20 and related figures): the construction of the visibility graph involves the following steps: it is determined whether the visibility-ambiguous line segment located about the wedge is actually located within the PAU volume and is therefore occluded from the entire viewcell. The method includes a modified point-in-polyhedron test that can answer this query for first order PAUs without explicitly constructing the entire PAU.
In an exemplary embodiment, the term Discontinuity Mesh (DM) refers to a mesh formed by the intersection of visibility event surfaces with mesh polygons. The discontinuous mesh formed from visibility event surfaces incident on the viewcell divides the mesh polygons into partitions (zones) of uniform qualitative visibility or "aspect" relative to the viewcell.
In the prior art method of complete discontinuity meshing, all event surfaces, umbrellas, and penumbra incident on the light source are constructed.
In some embodiments, the discontinuity mesh as seen from viewcell is constructed by backprojection techniques to account for higher order visibility interactions, either from a first order intrinsic visibility event surface as seen from viewcell or from a first order intrinsic visibility event surface that has been refined.
Despite the fact that only the event surface of the umbra is employed; but not all areas of the ghost DM that border the occluded side of the directional DM polyline are actually occluded from the entire viewcell. This is because the state of the region (which is actually part of the PAU) as seen from the viewcell is determined by the wedge-wedge intersection in R3 where it may not be reflected in the corresponding wedge-polygon mesh intersection.
In an exemplary embodiment, the term Visibility Map (VM) refers to the division of mesh polygons into regions that are occluded from the entire viewcell and other regions that are visible from a point on the viewcell. In the prior art method of accurate visibility from regions (Nierenstein et al 2000,2005), these regions are constructed using an accurate visibility event surface, typically a quadric.
Embodiments construct a conservative linearized umbral discontinuity mesh using a corresponding CLUES. The resulting DM is a conservative division of the mesh polygon into areas that are occluded from the entire view cell and other areas that are visible from a point on the view cell. Since not all areas of the umbra DM bordering the occluded side of the directional DM polyline are actually occluded from the entire viewcell, the boundaries of the VM are a subset of the boundaries of the corresponding DM. In contrast, the corresponding VM includes only other regions that are guaranteed to be occluded from the entire viewcell (the native region of the VM) and visible from a certain point on the viewcell, where the occlusion may be conservatively underestimated and thus the visibility overestimated.
In an exemplary embodiment, the term silhouette edge refers to an edge of a polygon mesh having one component polygon that is front-facing with respect to a particular location and another component polygon that is back-facing with respect to the same location.
In an exemplary embodiment, the term silhouette edge as viewed from a point refers to an edge of a polygon mesh having one component polygon that is front-facing with respect to the particular point and another component polygon that is back-facing with respect to the same point.
In an exemplary embodiment, the term from-region silhouette edge (also referred to as a general from-region silhouette edge) is defined with respect to a region such as a viewcell (or polygon mesh edge in the case of back projection) for a light source. If the location is a viewcell, the silhouette edge from the region may be referred to as a viewcell silhouette edge. If the region is an edge, then the silhouette edge from the region may be referred to as a silhouette edge from the edge. In this specification, any type of silhouette edge (from point, from viewcell, from edge) may be simply referred to as a silhouette edge, the type of silhouette edge being implied by the context.
A general contour edge viewed from the viewing unit is an arbitrary edge of a polygonal mesh as a contour edge viewed from a point with respect to an arbitrary point on the viewing unit (or surface light source). This is the definition of the silhouette edge as seen from the viewcell as employed by Nierenstein et al 2005 and in the complete discontinuity meshing method of Drettakis et al 1994.
Typically, these edges support the penumbra event surface as seen from the region, but the subsets actually support the penumbra event surface as seen from the region, which is typically a quadratic surface.
When considering the high-order visibility interaction of edge triples, the silhouette edges as seen from the region can be accurately defined. Alternatively, as in the present method, the silhouette edges as seen from the region may be conservatively defined by considering only visibility event surfaces that occur as a result of the intersection between the edge pairs; as is the first order visibility model of visibility propagation.
In an exemplary embodiment, the term first-order silhouette edge refers to a first-order silhouette edge from view (also referred to simply as a first-order silhouette edge) that is an edge of a polygon mesh having one component polygon that is a back-facing pair with respect to the entire view and another component polygon that is a front-facing pair with respect to at least one vertex of the view, where the component polygons are back-facing with respect to each other.
This definition is a simple, conservative pattern called first-order visibility based on visibility propagation in polyhedral environments that considers only visibility event faces as a result of intersections between pairs of edges.
One embodiment of the present invention employs a polygon mesh that is a manifold triangle mesh. In a manifold triangular mesh, each edge is exactly fully shared by two triangles. The description of the first order contour edges is simplified by using a manifold triangular mesh.
The first-order contour edge of the polygon mesh relative to the viewcell is the local support edge of the polygon mesh relative to the viewcell. If only two component polygons (triangles) that view the cell and share an edge are considered in the support test, the local support edge supports the polygon between the view cell and the edge. (see definition of support test)
In general, a first-order region-seen silhouette edge is a small subset of the exact region-seen silhouette edge of an arbitrary polygon mesh.
In this specification, any of any type of first-order silhouette edges (from viewcell, from edge) may be referred to simply as a first-order silhouette edge, or simply a silhouette edge, the type of silhouette edge being implied by context.
The present invention includes a method of identifying where the first-order silhouette edges are inaccurate (by adaptive refinement and backprojection) and "retracting" the silhouette edges to the closer edges of the set of precise, from-region-looking silhouette edges belonging to the polygon mesh.
In an exemplary embodiment, with respect to the term local support edge, see first order contour edges.
In an exemplary embodiment, the term support polygon refers to a support polygon that is "supported" by two structures. In the method, in one case, a support polygon between a first order silhouette edge of the polygon mesh and an viewcell is formed by the first order silhouette edge and a vertex of the viewcell (SV-ME support polygon). The vertices of the viewcell support polygon are referred to as Support Viewcell Vertices (SVV). The supporting viewcell vertices may be identified by rotating the plane of the backface assembly polygon of the silhouette edge, wherein the rotation occurs around the silhouette edge and toward the viewcell along the normal direction of the backface assembly polygon of the edge until the plane of the supporting polygon intersects the viewcell. In general, this intersection occurs at the supporting viewcell vertex, which together with the first-order silhouette edge forms a triangular supporting polygon. If the supporting viewcell vertex is the vertex of an edge of the viewcell that is parallel to the contour edge of the mesh, then the plane of rotation will intersect the edge of the viewcell, not just a single vertex, and the supporting polygon will be the quadrilateral formed by the mesh contour edge and the intersecting viewcell edge. This second type of support polygon is referred to as a SE-ME support polygon.
In another case of the method, different types of support polygons are formed between the inside corner vertices of the first-order contour edges and the edges of the view element (SE-MV support polygon is also called support triangle).
In the context of the present invention, a support polygon is conservatively defined as ignoring any occlusion or interference between a first order silhouette edge (also referred to as a local support edge) and a viewcell due to its vertices and corresponding viewcell support. If a supporting polygon, for example as defined by the present invention, intersects a geometry between a first order edge and a view element, the supporting polygon is not a supporting polygon as defined in the prior art (which would not normally define a supporting polygon if such interference were present).
As defined in the prior art, if a polygon is supported by a vertex or edge of one structure and a vertex or edge of another structure that does not intersect anything else, the polygon will pass the "support test" (i.e., be a supporting polygon) between the two structures. The support test also requires: the extension of the support polygon in a direction away from the first support object (e.g., viewcell) (e.g., this extension is a "wedge") does not intersect another structure (e.g., a polygon mesh) in such a way that the support polygon is inside the other supported structure (e.g., inside the topology of the manifold mesh). Such support tests effectively require that the supporting edge be an "outer" edge of the structure (e.g., a polygonal mesh) that supports the supporting polygon formation tangentially to the structure, as well as an "inner" or reflective edge of the structure such as a polygonal mesh that does not support the supporting polygon formation tangentially to the structure.
In the present method, the support test is used in a more limited manner by including only polygons that share edges of the mesh to determine whether an edge supports a conservative support polygon between the viewcell and the mesh (i.e., whether an edge is a "local support" or a first-order silhouette edge, see the definition of a first-order silhouette edge and a local support edge).
In cases where the differences distinguishing this conservative definition of supporting polygons from the prior art definition of supporting polygons are emphasized, the supporting polygons defined by the present invention may be referred to as conservative supporting polygons. The conservative support polygon defined in the present invention is simply referred to as a support polygon.
As defined in the present invention, wedges derived from (conservative) supporting polygons always form a continuous conservative linearized umbral event surface that can intersect mesh polygons to conservatively determine the set of mesh polygons (or fragments thereof) that are visible from the view cell, without the need for quadrics that normally dominate (and complicate) the exact solution.
In an exemplary embodiment, with respect to the term conservatively supported polygon, see the above-mentioned terminology for supported polygons.
In an exemplary embodiment, the term support test refers to a polygon that will pass the "support test" (i.e., is a supporting polygon) between the structures of two polygons if the polygon is supported by a vertex or edge of one structure and a vertex or edge of another structure that does not intersect anything else. The support test also requires: the extension of the support polygon in a direction away from the object (e.g., viewcell) of the first support (e.g., this extension is a "wedge") does not intersect another structure (e.g., a polygon mesh) in a manner that places the support polygon inside the other supported structure (e.g., inside the topology of the manifold mesh). Such support tests effectively require that the supporting edge be an "outer" edge of the structure (e.g., a polygonal mesh) that supports the supporting polygon formation tangentially to the structure, as well as an "inner" or reflective edge of the structure such as a polygonal mesh that does not support the supporting polygon formation tangentially to the structure.
In the present method, the support test is used in a more limited manner by including only polygons that share edges of the mesh to determine whether an edge supports a conservative support polygon between the viewcell and the mesh (i.e., whether an edge is a "local support" or a first-order silhouette edge, see the definition of a first-order silhouette edge and a local support edge).
In cases where the differences distinguishing this conservative definition of supporting polygons from the prior art definition of supporting polygons are emphasized, the supporting polygons defined by the present invention may be referred to as conservative supporting polygons. Otherwise conservative supporting polygons defined in the present invention are simply referred to as supporting polygons
In an exemplary embodiment, the term conservative support package refers to a polygon structure formed by conservative support polygons between one polyhedron (e.g., view cell) and one or more other polyhedrons (e.g., polygon mesh objects). The rotation and sweep method is a method of constructing a specific subset of the conservative support package between view cells and non-convex polygon mesh objects.
The supporting hull is a generalization of the "convex hull", which is an important prior art in computing geometric images and linear programming. The convex hull between the two convex polyhedrons is a polygonal structure that includes all of the "lines of sight" of visibility between the two convex polyhedrons. Prior art methods of forming a convex hull between a convex polyhedron (e.g., a viewcell) and another convex polyhedron (e.g., a convex polygon mesh) are well known and important. These prior art methods employ the construction of a supporting polygon between two convex objects. (See See O' Rourke, Computational Geometry in C Second edition Cambridge University Press 1998).
There is no explicit prior art description of forming a support package between a convex polyhedron and one or more non-convex polyhedrons (such as the polygon mesh objects used in the present invention, and they are ubiquitous in computer graphics). A precise support packet will include not only polygons, but also quadric surfaces incident on the vertices of a compound silhouette.
Instead, the set of conservative support polygons that can be constructed using the rotation and sweep method of the present invention can be easily supplemented (by adding sweep wedges incident on the outer corner vertices of the polygon mesh) to form a continuous, conservative approximation of the exact support package between a convex polyhedron (e.g., view cell) and one or more non-convex polyhedrons.
The rotation and sweep method specified in one embodiment of the invention constructs a subset of conservative support packet polygons that, when extended, combine to form a conservative continuous primitive event surface that can be used to determine a set of polygons that are visible from the view cell without requiring a quadric, forming a wedge.
Some polygons that will be included in a fully conservative support bag are not constructed in the rotation and sweep method of an embodiment because the corresponding wedge (e.g., the sweep, or SE-MV wedge incident on the outer more angular vertex of the polygon mesh) does not contribute to the separation of what the continuous silhouette boundary will see from the viewcell and what will be occluded from the viewcell.
In the rotation and sweep method, these support polygons are not identified. Thus, their corresponding wedges are not constructed.
In addition to the specified rotation and sweep methods, alternative embodiments are possible that employ conservative support polygons to construct a continuous ghost event surface. For example, an alternative embodiment may construct an entire fully conservative support packet between viewcells and polygon mesh objects, and then extend the edges of all support packet polygons to form a wedge. Wedges so formed include wedges that do not contribute to a continuous ghost event surface (e.g., wedges formed by extending supporting polygons supported by edges of viewcell and outside corner vertices of a polygon mesh). In such alternative embodiments, these excess wedges may be omitted or removed.
In an exemplary embodiment, the term SVV (support viewcell vertex) refers to, for a given mesh silhouette edge, the first viewcell vertex encountered when rotating through the mesh silhouette edge in the normal direction of the silhouette edge's back component polygon. (see also the supporting polygon)
In an exemplary embodiment, the term Support Viewcell Silhouette Contour (SVSC) refers to a portion of the viewcell silhouette contour, when viewed from the inside corner vertices of the mesh silhouette edge, that produces the most extreme silhouette boundary. This is the portion of the apparent cell contour that produces the smallest occlusion when viewed through the inside corner mesh contour vertex from the apparent cell contour. It also produces an SE _ MV wedge with an orientation consistent with the connected SV-ME wedge and forming a continuous plane when performing a sweeping operation. The support viewcell silhouette contour extends between two SVVS corresponding to mesh silhouette edges that produce inside corner vertices.
The SE-MV wedge is a visibility event surface oriented as follows: the visibility limits at the vertices of the mesh outline are reflected by the inclusion on the visual cell plane.
In contrast, the SV-ME wedge is a visibility event surface oriented as follows: the visibility limits at the silhouette edges of the mesh are reflected by the occlusion (as seen from the viewcell) caused by the mesh polygons at the silhouette edges.
SVSC is a view cell outline edge (as viewed from the mesh outline edge) that produces a corresponding SE-MV wedge having an orientation that coincides with the orientation of the adjacent SV-ME wedge; resulting in a continuous, conservative, consistently oriented ghost event surface at the mesh silhouette vertices.
In an exemplary embodiment, reference is made to a sweeping polygon with respect to the term sweeping triangle.
In an exemplary embodiment, the term swept polygon (also referred to as a swept support polygon or swept triangle) refers to a non-convex (or "internal") corner visibility event boundary of a first-order contour edge of a polygon mesh by not only extending those support polygons supported by the contour edge forming the inside corner, but possibly by one or more swept polygons that are different types of support polygons formed between the inside corner vertex of the mesh contour and some of the edges of the viewcell of the contour edge from a point view that is a long-term view of the inside corner contour vertex of the mesh object. These point-wise silhouette edges of the viewcells form a silhouette chain (extremum or support viewcell silhouette contour) between the SVVs corresponding to the inside corners of the mesh object. Polygons (triangles) are "swept" out of each side of the chain, forming swept polygons. The edges of these swept polygons extend to form SE-MVs or swept wedges that also contribute to the first-order visibility event surface at the inside corners of the mesh contour.
In an exemplary embodiment, the term sweep wedge refers to a SE-MV wedge formed by the extension of the sides of the swept support polygon.
In an exemplary embodiment, the term separation polygon refers to a polygon that separates two structures. In general, the separation polygons between the silhouette edges and the viewcells of the polygon mesh are formed by the vertices of the silhouette edges and the viewcells. The vertices of the viewcell supporting this polygon are referred to as separate viewcell vertices. The separate viewcell vertices may be identified by rotating the plane of the silhouette edge's back component polygon, wherein the rotation occurs around the silhouette edge and in the opposite direction of the edge's back component polygon normal toward the viewcell until the plane intersects the viewcell. Typically, this intersection will occur at the split viewcell vertices, forming a split polygon as a triangle with the silhouette edges. If the separate view element vertex is a vertex of a view element that is parallel to the contour edge of the mesh, then the rotation plane will intersect an edge of the view element, not only a single vertex, but the separate polygon will be a quadrilateral formed by the mesh contour edge and the intersecting view element edge. For determining the maximum deviation between the first order UBP and the higher order UBP incident on the contour edge.
In an exemplary embodiment, the term Umb Boundary Polygon (UBP) refers to a polygon that is part of an umb boundary formed by a polygonal mesh object using a viewcell as a surface light source. The UBP may correspond to an exact ghost boundary or may conservatively approximate a ghost boundary in a region. The rotation and sweep construction method using the present invention is constructed by the extension of the support polygon and the sweep polygon. During initial construction, the UBP extends semi-infinitely away from the viewcell. In subsequent steps of constructing the PAU, the UBPs intersect each other, with the mesh polygons and possibly with bounding boxes that enclose all mesh objects.
In an exemplary embodiment, the term first order UBP refers to a polygon constructed using a rotating and sweeping method and alternative embodiments of the methods described in this specification.
In an exemplary embodiment, the term first order SV-ME UBP (source vertex-mesh edge UBP) refers to a polygon constructed by extending corresponding support polygons (SV-ME support polygons) between mesh contour edges and view cell vertices.
In an exemplary embodiment, the term first order SE-MV UBP (source-side grid vertex UBP) refers to a polygon constructed by extending a corresponding swept polygon (SE-M V swept polygon) between the inside corner vertex (of a simple or compound contour) edge of the mesh contour and the view cell vertex.
In an exemplary embodiment, see SV-ME UBP in reference to the term SV-ME support polygon.
In an exemplary embodiment, the term SE-MV sweeps a polygon, see SE-MV UBP.
In an exemplary embodiment, the term higher-order UBP refers to a UBP constructed using a higher-order model of visibility propagation in a polyhedral environment. This model accounts for part of the light source (e.g., viewcell) that may be obscured from the exposed silhouette edge. The higher-order UBP may more accurately approximate the actual umbral boundary in regions where the umbral boundary is actually formed by the higher-order (quadratic) surfaces formed by the edge-edge (EEE) interaction. In the method, a high order UBP is constructed using a back projection method.
Higher order UBPs may be incident on the first order contour edge, where the higher order UBP is referred to as a trim UBP. Alternatively, the higher order UBP may be incident on the higher order contour edge. If adjusting the UBP violates local visibility, a higher order contour edge can be computed.
In an exemplary embodiment, the term back-projection refers to the determination of the part of the viewing element (light source) that is visible from the edge of the profile. In the present method, this determination employs a rotating and sweeping method of PAU construction using the contour edge as a light source.
In an exemplary embodiment, the term VSVV (visible support viewcell vertex) refers to the vertex determined for a mesh contour edge or edge portion: the supporting viewcell vertices that are actually visible from the side are determined by the back projection method. For constructing modulated SV-ME UBPs.
In an exemplary embodiment, the term visible extreme cell contour refers to an extreme cell contour that is actually visible from the inside corner vertices of the mesh contour. For constructing a swept polygon that is extended to form a higher order SE-MV UBP.
In an exemplary embodiment, the term simple contour refers to a chain of contour edges connected by common vertices belonging to a single mesh object. Also known as a simple profile.
In an exemplary embodiment, the term compound silhouette contour refers to a chain of silhouette edges comprising silhouette edges connected by shared vertices or connected by vertices formed by the intersection of wedges/UBPs from one silhouette with non-adjacent silhouette edges. In the study of the smooth manifold, such an intersection is called a t-junction. (See See Durand, Fredo PhD the University of Grenobel)
In an exemplary embodiment, with respect to the term t-junction, also referred to as a Compound Silhouette Vertex (CSV), see a compound silhouette contour.
In an exemplary embodiment, the term PAU (polyhedral aggregate umbra) refers to a polyhedron that forms the boundary of an umbra projected by one or more polygonal mesh objects using viewcells as light sources. The PAU is represented as a polygonal mesh comprising UBPs and visible segments of polygonal mesh objects.
In an exemplary embodiment, the term "triangle-VC axis" (triangle-view cell axis) refers to the axis (supporting axis or convex hull) between the mesh triangles and the convex view cells.
In an exemplary embodiment, the term "segment-sil axis" refers to the 2D axis between MSEGMENT and the contour edge. For use in a 2D version of the mesh traversal to find the intersection of the UBP with the mesh polygon.
In an exemplary embodiment, the term UBL (penumbral boundary line) refers to a 2D equivalent value of UBP, which 2D equivalent value is formed between the contour edge vertex and the mesh contour vertex.
In an exemplary embodiment, the term PLAU (multi-line segment aggregate cost shadow) refers to a 2D equivalent value of PAU, which 2D equivalent value is constrained to the face of UBP.
In an exemplary embodiment, the term viewcell contour refers to the contour of a viewcell as viewed from some elements of a triangular mesh.
In an exemplary embodiment, the polygon mesh may be represented as a directed graph. In an exemplary embodiment, the term trellis traversal refers to: traversal of such a graph is the process of accessing the nodes of the graph. In an exemplary embodiment, the mesh traversal may follow a breadth-first (break-first) order in which the edge-adjacent polygons are examined. Other traversal timings are possible.
In an exemplary embodiment, see SVV for the term supporting viewcell vertices.
In an exemplary embodiment, the term Support Viewcell Edge (SVE) refers to an edge of a viewcell that is parallel to a corresponding grid outline edge. The supporting polygon between two sides is a quadrilateral.
In an exemplary embodiment, the term Visible Support Viewcell Edge (VSVE) refers to a portion of the SVE that is visible (unobstructed) from the entire corresponding silhouette edge.
In an exemplary embodiment, the term SOSC (significantly occluded contour) is directed to view cell transitions.
In an exemplary embodiment, the term SESC is a significantly exposed contour of the pointer to eye unit transition.
In an exemplary embodiment, the term contour of the manifold mesh refers to the inflexibility (fold singularity) of the manifold corresponding to the transition between visibility and occlusion. For a polyhedral manifold mesh, the contour contours are piecewise linear polylines.
In an exemplary embodiment, the term tip refers to a point singularity of the contour line representing an end point of the contour line. The non-convex manifold grid may have a plurality of cusps, each corresponding to an end of the contour.
In an exemplary embodiment, the term CSV (compound silhouette vertex) refers to the intersection of a wedge with a silhouette edge. For a first order implementation, the wedge is a first order wedge and the contour edge is a first order contour edge. Topologically speaking, the CSV corresponds to a conservatively defined t-vertex of the contour as a composite from the region perspective. Typically, the inside corner of the composite mesh profile contour occurs at the CSV.
A less common type of CSV may theoretically occur where a wedge intersects a contour. This degraded condition may correspond to the outside corner of the compound contour.
Corresponding to the t-vertex.
In an exemplary embodiment, the term wedge refers to a triangle formed between a support vertex of a light source/viewcell and a silhouette edge (SE-MV wedge). When the profile edge is parallel to the edge of the light source/viewing element, a wedge is formed between the profile edge and the supporting light source/viewing element. In this case, the (SE-ME) wedge is a quadrilateral.
The wedges used in the discontinuous meshing method are not defined on the part that is occluded between the source and the contour. This type of wedge generation is accurate but does not necessarily produce a continuous ghost-bounded planar visibility event surface.
In contrast, a first order wedge is defined as the extension of the entire supporting triangle or quadrilateral between the viewcell and the contour edge. First order wedge generation is accurate or conservative, but always produces a planar visibility event surface that is a continuous ghost boundary.
In another embodiment, the wedge is any desired polygon between the view cell and the polygon mesh.
Wedges differ from UBPs (primitive boundary polygons) in that: the range of the wedge is limited only by the intersection with the mesh polygon. The structure of a UBP is determined not only by the intersection with the mesh polygons, but also by the intersection with other UBPs. In fact, the UBP is formed from wedges that intersect other wedges and also from polygons of the mesh to form the UBP. The combination of UBPs for a manifold defines the umbra boundary and is a subset of wedges for a manifold.
A PAU may be constructed by directly using wedge-wedge and wedge-mesh polygon intersections to form UBPs. In this case, the point containment test of the polyhedron is used to determine the geometry inside the PAU.
Alternatively, without wedge-wedge intersections, the PAU may be constructed indirectly by traversing only the visible edges of the wedge-polygon intersection. In this case, the geometry inside the PAU is determined using a wedge penetration test of the line between the geometry and the face of the viewcell.
In an exemplary embodiment, the term first-order visibility (also referred to as a first-order model of visibility propagation) refers to a model of visibility propagation from a region, where the native event surface from the region is incident on and constructed (using a rotate and sweep method) from a (first-order) visible, first-order contour edge, assuming that the entire view region (e.g., viewcell) is visible from the first-order contour edge.
In an exemplary embodiment, the term high-order visibility refers to a model of visibility propagation that does not assume that the entire view region (e.g., view cell) is visible from the edge of the model. If the supporting viewcell element corresponding to a first-order silhouette edge (e.g., SVV or SVE) is not visible from the first-order edge, then the corresponding first-order event surface is inaccurate. In this case, a more precise area-looking event surface can be constructed by back-projection: first order silhouette edges are used as sources and corresponding visible supporting viewcell elements (vertices or edges) are determined. The back projection process can adopt a first-order model and can also adopt high-order visibility (by searching SVV of a source contour edge) by itself. By subdividing the imprecise first-order edges and optionally allowing the contour to undo the backprojection process, the ghost event surfaces are generated that converge in an extreme manner on the exacting secondary event surfaces.
In an exemplary embodiment, the term back refers to the orientation of the polygon. The oriented polygon has a front side and a back side. Each polygon is contained within a plane that also has corresponding front and back faces. If the polygon is facing backwards with respect to a point, then the point is on the back of the plane of the polygon. One test to determine whether a polygon is backward facing with respect to a point uses the planar equation of the polygon.
The orientation of the plane is determined by the normal vector, which is defined by coefficients A, B and C of the plane equation:
Ax+By+Cz+D=0
a point is on the back of this plane if it satisfies the following inequality, point (xp, yp, zp):
A(xp)+B(yp)+C(zp)<0
otherwise, the point is on the plane or on the front of the plane.
The polygon may also be oriented relative to another polygon. If two polygons share an edge, one way to determine their orientation is to select the vertices of polygon 2 that are not the vertices of the shared edge. Next, it is determined whether the selected vertex is on the back of the plane of polygon 1, in which case the two polygons are back pairs with respect to each other, otherwise they are facing (or on the same plane) with respect to each other. The above objects and advantages, as well as others, are achieved in accordance with the present embodiments, which include a conservative, from-region visibility pre-calculation method, wherein polygonal segments potentially visible from a multi-faceted view cell are determined by constructing a conservative, linearized, from-view cell visibility map.
In one embodiment, the mesh objects constitute a closed manifold triangular mesh (where each edge is shared by exactly two triangles), although embodiments may use other polygonal meshes. The method may also accommodate non-closed manifold polygons/triangle meshes where each edge is shared by one or two triangles.
A conservative visibility map is constructed from mesh triangles using a Conservative Linearized Umbral Event Surface (CLUES) that includes conservative dependent cell umbra boundaries.
Clees, also referred to in this specification as first order wedges or simply wedges, are feature-wise visibility event surfaces related to wedges employed in discontinuous meshing methods; although they differ in important respects from discontinuous grid wedges.
The CLUES is constructed on specific edges (and vertices of those edges) of a triangular mesh (called first-order silhouette edges) using a novel simplified model of visibility propagation in a polyhedral environment called first-order visibility. The present invention includes a method of constructing a first order CLUES and a method of adaptively refining the first order CLUES to produce a more accurate conservative linearized umbral event surface. These refined CLUES reflect the high order visibility impact that results when the entire viewcell is not visible from the supporting silhouette edge. These higher-order refined linear event surfaces tend to conservatively approximate the exact (usually quadratic) umbral boundaries using the easily adopted conservative polygonal faces. According to some embodiments, the refinement of the first order event faces is performed when a maximum deviation between the first order event faces and the higher order event faces exceeds a predetermined value.
In some embodiments, the refinement process is performed by back-projection where the silhouette edge supporting the CLUES is used as a linear light source to determine that the viewcell is visible from the edge.
The first order model of visibility propagation is based on the assumption of simplified conservatism: if the silhouette edge is visible from the viewcell, then the silhouette edge is visible from all portions of the viewcell. This assumption leads to a simple definition of a first order contour edge for one of the component triangles being front-facing with respect to all points on the viewcell and the other component triangle being non-facing with respect to at least one point on the viewcell. This definition is practically identical to the definition of a silhouette edge as seen from a point and reflects the fact that: in some important aspects, the first order model actually treats the viewcell as a point.
One type of CLUES, known as source vertex-mesh edges, or SV-ME wedges, is constructed on first order contour edges using a simple rotation from the edge to the support point of the viewcell. These SV-ME CLUES are similar to the primitive boundary polygons from point to point used in the shading algorithm. Unlike the primitive boundary polygons from a point view, the SV-ME CLEES alone does not necessarily form a continuous primitive boundary surface on a non-convex manifold.
In a first order approach, a second type of CLUES (called Source edge-mesh vertices, or SE-MV wedges) is constructed, which connects the SV-ME wedges described above (constructed by rotation) to a continuous ghost event surface. This second type of CLUES is formed by the sweeping operation at inside corner mesh contour vertices where the SV-ME type wedges from adjacent contour edges do not otherwise form a continuous ghost event surface. In such a case, SV-ME wedges incident on adjacent first-order contour edges are joined by SV-ME wedges incident on vertices of the connected inside corner mesh contour to form a continuous ghost event surface.
The SE-MV wedge is constructed from support polygons formed by a sweep operation anchored at the inside corner mesh contour vertices and sweeps throughout the edges of viewcells as contour edges when viewed from the inside corner mesh contour vertices. The inside corner mesh silhouette vertices may be the vertices of a simple silhouette formed by connected first order silhouette edges. Alternatively, the inside corner mesh contour vertex may be a Compound Silhouette Vertex (CSV) formed when a first order wedge intersects another silhouette edge. These vertices correspond to the t-vertices of the manifold seen from the zone and when using the exact from-zone visible solution, these vertices typically correspond to the secondary event surfaces. By constructing the SE-MV wedge on the CSV, the method ensures the generation of a continuous, conservative, linearized from region-view silhouette event surface that reflects the intrinsic occlusion blending of the composite silhouette contour without the use of a quadric.
Table Ib shows four types of visibility event surfaces employed in the method of fully discontinuous meshing, also shown in table Ia. The visibility event surface, CLUES, of the present invention in table Ib is also presented and compared to the visibility event surface employed in the fully discontinuous grid. It should be noted that the Jenkins nomenclature does not include quadratic (EEE) surfaces, because in the visibility propagation model of the present invention, these quadric surfaces are replaced by SV-ME and SE-MV planes in the first order version of the method, and the backprojection SV-ME/SE-MV using the higher order refinement implementation of the method.
TABLE Ib
Region-seen visibility event surface nomenclature
Figure BDA0001244149660000631
In one embodiment, the construction of the visibility map from the view unit using CLUES takes the prior art approach of discontinuous mesh construction, where CLUES is replaced by linear and quadratic "wedges" for discontinuous meshing. This embodiment is not optimal because the discontinuous meshing method is not output sensitive. In the prior art method of discontinuity meshing, an event surface is generated on all contour edges, even though many of the contour edges may be occluded from view. In this method, the visibility of a discontinuity grid area is determined after all discontinuity grid areas have been constructed. For densely occluded environments, many of these constructed regions are completely occluded from view. Therefore, the complexity of the arrangement of the discontinuity mesh region is much higher than that of the visible portion of the discontinuity mesh (which corresponds to the visibility map).
In another embodiment, the CLUES is used to construct the actual silhouette volume from the viewcell, which is referred to as a polyhedral aggregate silhouette (PAU), which includes the CLUES and the unobstructed mesh triangle segments. The purpose of this method is to determine only the non-occluded mesh triangle segments (which comprise the potentially visible set or PVS). The construction of the entire PAU, which requires potential intersections of all CLUES, is generally not necessary to determine the triangle mesh segments that are not occluded. Alternatively, the unobstructed mesh triangle segments can be determined more efficiently by constructing the visibility map directly from the region.
Thus, the present invention includes an output-sensitive method of conservative linear visibility graph construction, which is based on the traversal of a triangular mesh 2-manifold (embedded in R3). In this method, a breadth-first traversal of the unoccluded triangular mesh manifold is performed. If any potentially occluded triangles (those in the axis between the triangle and the viewcell) have not been traversed and the traversal has jumped to a closer unprocessed triangle, the traversal of the triangle is aborted. The method is performed in a front-to-back order. The manifold mesh traversal method proceeds to the outline contour of the mesh or the occlusion boundary seen from the viewcell. The contour seen from the viewcell is treated as a highly variable visibility event curve of the manifold. At these contours, corresponding CLUES are constructed and projected into the environment to determine their intersections with the mesh triangles. This projection itself is a visibility issue with respect to faces (e.g., with respect to wedges) encountered in discontinuity meshing, and has been previously addressed using conventional techniques such as the Weiler-Atherton algorithm that are not output sensitive. Alternatively, existing methods include the following techniques: the visibility problem with wedges is solved using a simplified version of the 1-manifold of the 2-manifold traversal (now described) adapted to be encountered in the visibility problem with wedges or with clees. For simplicity, while it is shown that the first order wedges used in the present method differ in important respects from the wedges constructed in the prior art method of discontinuous meshing, the terms wedge, first order wedge, and CLUES are often used interchangeably herein.
The visible intersection of the umbral event surface and the manifold mesh triangle with respect to the wedge corresponds to a segment of the umbral discontinuity mesh as seen from the viewcell but may not actually be a corresponding segment of the visibility map occlusion boundary as seen from the viewcell. This is because the wedges represent the visibility of a triangular segment of a particular feature (vertex or edge) as seen from the viewcell, not necessarily the silhouette boundary as seen from the entire viewcell. In one embodiment of the method, the shading discontinuity mesh segment is tested to determine if it is an occlusion boundary as seen from the viewcell when constructed.
By performing the front-to-back processing order and constructing occlusion boundaries as they are encountered, the mesh traversal largely avoids traversal of occluded triangles, thus facilitating output-sensitive performance. In the output sensitive method, the manifold traversal effectively cascades the flow to the contour on the other manifolds that intersect the occlusion boundary corresponding to the visibility event surface.
The resulting output-sensitive performance is achieved at the cost of: each unoccluded mesh element must be tested using the triangle-view cell axis for unprocessed, potentially occluded elements. In the present approach, the cost of including the test for these axes is greatly reduced by using hierarchical spatial subdivision and intersecting axes with these hierarchical containment structures. This results in all axes that are prone to O (NLog (M)) including the overall cost of the test, where N is the number of visible mesh elements traversed and M is the average number of potentially occluded mesh elements.
Processing the mesh polygon by starting at a strongly visible polygon fragment and continuing to traverse any of: a) the beginning of a conservative linear ghost boundary wedge at the contour edge or b) the intersection of the wedge (forming the actual occlusion boundary as seen from the viewcell) with the mesh polygon. To ensure proper depth ordering, the mesh traversal algorithm identifies any unprocessed, potentially occluded mesh elements and immediately transfers the mesh traversal to the closer, not-traversed elements. Uncertain depth order between mesh elements is detected by maintaining a directed graph representing triangle overlap relationships and identifying loops in the graph using a linear time algorithm such as the algorithm of Tarjan. When a loop exists, the non-fine triangle's viewcell-triangle axis triangles intersect the axis to identify the portions of the overlapping triangles that lie entirely within the axis. These parts do not form loops with the imprecise triangles because they are located completely within the shaft. Restarting the traversal using these parts breaks the loop.
By performing a front-to-back traversal of the mesh, terminating the traversal at the occlusion boundary, and employing hierarchical spatial subdivision, the algorithm is designed to achieve output-sensitive performance, even for densely occluded environments.
One advantage of the mesh traversal/visibility graph construction method is: this construction method is more effective for identifying occlusions than the algorithms like volume visibility, generalized projection and Weiler-Atherton et al. All these other methods rely on large convex occlusions, which are not common in real models. For example, the Weiler-Atherton algorithm, which is a visibility algorithm seen from points, can combine the occlusion of connected polygons only when the connected polygons form convex polyhedrons (they are called consolidated processing). Likewise, the volume visibility (Schuaffler et al 2000) method relies on a simple axis formed between the viewcell and a single convex box-shaped barrier inside the actual barrier. If the actual obstruction is concave and/or has a hole, it is difficult to identify such a simplified concave obstruction that accurately represents the obstruction of the actual obstruction.
In contrast, the present invention does not rely on the presence of a convex occlusion, but rather directly exploits the occlusion coherence inherent in the connectivity of a manifold mesh, regardless of the shape of the mesh.
The method includes a technique to determine an "effective static occlusion" (ESO) of an occluded region of a visibility map. The effective occlusion of a region is a ratio that reflects the number and area of occluded polygons in the occluded region, separated by additional geometry generated during the re-meshing caused by that region.
The accuracy of the visibility map produced by the present method can be reduced by a conservative convex simplification of the contour used. This may be useful when the occlusion boundary surrounding an occluded visibility region includes too much detail, especially when the effective occlusion of that region is low. The effective static occlusion is used as a heuristic to control the simplification of the contour and thus the accuracy of the corresponding visibility map/PVS.
The accuracy of the visibility map can also be selectively increased using the back projection method for the higher order refinements discussed earlier. In part, the control for this adaptive refinement towards the exact secondary event surface may also be determined by ESO measurements.
Storage requirements are reduced by using intermediate incremental PVS representations, where during pre-computation those significant contour edges that produce significant occlusion exposure are identified by identifying corresponding coherent occlusion or exposure regions.
The present invention includes directly identifying polygons or polygon segments of a model that are exposed or occluded during a particular viewcell transition. The list of newly visible polygons or polygon segments for a view cell transition is called the delta G + submesh. The list of newly occluded polygons or polygon segments for the view cell transition is referred to as the delta G-submesh.
The invention comprises the following steps: a coherent region of newly occluded and newly exposed regions for view transitions is identified by computing a visibility map for each view and traversing the resulting visibility map for occlusion/exposure boundaries from one view to another. The method is used to identify connected exposed/occluded areas. The effective occlusion of these regions is measured using the same method as the effective static occlusion described previously. In the case of these delta G regions, the effective occlusion is referred to as an Effective Dynamic Occlusion (EDO). EDO is used to identify coherent regions of valid differential visibility.
Visibility PVS data for one viewcell can be generated in the usual manner from existing PVSs and stored delta G + data and delta G-data for viewcell transitions.
Alternatively, the contour contours that form such high EDO regions are identified and labeled in an offline pre-computation stage. These marker silhouette contours are the basis for an intermediate representation of delta PVS, which substantially reduces storage requirements compared to directly storing all delta G + and delta G-subgrid data for each viewcell transition.
In this intermediate visibility map/PVS representation, dynamically exposed contours or dynamically occluded contours (enclosing regions of high EDO) are marked. Consecutive high EDO regions are identified in offline preprocessing using a simple traversal of the same visibility map that includes occlusion boundaries for two viewcells for a particular transition.
The silhouette markup is stored with the triangle mesh data along with occlusion boundary intersection hints for each view cell transition. Occlusion boundaries are the boundaries of the zone-wise visibility map produced by the umbral event surface incident on the marker outline contour. Both the marker outline contour and the corresponding occlusion boundary form an ambiguous line. At run-time, a simple algorithm that finds connecting silhouette edges and polygon-polygon intersections can be used to construct a complete silhouette contour from some of the labeled silhouette edges (and corresponding occlusion boundary segments).
According to some embodiments, for a simple contour, the contour may often be stored by labeling only a single starting edge of the entire marked contour. The remaining connected first-order silhouette edges forming the contour can be quickly identified at run-time. This approach makes the use of the intermediate representation of the marker profile contour very efficient in storage.
According to some embodiments, the storage scheme is similar for a composite contour (formed when a ghost event surface incident on one simple contour intersects another contour), except that a composite contour vertex (CSV) representing the intersection of the simple contours is also stored.
Using the intermediate representation, a visibility graph/PVS for one viewcell can be generated from a previously constructed parent (inclusionary) viewcell using simplified traversal. This traversal of the parent visibility graph proceeds to the marked occluded silhouette contour, which supports the umbral event surface that generates a new occlusion boundary that effectively bypasses the newly occluded mesh element. This method eliminates the need for: delta G-information and delta G + information for view element transitions between child view elements having a common parent are stored. This method of incrementally generating visibility graphs/PVSs at runtime using explicitly labeled occlusion silhouette contours is particularly useful in distributed client-server implementations because the client can use this method to remove newly occluded geometry for viewcell transitions without receiving explicit incremental G-information from the server.
In addition to being used to directly generate a visibility map/PVS for viewcells, the marker profile contour can also be used to generate incremental PVS data when needed. Using this approach, in accordance with some embodiments, instead of storing delta PVS data (e.g., delta G + and delta G-submesh data), the delta PVS data is generated, if desired, using a superset of the marker contour information, the existing visibility map, and (for delta G + submesh data) the guarantee of the current visibility map including the newly visible geometry for the viewcell transition. In some implementations, the latter superset information may be provided as delta G + child mesh data stored for parent viewcells including the child viewcell for which the particular parent-child viewcell transition occurred.
Using these three data sets, parent-child delta G + and delta G-data for a particular viewcell transition are generated by a simplified traversal of a previously constructed visibility graph corresponding to the parent viewcell. The marker silhouette contour (and associated occlusion boundary cues) is used to quickly construct the visibility graph/PVS of a child visual element from the visibility graph/PVS of a parent visual element. Alternatively, delta G + data and delta G-data may be explicitly generated by traversing the newly exposed region and the newly occluded region, respectively. The latter approach is useful in client-server implementations where the server is a visibility event server that transmits delta G + and/or delta G-submesh data to the client using navigation-based prefetching.
Alternatively, only delta G + data for the visual element transition is explicitly stored and delta G-data is generated by a simplified traversal of the parent visual element. In this implementation, a simplified (fast) traversal of the parent visibility graph proceeds to the marked occluded silhouette contour, which supports the umbral event surface that generates a new occlusion boundary that effectively bypasses the newly occluded mesh element.
The incremental PVS method represents an efficient table decoder for visibility-based stream processing of extrinsic geometry and texture information, where dynamically occluded or exposed contour contours (for viewcell-viewcell transitions) are identified and marked in an offline, pre-computed encoding; and the resulting marked contours are used, along with other implied information, to quickly construct a PVS/visibility graph (or delta G-submesh data) at runtime from the existing PVS/visibility graph. The codec enables a distributed client-server implementation in which storage/transmission costs can be selectively reduced at the expense of increased runtime computation costs.
Furthermore, a perceptually-based encoding strategy is used to encode low level of detail (LOD) geometry and texture information during delta G + submesh information is not delivered to the client in time to generate a complete PVS for the current view unit/view. This strategy takes advantage of the fact that: the human visual system cannot fully resolve information presented in approximately less than 1000 milliseconds. This approach enables relatively perceptually lossless performance degradation to occur during low spatio-temporal visible coherence: in a similar way challenging scenarios for the performance of both the codec and the human visual system.
The details of this codec and its use in streaming content delivery using a client-server approach with navigation-based prefetching are disclosed in this specification.
Table Ic summarizes many prior art methods that employ PVS determination and shadow calculation that characterize the various visibility event surfaces in Table Ia. The last row of the table includes the current method of incremental PVS determination from view element, using the method of the present invention including first and higher order conservative linear primitive event surfaces (CLUES).
Table Ic
PVS and shadowing method
Figure BDA0001244149660000681
Figure BDA0001244149660000691
The operation principle is as follows: model of first order visibility propagation
According to some embodiments, the region-wise visibility pre-calculation of the method uses a region-wise visibility surface constructed using a simplified conservative model of visibility propagation known as first-order visibility.
The exact visibility in a polyhedral environment is dominated by secondary visibility event facets caused by visibility interactions between triplets of edges. In contrast, the first order model considers visibility event surfaces caused by visible interactions between pairs of edges. Using the methods disclosed herein, a first-order visibility model produces a continuous conservative ghost event surface that can be used to construct a conservative from view cell visibility map and related from view cell latent visibility sets (PVSs).
The first order model of visibility propagation is based on a simplification of the conservative assumption: if the silhouette edge is visible from the viewcell, then the silhouette edge is visible from all portions of the viewcell. This assumption leads to the definition of first-order contour edges as those edges: one component triangle is back-facing with respect to all points of the viewcell, the other component triangle is front-facing with respect to at least one point of the viewcell, and the component triangles do not face each other. This definition is practically identical to the definition of a silhouette edge as seen from a point and reflects the fact that: first order models treat the view elements as viewpoints in some important respects.
In first order visibility, it is assumed that any segment of the silhouette edge is either completely occluded from view or completely visible from view (all parts visible from view). That is, in first order visibility, if a silhouette edge is visible from any portion of a viewcell, it is assumed that all of its portions from the viewcell are visible.
The first order model does not account for the effects of varying occlusions along the contour edge segment, which are caused by edge insertions between the contour edge and the viewcell that produce quadratic trilateral (or EEE) visibility event planes. Alternatively, the first order visibility model produces a planar visibility event surface that corresponds to an exact, planar, region-wise appearance event surface or conservatively lies within an exact quadratic region-wise appearance boundary that is typically a quadratic surface. The first-order model of visibility propagation only employs planar visibility event surfaces caused by visibility interactions between pairs of edges. Furthermore, typically the first order, planar visibility event surface is very close to the exact event surface, which may be quadratic, and in many cases the first order event surface is the exact visibility (ghost) boundary as seen from the region.
According to some embodiments, the first-order visibility event surface is generated using a simple rotation and sweep algorithm. In one embodiment, the viewcell is assumed to be convex. This assumption simplifies the rotation and sweep construction method. Alternative embodiments of the rotation and sweep method can construct a first order visibility event surface from the non-saliency elements. Any non-saliency elements may be decomposed into convex components, for example, by tetrahedrization.
In some implementations, three criteria are used to identify first order mesh silhouette edges that cause first order visibility event surfaces. In some embodiments, first order contour edges are defined as those edges of the manifold triangle mesh that pass the following test:
1) one triangle sharing the edge is paired back with respect to all vertices of the viewcell,
2) another triangle sharing the edge is facing with respect to at least one vertex of the viewcell,
3) the component triangles that share the edge are back-to-back with respect to each other.
The first order conservative linear primitive event surface (CLUES), also known as wedges, is of two types. In some embodiments, the viewcell is also conceptually considered a "source" or light source.
According to some embodiments, one type of wedge is formed by vertices of the viewcell and first-order silhouette edges of the mesh (SV-ME). Another type of wedge is formed by the edges of the viewcell and the inside corner vertices of the mesh (SE-MV). The SV-ME type will be discussed first.
According to some embodiments, to construct the SV-ME wedge, a supporting triangle between a first order contour edge and a view cell is identified. The triangle is formed between the silhouette edge and a particular vertex of the viewcell, referred to as a Support Viewcell Vertex (SVV). The supporting viewcell vertices corresponding to the first order silhouette edge are identified by testing the angles between the back triangle of the edge and the triangles formed between each viewcell vertex and the silhouette edge. The vertex that produces the vertex-edge triangle that forms the smallest angle (i.e., the largest negative cosine value) with the back triangle is the first vertex encountered in the "rotation" of the plane of the back triangle through the contour edge. The viewcell vertices are the support viewcell vertices for the corresponding mesh silhouette edge.
A first order wedge incident on a first order mesh silhouette edge is formed by the edge itself and two other edges each being a line passing through the vertex of the edge and the Supporting Viewcell Vertex (SVV) corresponding to the silhouette edge. These two edges extend from the SVV through the contour vertices semi-infinitely in a direction away from the source of the viewcell. The wedge can be viewed as an extension of the support triangle formed between the silhouette edge and the corresponding Support Viewcell Vertex (SVV). As previously indicated, this type of wedge is referred to as a source vertex-mesh edge (SV-ME) wedge because it is formed from the contour edges of the mesh and the vertices of the view cell.
A degenerate case may occur where a rotation of a viewport from the mesh profile encounters two or more Supporting Viewcell Vertices (SVVs) that produce the same angle of rotation. This occurs when the view cell's edge that includes the SVV is parallel to the grid outline edge. In this case, the support triangle between the mesh silhouette edge and the viewcell is actually a support quadrangle. The present method addresses this degradation situation by constructing a special SE-ME wedge.
In some embodiments, the rotation operation produces an SV-ME wedge for each grid first order contour edge. However, a visibility event face at the shared vertex of two first-order silhouette edges is necessarily completely defined by the intersection of two adjacent SV-ME wedges. While adjacent SV-ME wedges always intersect at a shared silhouette vertex, at the inside corners of the silhouette contour, these wedges can only intersect at a single point shared by their two supporting silhouette edges. In this case, their intersection does not form a continuous umbral plane through a portion of the contour. The structure of the visibility event surface across the contour at the shared contour vertices depends on how the neighboring SV-ME wedges intersect.
According to some embodiments, a conceptual counter-rotation operation may be used to determine whether adjacent SV-ME wedges intersect to form a continuous umbra. The reverse sweep operation of sweeping the line segment anchored at the SVV from vertex to vertex along the corresponding mesh contour edge generates the same support triangle as formed in the previous rotation operation. Conceptually, but the reverse rotation operation can be used to identify discontinuities in the visibility event surface that may occur at the shared vertices of adjacent silhouette edges.
Such a reverse sweep operation does not encounter any limitation on sweep (i.e., occlusion) at the shared vertices if two adjacent mesh contours form the "outside corners" or convex corners of the mesh manifold. Thus, SV-ME wedges corresponding to adjacent "outside corner" contour edges will intersect to form a continuous visibility event surface that spans both contour edges. SV-ME wedges incident on adjacent outside corner first order contour edges will intersect to form such a continuous visibility event surface even if the supporting triangles for adjacent contour edges rotate to different SVVs on the viewcell.
Conversely, if two adjacent mesh contour edges form an "inside corner" or a non-convex corner of a mesh manifold, the SV-ME wedges incident on the two edges will not intersect at the shared contour vertex, so that a continuous visibility event surface is formed across the adjacent mesh contour edges. The support polygon corresponding to the adjacent "inside corner" contour edge may be rotated to a different SVV on the viewcell. In this case, neighboring SV-ME edges will still intersect at the shared silhouette vertex, but their intersection will not form a continuous visibility event plane across neighboring silhouette edges. The reverse sweep operation anchored at the SVV and the sweep through the contour edges may encounter a restriction (occlusion) at such inside corner vertices. This restriction results in a discontinuity in the visibility event plane formed by the adjacent inside corner SV-ME edges.
A continuous visibility event surface at such an inboard corner may be constructed by reversing the previously described reverse sweep operation at the inboard corner. The sweep is now anchored at the shared inside corner mesh contour vertices and sweeps along the contour edges of the viewcell, which are the contour edges from the point relative to the inside corner mesh contour vertices, beginning at the SVV for one of the mesh contour edges and ending at the SVV for the adjacent mesh contour edge. Each swept apparent cell contour edge forms a swept triangle with an inside corner vertex. The sides of the triangle extending through the corresponding mesh-outline polygon define a wedge. Because such wedges are formed by the edges of the viewcell and the vertices of the mesh, they are called SE-MV wedges. Such sweeping operations along the contour (as viewed from the point) of the viewcell result in a set of SE-MV wedges that form a continuous visibility event surface of SV-ME wedges that connect (or disconnect) adjacent grid contour edges.
Conceptually, then, when the conceptual reverse sweep operation anchored at the SVV encounters a restriction (occlusion) at the inside corner of the first-order contour, the reverse sweep operation is reversed. This reversal results in an actual sweep operation that constructs sweep triangles and corresponding SE-MV wedges that form a continuous visibility event surface (first order ghost event surface) that connects SV-ME wedges from adjacent first order mesh profile edges. This sweeping operation generates SE-MV wedges that are placed as vertices on the mesh contour and reflect visibility event boundaries determined primarily by the combination of "occlusions" reflected at the contour edges in the SV-ME wedges and the inclusion of viewpoints on the viewcell reflected in the SE-MV wedges incident on the contour vertices.
It should be noted that for a convex viewcell, the two paths of connected viewcell silhouette edges may generally connect one SVV to another SVV. Only one of these paths will sweep through the chain of SE-MV wedges connecting adjacent SV-ME wedges to form a continuous visibility event surface with a consistent surface orientation. In some embodiments, this particular path is referred to as a support viewcell contour (SVSC). Tests to identify SVSCs are presented elsewhere in this specification.
According to some embodiments, for a first order wedge configuration, another test may be used instead of a conceptual reverse sweep operation that detects a limitation on visibility at the inside corner grid vertices. The test involves comparing the normals of the edges of adjacent mesh contours. If two connected mesh silhouette edges have normals oriented such that they are facing each other, the shared vertex is referred to as the outer corner of the mesh.
According to some embodiments, when an inside corner mesh contour vertex is encountered, then a first order wedge is generated across the vertex by a sweep operation, wherein the sweep anchored at the inside corner mesh contour vertex is performed along a support viewcell contour (SVSC) from an SVV corresponding to one contour edge to an SVV corresponding to another contour edge, thereby generating a SE-MV wedge.
The sweeping operation to generate the SE-MV wedge is only performed at the inner corners of the contour. Making this sweep at the outside corner contour vertices generates redundant SE-MV wedges that intersect with neighboring SV-ME wedges only at the contour vertices, so they do not contribute to a continuous ghost event surface of the supported contour.
As previously mentioned, SE-MV wedges may appear at the "inside corners" of the contour, called simple contour, formed by the connecting contour edges of the single mesh. More generally, the SE-MV wedges may be incident on any "inside" or non-concave edge of the polyhedral polymeric Primitive (PAU) face. These "inside corner" features may also be formed when wedges from two contour contours (belonging to the same grid or different grids) intersect. The intersection of a wedge from one contour with a non-adjacent contour edge is referred to as a combined or compound contour vertex (CSV). In the study of the smooth manifold, such an intersection is referred to as a t-junction. At the t-junction intersection, the wedge of one profile edge intersects with a non-adjacent profile edge (from the same or different contour). This t-junction intersection generally occurs in the following manner: the intersecting SV-ME wedges do not intersect each other at the t-junction to form a continuous event surface. The intersection of the resulting degenerations of the two SV-ME wedges at the first order contour edge represents the CSV.
In such prior approaches to CSV, the same sweep operation as the previous sweep operation, now anchored at the CSV, is employed to generate a set of SE-MV wedges that connect other disconnected SV-ME wedges into a continuous conservative ghost event surface. As discussed in detail in another portion of this specification, generally, the exact primitive event surface is a high-order surface (e.g., a quadric surface). The present invention includes performing the aforementioned sweeping operation on the CSV such that the constructed wedge conservatively approximates the actual high order facets incident on the CSV.
The operation theory is as follows: relationships between first-order visibility event surfaces and support packages
According to some embodiments, a first order model of visibility propagation employs a new geometry construct called a support package.
According to some embodiments, the support package between the polyhedral viewcell and the polyhedral mesh object is a polyhedral volume, which includes all possible lines of sight between the viewcell and the mesh object. The support bag is a tetrahedron surrounded by support polygons between the viewcells and the mesh objects. If both the viewcell and the mesh object are convex, the support wrap is the same as the convex wrap and it can be constructed using the familiar gift wrapping algorithm (O' Rourke, computerized Geometry in C Second edition Cambridge University Press 1998). In some embodiments, if the cells are considered convex but the mesh objects are not necessarily convex, the following algorithm may be used to form the support polygons.
The first-order, from-region-looking silhouette edges of a mesh object are each identified as those edges that are: there is one component triangle that is a back pair with respect to all vertices of the viewcell and another component triangle that is a front pair with respect to at least one vertex of the viewcell, and the component triangles are back pairs with respect to each other. For each of these first-order contour edges, the supporting polygon incident on the edge sound is constructed by rotating from the edge in the normal direction of the back component triangle to the vertex of the viewcell forming the smallest rotation angle. This vertex, called the supporting viewcell vertex or SVV, together with the end points of the first-order silhouette edge, forms a supporting polygon (typically a triangle) incident on the silhouette edge. This type of support polygon is called an SV-ME (Source vertex-mesh edge) support polygon.
If the viewcell vertex happens to be the end point of a viewcell edge that is parallel to the mesh object silhouette edge, then the rotation will encounter two viewcell vertices that form the same angle. In this case, the support polygon is a quadrangle formed by the viewcell edge and the mesh object outline edge (i.e., an SE-ME support polygon). All supporting polygons including edges of the mesh object and vertices of the viewcell are formed by rotations to the supporting viewcell elements.
If adjacent mesh object silhouette edges produce support polygons that are rotated to the same viewcell vertex, the support polygons intersect at a common edge formed by that vertex and the shared mesh object silhouette vertex. In this case, the support envelope at the vertices of the mesh object outline is completely defined by the two support polygons. The adjacent mesh object silhouette edges may also produce support polygons that are rotated to different vertices of the viewcell. In this case, the two supporting polygons do not form a continuous face at the mesh contour vertices. To approximate the support envelope at that vertex, one or more support polygons are constructed between the mesh outline vertex and a particular edge of the viewcell. This construction is performed by the aforementioned "sweep operation: sweeping along a chain of viewcell silhouette edges between each viewcell silhouette vertex that rotates adjacent mesh silhouette edges. During the sweep, a support polygon is formed from each of the viewcell contour edges and the mesh contour vertices. This construction can be seen as a "sweep" of the chain of viewcell contour edges such that a sweep polygon is generated for each viewcell contour edge. In general, the sweep between two viewcell vertices can take more than one path, but only one path will sweep through a set of polygons connecting the two original support polygons to form a continuous face with a consistent face orientation. The path is a support view cell contour (SVSC).
The algorithm produces the use of continuous polygon faces that surround or support both mesh objects and viewcells. In some embodiments, if both the viewcell and the mesh object are convex, the support polygons constructed by the algorithm intersect only at their edges and form convex hulls for the viewcell and the mesh object.
If the viewcell is non-convex, the contour of the viewcell from a point can be a complex contour including a cusp and a vertex t, as viewed from the inside corner vertex of the first-order contour of the manifold mesh. If the mesh object is also non-convex, the supporting polygons may intersect inside them.
However, if the viewcell is limited to a convex polyhedron, the silhouette contour (as viewed from the inside corner mesh silhouette vertices) of the viewcell as seen from the point is often a simple contour with no cusp or t-vertex. Thus, if the view cell is convex, the sweeping operation for the contour of the view cell is substantially simplified. According to some embodiments, the sweeping operation is substantially simplified by limiting the view cells to convex polyhedrons.
A first-order wedge incident on a first-order mesh-contour edge is an extension of a corresponding support polygon formed between the same mesh-contour edge and a Support Viewcell Vertex (SVV). This type of wedge is made up of a mesh-contour edge (i.e., a line segment) and two extended lines of support polygons that intersect the mesh-contour edge. Thus, the wedge, as initially constructed, tends to extend semi-infinitely away from the viewcell until it intersects the mesh polygon. This type of wedge is formed by an extension of the SV-ME support polygon and is referred to as an SV-ME wedge.
The first order wedge incident on the inside corner vertex of the first order mesh object outline is an extension of the swept triangle (i.e., the SE-MV support polygon formed between the mesh outline vertex and the edge of the viewcell outline contour). This type of wedge consists of a mesh silhouette vertex and two lines of support polygons that intersect at that vertex. These two lines extend semi-infinitely away from the viewcell to form the boundary of the SE-MV wedge. Thus, the wedge tends to extend semi-infinitely away from the viewcell until it intersects the mesh polygon. This type of wedge is called an SE-MV wedge because it is formed by source (i.e., view cell) edges and mesh vertices.
The SE-MV supporting polygons incident on the outside corner vertices of the mesh profile contour are the actual enclosing polygons of the support package located between the saliency cells and the mesh profile. However, the extension of this supporting polygon would produce a SE-MV wedge that only intersects the first-order ghost event surface tangentially at the outside corner profile vertices. Such a wedge thus does not contribute to a first order ghost event surface/volume and does not need to be constructed.
The following special cases occur: the first order mesh silhouette edge is rotated (i.e., supported by the SVV) to the SVV of the vertex of the viewcell edge that is parallel to the mesh silhouette edge. In this case, the supporting polygon between the mesh contour edge and the view cell edge is a quadrangle. Such a support polygon and its corresponding ghost event wedge are referred to as SE-ME support polygon, wedge. Identifying an SE-ME wedge is useful because, unlike other types of wedges, finding an intersection for an SE-ME wedge that is visible to the wedge is itself a visibility issue from the region (from the segment). The visibility solution for SE-ME with respect to wedges is slightly more complex than the visibility solution for SV-ME and SE-ME wedges from a point view with respect to wedges.
The foregoing description of the support package between the mesh object and viewcell assumes that the supported first-order contour contours of the mesh object are simple contours with each contour being an ambiguous line. In fact, any first order contour seen from a zone may actually be a composite contour, where the entire contour is formed by intersecting contours. The contours intersect at the point where the wedge from one contour intersects the other contour (i.e., the first-order contour edge). The intersection occurs at the Compound Silhouette Vertex (CSV). These CSVs generally correspond to quadric surfaces if higher order interactions of edge triplets are considered. The present method based on the rotation and sweep construction of the first order visibility model treats CSV as a simple inside corner silhouette vertex; one or more SE-MVs are constructed on each CSV, creating a continuous polygon primitive event surface that conservatively approximates the exact quadric surface supported by the first-order contour edges.
By using both SV-ME (and SE-ME in special cases) and SE-MV support polygon/penumbra wedges, a method of linearized non-penumbra for occlusion is significantly overestimated compared to Teller's convex hull for computing the SVE-ME plane, including embodiments of the method that provide more accurate myopia for the actual penumbral event surface as seen from the viewcell.
Unlike the linearized non-penumbra approach, the rotation and sweep approach is not limited to the more limited visibility issue through portal sequences.
In some embodiments, to construct a region-wise discontinuity mesh or a region-wise visibility map, the visible intersection of a first-order wedge and a mesh polygon is determined. The identification of visible intersections of wedges with mesh triangles is referred to as a "visibility problem with wedges". Embodiments include a 2D (i.e., on wedge) 1-manifold (ambiguous line) traversal method, where the construction of visibility event lines (i.e., 1 degree of freedom event surfaces) is interleaved with 1-manifold traversal and interference checking to produce an output sensitive solution to visibility about wedges.
The manifold traversal method is extended to a method of traversing 2-manifolds (i.e., triangular meshes) in 3D to construct a viewcell-aware visibility map that includes mesh polygon segments that are viewable from viewcell. The PVS is derived from the visibility graph. The 3D mesh traversal method invokes the aforementioned 2D (1-manifold) mesh traversal process to resolve visibility about wedges.
Assuming a first-order model of visibility propagation, the volume of space occluded by a mesh object from the view cell is referred to as a first-order polyhedral ghost volume. Because individual umbral volumes may intersect to aggregate occlusions, these volumes are referred to as first-order Polyhedral Aggregate Umbrellas (PAUs).
The first order PAU, also called PAU, is surrounded by a polygon called a primitive boundary polygon or UBP. These polygons are formed by the intersection of a first order wedge with a triangular mesh polygon and with other first order wedges. The PAU is also surrounded by first-order visible mesh polygon segments (i.e., segments that include a visibility map from the view unit). Together, the UBPs and visible mesh polygon segments form a continuous, although not necessarily closed, primitive surface that defines the boundaries of the PAU.
As described in detail in connection with the 3D 2-manifold traversal method (fig. 20 and related figures), according to some embodiments, the construction of the visibility graph includes the steps of: it is determined whether the visible ambiguous line segment for the wedge is actually located within the PAU volume and is therefore occluded from the entire viewcell. The method includes point containment testing of polyhedrons that can answer modifications of the query to first order PAUs without explicitly constructing the PAU.
The use of the 1-manifold polyline traversal method in 2D (fig. 15 and related figures) used in the visibility method for wedges is a simpler implementation of the 2-manifold traversal method in 3D for constructing a visibility graph seen from the viewcell.
The operation theory is as follows: method for representing visibility from viewcell
Embodiments accommodate three different representations of visibility from the viewcell. In table II, the features of these three representations are shown and compared to prior art methods that use a complete discontinuity grid to represent visibility from the zone.
In one representation of preserving linear visibility from view elements, the actual volume of space occluded from view elements is identified using a polyhedral aggregate Primitive (PAU). These volumes are surrounded by Umbral Boundary Polygons (UBPs) that are wedged according to the umbra as seen from the viewcell element. The wedges actually intersect the mesh polygons and each other to determine the UBP. Although most shadow volume methods are shadows from points, the representation is comparable to a shadow volume representation.
In another representation of conservative linearization of visibility from viewcell, conservative lines linearize a primitive discontinuous mesh (CLUDM) where primitives from viewcell elements do not intersect each other, but only intersect mesh polygons to form a conservative discontinuity mesh, where regions of the mesh correspond to fully visible, primitive, or non-primitive regions. The non-umbral areas are actually a type of penumbra where the viewing element is partially visible from its view. Additional tests are used to distinguish between shadowed and non-shadowed areas (e.g., determine the PVS as seen from the viewcell).
In a third representation of preserving linearized visibility from view units, according to some embodiments, in a preserving linearized umbral discontinuity visibility map (CLUVM), only the fully visible region and the umbral region are represented. This is a particularly useful representation because in this case the PVS corresponds to a fully visible area. The CLUVM is constructed by determining whether each potential occlusion boundary, bounded by the umbra seen (i.e., a point or edge) from the viewcell element, is actually a umbra seen from the viewcell. Details of this determination and the output sensitive method of constructing the CLUVM are shown elsewhere in the specification.
These three representations of conservative viewability from view units are compared to the prior art method of complete discontinuity meshing. In a complete discontinuity grid, most of the boundaries comprise a penumbra region, which is a region from which the view cell is partially visible. Typically, the much smaller number of areas is the actual shadow area from which no portion of the viewcell is visible. Both the penumbra and the umbra regions of a complete discontinuity grid may be surrounded by line segments and/or quadratic curves. As proposed in the prior art methods of incomplete discontinuity meshing, the use of only linear components results in discontinuous ghost boundaries and therefore cannot be used to determine visibility from a region.
For a number of reasons disclosed elsewhere in this specification, the Conservative Linearized Umbral Event Surface (CLUES) is at a much less precise event surface than that employed by prior art methods of complete discontinuity meshing. Thus, the approximate complexity of the steps of CLUDM is much lower than that of a complete discontinuity mesh. Indeed, using the output-sensitive construction method of the present invention, the complexity (both construction and storage) is generally determined only by the number of visible contour edges, as determined by N for CLUVM in Table IIv 4As indicated.
These complexity estimates are given in table II and discussed in detail elsewhere in this specification.
TABLE II
Table comparing methods for representing conservative linearized visibility from view cell and classical discontinuity meshing
Figure BDA0001244149660000791
Suppose the number of first order contour edges is O (number of edges)1/2
The operation theory is as follows: high-order conservative linear ghost event surface of first-order back projection
According to some embodiments, the first order visibility model assumes: for any supporting polygon between a viewcell and a first-order manifold mesh outline, the edge of the supporting polygon corresponding to the first-order outline edge is fully visible (occluded) as seen from the vertex of the supporting polygon corresponding to the Supporting Viewcell Vertex (SVV). That is, for an SV-ME wedge, it is assumed that the corresponding support triangle does not intersect any other polygon that would occlude any portion of the corresponding mesh profile edge when viewed from the corresponding SVV. Likewise, for the SE-MV wedge, it is assumed that the corresponding swept triangle is free of any other polygons that would occlude any portion of the corresponding viewcell vertex contour edge when viewed from the corresponding inside corner mesh first order silhouette vertex.
In fact, the supporting polygon corresponding to the wedge may be completely occluded, completely unoccluded, or partially occluded. If the supporting polygon is not occluded at all, the corresponding first order wedge is the exact visibility event boundary supported by the mesh wedge or vertex. If the supporting polygon is completely occluded, the entire wedge maintains a conservative approximation of the boundary. If the supporting polygon is partially occluded, the portion of the wedge corresponding to the non-occluded segment of the supporting polygon is the exact visibility event boundary, while the portion of the wedge corresponding to the occluded segment of the supporting polygon is a conservative approximation of the exact boundary.
The following sections summarize the following methods: the first order wedges are adaptively refined using backprojection to account for the high order visibility interactions that exist when the supporting polygon is fully or partially occluded. Backprojection is the process of determining the portion of the source (i.e., viewcell) that is visible from a particular grid element (i.e., first-order silhouette edge). According to some embodiments, to compute the back projection, a first-order visibility model and method using silhouette edges as a linear light source is employed.
The methods described so far have employed a simplified first order model of visibility propagation that results in a linearized visibility event surface. These first order mode surfaces are surrounded by a first order wedge generated by a method of rotation and sweep.
These first order wedges are of two types: SV-ME wedges and SE-MV wedges. The SV-ME wedges generated by rotation from the mesh edges to the viewcell vertices reflect visibility limitations caused by a combination of inclusion of the viewpoint corresponding to a point on the viewcell and occlusion at the silhouette edge of the mesh. The SE-MV wedges generated by sweeping from points on the grid through the edges of the viewcell reflect the visibility limitations caused by the inclusion on the edges (i.e., boundaries) of the viewcell. In the first order visibility model, SV-ME (i.e., SE-ME in special cases) and SE-MV wedges are just visibility event faces that occur in a polyhedral environment.
Both types of first order wedges may be constructed by extending the corresponding supporting polygons between the mesh and the viewcell. An important assumption of the first order visibility model is that any first order mesh silhouette edge is either fully visible or fully occluded from view elements. This is the same as described below: for any first-order silhouette edge, it is assumed that the viewcell is completely obscured or completely visible from the edge.
Likewise, the first order model assumes: when viewed from the corresponding supporting viewcell vertex or edge, the supported silhouette edge or vertex is either completely occluded or completely unoccluded.
According to some embodiments, a first order rotation and sweep method is used, e.g., if a first order silhouette edge segment is not occluded, then it is assumed that the supporting triangle between the segment and the corresponding SVV is fully occluded (i.e., does not intersect any other mesh polygons). In fact, if the supporting triangle is completely unobstructed, the first order model is accurate and the corresponding SV-ME wedge is the exact component of the primitive event boundary as seen from the viewcell supported by the mesh silhouette edges. However, if the supporting triangle is partially or completely occluded, the first order model is approximate and the actual visibility event surface incident on the silhouette edge may consist of intersecting quadric and planar surfaces. Furthermore, the first order silhouette edge (or a segment thereof) may not even support the actual visibility event surface. Alternatively, the actual visibility event surface may actually be generated by other edges, referred to as high-order silhouette edges, such that all or part of the first-order silhouette edge is actually inside the visibility event (i.e., ghost) boundary and is thus also occluded.
Embodiments include the following methods: the contour edges and vertices for which the first order assumption is inaccurate are identified by performing a sweep of the corresponding supporting triangle to identify the occlusion elements that cause the higher order visibility event surface. The higher order visibility event surface is approximated by computing a back projection identifying the portion of the view element that is actually seen from the silhouette edge or visible from the silhouette vertex. The back projection itself is a region-wise visibility problem that is solved using a first-order rotation or sweep method. Using this approach, a conservative first order wedge can be adaptively refined to approximate the corresponding exact high order visibility event face to a desired error tolerance.
In some embodiments, the high-order method is implemented as the following technique: the first order visibility event surfaces are tested for accuracy and such surfaces are modified or "tuned" to more accurately approximate the higher order visibility surfaces of interest. The first order visibility event surface is incident on the first order from the zone-seen silhouette edge. The first order contour edges define a conservative contour of the mesh. The exact high-order visibility primitive event surface is not necessarily incident on the first-order silhouette edge and may also appear on other grid edges called high-order silhouette edges. Higher order visibility event surfaces incident on these higher order contour edges can produce significantly more occlusion than corresponding event surfaces incident on first order contour edges. In fact, typically, an event surface that emerges from a high-order contour edge will actually encompass an occlusion volume that includes the corresponding first-order contour edge.
Embodiments include the following methods: the higher order visibility event surface is approximated by "adjusting" the first order visibility event surface such that the adjusted event surface remains incident from the first order silhouette edge. The following methods are described in the following sections: the identification occurs when limiting the higher order visibility event surface to a first order contour edge significantly reduces the accuracy of the computed higher order event surface. Additional embodiments include methods of identifying specific high-order contour edges that support a visibility event surface that more accurately approximate an accurate visibility event surface.
The following is a description of where and how high-order visibility event faces occur on polyhedral mesh objects. The framework provides the basis for a completely new approach to adaptively and progressively approximate these high-order facets using polyhedral facets.
To illustrate the concept, a simpler case of replacing a surface light source with a linear light source is started. It is envisioned that the single line light source includes a single segment and a single convex polyhedron. Because the polyhedrons are convex, there is no self-occlusion or inside corner. Thus, the silhouette of the polyhedron is accurately formed using the first order rotation and sweep algorithm described previously. In this case, each first-order silhouette edge support of the mesh forms a single SV-ME wedge, which in this case is a line segment, with a corresponding support source vertex (SVV) to the source.
Now, imagine that for a particular first-order silhouette edge of the mesh, a corresponding SVV on the source line segment is invisible (i.e., completely occluded) against a first-order assumption to form that silhouette edge. This occurs in the following cases: the support triangle formed by the contour mesh edges and the SVV intersects other polygons such that there is no unobstructed line of sight between the SVV and the mesh contour edges. In this case, the occlusion of this axis represents a first order wedge that is not an exact ghost boundary to the mesh silhouette edge, since the corresponding SVV is not even visible from the silhouette edge.
A better approximation of the actual visibility event surface incident on the edge of the mesh profile can be obtained by identifying the point on the line light source that is closest to the supporting viewcell for the edge (i.e., "rotated to"), but is actually visible from the edge of the mesh profile. This point is referred to as the visual support visual cell vertex (vssv) for the mesh contour edge. The vssv is located on the face of the view cell (i.e., on the line segment representing the view cell/light source). It is the point visible from the edge of the mesh profile where the SV-ME UBP would rotate. The corresponding SV-ME wedge is a ghost visible event surface formed by a line light source and a grid contour edge.
Because vssv provides less extreme "look" through the edges of the grid outline and "behind" the grid, this higher order SV-ME wedge produces significantly larger ghost volumes than the corresponding first order SV-ME wedge.
According to some embodiments, the visible support view cell vertices (VSVVs) for a mesh silhouette edge are computed by treating the mesh silhouette edge as a line light source. In this method, a rotation and sweep method is used to construct a visibility map about the face of the viewcell using a particular grid silhouette edge as a light source. In the back projection process, first order silhouette edges are identified with respect to intervening mesh polygons between mesh silhouette edges and view cells. A first order wedge is constructed on these contour edges along the direction of the viewcell. These event surfaces give rise to a visibility map about the viewcell that divides the viewcell into visible components and invisible components seen from the edges of the mesh outline. The point to which the SV-ME wedge of the visible element of the viewcell, incident on the edge of the original mesh profile that is now being used as a source of back projection light, will rotate is the VSVV corresponding to that mesh profile edge.
It is assumed that the line light source is positioned such that it appears to be "above the top" of the mesh object at the edge of the mesh outline in question. It is also assumed that in this particular case, the visibility of the line segment light sources as seen from the mesh silhouette edge is affected by the single intervening triangle that obscures the supporting triangle (i.e., the 2D axis between the supporting viewcell vertex and the mesh silhouette edge). Further, assume that a single side of the intervening triangle spans the entire tetrahedral axis formed by the line segment light source and the mesh outline side such that the intervening triangle "sags" into the tetrahedral axis. Further, assume that the source side, the intervening triangle sides, and the mesh-outline sides are mutually skewed. This single intervening edge affects the mutual visibility of the other two edges at various points on the source and contour edges.
The combination of these three diagonal edges indicates: the actual visibility event surface incident on the edge of the mesh profile comprises a quadric surface. This is the classical EEE event, TELLER (1992). Nevertheless, the back projection rotation and sweep algorithm applied in this case can still identify a single conservative VSVV on the light source. The rotation from the grid contour edge to the VSVV defines a single SV-ME wedge incident on the contour edge that conservatively approximates the actual quadric incident on the contour edge. Furthermore, the actual high-order (quadratic) visibility event surface incident on the mesh contour edge can be more accurately approximated by subdividing the mesh contour edge and calculating VSVVs for each sub-segment. In this subdivision process, adjacent contour segments may produce different VSVVs during back-projection. Corresponding SV-ME wedges do not share common edges but are connected by SE-MV wedges formed by sweeping from the vertex of adjacent contour segments through a linear light source from one VSVV to another VSVV. In this way, the secondary visibility event surface is conservatively approximated by an alternating sequence of SV-ME wedges and SE-MV wedges.
In some cases, the rotation and sweep process using the grid silhouette edges as light sources does not produce a single vssv on the viewcell. For example, if an inside corner of the contour is encountered during backprojection, either in the form of a single continuous contour or as a CSV, the resulting visible "extremum" features on the viewcell may not be points but line segments parallel to the edges of the mesh contour as a light source. This occurs in the following cases: the back projection SE-MV wedge is generated by a sweep that is anchored at the inside corners throughout the mesh contour edges (as light sources). The wedge intersects the viewcell such that the intersection is a support feature (i.e., the two end points of the wedge intersection are VSVVs). This case is similar to the case described above in simple forward first order rotation and sweep, where the rotation operation results in the support of the viewcell edge (SE-ME edge) (e.g., the first order contour edge is parallel to the extreme edge of the viewcell). This high order forward SE-ME wedge configuration is managed similarly in both cases.
Details of high order visibility event face construction using backprojection processing for the general case of polyhedral light sources are disclosed in the detailed description section of this specification. Generally, backprojection applications identify VSVVs using a first order rotation and sweep method with grid contour edges or segments of these edges as line sources. These vssvs are typically connected by a visible support view cell contour vsvsvsscs. An intervening SE-MV high order wedge was constructed by a sweep process over VSVSVSVSVSVSSC. Additional embodiments include: a high order SE-MV wedge is constructed with vsvsvcs corresponding to adjacent contour edges disconnected.
According to some embodiments, the backprojection method is used to compute a single high-order SV-ME wedge for a mesh first-order contour edge that conservatively approximates a very complex visibility event surface incident on the mesh contour edge that may include the intersection of multiple quadrics and planes. In such a case, the mesh contour edges may be subdivided and backprojection applied to the subsections to more accurately approximate the actual event surface that varies sufficiently across a single edge. This subdivision may be done adaptively based on a simple test that indicates the maximum possible deviation of the linearized event surface from the actual visibility event surface along a particular segment. For example, the methods of Teller (1992) and Nirenstein (2005) et al: the method first computes the entire set of event surfaces incident on the contour edges and then determines which are the actual ghost boundary surfaces by using some type of containment test or high latitude CSG, which requires less computation.
As previously encountered for first order visibility map construction, in some cases SV-ME wedges for adjacent contour edges or segments are disconnected and must be connected by SE-MV wedges formed by sweeps from shared points of the edges across the border contour of the viewcell, so that the sweep connects two VSVVs for the connected mesh contour edges.
In the first order case, the two SVVs corresponding to adjacent contour edges always lie on the actual boundary of the viewcell and are connected by a single boundary contour of the viewcell. In the case of high-order back projection, the two vssvs may or may not lie on the same contour. VSVVs are not connected by a single contour if the two portions of the viewcell that are visible from adjacent edges do not intersect. In this case, the convex hull of the two contours may be used to conservatively connect the two high order wedges and the high order SE-MV wedge may be conservatively generated from the connected contours.
According to some embodiments, the back-projection method is applied to the mesh silhouette edge only when the corresponding Support Viewcell Vertex (SVV) is occluded from the mesh silhouette edge as shown by the occlusion of the 2D axis between the two structures. This occlusion for the 2D axis of the SV-ME wedge is a visibility problem from point, which can be computed by a 2D version of the mesh traversal algorithm described previously. Any segments for which the EVV of the contour edge is visible do not need to apply backprojection, since for these segments the first order wedge is the exact visibility event surface.
Furthermore, according to some embodiments, the subdivision and recursive projection of contour segments from which SVV or VSVV is occluded is guided by the following simple tests: the maximum possible deviation between the currently calculated wedge and the actual visibility event surface incident on the segment is measured. The test is performed by rotating from the contour segment to the viewcell in the opposite direction normally used to find SVV. Rotation in this direction identifies the separation plane between the contour edge and the viewcell. This separation plane corresponds to the maximum possible extent of the high-order visibility plane incident on the contour edge segment. It also corresponds to the extreme penumbra boundary between the segment and the viewcell. In some embodiments, a high-order occlusion face approximates the plane only when almost the entire viewcell is occluded from the corresponding contour segment. The angle between the penumbra plane and the current conservative SV-ME wedge for the segment represents the maximum possible deviation between the current conservative event face and the actual event face at the contour. The two planes intersecting at the contour edge in question form a wedge that is supported over the entire extent of the length of the segment. The volume of the wedge reflects the maximum possible deviation between the currently conservative occluded volume and the actual occluded volume at the contour edge.
It should be noted that the deviation decreases with distance from the viewcell. This reflects the fact that: at larger distances, the visibility event surface as seen from the region approaches the visibility event surface as seen from the point. Thus, high order visibility effects are less important at greater distances from the viewcell. In some embodiments, the contour edges are adaptively subdivided depending on the visibility of the corresponding SVV and the silhouette/penumbra measurement. Using this approach, according to some embodiments, the higher order visibility event surface is generated only when it significantly enlarges the occluded volume compared to the simpler first order event boundaries.
The foregoing discussion assumes that the backprojection process is used to refine wedges incident on the first-order silhouette edges of the mesh. In fact, applying the backprojection process to the first-order contour edge may produce the following SV-ME wedges: the SV-ME wedge described above violates local visibility when the triangle formed by the corresponding VSVV and contour edge is located on the back side of the two triangles that share the contour edge. In some embodiments, such SV-ME wedges are still conservative representations of the actual visibility event surface incident on the first order mesh profile edges. However, such violation of local visibility indicates: the corresponding first-order mesh contours are not actually contour edges as seen from the viewcell. Instead, it is located on the occluded side of another visibility event surface that originates from the actual from-view silhouette edge that is closer to the view than the first-order silhouette edge. This type of silhouette edge as viewed from the viewcell is referred to as a high-order mesh silhouette edge.
The general outline edge from the region may or may not support the high order visibility event surface. As defined by Drettakis (1994) and Nierenstein (2005), a typical from-region silhouette edge is any mesh edge of a from-point silhouette edge for any point on a view cell. This typically includes more of the mesh polygons than the first order silhouette edges.
The precise placement of the general region-wise mesh silhouette edge depending on the intervening geometry between the general region-wise silhouette edge and the viewcell may or may not result in a native visibility event plane as viewed from the viewcell. A general region-seen mesh silhouette edge may be identified using a slightly different criterion than that for identifying a first-order mesh silhouette edge. According to some embodiments, an edge is a general silhouette edge as seen from a viewcell if the following three criteria are met: 1) it must have at least one component triangle facing frontally with respect to at least one vertex of the view element, 2) it must have at least one component triangle facing backwardly with respect to at least one vertex of the view element and 3) the component triangles must be facing backwardly with respect to each other.
The aforementioned 3D mesh traversal algorithm may be modified to include primitive event surfaces incident on non-first order, generally silhouette edges as viewed from the viewcell. In one modification, the 3D mesh traversal is initially performed in the usual manner: each mesh edge is examined to determine if it is a first order contour edge. The first order mesh profile edges are used as line sources for backprojection to calculate the high order wedges incident on the first order mesh profile edges by identifying VVS and vsvcs on the view cell plane. If the corresponding high order SV-ME wedge violates local visibility, then the general outline contour from viewcell is identified by: the mesh is traversed away from the first-order edge until one or more general view-element-looking silhouette edges are encountered, which include contour contours that support (i.e., by backprojection) higher-order visibility event surfaces that occlude the original first-order mesh silhouette edges. This retraction may be repeated when the high order wedge also violates local visibility. The modification starts with a conservative result and refines the conservative result to a desired accuracy based on a measurement of the maximum deviation of the current event face from the actual event face.
The linearized back projection method of the present invention provides a more accurate approximation to the higher order visibility event surface than the linearized non-penumbra method of Teller (1992). The Teller's non-penumbra method uses a rotation strategy from the inlet edge to the source inlet that effectively identifies the VSVV on the source inlet corresponding to the target inlet edge. This point, together with the source entrance edge, serves to define a plane that encloses the non-penumbral volume.
These planes correspond to the planes of the SV-ME wedges/UBPs defined by this embodiment. As previously indicated for the case of first-order visibility (e.g., between two entry sequences), Teller only uses the SV-ME plane to approximate the visibility boundaries, while the present invention uses both SV-ME polygons and SE-MV polygons (e.g., UBPs). The use of these polygonal wedges by the present embodiment typically results in a more accurate approximation of the actual visibility boundary than the intersection-plane-based non-penumbra of Teller. Furthermore, the method defines systematic methods for linearized back projection, including mesh traversal, contour edge identification and adaptive subdivision, which can be applied to general visibility from region issues. In contrast, Teller's non-penumbra approach relies on a simple rotation strategy that can only apply more limited visibility issues with the sequence of entries.
Referring now to the drawings, wherein like reference numerals designate identical or corresponding parts throughout the several views, FIG. 55 is an exemplary unified processor computer system for implementing a system and method for determining zone-wise visibility and delta-PVS based content stream processing using a conservative linearized umbral event surface in accordance with the present invention. The computer 5500 implements the methods of embodiments disclosed herein, wherein the computer housing 5502 houses a motherboard 5504 that includes a CPU 5506 and memory 5508. The computer 5500 also includes a number of input devices such as a keyboard 5522 and a mouse 5524, and a display card 5510 for controlling the monitor 5520. In addition, the computer system 5500 further includes a floppy disk drive 5514 and other removable media devices (e.g., compact disk 5519, magnetic tape, and removable magneto-optical media), a hard disk 5512 or other fixed high density media drives connected using suitable devices such as a SCSI bus or enhanced IDE bus. Although the optical disk 5519 is illustrated as a CD cartridge, the optical disk 5519 may be inserted directly into a CD-ROM player that does not require a cartridge. Also connected to the same device bus or another device bus, the computer 5500 may additionally include a compact disk reader/writer 5518 or a compact disk jukebox. In addition, the printer provides printed lists of image primitives, exposure events, and three-dimensional images.
The system further includes at least one computer readable medium. Examples of such computer readable media are optical disks, hard disks, floppy disks, tape, magneto-optical disks, PROMs (EPROM, EEPROM, flash PROM), DRAM, SRAM, etc. The invention includes both hardware for controlling the computer 5500 and software for enabling the computer 5500 to interact with a human user, stored on any one or a combination of computer readable mechanisms. According to some embodiments, such software includes, but is not limited to, device drivers, operating systems, and user applications such as software development tools. Such computer-readable media further includes a computer program product for implementing embodiments of a method for pre-computing zone-view visibility and delta-PVS-based content stream processing using a conservative linearized umbral event surface.
Fig. 56 is a block diagram of a processor 5600 used in the computer 5500. In one embodiment, the processor 5600 includes a CPU 5680 that processes data and instructions stored in the main memory 5640 and/or the ROM 5650. The CPU 5680 also processes information stored on the disk 5610 or CD-ROM 5620. For example, CPU 5680 is an IBM System X from IBM, USA, which employs at least one Xenon processor from Intel, USA or an Opteron processor from AMD, USA. Accordingly, instructions corresponding to processing in the mobile device are stored on any of the magnetic disk 5610, the CD-ROM 5620, the main memory 5640, or the ROM 5650.
In one embodiment, the processor 5600 further includes a network interface 5675 such as an Intel Ethernet PRO network interface card from Intel corporation of america, a display controller 5630 such as an NVIDIA GeForce GTX graphics self-adapter from NVIDIA corporation of america for connecting a display 5602, and a display 5602 such as a Hewlett Packard HP L2445w LCD monitor. The processor 5600 also includes an I/O interface 5690 for interfacing a keyboard 5695 and a pointing device 5685, such as a scroll ball or mouse. According to some embodiments, a disk controller 5660 is interconnected to a disk 5610, such as a hard disk drive or flash memory drive, and a CD-ROM 5620 or DVD drive with a bus 5670, the bus 5670 being an ISA, EISA, VESA, PCI, or similar bus interconnecting all components of the server 5600. Since the general features and functions of the display 5602, the keyboard 5695 and the pointing device 5685, as well as the display control 5630, the disk controller 5660, the network interface 5675 and the I/O interface 5690 are well known, the description thereof is omitted for the sake of brevity. Of course, their processing and hardware vendors and types are known in the art, for example, Freescale ColdFire, i.MX, and ARM processors from Freescale, Inc. of U.S.A.
The example processor 5600 of fig. 56 is a hardware platform of a computing device, such as a PC, and the CPU 580 is an Intel Pentium processor, or other desired processor known in the art. Computer readable instructions stored on any of main memory 5640, ROM 5650, disk 5610 or CD-ROM 5620 are provided as components of a general purpose application, a background daemon, or operating system, or combinations thereof, that executes in conjunction with CPU 5680 and an operating system such as Microsoft VISTA, UNIX, Solaris, LINUX, Apple MAC-OS, and other systems known to those skilled in the art.
The main memory 5640 is a Random Access Memory (RAM), a flash memory, an EEPROM memory, or the like, and the ROM 5650 is a read only memory such as PROM or the like. Since the main memory 5640 and the ROM 5650 are well known, further description thereof is omitted for the sake of simplicity.
FIG. 57 is an exemplary diagram illustrating the relationship between a visibility event encoder, a visibility event server, and a visibility event client in one embodiment.
In some embodiments, a game database or other modeling environment, shown as data 5710, including geometry, texture, and other information is processed using a conservative linearized umbral event surface to generate delta PVS data that is stored as visibility event data (5730). This process described in fig. 57 is performed by the visibility event encoder 5720. In one embodiment, this processing/encoding is done offline to generate visibility event data 5730, which is stored for later use. In some embodiments, the visibility event encoder 5720 includes a processor 5600 and performs the processes illustrated in fig. 1, 3, 4A, 4C, 5A-5C, 6A, and 6B. In further embodiments, the visibility event encoder employs the 3D mesh traversal process of fig. 20A and related figures to generate visibility event data 5730.
In some embodiments, visibility event data 5730 is communicated at runtime by a server unit labeled "server". In some embodiments, the server unit includes stored visibility event data 5730, previously generated by a visibility event encoder. The server unit may also implement visibility event decoder-server processing 5740. In some embodiments, the visibility event server process can implement a navigation-based prefetch server element to deliver visibility event data to a client unit labeled "client" over a network interconnect labeled 5790. In some embodiments, the visibility event server can implement the perception-based packet control methods discussed in conjunction with fig. 48A, 49, 50A, 50B, and 51.
In some embodiments, visibility event server 5740 is connected to game engine-server process 5750. Game engine-server processing is typically used in existing multiplayer games, for example, to receive the location of players in a multiplayer game and to communicate this data to client units. In contrast, the visibility event server 5740 progressively communicates geometry, texture, and other information, including modeling environments, such as, in some embodiments, pre-fetched visibility event data based on user motion within the modeling environment.
Visibility event data 5730 is passed to a client unit labeled "client," which in some embodiments includes visibility event decoder-client processing 5780. Visibility event client process 5780 receives visibility event data 5730. Process 5780 processes the visibility event data into renderable PVS information. In some embodiments, the rendering is performed by the game engine client labeled 5770.
In some embodiments, decoder-client process 5780 receives visibility event data that is effectively compressed by: contour contours and occlusion boundaries with efficient dynamic occlusion are identified and marked. In some embodiments, this effective compression is performed by the contour identification and labeling process described in connection with the exemplary flow diagrams of fig. 33A, 33B, 33C, and 33D.
In such embodiments, the decoder-client process 5780 can use marked contour information included in the communicated visibility event data to identify an entire contour from a limited number of marked first-order contour edges (see the exemplary flow diagrams of fig. 32A and 32B). Embodiments of the decoder-client process can also generate the entire occlusion boundary at run-time from the marked silhouette contour data (see, fig. 34A and 34B and fig. 35A and 35B).
Using this contour data generated from the labeled side information, in some embodiments, the decoder-client process 5780 generates PVSs (e.g., one or more child PVSs from parent PVS data), or incremental PVS information at runtime through traversal of the contour from the labeled seed triangle for each connected component of the PVS or incremental PVS being generated (see the exemplary flow diagrams of fig. 36 and 37).
In some embodiments, decoder-client process 5780 is connected with a game engine client (5770). In some embodiments, PVS or delta PVS data passed to or generated in the foregoing decompression sub-process of the decoder-client process is submitted to rendering, depending on the location of the viewpoint location of the user or other agent. The rendering may employ standard graphics APIs such as Microsoft DirectX or OpenGL-ES, employed by Sony's Playstation 3. In some implementations, these graphics APIs are typically connected to the graphics hardware through drivers.
In some embodiments, the decoder-client process also obtains information representing a location for or from an autonomous agent in the modeling environment. In some embodiments, the viewpoint location information is transmitted to a decoder-server process using bi-directional communication interconnect 5790.
FIG. 2 details: identification of first-order contour edge and construction of first-order conservative linearized umbral event surface
As previously mentioned, two prior art methods broadly use the visibility event surface as seen from the zone: shadow volume algorithm and discontinuous gridding algorithm for the surface light source.
In the shadow volume algorithm, the visibility event surfaces being constructed include a ghost event surface and a penumbra event surface that intersect to form the boundary of the corresponding shadow volume. In a simple case, the umbral event face is a polygon (referred to herein as an umbral boundary polygon or UBP) and is formed as a boundary of the umbral volume of a polyhedron.
The discontinuity gridding method also employs visibility event surfaces that are both a cursive and a penumbra. In the discontinuity gridding method, visibility event surfaces called wedges do not intersect with each other. Thus, the discontinuous mesh approach, for example, does not produce a definite ghost volume. Alternatively, in the discontinuous meshing method, the wedges only intersect the mesh polygons. Following the wedge-polygon intersection step, 2D visibility processing is applied to each wedge to determine the visible portion of the intersected polygon segments. These visible segments of the intersecting mesh polygons form the discontinuity boundaries of the mesh. The continuity boundaries define the same qualitative visibility region (e.g., umbra, non-penumbra, etc.) on the polygonal mesh that may be determined after the continuity mesh is constructed.
According to some embodiments, the present method of conservative region-wise visibility determination employs a conservative linearized umbral visibility event surface constructed by a completely new method of visibility event surface construction.
In one embodiment of the method, these conservative linearized umbral event surfaces intersect each other and mesh polygons to form UBPs similar to the event surfaces used in the shadow volume method.
In another embodiment of the method, these conservative linearized umbral event faces actually intersect mesh polygons to form wedges similar to the event faces used in the discontinuous meshing method. In a variant of this method, a conservative linearized Visibility Map (VM) from the region is constructed from the wedges.
The following is an overview of a first order model of visibility propagation, which applies to two classes of first order visibility event surfaces: wedges and UBPs (which can be constructed by wedge-wedge intersections).
As is evident from an analysis of the prior art, the exact visibility event surfaces that define visibility from a region in a polyhedral environment are often quadric surfaces. These high-order facets present significant computational challenges that make the development of robust, practical, from-region-view visibility pre-computation methods very difficult.
Embodiments include a region-wise visibility pre-computation method based on a simplified model of region-wise visibility propagation in a polyhedral environment. This is referred to as a first order model. According to some embodiments, the model produces visibility event surfaces that are often planar, often conservative, and frequently accurate. Tests are used to determine if a first order surface is accurate and to measure the maximum deviation of the first order surface from an accurate result. A higher order method may be used to refine the first order event faces in regions where the first order method is inaccurate. In some embodiments, the higher order method is an implementation of a first order method along the reverse direction: the part of the viewcell that is visible from the edge is calculated.
Unlike the planar visibility event surface used in the discontinuous meshing method (Heckbert et al 1992), the conservative first-order visibility event surface employed by the method is guaranteed to form a continuous ghost surface from the region-view. These continuous shading surfaces create continuous discontinuity mesh boundaries that divide the discontinuity mesh into regions that are visible from the view cell and regions that are occluded from the view cell. Thus, these regions form a conservative linearized umbral discontinuity mesh. A method of constructing a conservative linearized umbra visibility graph from a viewcell is disclosed. Also indicated is a method for conservative region-seen PVS derived from a corresponding region-seen visibility map.
According to some embodiments, it is assumed that a polygon mesh is a closed manifold triangular mesh (i.e., a set of triangles connected by their common edges or corners) with exactly two component polygons per edge. Further, assume that the visual region is a convex unit. In some embodiments, the first order visibility determination method does not require these assumptions, but these assumptions enhance the simplicity of implementation. For example, the polygon mesh may be manifold but not closed. In this case, each side has one or two component triangles.
According to some embodiments, the first-order from-region visibility model is based on the following simplified conservative assumption: if any element of the polygon mesh is visible from any portion of the view region (referred to herein as a viewcell), it is visible from all portions of that viewcell. This assumption leads to a definition of the silhouette edge at first order from the region.
If one component polygon sharing an edge of a polygon mesh is face-to-face (visible) with respect to any vertex of the view region and another component polygon is back-to-face (invisible) with respect to all vertices of the view region, then the edge is a first-order silhouette edge from the region. The definition of first order silhouette edges also requires that the component polygons not face each other.
This is a more limited definition than the general definition of a silhouette edge as seen from a region (e.g., as used by Dretakis et al and Nirenstein 2005). If one component polygon is facing right-side and the other component polygon is facing back-side for any vertex of the view region, then the edge is a general silhouette edge as viewed from the region. Stated differently, if an edge is a silhouette edge from a point for any point in a view region, then the edge is a generic silhouette edge from a region.
The following table compares the first order from-zone silhouette edge to the general from-zone silhouette edge and from-point silhouette edge.
TABLE III
Outline edge definition table
Figure BDA0001244149660000921
The definition of a first order silhouette edge from a region is similar to the definition of a silhouette edge from a point in that: both contour edges define the boundary between visibility and total invisibility seen from the corresponding "zone" with the viewpoint of the zone being degraded. Obviously, if a component polygon is paired back with respect to all vertices of a viewcell, it is not visible from that viewcell. First order silhouette edge definition requires that other component polygons sharing the edge be visible from any point on the viewcell.
Obviously, on any polygonal mesh, there are many more general contour edges from region than first-order contour edges from region. Each first-order silhouette edge is a general from-region silhouette edge but not each general from-region silhouette edge is a first-order silhouette edge.
The visibility from the area is determined according to the viewing area which is a polyhedral viewing element in the present embodiment.
The visibility event surface as seen from the zone is incident on the silhouette edge as seen from the zone. These visibility event surfaces from the region may be penumbra or umbra.
According to some embodiments, as defined herein, a native visibility event surface (also referred to simply as a native surface) as seen from a region is an oriented surface having a blocked side as seen from the region and an unblocked side as seen from the region. Points located on the occluded side of the native surface from the region view are occluded from any and all points on (or in) the view region view. Points on the unoccluded side from the view zone on the present shadow plane are unoccluded (i.e., visible) from any point on (in) the view zone.
The intrinsic visibility event surface from the region view may be exact or it may be conservative.
In some embodiments, the exact from-region-seen principal event surface is composed of a conic component and a planar component and may be incident on any general from-region-seen contour edge. To determine which general region-viewed contour edge supports the exact primitive event surface, the exact solution to the region-viewed visibility problem is solved. As discussed previously, this is a difficult computational problem that typically needs to be solved in a high dimensional space.
In contrast, embodiments employ a first-order model of visibility propagation that defines a rotation and sweep approach to a conservative ghost event surface that is constructed both as a plane and incident only on the first-order silhouette edges.
In some embodiments, points located on the occluded side of the conservative native event surface are actually occluded from view, while points located on the non-occluded side of the conservative native event surface may be either not actually occluded or occluded. Thus, using a conservative ghost event surface to determine visibility from a region, for example, using a conservative visibility from viewcell mapping approach, the geometry visible from viewcell is never underestimated, but may be overestimated.
The planar visibility event surfaces (wedges) employed in prior art methods of discontinuity meshing are precise, but they generally do not form a continuous visibility event surface. This is because the exact visibility event surface is generally composed of both planar and quadric components. Thus, the planar visibility event surface of the prior art method of discontinuity meshing cannot be used to determine the shadow region.
In contrast, the first-order visibility event surfaces constructed using the method of the present embodiment are precise or conservative but are guaranteed to form a continuous ghost event surface that can be used in the present method, such as a visibility map from a region to determine what geometry is inside the ghost region. The penumbra event surface from the view of the zone is the incident visibility-oriented event surface on the general outline edge from the view of the zone. On the non-occluded side of the penumbra event surface, a particular sub-region or "aspect" of the source view region is visible. But on the occluded side of the same penumbra event surface, the same sub-region of the view area is occluded. Prior art methods of discontinuity meshing use penumbra event surfaces to determine the individual components of a penumbra projected from a surface light source by a polygonal mesh object.
According to some embodiments, only the umbra event surface is employed to determine visibility from the zone. In one embodiment, all of these ghost event surfaces are incident on the first order silhouette edge. In an alternative embodiment, the first order native event surfaces may be adaptively refined through a backprojection process to more accurately approximate the exact native visibility event surface. These refined or "adjusted" visibility event surfaces are, for example, first order ghost event surfaces, planes; they reflect the "high-order" visibility effect caused by the partial occlusion of the view region from the silhouette edge. These visibility event surfaces are therefore referred to as high-order visibility event surfaces. In this alternative embodiment, these higher order visibility event surfaces (ghosts) may "retract" to non-first order, generally region-wise silhouette edges.
Table IV shows the types of visibility event surfaces incident on various types of silhouette edges and certain characteristics of these visibility event surfaces.
TABLE IV
Visibility incident on various types of silhouette edges
Figure BDA0001244149660000941
The basic aspects of a first order model of visibility propagation are shown in fig. 2A and 2B. The following details are given in the description-implementation section of the present specification.
Fig. 2A is a diagram showing a viewcell and two simple polygon meshes a and B.
Fig. 2A also shows two first-order silhouette edges from the viewcell: edge a1 and edge B1 (which is subdivided into segments B10 and B1V).
The construction of a conservative linear ghost event surface (CLUES) incident on these first-order contour edges is now described. In the following discussion, the structured ghost event surfaces are similar to the continuity mesh wedges in the sense that they define the visibility of a single feature (typically a supporting viewcell vertex or edge) as seen from the viewcell. In the subsequent part of the description, it is shown that these wedges can be used to construct a visibility graph (VM) from viewcell for the conservative linearization from which PVS is derived.
In some embodiments, a first order primitive boundary polygon (UBP) defining visibility from an entire viewcell is explicitly constructed by intersecting with a corresponding first order wedge. The construction and use of UBPs is shown as an alternative embodiment in the subsequent part of the description.
Thus, the first step in the construction of a first order wedge is the same as a first order UBP (shown in fig. 2A and 2B as a simpler wedge).
FIG. 2A shows a viewcell and mesh object A and mesh object B. In some embodiments, the viewcell is a 3D cube with eight vertices. For example, the viewcell in FIG. 2A is with a vertex V 1-V8The cube of (1). In further embodiments, the viewcell is any desired convex polyhedron. Edges of mesh A are labeled as having vertex A1_0And vertex A1_1A1 of (1). The edges of grid B are labeled as two segments: B1O and B1V. Relative to first-order contour edge A1, because B1V is located at the vertex V formed at edge A1 and corresponding to the viewcell8Of the corresponding support viewcell vertex SVV1The unobstructed side of piece face "wedge 1", so segment B1V is visible from supporting viewcell vertex SVV 1. In this regard, because the dorsal plane incident on first-order silhouette edge A1 is oriented in a clockwise direction toward viewcell vertex V8Rotated to determine the corresponding supporting viewcell vertex, so B1V is located on the unobstructed side of "wedge 1". Thus, in some embodiments, the direction of rotation of the dorsal plane incident on the first-order silhouette edge toward the viewcell vertex indicates the unobstructed side of the event surface supported by the viewcell vertex. The opposite direction of the back plane rotation indicates the occlusion side of the event surface supported by the viewcell vertex.
With respect to first-order contour edge a1, segment B1O is occluded from view of support view cell vertex SVV1 because B1O is located on the occluded side of event surface "wedge 1" formed between edge a1 and the corresponding support view cell vertex SVV 1.
The first-order visibility event surface labeled "wedge 1" lies in the support plane between edge a1 and the viewcell. The supporting polygon SP1 between edge A1 and the viewcell is formed by vertex A of edge A11_0And vertex A1_1And a triangle formed by the viewcell vertices labeled as SVV1 (labeled as SP 1).
According to some embodiments, the first-order visibility event surface "wedge 1" incident on edge A1 is formed by subtending vertex A incident on edge A11_0And vertex A1_1Is formed by extending two sides of the corresponding supporting polygon (SP 1). The extension extends from the apex A of A11_0And vertex A1_1Starting in a direction away from the viewcell, is performed semi-infinitely. Two extended rays connect to vertex A of edge A11_0And vertex A1_1To form a semi-infinite ghost event surface labeled "wedge 1". Since "wedge 1" extends virtually semi-infinitely away from the viewcell, only a portion of "wedge 1" is shown in fig. 2A. In some embodiments, the plane of the event plane is represented by a 3D plane equation such as ax + by + cz. ═ 0.
Thus, in some embodiments, to form a first-order visibility event surface (as viewed from the viewcell) incident on a first-order silhouette edge and viewcell vertex, a support polygon between the silhouette edge and the viewcell is first constructed. This configuration is similar to the rotation of the silhouette edges in a direction away from the backface assembly polygon and toward the viewcell until a supporting viewcell feature (edge or vertex) is encountered. In some embodiments, the wedge is formed by extending the non-contoured edge of the supporting polygon away from the viewcell.
As shown in fig. 2A, event surface "wedge 1" intersects edge B1, dividing B1 into two segments B1V and B1O, B1V being first-order visible from the view cell feature (view cell vertex SVV1) relative to first-order silhouette edge a1, B1O not being first-order visible from SVV1 relative to first-order silhouette edge a. "wedge 1" intersects first-order silhouette edge B1 (consisting of segments B1O and B1V) at the point labeled CSV.
For purposes of illustration, assume now that segment B1V is located on the non-occluded side of all first-order visibility event planes formed by the edges of grid A and the features of the "viewcell". In this case, B1V is located outside (on the unshielded side) the first-order polyhedral aggregate Primitive (PAU) formed by the intersection of first-order wedges with mesh polygons and with each other. Under these conditions, segment B1V is first order visible from the viewcell.
If segment B1V is first order visible from the viewcell, then under a conservative assumption of a first order visibility model, segment B1V is assumed to be visible from any portion of the viewcell. Thus, the first-order visibility event surface incident on segment B1V is constructed by the aforementioned rotation operation that generates a supporting polygon (SP2) between segment B1V and the supporting viewcell vertices labeled SVV 2. As shown in FIG. 2A, support polygon SP2 is composed of vertices of segment B1V and viewcell vertices V 3(SVV 2). The aforementioned method of extending the support polygon is again used. The resulting first-order visibility event surface incident on BV1 is labeled "wedge 2".
Since the corresponding supporting viewcell vertex SVV1 is actually visible from the supported first-order silhouette edge A1 in this case, "wedge 1" is the exact visibility event surface incident on edge A1.
"wedge 2" is not the exact visibility plane through B1V, because the conservative assumption of the first-order visibility model is violated in a very special way: the corresponding support viewcell vertex SVV2 is effectively invisible from the supported first-order silhouette edge B1V, and SVV2 is occluded when viewed from that edge.
The accuracy of any first order visibility event surface (e.g., wedge) incident on a silhouette edge can be determined using a 2D visibility test that tests the visibility from the silhouette edge of the supporting viewcell vertices. In some embodiments, if the supporting viewcell feature is a vertex, then this is a point-wise visibility test that is equivalent to testing the visibility of a first-order silhouette edge from the corresponding Supporting Viewcell Vertex (SVV). In accordance with some embodiments, segments of a first-order silhouette edge that are visible from the corresponding SVV support precise visibility event surfaces, and segments of a first-order silhouette edge that are occluded from the corresponding SVV support imprecise/conservative visibility event surfaces.
In the special case where the contour edges are parallel to the supporting viewcell edges, special side-looking visibility tests are required. This is explained in detail in the subsequent part of the description.
Embodiments also include methods of increasing the accuracy of an inaccurate visibility event surface. In this method, for each segment of the first order contour edge that supports an imprecise wedge, a point on the face of a viewcell is identified as a Visible Support Viewcell Vertex (VSVV) for that segment. The VSVV is in fact visible from the corresponding contour edge and forms a supporting polygon with the segment.
According to some embodiments, the vssv: the contour edges are used as line sources and the first-order visibility event surface from the region (in this case, from the edges) projected by the polygonal mesh object from the line sources back to the viewing element is constructed. The intersections of these first order wedges with the mesh polygons and with the viewcells include visibility maps for the viewcells as seen from the silhouette edges. The visibility map includes components of the viewcell that are visible from the silhouette edge. Vssv is the supporting apex for these visible components.
Wedges constructed by rotating inexact contour edge segments to the corresponding SVV are adjusted or "high order" visibility event surfaces. These high-order visibility event surfaces reflect the partial occlusion effect of the viewcell (source) from the silhouette edge, an effect that cannot be explained with a simple conservative first-order model of visibility propagation.
Fig. 2B shows the result of the back projection process with B1V regarded as a linear light source. The wedges labeled "wedge _ back" incident on apex A1_0 and apex A1_1 of edge A1 are constructed from segment B1V, which is considered a line source. Note that edge a1 is a first-order contour edge with respect to source region B1V. In this example, the area under "wedge _ back" is the non-occluded side of "wedge _ back", which represents the portion of the viewcell that is visible from B1V.
The support polygon between B1V and A1 is a triangle having side A1 and the vertex VB of side B1V. The corresponding wedge "wedge _ back" intersects the view cell, creating a new visible contour of the view cell that includes the vertex VSVV.
In some embodiments, the process of constructing a backprojection wedge, such as "wedge _ backprojection" uses first order contour edge identification and methods of rotating and sweeping the wedge construction, as described in some embodiments herein. When these methods are applied using viewcells as the viewport, the resulting first order wedge extends away from the viewcells and intersects the polygonal mesh, dividing the polygonal mesh into a first order viewable portion and a first order occluded portion from the viewcells. In contrast, if these methods are applied to backprojection, the corresponding wedges extend away from the first-order silhouette edge (e.g., B1V) used as the straight-line view region and intersect the viewcell, dividing the viewcell into a first-order visible portion from the silhouette edge and a first-order occluded portion from the silhouette edge. This division of viewcells defines a new visible viewcell boundary or contour (also referred to as a visible supported viewcell silhouette edge) that is conservatively visible from the first-order silhouette edge used as a straight-line view region. The vertices of the contour are then tested to determine which vertex is the supporting vertex for the high-order wedge to be constructed on the first-order silhouette edge serving as the straight-line view region (the visible supporting viewcell vertex).
An "adjusted" or high order wedge is constructed by the rotation from BV1 to VSVV generating a support polygon "SP _ high" as support vertices between edge B1V and the visible viewcell contour.
The non-contoured edges of the high order support polygon "SP _ high" extend through the vertices of B1V, forming a high order wedge "wedge _ high" as previously described.
Thus, to construct a higher-order visibility event surface on the first-order silhouette edge seen by the viewcell, the first-order method of visibility propagation is applied in the reverse direction to determine the portion of the viewcell that is visible from the silhouette edge.
As shown in a later portion of the specification, the first order contour edges that support the inaccurate visibility event surface may be adaptively subdivided based on an error measure. Higher order wedges can be constructed on segments that are guided in subdivision by these error measures so that the result is a piecewise planar approximation of the corresponding exact quadratic event surface. Furthermore, the present method of first order visibility applied enables a new method of constructing quadric surfaces, which ensures that constructed surfaces conservatively underestimate occlusion, even if aggregated to an accurate result.
For purposes of illustration, the foregoing theoretical introduction of first order visibility employs a single type of visibility event surface. This type of visibility event surface is formed between the source (viewcell) vertex and the silhouette edge. This type of visibility event surface is referred to as an SV-ME wedge. Another type of visibility event surface is used to construct a continuous, from-region-looking visibility event surface incident on a non-convex polygon mesh. This type of visibility event surface is formed by viewcell (source) edges and mesh vertices and is referred to as an SE-MV wedge, which is discussed in detail elsewhere in this specification.
In summary, a simple first order "rotate-view cell" approach based on first order contour edges is used to construct the first order wedge. The first order wedges may intersect with the mesh polygons and other wedges to form a continuous visibility map from the view unit or a continuous first order PAU. Both data structures conservatively underestimate occlusion from view unit. Embodiments include implementations that derive a conservative, from the first order visibility graph or first order PAU, PVS as seen from the viewcell.
The higher order visibility event surface may be constructed by applying a first order visibility method to determine a back projection process of the portion of the viewcell visible by the silhouette edge.
The above detailed description presents a general overview of a first-order visibility model of visibility propagation and some methods for constructing first-order visibility event surfaces. Further details regarding first order contour edge identification and first order wedge construction will be given in this specification.
Detailed description of fig. 1 to 6: a first embodiment of a conservative linearized umbral event surface constructed using a rotation and sweep method is employed.
One embodiment includes a method of constructing a conservative linearized visibility graph based on a simplified first order model of visibility propagation in a polyhedral environment. As described previously in the embodiments, the first order visibility model is based on the following conservative assumptions: if the silhouette edge of the polygon mesh is visible from any portion of the viewcell, then the silhouette edge is visible from all portions of the viewcell. According to an embodiment of the model, contour edges (referred to as first-order contour edges) are limited to those triangle mesh edges having one component polygon that is front-facing with respect to all vertices of the viewcell and another component polygon that is back-facing with respect to at least one vertex of the viewcell. In addition, to be first-order silhouette edges, the component polygons are also back-to-back with respect to each other.
The model also leads to the following method: a first-order conservative linearized umbral event surface (known as clees, or first-order wedge or simply wedge) is formed by rotation from the (first-order) contour edge to the vertex of the viewcell (deriving the SV-ME wedge from the rotated support polygon) or by sweeping from the (first-order) inside corner contour vertex throughout the viewcell contour edge (deriving the SE-MV wedge from the swept support triangle). The method also uses SE-ME wedges generated in the special case where the supported contour edge is parallel to the supported viewcell edge. This first order implementation always produces a conservative home-shadow boundary, and in some cases, it is the exact home-shadow boundary.
Other embodiments are based on higher order models of visibility propagation in polyhedral environments. The model does not assume that if a silhouette edge is visible from any portion of the viewcell, then it is visible from all portions of the viewcell. Rather, the model accounts for the portion of the viewcell that is occluded from the outline edge. The higher order model forms the basis of an alternative embodiment that can produce a more accurate approximation of the exact umbral boundary if the first order method is not accurate.
First, a first order embodiment of the method is described.
FIG. 1: structure of first order wedge
FIG. 1 shows a flow diagram disclosing the overall organization of a construct of first order wedges formed by polygonal mesh objects and saliency elements using a rotation and sweep method. According to some embodiments, the process flow begins at step 110, where the polygons of the polygon mesh object are examined individually for first-order silhouette edges. The method of identifying first order contour edges is disclosed in detail in fig. 3. An embodiment disclosing an order of checking polygons is shown in fig. 20, which shows an algorithm implementing a strict front-to-back order.
Process flow advances to step 112 to determine whether the first order contour edge encountered in step 110 is parallel to the supporting viewcell edge.
If it is determined in decision step 112 that the first order silhouette edge is not parallel to the supporting viewcell vertices, process flow advances to step 114 to construct a supporting polygon between the silhouette edge and the viewcell. Fig. 4A shows details of this configuration.
Process flow advances to step 116 to construct SV-ME wedges incident on the first order silhouette edges by extending the particular edges of the corresponding rotational support polygons incident on the vertices of the first order silhouette edges. Additional details of step 120 are disclosed in fig. 6A.
If the first order contour edge is parallel to the support contour, process flow advances from step 112 to step 118.
In step 118, a support quadrilateral, referred to as an SE-ME quadrilateral (source-grid edge), is constructed by rotation from view cell edge to view cell, as previously described.
Process flow advances to step 120 to construct an SE-ME wedge corresponding to the SE-ME support quadrilateral by extending the line segment formed by the diagonal vertices of the SE-ME support quadrilateral. The edges of the SE-ME wedge are made up of the supported silhouette edge and two lines formed by extending diagonal line segments away from the viewcell through the silhouette edge vertices.
Process flow advances from step 116 or step 120 to decision step 125 to determine whether adjacent contour edges form outside corners of the first order contour. In some embodiments, this determination is made using a simple test for the relative direction of adjacent contour edges. Each edge lying on the boundary of the polygonal mesh has the following natural direction: one normal to the side faces the outside of the polyhedron (the outside normal) and the opposite normal faces the inside of the polyhedron. If the two outward normals to adjacent silhouette edges face away from each other, the shared silhouette vertex is the inside corner of the silhouette contour. Otherwise the shared silhouette vertices form outside corners.
If it is determined at step 125 that adjacent contour edges form outside corners of the contour, process flow advances to step 140 to intersect wedges incident on adjacent contour edges with one another. In some embodiments, if adjacent SV-ME wedges are generated by rotating to the same Supporting Viewcell Vertex (SVV), they intersect exactly at a common edge. Otherwise, adjacent SV-ME wedges intersect each other inside their polygon and an explicit polygon-polygon intersection determination is made. In either case, the intersecting SV-ME wedges produce a continuous ghost event surface that spans portions of the first order contour formed by the two supported contour edges. In some embodiments, adjacent SV-ME wedges do not intersect. In these embodiments, step 140 is optional. SV-ME wedges that do not intersect with neighboring SV-ME wedges can still intersect with mesh polygons and the resulting wedge-mesh polygon intersection is tested to determine if it is an occlusion boundary as seen from the viewcell. Additional discussion of intersecting adjacent SV-ME wedges is given in connection with fig. 7D4 and 7D 5.
If it is determined at decision step 125 that the adjacent contour edge does not form an outside corner of the contour, process flow advances from step 125 to step 130. This corresponds to the inside corner of the first order contour.
In some embodiments, such an inside corner formed by two silhouette edges connected by a vertex is a simple silhouette vertex. Using a first-order model of visibility propagation, inside corners can also be formed on the composite contour contours where the component contour edges do not share vertices in the original manifold mesh. These vertices are called Compound Silhouette Vertices (CSV), which correspond to t vertices of the manifold as seen from the zone, and are discussed in detail in a later section of this specification.
In step 130, one or more supporting swept triangles are formed between the inside corner mesh silhouette vertices and certain of the viewcells' silhouette edges that are point-wise from the inside corner mesh silhouette vertices. Additional details of this process are disclosed in fig. 5A and 5B.
Process flow advances to step 135 where a corresponding SE-MV wedge is generated from the swept triangle by extending the edges of the swept triangle through the inside corner mesh silhouette vertices. Details of this process are disclosed in fig. 6B.
Alternative embodiments are possible that use different methods to construct the set of first order wedges. For example, in an alternative embodiment, an entire conservative support package between the view cell and the polygon mesh object may be constructed, and a first order wedge selected as a subset of the conservative support package polygons.
Fig. 3 shows a detail of step 110 in fig. 1, the identification of first order contour edges. According to some embodiments, the process shown in FIG. 3 is entered at step 110 of FIG. 1. In some embodiments, the process of identifying a first order contour edge begins with step 310 of identifying a component polygon for the edge. In some embodiments, this process is facilitated by storing the polygon meshes as a chained data structure, such as a wing-edge data structure, in which references to component polygons for each edge are stored. In some embodiments, any desired data structure is used to represent the polygon mesh. In one implementation, the polygon mesh is a closed manifold, where each edge is shared exactly by two component polygons.
Process flow advances to decision step 315 to test a component polygon, referred to as polygon B or PB, to determine if the component is paired back with respect to all vertices of the viewcell. In this case, all vertices of the viewcell may be located on the back side of the plane including the assembly polygon.
If it is determined in decision step 315 that the PB is not back-paired with respect to all view element vertices, then processing proceeds from step 315 to step 320 to test another component polygon, referred to as PA, as described in step 315.
If it is determined in decision step 320 that the PA is paired back with respect to all vertices of the view element, process flow advances to step 325 to determine whether the component triangle PB is facing with respect to at least one view element vertex.
If it is determined in decision step 325 that PB is front-facing with respect to at least one viewcell vertex, processing proceeds to decision step 330 to test PA and PB to determine if they are back-facing with respect to each other.
If it is determined in decision step 330 that PA and PB are back-paired with respect to each other, process flow proceeds to step 335 where the edge being tested is a first order contour edge.
If in decision step 330 it is determined that PA and PB are not back-paired with respect to each other, process flow proceeds to step 355 which returns the result that the edge being tested is not a first order silhouette edge.
If it is determined in step 315 that PB is paired back with respect to all vertices of the viewcell, process flow proceeds to step 340 to determine if PA is facing with respect to at least one viewcell vertex. If the PA is facing forward relative to the at least one viewcell vertex, process flow proceeds to step 345 to determine if PA and PB are back-paired relative to each other, as functionally described in step 330.
If PA and PB are back-paired with respect to each other, process flow proceeds to step 350, which returns the result that the edge being tested is a first order contour edge. If PA and PB are not back-paired with respect to each other, process flow advances from step 345 to step 355. If the PA is not facing with respect to the at least one viewcell vertex, process flow lines proceed from step 340 to 355. If any of the tests in steps 320, 325, 330, 340, or 345 fail, then the grid edge is not a first order contour edge, as indicated in step 355.
FIG. 4A: construction method of SV-ME and SE-ME supporting polygon
FIG. 4A is a flow chart illustrating a method of constructing SV-ME support polygons incident on (first order) mesh silhouette edges. Fig. 4A gives additional detail of the process shown in step 116. According to some embodiments, the process illustrated in FIG. 4A is entered into from step 116 of FIG. 1.
In some embodiments, the process of constructing support polygons begins at step 410 when a first-order edge of the polygon mesh is encountered. In this embodiment this is a first order contour edge, although in other embodiments higher order contour edges may potentially be used.
Process flow advances to step 415 to set the "support _ angle" between the first order silhouette edge and the viewcell to a "maximum" value (e.g., 180 degrees). According to some embodiments, the support angle is defined as: the angle formed when starting from the plane of the back-assembly polygon, rotating through the plane of the first-order silhouette edge and rotating toward the viewcell (in the general direction of the normal to the back-assembly polygon) until the first vertex or edge of the viewcell is encountered. The position where the plane of rotation is in contact with the viewcell is the plane of the supporting polygon between the contour edge and the viewcell. The angle covered during this rotation is referred to as the support angle or the rotation angle and is measured between the support plane and the plane of the back assembly polygon of the profile edge. The view element vertex or edge that causes the smallest rotation angle (if the supporting polygon is of the SE-ME type) is the supporting vertex or supporting edge.
The remainder of fig. 4A illustrates the process of identifying support viewcells and constructing support polygons. Process flow advances to step 420 to set "vertex" as the first vertex of the viewcell. In an embodiment, a "vertex" is a candidate vertex for testing to determine whether the candidate vertex is a supporting vertex. Process flow advances to step 425 to construct a triangle between the mesh silhouette edges "edge" and "vertex". Process flow proceeds to step 430 to measure the angle between the plane of the "triangle" and the visible side of the plane of the back component polygon of the contour edge using standard methods for measuring the angle between planes at the intersection of planes. Process flow advances to step 435 to compare the "angle" with the current value of "support _ angle". If "Angle" is less than the current value of "support _ Angle", process flow advances to step 440 to set "support _ Angle" to "Angle". Process flow advances to step 445 to set "support _ vertex" to the current "vertex".
Process flow advances to step 450 where the support polygon is set to a triangle formed by the silhouette edge and the support vertices.
Process flow advances to step 455 to determine whether unprocessed viewcell vertices remain. If it is determined at decision step 455 that no unprocessed viewcell vertices remain, process flow advances to step 460 where the support polygon is output.
If at decision step 455 it is determined that unprocessed viewcell vertices remain, process flow advances to step 475 where the next viewcell vertex is selected for processing.
If it is determined in decision step 435 that the measured "angle" (rotational angle) is not less than the current "support _ angle," process flow advances to step 465 to determine whether the rotational angle ("angle") is equal to the current value of "support _ angle. If this condition is true, then the two vertices of the viewcell form the same angles with the corresponding silhouette edge, corresponding to the SE-ME support polygon, and process flow advances to step 470 to set the quadrilateral between the two viewcell vertices and the viewcell edge (SE-ME support polygon).
The quadrilateral supporting polygon is constructed in step 470 only in the special case that the support angles between the contour edges and the two viewcell vertices are equal. For the convex viewcell assumed in this embodiment, this only occurs when the two supporting viewcell vertices are located on edges parallel to the mesh-outline edges of the viewcell. In this case, the visibility of the "across" contour edge as seen from the viewcell is not determined by the usual visibility triangle as seen from the point but instead by the visibility quadrilateral as seen from the segment.
Other embodiments may handle this special case differently, for example by constructing two support triangles and a swept triangle incident on parallel support viewcell sides. Using this approach, the resulting corresponding adjacent UBPs do not intersect at an edge, but instead they overlap in their plane, resulting in local degradation of the enclosed polyhedral ghost volume. The present method of identifying quadrilateral supporting polygons avoids this degradation in subsequent steps.
Regardless of whether the candidate support polygon is a triangle or a quadrilateral, process flow advances from step 470 to step 455 to determine whether any unprocessed vertices remain, as described above. If there are remaining viewcell vertices, process flow returns to step 475 where the next viewcell vertex is selected. The process then follows the steps described above.
At final step 460, the processing outputs a support polygon, which is a triangle formed by the mesh silhouette edge and the vertices of the viewcell, or a quadrilateral formed between the mesh silhouette edge and the viewcell edge.
Alternative embodiments of the method of constructing the SV-ME support polygon are possible. In an alternative embodiment, the "support _ vertices" corresponding to one first-order silhouette edge are limited to those viewcell vertices that are directly connected to the "support _ vertices" for the adjacent first-order silhouette edge, where the adjacent edges form the outside corners (convex features) of the mesh. This method is similar to the method used in the classical prior art method of divide and conquer for constructing convex hulls in 3D. In the present application, the viewcell is a very simple polyhedron and the acceleration that this method can afford is very limited.
Fig. 4B shows a mesh object M1 and a viewcell. The view cell and the polygon mesh M1 are the same object shown in fig. 7A and 7B 1. In fig. 4B, the viewpoint is located between the viewpoints of fig. 7A and 7B 1. The first order silhouette edge labeled B also appears in these three figures. The viewing direction of fig. 4B is very close to the parallel side B. Thus, edge B is considered almost a point at edge-on. The vertices of the polygon mesh M1 are considered vertices V3 in fig. 4B and 7B 1.
Two candidate support polygons are shown as "candidate SP 1" and "candidate SP 2". Candidate support polygons are identified for the first-order silhouette edge B by constructing a triangle formed by the edge B and the vertices of the viewcell. The angle that the plane of the support polygon makes with the plane of the backside assembly polygon sharing side B is measured. This angle corresponds to the variable "support _ angle" determined in step 425 of fig. 4A and used in step 435 and step 465 in the same figure. In the example shown in fig. 4B, the backface assembly polygon of first-order silhouette edge B is a triangle formed by edge B and vertex V3.
In this example, the angle formed by "candidate SP 1" (corresponding to vertex V4) is represented by the dashed arc labeled "Angle-1".
In this example, the angle formed by "candidate SP 2" (corresponding to vertex V8) is represented by the dashed arc labeled "Angle-2".
From these two arcs, it is apparent that "Angle-1" is less than "Angle-2". According to the exemplary flow diagram of fig. 4A, candidate SP1 would be kept as a candidate for the actual supporting polygon on the first-order contour. If the process shown in the exemplary flow diagram in FIG. 4A tests all of the vertices of the "viewcell," vertex V4 is found to produce a support polygon ("candidate SP 1") that gives the smallest support angle. The "candidate SP 1" is shown as the actual supporting polygon SPB in fig. 7C 1.
Standard angle measurements may be employed to determine the angle comprising the cross product between the normal vectors of the plane of the backface polygon and the candidate support polygon.
FIG. 4C is a flow chart illustrating a test for determining whether a polygon formed between a first-order silhouette edge and a viewcell vertex is a supporting polygon.
Alternative embodiments are possible as follows: the SV-ME support polygons are identified by considering both the "laterality (dimension) orientation" of the candidate support polygons (relative to the interior of the polygon mesh) and the orientation of the candidate support polygons relative to the view cell vertices.
In one embodiment, the mesh polygons are all assumed to be "outer" polygons with the following normal vectors: the normal vector is locally oriented away from the "interior" of the region comprised by the polygonal mesh. In such an embodiment, all mesh polygons of the polygon mesh have this same "laterality" orientation in unison.
A polygon is a planar structure that may have two sides corresponding to the two sides of a plane that includes the polygon. Exemplary embodiments include polygonal meshes that are manifolds or closed. The manifold grid divides the volume of space in which it is embedded into an interior and an exterior. In computational graphics, it is very useful to use the following manifold mesh: the normal vector of each polygon in the mesh is locally oriented to face away from the interior of the enclosed volume. This may be referred to as the "outer" side of the polygon. The opposite side may be referred to as the "outer" side of the polygon. If all polygons in the mesh have this uniform lateral orientation, there should never be an interior side of the polygon visible from the outside.
In an exemplary embodiment, it can be established that the polygons of the mesh have the same lateral orientation by examining the order of the vertices of adjacent polygons, i.e., polygons that share an edge. (see Schneider (2003) Schneider, Philip J., Eberley, David H., "Geometric Tools for Computer Graphics" Morgan Kaufmann 2003 pp.342-345, the entire contents of which are incorporated herein by reference). Let F 0And F1Is shared by two vertexes V1And V3Two adjacent polygons forming an edge. For polygon F0If the vertex V is1And V3Is as a V3Then V1Are present in the order of polygon F1Must be expressed as V1Then V3Row of (2)And appear in sequence. Neighboring polygons that share an edge with this ordering may be referred to as having a consistent ordering of vertices. Polygons with consistent vertex ordering have the same lateral orientation. The vertex ordering reflects the order in which the vertices are stored for each triangle. Vertices visited in this same order for a triangle define a vector whose cross product is the coefficient A, B, C of the plane equation (triangle edge) or the normal vector of the triangle. In some embodiments, all mesh triangles have a consistent vertex ordering and all mesh triangles will have normal vectors pointing away from the inside of the mesh, i.e. they are all outward facing triangles. Embodiments may employ known algorithms to identify and repair inconsistent vertex orderings in polygon meshes prior to processing (see makeConsistent procedure of Schneider (2003), pp 345).
FIG. 4D1 is a diagram illustrating two adjacent polygons F having consistent vertex ordering 0And F1Exemplary diagram of (a). Note that for polygon F0Is at V1To V3Access the shared edge in the order of V, and for the adjacent polygon F1, at V3To V1The same shared edge is accessed in order, thus satisfying the definition of consistent ordering. With the right-handed rule convention, the normals of the two polygons point outside the image plane.
FIG. 4D2 is a diagram illustrating two adjacent polygons F that do not have consistent vertex ordering0And F1Exemplary diagram of (a).
In one embodiment, the candidate SV-ME support polygons for first order silhouette edges are formed between viewcell vertices and first order silhouette edges. Candidate support polygons are given that have the same lateral orientation as the lateral orientation of the back mesh polygons that share first-order silhouette edges. (with this consistent lateral orientation, for example, a person walking across a first-order silhouette edge on the "outside" face of a backface mesh polygon would encounter the "outside" face of a candidate support polygon) then the orientation of the plane of each candidate support polygon is checked with respect to the viewcell vertices. If the plane of the candidate support polygon is not facing with respect to each viewcell vertex, then the viewcell vertices that form the candidate support polygon are support viewcell vertices and the candidate support polygon is a support polygon.
According to some embodiments, the adopted definition of facing with respect to a viewcell vertex excludes a viewcell vertex that lies in the plane of the candidate support polygon (i.e., recognizing that the support viewcell vertex is non-facing). Alternative embodiments may employ variations of the definition of back and front faces to determine that candidate support polygons are not front-facing with respect to each viewcell vertex. In at least one example embodiment, the testing includes identifying candidate supporting polygons as being opposite to each viewcell vertex back pair, wherein the definition of a plane opposite to the vertex back pair includes vertices located in the plane (i.e., recognizing that supporting viewcell vertices are opposite to supporting polygon back pairs).
According to some embodiments, the process illustrated in FIG. 4C is entered from step 480. In step 408, candidate support polygons are formed between the first-order silhouette edges and the viewcell vertices (V).
Process flow advances to step 485 to set the lateral orientation of the candidate support polygon formed in step 480 to be the same as the lateral orientation of the backface assembly polygons which share first-order silhouette edges.
Process flow advances to step 487 to determine whether the candidate support polygon is facing with respect to each of the view element vertices. If it is determined in decision step 487 that the candidate support polygon is not facing with respect to each view element vertex, process flow advances to step 481 to identify the support view element vertex as a view element vertex (V) and the support polygon as a candidate support polygon.
If it is determined in decision step 487 that the candidate supporting polygon is facing with respect to any view element vertex, process flow advances to step 489 to identify view element vertex (V) as a non-supporting view element vertex and to identify the candidate supporting polygon as a non-supporting polygon.
The test illustrated by the exemplary flow diagram of FIG. 4C can also be used to identify SE-ME type support polygons.
Fig. 5A and 5B: a flow chart illustrating a method of constructing SE-MV support (sweep) triangles
Fig. 5A and 5B include a flow chart illustrating a method of constructing SE-MV support swept triangles incident on the inside corner mesh silhouette vertices. This is additional detail of step 130 of fig. 1. According to some embodiments, the process illustrated in fig. 5A and 5B is entered from step 130 in fig. 1.
In some embodiments, the process of constructing SE-MV support swept triangles begins at step 510 when the inside corners of the first-order contour contours of the polygon mesh are encountered. The inside corner may be formed by a simple first-order silhouette contour where two first-order silhouette edges share a vertex. The intersection is an inside corner vertex if the normals of the outline edges forming the intersection (and the normal direction assumed to be the direction facing away from the interior of the assembly polygon of the outline edges) face each other.
Alternatively, the inside corner vertex may be the vertex of a compound contour formed by the intersection of the wedge and the first-order contour edge. In the latter case, the inside corner outline mesh silhouette vertices are referred to as Compound Silhouette Vertices (CSV).
Process flow advances to step 515 to identify a Support Viewcell Vertex (SVV) for one of the silhouette edges forming the vertex, e.g., using the process disclosed in fig. 4A. The identification of this vertex is stored as the variable "SVV _ start". Process flow advances to step 520 where the process of step 515 is repeated for another edge of the inside corner and the result is stored as the variable "SVV end".
If any of the support polygons of the inside corners is a quadrilateral (generated in step 470 of FIG. 4A), then the support polygon has two SVVs. In this particular case, care must be taken in selecting the starting viewcell vertex ("SVV start") or the terminating viewcell vertex (SVV end) in the chain in steps 515 and 520 because the vertex is removed furthest from the other end of the chain.
Process flow advances to step 525 where the variable "current _ polygon" is set to identify a support polygon between the view cell vertex "SVV _ start" and the corresponding supported edge of the polygon mesh.
Process flow advances to step 530 where the starting point for the viewcell contour sweep that ultimately occurs between the viewcell vertices "SVV _ start" and "SVV _ end" is set to the viewcell vertex "SVV _ start" and stored as variable CVV, which holds the current vertex of the sweep.
Process flow advances to decision step 535 where the CVV is compared to "SVV _ end" to determine if the sweep should be terminated.
If it is determined at decision step 535 that the Current Viewcell Vertex (CVV) being processed is the same as the last vertex in the sweep ("SVV _ end"), process flow proceeds to step 540 and terminates. If both sides of the inside corner have the same point on the viewcell, the corresponding SV-ME wedges intersect along a common side and there is no swept triangle corresponding to the inside corner vertex. This situation would be identified in the initial execution of step 535 and the sweep would be terminated without generating a sweep triangle.
If it is determined in decision step 535 that the CVV is not "SVV _ end," process flow advances to step 545 to set the variable "Current _ Angle" to a maximum value.
Process flow advances to step 550 where the first viewcell edge of the shared viewcell vertex CVV is selected and marked with the variable "edge".
Process flow advances to decision step 555 to determine if the edge "is a silhouette edge (from the point of view) relative to the inside corner mesh silhouette vertex MV.
If it is determined in decision step 555 that the "edge" is a silhouette edge from the MV, process flow advances to step 560 to form a triangle between the point MV and the edge ". This triangle is a candidate swept triangle between the MV and the view unit, but must be compared to other swept triangle candidates that share the same view unit side.
Process flow advances to 565 where the comparison of these other sweep triangle candidates begins. In this regard, the angle between the current swept triangle candidate "triangle" and the "current _ polygon" (supporting polygon) incident on the MV is measured. This value is stored in the variable "angle". Because the "triangle" and the "current _ polygon" share a common edge, the convention that the angle is the angle between the occluded sides of each polygon can be employed to measure the angle at that edge. The occluded side of the support polygon is the side that connects to the interior of the mesh polygon at the contour edge. The occluded side of the candidate swept triangle is the side connected to the inside of the mesh polygon at the vertex MV. This angle is stored in the variable "angle".
Alternative embodiments are possible as follows: the orientation of the swept triangle and the corresponding SE-MV wedge with respect to the adjacent wedge is checked. All wedges are oriented surfaces having a "visible" side and an "invisible" side. For an SE-MV wedge, the visible side is the unoccluded side (which is visible because it is not occluded by mesh polygons that exceed the corresponding first-order silhouette edges). For SV-ME wedges, the visible side is the "contained" side (visible because contained in the viewcell when viewed through and beyond the corresponding inside corner first order silhouette vertex).
In one embodiment, the "sweep _ triangle" is constructed from MV view unit edges that produce a "sweep _ triangle" having an inclusion direction that coincides with the occlusion direction of the neighboring SV-ME wedge and coincides with the inclusion direction of the neighboring SV-ME wedge. SV-ME wedges that do not have this consistent orientation do not contribute to a continuous, conservative linearized umbral event surface.
The orientation of the SV-ME wedges is opposite to the orientation of the corresponding SV-ME support polygons. This inversion occurs because the edges of the SV-ME support polygon are effectively "projected" through the inside corner first-order silhouette vertices to form the corresponding SV-ME wedges. (e.g., an SE-MV support polygon having an inclusion axis between the visual element and an inside corner first-order silhouette vertex "below" a particular SE-MV support polygon along the negative Y direction would produce a corresponding SE-MV wedge having its "included" or visible side along the positive Y direction).
Process flow advances to decision step 570 to determine whether the angle ("angle") is less than the current value of "current _ angle".
If it is determined at decision step 570 that the current value of "angle" is less than the value of "current _ angle", then "triangle" is a candidate swept triangle and process flow proceeds to process 5-1, which begins at step 580 in FIG. 5B.
In step 580, the variable "current _ angle" is set to the value of "angle".
Process flow advances to step 585 to set the variable "sweep _ edge" to refer to edge ".
Process flow advances to step 590 to set the variable "sweep _ triangle" to refer to the triangle ".
Process flow advances to decision step 591 to determine whether there are any additional unprocessed edges sharing the current cell vertex CVV.
If it is determined in decision step 591 that there are edges for the remaining unprocessed shared viewcell vertices, process flow proceeds to process 5-3 which returns process flow to step 575 (FIG. 5A) where the variable "edge" is set to refer to the next viewcell edge of shared vertex CVV. Process flow advances to step 555 to generate and test the next candidate sweep triangle.
If it is determined at decision step 591 that no other unprocessed viewcell edges share the vertex, process flow proceeds to step 592 where a "current _ polygon" variable is set to refer to the triangle "sweep _ triangle".
Process flow proceeds to step 593 to output the sweep triangle "sweep _ triangle".
Process flow advances to step 594 to construct an SE-MV wedge from the swept triangle. Additional details of this step are disclosed in fig. 6B.
Process flow then proceeds to process 5-4, which proceeds from step 594 (fig. 5A) to the next connected viewcell vertex. Process flow then returns to step 535.
If it is determined at decision step 555 that the viewcell edge is not a point-wise silhouette edge for a point-wise MV, process flow advances to process 5-2, which begins at step 591 (FIG. 5B) to select a remaining viewcell edge for processing.
FIG. 5C is a flow chart illustrating a test for determining whether a polygon formed between an inside corner first-order contour vertex and a viewcell edge is a supporting polygon.
Alternative embodiments are possible as follows: SE-MV supporting polygons are identified by considering both the "laterality orientation" (relative to the interior of the polygon mesh) of the candidate supporting polygon and the orientation of the candidate supporting polygon relative to the view cell vertices.
In one embodiment, the mesh polygons are each assumed to be an "outer" polygon having a normal vector that is locally oriented away from the "inner" of the region encompassed by the polygon mesh. In such an embodiment, all mesh polygons of the polygon mesh have this same "laterality" orientation in unison.
As previously mentioned, a polygon is a planar structure that may have two sides corresponding to the two sides of a plane that includes the polygon. Exemplary embodiments include polygonal meshes that are manifold or closed. The manifold grid divides the volume of space in which it is embedded into an interior and an exterior. In computational graphics, it is very useful to use the following manifold mesh: the normal vector of each polygon in the mesh is locally oriented to face away from the interior of the enclosed volume. This may be referred to as the "outer" side of the polygon. The opposite side may be referred to as the "outer" side of the polygon. If all polygons in the mesh have this uniform lateral orientation, there should never be an interior side of the polygon visible from the outside.
In an exemplary embodiment, it can be established that the polygons of the mesh have the same lateral orientation by examining the order of the vertices of adjacent polygons, i.e., polygons that share an edge. (see Schneider, Philip J., Eberely, David H., "Geometric Tools for Computer Graphics" Morgan Kaufmann 2003 pp.342-345, the entire contents of which are incorporated herein by reference). Let F 0And F1Is shared by two vertexes V1And V2Two of the composed sidesAdjacent polygons. For polygon F0If the vertex V is1And V2Is as a V2Then V1Are present in the order of polygon F1Must be expressed as V1Then V2The ordering of (a). Neighboring polygons that share an edge with this ordering may be referred to as having a consistent ordering of vertices. Polygons with consistent vertex ordering have the same lateral orientation.
In one embodiment, candidate SE-MV support polygons for first-order silhouette vertices are formed between viewcell edges and inside corner first-order silhouette vertices. The candidate support polygon is given the same laterality orientation as the laterality orientation of the back mesh polygon sharing the first-order silhouette edges of the inside corner first-order silhouette vertices. (with this consistent lateral orientation, for example, a person walking through a first-order silhouette edge on the "outer" face of a backface mesh polygon would encounter the "outer" face of a candidate support polygon). The orientation of the plane of each candidate support polygon is then checked with respect to the viewcell vertices. If the plane of the candidate support polygon is not facing with respect to each viewcell vertex, then the viewcell edge forming the candidate support polygon is a support viewcell edge and the candidate support polygon is a support polygon.
According to some embodiments, the process illustrated in FIG. 5C is entered from step 595. In step 595, candidate support polygons are formed between the inside corner first-order silhouette vertex and the view element edge (E). Process flow proceeds to step 596 to set the lateral orientation of the candidate support polygon formed in step 595 to be the same as the lateral orientation of the back component polygon that shares the first-order silhouette edge of the inside corner first-order silhouette vertex. In an exemplary embodiment, the lateral orientation of the SE-MV support polygon may be set to coincide with the previously determined lateral orientation of the adjacent SV-ME or SE-MV support polygon. Because the SE-MV support polygons share edges with these neighboring polygons, the laterality orientation may be set by ensuring that neighboring polygons have consistent vertex ordering.
Process flow advances to step 597 to determine whether the candidate support polygon is facing with respect to each of the viewcell vertices. If it is determined at decision step 597 that the candidate support polygon is not front-facing with respect to each view cell vertex, process flow advances to step 599 to identify view cell edge (E) as a support view cell edge and to identify the candidate support polygon as a support polygon.
If it is determined at decision step 597 that the candidate supporting polygon is facing with respect to any view cell vertex, process flow advances to step 598 to identify view cell edge (E) as a non-supporting view cell edge and to identify the candidate supporting polygon as a non-supporting polygon.
FIG. 6A: a flow chart illustrating a method of constructing SV-ME and SE-ME wedges from corresponding SV-ME and SE-ME support polygons
FIG. 6A is a flow chart illustrating a process of constructing SV-ME wedges from corresponding support polygons. This provides additional detail with respect to step 116 in fig. 1. According to some embodiments, the process illustrated in FIG. 6A is entered into from step 116 of FIG. 1.
In some embodiments, the process of constructing SV-ME and SE-ME wedges from corresponding SV-ME and SE-ME support polygons begins at step 610, where the connecting edges of the support polygons are identified as those having one vertex that is a view cell and another vertex that is a vertex of the polygon mesh.
Process flow advances to step 615 to construct rays from the connecting edges by extending the connecting edges away from the viewcell in a semi-infinite manner starting from the corresponding vertices of the supported silhouette edges. If the support polygon is a triangle, two sides connecting the viewcell and the silhouette side extend. If the support polygon is a quadrilateral (according to step 470 of FIG. 4A), then a diagonal connecting the viewcell edge and the outline edge may be extended. Extending the diagonal creates a larger wedge that actually reflects the visibility through the viewcell edge from the viewcell edge.
Process flow proceeds to step 620 to connect the extended edges to corresponding (supported) polygon mesh outline edges to form semi-infinite SV-ME (or SE-ME) wedges.
FIG. 6B: a flow chart illustrating a method of constructing SE-MV wedges from corresponding SE-MV support polygons
Fig. 6B is a flow chart illustrating a process of constructing SE-MV wedges according to corresponding swept triangles. According to some embodiments, the process illustrated in FIG. 6B is entered from step 135 in FIG. 1.
In some embodiments, the process of constructing SE-MV wedges according to corresponding swept triangles begins at step 630, where the connecting edges of the swept triangles are identified as those having one vertex that is a view cell vertex and another vertex that is a vertex of the polygon mesh.
Process flow advances to step 635 to construct rays from the connecting edges by extending the edges from the corresponding mesh silhouette vertices away from the viewcell in a semi-infinite manner.
Process flow advances to step 640 to connect the extended edge to the corresponding polygon mesh inside corner outline vertex to form a semi-infinite wedge.
The process of fig. 6A and 6B describes the construction of the following first order wedges: the first order wedges are limited only by their intersection with adjacent wedges on the contour. These wedges may be referred to as initial wedges.
According to some embodiments, these initial wedges may then intersect mesh polygons as well as other wedges in subsequent processing, such as in the construction of a first order visibility graph. The initial wedge may also explicitly intersect other wedges to form a Umbral Boundary Polygon (UBP) that encompasses a conservative polyhedral aggregate umbral volume from the viewcell that includes (conservatively) occluded regions.
Fig. 7 to fig. 11: detailed description of the output of the first embodiment
FIG. 7A is a schematic view showing a view having a vertex V1To V8And a non-convex polygonal mesh M1. The first order silhouette edge of the mesh as seen from the viewcell is shown in bold lines. Two of the first order contour edges are labeled a and B. This is a perspective view looking in the general direction from the viewcell towards the polygonal mesh.
The first-order silhouette edge A has a component polygon that is directly facing with respect to at least one viewcell vertex. The component polygon is composed ofThe triangle formed by edge a and the mesh vertex labeled MV 1. Another component polygon for edge A is a triangle formed by edge A and mesh vertex MV2 shown in FIG. 7B 1. All vertices V of the component polygon relative to the viewcell1To V8The back side is opposite. Note that these two component polygons sharing edge a are back-paired with respect to each other, such that edge a is a local supporting edge of the polygon mesh M1 and is a first-order silhouette edge. A pair of two component polygon backs sharing edge a may be determined by selecting a first component polygon (e.g., a triangle formed by edge a and vertex MV 2) and by determining whether a vertex of another component polygon that is not part of the shared edge (e.g., vertex MV1 in this case) is located on the front side or back side of a plane that includes the first polygon. Two component polygons are paired back if the unshared vertex is located on the back side of the plane of the other component polygon, as in this case. This determination may be made using the plane equation as described in the definition of "back" provided from the vocabulary. In some embodiments, the process shown in fig. 3 is repeated for each edge included in the polygon mesh M1 to identify each first-order contour edge of the polygon mesh M1.
Fig. 7B1 is a perspective view showing the same polygonal mesh object as the polygonal mesh object M1 described in fig. 7A, but viewed along the general direction from the polygonal mesh toward the viewcell. According to the figure, edge B has all vertices V relative to the viewcell1To V8One component triangle of the back pair (formed by side B and mesh vertex M3). As shown in fig. 7A, edge B has another component triangle formed by edge B and mesh vertex MV1 that is facing with respect to at least one viewcell vertex. Furthermore, the two component polygons that share edge B are back-to-back with respect to each other, such that edge B is a local supporting edge of the polygon mesh M1 and is a first-order silhouette edge.
FIG. 7B2 shows a different polygon mesh than that depicted in FIG. 7B 1. The polygon mesh is labeled M3. One side of the polygon mesh M3 is shown in bold lines and labeled I. The edge has one component polygon that is a triangle labeled T1 and another component polygon that is a triangle labeled T2.
The component polygon T1 is facing with respect to all vertices of the viewcell labeled "viewcell" because all viewcell vertices are located on the back side of the plane that includes the triangle T1.
The component triangle T2 has at least one viewcell vertex located on the front side of the plane including the triangle T2, i.e., T2 is facing relative to the at least one viewcell vertex.
Thus, the components triangles T1 and T2 satisfy two of the criteria required to make the edges they share a first order contour edge relative to the viewcell.
But because the two component triangles are not back-paired with respect to each other, the shared edge I is not a first-order silhouette edge. This may be determined by selecting triangle T1 and identifying vertices of another component triangle (T2) that are not vertices of a shared edge. In this case the vertex is P2. The apex P2 is located on the front side of the plane that includes the other component triangle T1. This fact can be established using the planar equation of the triangle T as described in the vocabulary description for the "back".
Because T1 and T2 are not back-paired with respect to each other, in one embodiment, they fail the decision test shown in the exemplary flowchart of fig. 3 in steps 345 or 330.
Fig. 7C1 is a diagram showing support polygons for first-order contour edges a and B. The support polygon for first-order silhouette edge A is labeled SPA, and the support polygon for first-order silhouette edge B is labeled SPB. The corresponding Support Viewcell Vertices (SVV) are labeled SVVA and SVVB, respectively, which correspond to viewcell vertex V, respectively 4And V8. This is a perspective view looking in the general direction from the viewcell towards the mesh object.
Fig. 7C2 is a diagram showing support polygons SPA and SPB and corresponding source vertex-mesh edge (SV-ME) wedges for first-order contour edges a and B, respectively. The support polygon for first-order silhouette edge A is labeled SPA, and the support polygon for first-order silhouette edge B is labeled SPB. The corresponding Support Viewcell Vertices (SVV) are labeled SVVA and SVVB, respectively. The SV-ME wedge formed by extending the support polygon SPA is labeled as SV-ME WA. The SV-ME wedge formed by extending the support polygon SPB is labeled as SV-ME WB. According to some embodiments, the SV-ME wedges WA and WB are constructed according to the processes illustrated in fig. 1, 4 and 6A. This is a perspective view looking in the general direction from the viewcell towards the mesh object.
Fig. 7C3 is a view showing only SV-ME wedges formed by extending the sides of a corresponding support polygon. The SV-ME wedge formed by extending the support polygon SPA is labeled as SV-ME WA. The SV-ME wedge formed by extending the support polygon SPB is labeled as SV-ME WB. The corresponding Support Viewcell Vertices (SVV) are labeled SVVA and SVVB, respectively. This is a perspective view looking in the general direction from the viewcell towards the mesh object.
Although fig. 7C 1-7C 3 show wedges incident on first order contour edges a and B, further embodiments construct wedges for each first order contour edge contained by the first order contour included in grid M1 according to the processes shown in fig. 1, 3-6B.
Fig. 7D1 is a perspective view showing the same object as shown in fig. 7C1, but viewed in the general direction from the mesh object M1 toward the viewcell.
Fig. 7D2 is a perspective view showing the same object as shown in fig. 7C2, but viewed in the general direction from the mesh object M1 toward the viewcell.
Fig. 7D3 is a perspective view showing the same object as shown in fig. 7C3, but viewed in the general direction from the mesh object M1 toward the viewcell.
Fig. 7D4 shows the same polygon meshes and view cells as those shown in fig. 7D3 from the same perspective. Fig. 7D4 shows two rotating wedges intersecting at the outside corner vertex of a first order contour.
One of the rotating wedges is labeled as SV-ME WA, which can also be seen in FIG. 7D 3. An additional rotating wedge SV-ME WC is shown in FIG. 7D 4. The wedge is supported by first-order silhouette edges labeled C and supporting viewcell vertices labeled SVVC.
The two rotating wedges SV-ME WA and SV-ME WC share the outside corner apex of the first order contour edge. This vertex is labeled OCV. As specified in steps 125 and 140 of the exemplary flowchart of FIG. 1, in one embodiment, rotated polygons that share outside corner vertices intersect each other.
Rotated polygons that share outer outside corner silhouette vertices and that are rotated to the same supporting viewcell vertex will precisely intersect each other at a shared edge. In this case, the shared edge is a ray that extends from the shared vertex and lies on a line formed by the supporting viewcell vertex and the shared outside corner vertex. In this particular case, the two rotary wedges are constrained to each other on the shared edge.
(rotating polygons that share inside corner outline vertices and that rotate to the same support viewcell vertex also intersect each other exactly at the shared edge in this case, the support polygon is not being swept and a corresponding sweep wedge is not generated.)
In general, a rotating wedge sharing an outside corner vertex may rotate to a different supporting viewcell vertex. In FIG. 7D4, the wedge SV-ME WA is defined by the viewing element vertex V4While the SV-ME WC is supported by the SVVC. In this case, the intersection of the wedge SV-ME WA and the wedge SV-ME WC is the line segment labeled I. Line segment I divides wedge SV-ME WC into two parts. The proximal part of the subdivided wedge SV-ME WC is obscured in this figure.
This proximal portion of the wedge SV-ME WC is fully visible in fig. 7D5, which shows the same object as that of fig. 7D4, at a different perspective. This proximal portion is labeled SV-ME WCR in FIG. 7D 5.
In general, the intersection of two rotating wedges sharing an outside corner apex and rotated to different supporting viewcell apexes would result in one of the wedges being constrained to a proximal portion (e.g., SV-ME WCR (indicating constrained wedge C)) and a distal portion. Only the proximal portion of this locally constrained wedge is actually the face of the event of the umbra as seen from the viewcell (only this proximal portion is the polygon of the corresponding Polyhedral Aggregate Umbra (PAU)). Because the distal portion that exceeds the limit and is in a direction away from the viewcell is entirely on the unobstructed side of the adjacent wedge, the distal portion does not represent a self-presenting event surface as viewed from the viewcell. In the examples shown in fig. 7D4 and 7D5, the mesh polygons located on both the unoccluded side and the occluded side of the distal portion of the SV-ME WC are effectively unoccluded from the view cell vertex SVVA and, therefore, are unoccluded from the view cell.
This local restriction of a rotating wedge consisting of adjacent rotating wedges sharing the outside corner profile vertex results in a substantially smaller wedge in some cases. Because the smaller, locally constrained wedge has an additional containment boundary that constrains the processing, the wedge can require substantially less processing (e.g., at step 1515 in one implementation using the 2D mesh traversal processing shown in the exemplary flowchart of fig. 15) when submitted to make a determination regarding the visibility of the wedge.
Thus, the local restriction process can speed up the determination regarding the visibility of the wedge. Alternative embodiments that do not use this local limit process may also be employed. Any wedges that have not yet been constrained by other wedges still intersect the mesh polygon to produce a discontinuous mesh segment. A determination is then made as to whether such discontinuity segments are in fact ghost boundaries from the viewcell, using the point-containment test of the modified polyhedron described in the exemplary flowchart of fig. 25. This test is suitable for both locally constrained and unconstrained wedges.
The preceding discussion assumes that the wedges employed are all first order wedges. The high order wedge undergoes wedge-wedge intersection (limited by other wedges) as described in one embodiment, for example, in step 2155, which illustrates an exemplary flow chart of a method for determining whether the DM SEG is an actual occlusion boundary segment as seen from viewcell.
Fig. 8a1 is a diagram showing a swept triangle (SE-MV support triangle) located on the inside corner vertex shared by the first-order mesh contour edges labeled a and B of mesh object M1. The swept triangle is labeled ST _ AB. In some embodiments, the sweep process shown in FIGS. 5A and 5B is used to generate the sweep Sweep triangle ST _ AB, sweep anchored at labeled ICSV and from SVVA (V)4) To SVVB (V)8) To occur. In this case, the inside corner mesh silhouette vertex is a simple inside corner of a first order silhouette contour (i.e., a contour formed by all first order silhouette edges of mesh object M1) formed at the vertex shared by the two first order silhouette edges. This is a perspective view, similar to the diagrams shown in fig. 7A and 7C1, looking in the general direction from the viewcell toward the mesh object.
Fig. 8a2 is a diagram showing swept triangles (SE-MV supporting polygons) on inside corner vertices shared by first-order contour edges labeled a and B of mesh object M1. The swept triangle is labeled ST _ AB. In some embodiments, the sweep process shown in fig. 5A and 5B is used to generate a sweep triangle ST _ AB anchored at the inside corner profile vertex labeled ICSV and from SVVA (V)4) To SVVB (V)8) The process is carried out. In this case, the inside corner mesh silhouette vertex is a simple inside corner of the first order silhouette contour formed at the two first order silhouette edges sharing the vertex. The corresponding SE-MV wedge formed by extending the swept triangle is labeled SE-MV WAB. According to some embodiments, the SE-MV wedge WAB is formed according to the process illustrated in fig. 6B. In this regard, the sides of the polygon ST _ AB are extended through the inside corner vertices to form the SE-MV WAB. This is a perspective view looking along the view cell towards the general direction of the mesh object, similar to the diagrams shown in fig. 7A and 7C 2.
FIG. 8A3 is a diagram showing the inside corner profile vertex labeled ICSV. The corresponding SE-MV wedge formed by extending the swept triangle is labeled SE-MV WAB. This is a perspective view, similar to the diagrams shown in fig. 7A and 7C3, looking in the general direction from the viewcell toward the mesh object.
FIG. 8A4 is a diagram showing a first order conservative linearized umbral event surface (CLEES) incident on silhouette edges A and B. As shown in FIG. 8A4, the continuous ghost event surface consists of two SV-ME wedges (labeled SV-ME WA and SV-ME WB) and in this case a single SE-MV wedge (labeled SE _ MV WAB). The corresponding support viewcell vertices are labeled SVVA and SVVB, and the inside corner first-order silhouette vertices are labeled ICSV. This is a perspective view looking along the viewcell towards the general direction of the mesh object. As shown in FIG. 8A4, a CLEES consisting of SV-ME WA, SE-MV WAB and SV-ME WB forms an occlusion boundary with the non-occluded side of the boundary in the direction of arrow U1 and the occluded side in the direction of arrow O1.
Fig. 8B1 is a diagram showing the same object as shown in fig. 8a1, but from a perspective view looking in the general direction from grid object M1 toward the viewcell.
Fig. 8B2 is a diagram showing the same object as shown in fig. 8a2, but from a perspective view looking in the general direction from grid object M1 toward the viewcell.
Fig. 8B3 is a diagram showing the same object as shown in fig. 8A3, but from a perspective view looking in the general direction from grid object M1 toward the viewcell.
Fig. 8B4 is a diagram showing the same object as shown in fig. 8a4, but from a perspective view looking in the general direction from grid object M1 toward the viewcell.
Like fig. 8a4, fig. 8C is a diagram showing a first order Conservative Linearized Umbral Event Surface (CLUES) incident on silhouette edges a and B. The continuous ghost event surface consists of two SV-ME wedges (labeled SV-ME WA and SV-ME WB) and in this case a single SE-MV wedge (labeled SE-MV WAB). This is a perspective view looking in the general direction from the viewcell towards the mesh object.
FIG. 9A is a diagram showing the umbra event surface incident on silhouette edges A and B constructed by the prior art method of linearizing non-penumbra described by Teller (1992). In this prior art approach, which is only used for the limited problem of portal sequence visibility, the primitive event surface is constructed entirely from the planes supporting the polygons. The portions of these support planes incident on the contour edges a and B are shown and labeled "wedge plane _ a" and "wedge plane _ B". These planes intersect at line L to form a continuous visibility event surface incident on silhouette edges a and B.
In Teller's linearized non-penumbra prior art approach, Teller (1992) approximates the visibility event surface by intersecting only the plane incident at the entry edge and the supporting polygon supported by the source viewpoint, where the source is the previous entry in the entry sequence. These support polygons correspond to SV-ME support polygons (using the nomenclature of this embodiment). The Teller's method does not use the corresponding SE-MV support polygons in the construction of the ghost event surfaces, but rather uses the planes of these polygons.
In contrast, an SV-ME wedge as constructed by the present embodiment is a semi-infinite polygon that is laterally bounded by a semi-infinite extension of a supporting polygon that is a ray. The SV-ME wedges are also constrained to the corresponding first order contour edges. The Teller "wedge" is essentially a flat surface with no lateral constraints. The present embodiment of the "Teller wedge" is constructed to extend the planes of adjacent SV-ME wedges at the inboard corners until the planes intersect.
In the following analysis, it is shown: by using visibility event surfaces constructed from both SV-ME and SE-MV support polygons, the method can provide a significantly more accurate visibility solution from the region than a method using only one type of support polygon plane intersection by Teller.
It must be emphasized that the method of Teller (1992) is only designed to provide a solution to the limited visibility problem across a sequence of polygon entries. Because in Teller's method, the edges that support the visibility event surface are limited to the edges of the entry, Teller's method does not identify the silhouette edges on which to construct the visibility event surface. Because Teller's method does not apply the intersecting plane method to construct visibility event surfaces on the outline edges of a generic polygon mesh; the following analysis is equivalent to a theoretical comparison of Teller's intersecting plane approach (assuming it is applied to the general problem of visibility from a region in a polyhedral environment) with the present approach of rotating and sweeping visibility event face construction (which is actually used for the more general visibility problem).
Fig. 9B is a diagram showing the same object as that of fig. 9A, but from a perspective along the grid object toward the viewcell.
Fig. 9C and 9D are diagrams illustrating a more accurate ghost event surface produced by the present method than would be produced by the prior art method of intersecting support planes. In fig. 9C and 9D, the umbral event surface formed by the present method of the rotating and sweeping configuration of the wedge is shown superimposed on the umbral event surface formed by the prior art method of intersecting support planes. From the perspective view of fig. 9D, looking in the general direction from the viewcell toward the mesh object, it can be seen that the method produces a larger, more accurate ghost volume than the prior art method. The addition of the SE-MV wedge generated by the swept triangle (SE-MV supporting polygon) yields a larger conservative ghost volume (and thus a more accurate set of potential visualizations) than the intersection of the supporting planes alone. Unlike prior art methods of intersecting planes, the present method of sweeping the contour of a viewcell can account for the containment effects on the viewcell surface with respect to visibility at the apex of the inside corner contour. Thus, the method produces more accurate results than the intersecting plane method for any contour with inside corner vertices where adjacent supporting polygons are rotated to different vertices of the viewcell.
FIG. 9D also shows that the deviation between the umbral event surface produced by the present rotation and sweep method and the umbral event surface produced by the prior art intersecting plane method tends to increase with increasing distance from the supported contour edges and vertices. Thus, for most inside corner silhouette vertices, the accuracy of the method can be much higher than that of the prior art method using intersecting planes.
Fig. 9D is a diagram showing the same object as shown in fig. 9C, but from a perspective view looking in the general direction from the mesh object toward the viewcell.
Conservative supporting polygons are identified and page-turning ebook views of corresponding wedges are constructed.
When viewed in a particular order, the subsets of fig. 7-9 provide a page-turning ebook view of a method of identifying conservatively supported polygons and constructing corresponding wedges. These sequences are listed below:
rotatably supporting the polygon & wedge: viewed generally from behind the viewcell: 7A, 7C1, 7C2,
rotatably supporting the polygon & wedge: viewed generally from the front of the viewcell: 7B, 7D1, 7D2,
swept support polygon & wedge: viewed generally from behind the viewcell: 7A, 8A1, 8A2, (8A 3 showing a combination of a rotating wedge and a sweeping wedge).
Swept support polygon & wedge: viewed generally from the front of the viewcell: 7B, 8B1, 8B2, (8B 3 showing a combination of a rotating wedge and a sweeping wedge).
Fig. 10A is a perspective view showing the same mesh polygons and view cells as those shown in fig. 9A and 9B, but in a general direction as viewed from below the mesh polygons. Fig. 10A shows the same first-order visibility event surface (wedge) as that shown in fig. 9C. Specifically, SV-ME WA incident on the first order contour edge A, SV-ME WB incident on the first order contour edge B, and SE-MV WAB are shown.
Two additional first order SV-ME wedges W4 and W5 are also shown. The supporting viewcell vertices of wedges W4 and W5 are V3. The intersection of these wedges is shown. The wedges intersect each other and other mesh polygons to form primitive boundary polygons (UBPs). These UBPs form a first order polymerization umbra (PAU) plane. The volume of space enclosed by the PAU is first order occluded from the corresponding view unit. The UBP corresponding to the intersection of the wedges is not explicitly shown in fig. 10A, but it can be inferred from showing the intersection line. Some of the wedges that would form a complete PAU are ignored to enable the internal structure of portions of the first order PAU to be seen (e.g., the intersections of wedges W4, W5, SV-ME WA, SE-MV WAB, and SV-ME WB).
Fig. 10B is a view of the same polygonal mesh (M1) shown in fig. 10A. In fig. 10B, the grid M1 and view cells are viewed from a similar perspective as that of fig. 8C, generally viewing the "top" side of the grid M1 including the inside corner grid edges. This view is very different from the view of M1 and viewcell given in fig. 10A. Note that the same edge of M1 is labeled E in both figures and is located at the "bottom" of grid M1. Edges a and B are also labeled in both figures.
The occluded side of the wedge is shown in FIG. 10A.
The unobstructed side of the corresponding UPB is shown in FIG. 10B.
Fig. 10B shows five UBPs formed by intersecting the corresponding wedge with other wedges.
The UBP- cA is formed by the intersection of the corresponding wedge (SV-ME wcA) and wedge W5 (shown in fig. 10 cA). UBP-A is also limited by the intersection of SV-ME WA with wedge W4 shown in FIG. 10A. W4 is completely hidden in FIG. 10B, but the intersection of W4 with the SV-ME WA is shown in FIG. 10B as the edge labeled F. Edge F is the edge of UBP-A. Additionally, UBP-A shares cA common edge with UBP-AB (which is derived from the SE-MV WAB shown in FIG. 10A).
UBP-AB is formed by the intersection of SE-MV WAB with wedge W4 and with the wedge of UBP-D. UBP-AB shares cA common edge with both UBP-A and UBP-B due to the swept configuration of the corresponding wedge SE-ME WAB. The UBP-AB is also limited by its intersection with the rotating wedge (supported by the grid edge D) corresponding to UBP-D.
UBP-5 is formed by a corresponding rotating wedge (W5 shown in FIG. 10A with a corresponding supporting viewcell vertex V3) The intersections with W4 and with SV-ME WA.
UPB-D is defined by a wedge incident on first-order silhouette edge D (wedge not shown, but with supporting viewcell vertex V8) Formed with wedges SV-ME B, SE-MV AB and W4 and wedges supported by edge E (wedges not shown).
UBP forms the boundary of PAU for M1. Not all UBPs forming PAUs of M1 can be seen in the view given in fig. 10B.
Figure 10B shows the wedge fully constrained by the other wedges. Embodiments are possible that use a fully constrained wedge (e.g., the output-sensitive construction of a PAU in the exemplary flow diagram of fig. 26). Additionally, embodiments that use partially constrained wedges (e.g., SV-ME wedges that intersect each other at the outside corner first order profile edges) may optionally be used, for example, in an output-sensitive configuration of the visibility graph shown in the exemplary flowchart of fig. 20A that uses SV-ME wedges that may optionally be constrained by intersecting adjacent SV-ME wedges as described in step 140 of the exemplary flowchart shown in fig. 1. Additionally, because the described method of determining whether a wedge's intersection with a mesh polygon is actually an occlusion boundary (employing a point containment test of modified polyhedrons) does not require a priori local or global restriction of wedges to other wedges before making this determination, these wedges can be used without such local wedge-wedge restrictions.
Fig. 11A is a diagram showing a first-order visibility event surface (wedge) generated by the present method in the case of a compound contour. In this case, the SV-ME wedge ("wedge 1") is incident on first-order profile edge A1 (supported by first-order profile edge A1). "wedge 1" intersects the first order contour edge labeled B1. As discussed in fig. 2A, "wedge 1" divides the first-order silhouette edge B1 into a masked side (B1O) and an unmasked side (B1V). This figure is the same as the figure of fig. 2A.
The intersection of the first order wedge "wedge 1" with the first order silhouette edge is the compound silhouette vertex labeled CSV. The compound silhouette vertex corresponds to an inside corner of the compound silhouette contour. Using the terminology of catastrophe theory, CSV corresponds to the t-vertex of the resulting manifold. Catastrophe theory includes the study of point singularities (e.g., CSV or T vertices) and contour singularities (e.g., first order contour edges) on manifold faces (e.g., manifold meshes).
"wedge 2" is a first order visibility event surface (SV-ME wedge) that is supported by segment B1V, which is the visible portion of first order contour edge B1, or is incident on segment B1V.
Thus, "wedge 1" and "wedge 2" are two SV-ME wedges that intersect at point CSV. Because "wedge 1" and "wedge 2" were constructed by the rotation process (fig. 4A and 6A) through the rotation and sweep method using different supporting viewcell vertices (SVV 1 and SVV2, respectively), the two wedges were not joined edgewise to form a continuous ghost visibility event surface.
The sweeping process of the present rotation and sweep method (fig. 5A and 5B and fig. 6B) is used to construct SE-MV wedges (SE-MV WA and SE-MV WB) that join "wedge 1" and "wedge 2" into a continuous ghost visibility event surface. The wedge SE-MV WA is formed from a supporting SE-MV triangle generated between the CSV, SVV1 and an intervening vertex IVV1 on the supporting viewcell contour (SVSC). The extension of the two sides of the supporting triangle through the point CSV forms a semi-infinite wedge SE-MV WA. Similarly, wedges SE-MV WB are formed from supporting SE-MV (swept) triangles formed between CSV, SVV2 and intermediate vertices IVV1 on the supporting viewcell contour (SVSC). The extension of the two sides of the supporting triangle through the point CSV forms a semi-infinite wedge SE-MV WB.
SE-MV WA and SE-MV WB are connected at a common edge. SE-MV WA shares a common edge with "wedge 1". SE-MV WB shares a common edge with wedge 2. The four connected wedges form part of a continuous first order ghost visibility event surface incident at silhouette edges a1 and B1V. The view of FIG. 11A shows the occluded side of "wedge 1" (arrow O1) and the non-occluded (first order visible from the view unit) side of "wedge 2" (arrows U1 and U2). The view of FIG. 11A shows the "contained" (first order visible from viewcell) sides of SE-MV WA and SE-MV WB. As shown in FIG. 11A, the intersection of wedges "wedge 1", SE-MV WA, SE-MV WB and "wedge 2" forms a continuous event surface, with arrows U1 and U2 representing the unobstructed side of the event surface. Fig. 11B is a different view of the same structure shown in fig. 11A. In fig. 11B, the view is looking up towards the occluded side of "wedge 1" and the non-occluded side of "wedge 2". Fig. 11B also shows the "contained" (first order visible from viewcell) sides of SE-MV WA and SE-MV WB.
This summarizes the description of the first embodiment. In this specification, a process for generating a first-order visibility plane is proposed. Further embodiments specify an order in which polygons and edges of a mesh are processed to generate a first-order visibility event surface. Still further embodiments detail exactly how visibility event surfaces are used to determine occluded polygons and polygon fragments. In the following detailed description of alternative embodiments, the following trellis traversal algorithm is disclosed: the first order wedge construction and visibility determination from view element are effectively interleaved in a front-to-back visibility map construction algorithm that tends to have output sensitivity performance.
Fig. 11C shows the same two polygon meshes as those shown in fig. 2B, 11A, and 11B. Both fig. 2B and 11C show a high order rotational wedge labeled "wedge _ high". The wedge is constructed by the backprojection method for identifying the visible supporting viewcell vertex discussed in connection with fig. 2B and related figures. In this case, the visual support viewcell vertex for the first-order silhouette edge segment B1V is labeled VSVV.
FIG. 11A shows a first order rotating wedge "wedge 2" incident on B1V. FIG. 11A shows a continuous ghost event surface made up of a first order rotating wedge and a sweeping wedge that both intersect at a compound contour vertex (CSV).
Similarly, FIG. 11C shows that the continuous umbral event surface is also comprised of high-order wedges that intersect the first-order wedge at the compound contour vertex. In fig. 11C, a high order rotating wedge labeled "wedge _ high" is formed on the visible portion of the first order silhouette edge (B1V) by the method described in connection with fig. 2B, since "wedge _ high" is formed by a modified or high order rotation on B1V, it intersects the composite silhouette vertex labeled CSV as the end point of B1V.
The first order wedge "wedge 1U" is also incident on point CSV. In effect, the intersection of "wedge 1U" with the entire first order contour edge (shown as B1V + B1O) is CSV. In this case, a continuous ghost plane is formed between the two wedges "wedge 1U" and "wedge _ high" by intersecting "wedge 1U" (first order wedge, rotated to SVV1) and "wedge _ high" (high order rotating wedge, rotated to VSVV) with the sweep wedge labeled SE-MV WC formed from the sweep support polygon constructed by sweeping through the CSV from SVV1 to VSVV. All three wedges intersect at the CSV.
Comparing the higher order ghost event surface of FIG. 11C with the corresponding first order ghost event surface shown in FIG. 2B, it is apparent that the higher order event surface of FIG. 11C produces a larger ghost area and thus a smaller visible area. If the higher order event surfaces intersect other mesh polygons and those polygons and/or segments used to determine the mesh polygons are conservatively visible from a viewcell perspective, the result will be a more accurate visibility map and corresponding PVS than if only first order wedges were used. In this particular case, the replacement of the corresponding first-order wedge with a higher-order wedge does not even increase the complexity of the visibility map of the result, since in this case only one sweep (SE-MV) wedge is used to connect the two rotating wedges, replacing the two sweep wedges required in the first-order case.
FIG. 12: detailed description-alternative embodiments of a method of constructing a conservative first order linearized umbral discontinuity mesh using a rotating and sweeping configuration of wedges are shown.
FIG. 12 is a flow diagram illustrating a method of constructing a conservative linearized umbral discontinuity mesh using a rotate and sweep method of constructing a first order wedge. The process shown in fig. 12 begins, according to some embodiments, with step 1205 in which the first order silhouette edges of all mesh triangles are identified. In some embodiments, the first order contour edge may be identified using the method detailed in fig. 3.
Process flow advances to step 1210 to construct an initial base wedge incident on the first order contour edge using the rotation and sweep method detailed in fig. 1-6. In an embodiment, basic wedges are those that are constructed on the first order profile edges encountered using a rotating and sweeping method. In some embodiments, at the time of initial construction, all wedges are initial wedges that have not been further limited by visibility steps with respect to the wedges.
In the present method, the wedges are constructed and defined differently than prior art discontinuous meshing methods. In prior art discontinuous meshing methods, the planar wedges are not confined to the following regions of the wedge: the corresponding viewcell support structure (vertex or edge) is occluded from view of the supported mesh silhouette element (vertex or edge). Thus, these prior art methods compute accurate linear wedges that may not form a continuous linear ghost event surface because the portion of the wedge is undefined due to the intersection of the corresponding support polygon with the mesh polygon. These "gaps" in the linear ghost event surface are evident when only planar event surfaces are considered, for example, in the incomplete discontinuity mesh approach (Heckbert 1992). These gaps actually correspond to higher-order visibility event surfaces (often quadric surfaces) that involve edge-edge events between contour edges, intervening edges that intersect the supporting polygons, and viewcell edges. When full discontinuity meshing is employed, these gaps are filled by the high order event surfaces.
In contrast, in the present method of wedge construction according to some embodiments, the definition is only by the supported grid-outline structure and the supported viewcell structure: any intervening geometric images do not affect the structure of the wedge.
In the present method of first-order discontinuity meshing, the apparent gaps in the ghost boundaries produced by the incomplete discontinuity meshing method (Heckbert 1992) are filled by: 1) conservative definition of wedges during construction of the wedge by ignoring intervening geometry between the supported contour structure (edge or vertex) of the wedge and the supporting viewcell structure (i.e., ignoring geometry that intersects the supporting polygon of the wedge) and 2) constructing conservative plane-assisted SE-MV wedges at the intersection of the wedge with the (conservatively) visible mesh contour edge. This point is called the Compound Silhouette Vertex (CSV). The result is a continuous, conservative linear umbra boundary without "gaps" created by incomplete discontinuity gridding methods that employ only precise linear event surfaces.
Process flow rows proceed from step 1210 to step 1215 to place the initial wedge constructed in step 1210 in a list referred to as a "wedge _ list".
Process flow advances to step 1220 to subject the first wedge in the "wedge _ list" to processing including steps 1225 through 1250. In an embodiment, the "wedge _ list" is implemented using any desired data structure, such as a chained list or a hash table.
Process flow advances to step 1225 to determine the visible intersection of the mesh triangle with the wedge for that wedge. This intersection of a mesh triangle with a wedge is a line segment. These segments (or portions thereof) that are visible with respect to the wedge are visible segments with respect to the wedge ("visible _ segments").
In the present approach, in some embodiments, visible segments for wedges are determined by a 2D mesh traversal method that uses output-sensitive 1-manifold (ambiguous line) traversal to determine conservatively visible segments. This method is detailed in fig. 14, 15 and 16 and related figures and is also discussed elsewhere in this specification. During the visible segmentation determination method for a wedge, a particular vertex at which a silhouette edge, first order from viewcell, intersects the wedge is identified. These vertices are the intersections between the current wedge and other wedges incident on the first order profile. This type of vertex is called the Compound Silhouette Vertex (CSV) and represents the t vertex of the silhouette contour, onto which the auxiliary conservative joining SE-MV wedge is subsequently constructed.
Process flow advances to step 1235 where each "visible _ segment" is stored as a surrounding segment of the first-order discontinuities grid. These segments form the boundary polylines of the shading discontinuity grid that conservatively divide the grid into an unobstructed region as seen from the viewcell and an obstructed region as seen from the viewcell.
Process flow advances to step 1240 where the rotation and sweep method is used to construct one or more SE-MV wedges that are incident on the wedge's CSVS, which was identified during visibility step 1225 with respect to the wedge. As previously defined, each CSV corresponds to the intersection of a current wedge with another wedge supported on the first-order silhouette edge from the viewcell that intersects the current wedge. These wedges intersect at the CSV point.
The SE-MV wedge sweeping operation for generating two component wedges connected to intersect at the CSV is the same as the sweeping operation as part of the rotation and sweeping method described in connection with fig. 5A, 5B and 6B. The sweep occurs between Support Viewcell Vertices (SVV) corresponding to two component wedges of the CSV. In some embodiments, the SVV for each wedge is determined at the time of construction (SV-ME wedge). In other embodiments, the SVV for each wedge is determined during visibility step 1225 for the wedge (SE-MV wedge, see step 1553 in fig. 15).
If two wedges that intersect at the CSV rotate to the same viewcell vertex, the two wedges intersect exactly at their edges and no new SE-MV wedge is constructed.
If two wedges that intersect at the CSV are formed by rotating to two vertices of the same viewcell edge, the result of the rotate and sweep construct on the CSV is a single SE-MV wedge.
If the two intersecting wedges are of the SV-ME type, then the connected SE-MV conservatively approximates the quadric formed by the viewcell edge (connecting the two supporting viewcell vertices) and the two SV-ME contour edges of the intersecting wedge corresponding to the CSV. In this case, a single SE-MV wedge constructed on the CSV conservatively approximates the corresponding quadric formed by the EEE event. In practice, the constructed SE-MV triangle can be interpreted as a degenerate quadric with infinite pitch.
If two wedges that intersect at the CSV are formed by rotating to vertices belonging to different viewcell edges, the result of the rotation and sweep construction on the CSV is an edge join order SE-ME wedge.
If the two intersecting wedges are of the SV-ME type, these connecting SE-MV wedges conservatively approximate a quadric formed by the viewcell edge and the two other contour edges corresponding to the intersecting wedges of the CSV. Again, each of the SE-MV wedges can be considered as a corresponding degenerate quadric with infinite pitch.
Process flow rows proceed from step 1240 to step 1250 to add all the auxiliary initial wedges constructed in step 1240 to the "wedge _ list," which means that these wedges will eventually be processed by step 1225 to find a visible segment for the wedge. In subsequent step 1250, any SE-MV wedges constructed in step 1240 are added to the "wedge _ list".
Process flow advances to decision step 1255 to determine whether all wedges in the "wedge _ list" have been processed. If a wedge remains in the "wedge _ list," then process flow proceeds to step 1260 to process the next unprocessed wedge in the "wedge _ list" selected at step 1260, from which step 1260 the process flow returns to step 1225.
If it is determined in decision step 1255 that all wedges in the "wedge _ list" have been processed, then process flow continues to step 1265 to determine the visibility of a single point in each region by testing the visibility from viewcell of a single point in each region in the first-order discontinuity grid. In some embodiments, the visibility from cell for each test point is determined using the point occlusion method shown in fig. 24B. The test described in detail in connection with FIG. 24B and the related figures is based on a point containment test of a modified polyhedron. Importantly, the test employs the same conservative visibility event surface (wedge) for construction that is conservative.
Process flow advances to step 1270 where the first order PVS is a collection of mesh triangles or segments of mesh triangles that are not located within the umbra (occluded) region of the conservative first order umbra discontinuity mesh.
Comparison of non-output-sensitive methods of conservative linearized discontinuity mesh construction with output-sensitive methods constructed using conservative linearized visibility maps of 3D and 2D mesh traversals
As detailed in fig. 12, a conservative linearized umbral discontinuity mesh may be constructed using a general prior art method for constructing discontinuity meshes. In this prior art approach, wedges are constructed on each relevant silhouette edge, even those that are completely occluded as seen from the source (view cell in this application). Each wedge, including those constructed on the fully occluded silhouette edge, then intersects all potentially intersecting mesh triangles, and the visible segmentation of the mesh triangles for each wedge is then determined as a post-process.
In contrast, the method of constructing a conservative linearized umbral visibility graph from viewcell using 3D mesh traversal (fig. 20A and related), and 2D mesh traversal for wedge-related visibility (fig. 15 and related) provides a more efficient output-sensitive method for determining viewability from viewcell. The method takes advantage of the inherent connectivity and occlusion coherence of the manifold mesh and solves the visibility problem in front-to-back order. The method interleaves visible silhouette edge determination and wedge construction on visible silhouette edges to achieve output sensitivity performance that is relatively independent of depth complexity of the model.
In general, output sensitive processing has a computational cost that is primarily determined by the size of the algorithm output relative to its input size. Because in a display modeling environment the size of the visible data set (output) as seen from any view region is typically much smaller than the size of the entire model (input), it is advantageous that the output from the region visibility pre-computation process be sensitive.
The differences of the two methods of determining visibility from region using a conservative linearized umbral event surface, the output insensitive method of fig. 12 and the output sensitive 2D/3D mesh traversal method (fig. 20 and related figures) are summarized in table Va.
TABLE Va
Comparison of CLUDM-architecture non-output-sensitive method with CLUVM-architecture output-sensitive method
Figure BDA0001244149660001271
Wherein the following terms are used in the table and subsequent equations:
m ═ number of polygons in the model
N-the number of edges in a view unit
S is the number of first order contour edges in the environment
SShaftNumber of first order contour edges formed in an axis between a single first order contour edge and a viewcell
MVNumber of visible polygons in the model
SVNumber of visible first-order contour edges in an environment
SVShaftNumber of visible first-order silhouette edges formed in an axis between a single first-order silhouette edge and a viewcell
VwNumber of vertices of the intersection between all polygons and a single wedge
MwThe number of mesh polygons that intersect a wedge
SsvwNumber of visible contour vertices of a wedge (as viewed from a point or from an edge)
SegvwTwo-wire netNumber of visible segments of intersection between lattice polygon and wedge with respect to wedge
The preceding table highlights: for the 2D/3D mesh traversal method, visible contour edges are identified during the front-to-back traversal of the manifold. Thus, only those wedges supported by visible contour edge segments are constructed. This results in a more output sensitive implementation.
Comparison of the prior art discontinuous grid method with the present discontinuous grid method using conservative linearized umbral event surfaces
The prior art discontinuous meshing method is discussed in the background section of this specification. The discontinuity gridding method constructs both the ghost and penumbra visibility event faces and determines their visible intersections with the mesh polygons about the wedges. These intersections subdivide the mesh polygons so that the view of the source in each face or "region" of the discontinuity mesh (the "backprojection case") is topologically equivalent. The object of the prior art discontinuous gridding method is to mainly recognize the brightness discontinuity occurring in the penumbra region of the surface light source.
In some embodiments, the present region-wise visibility pre-computation approach does not use penumbra visibility event surfaces but instead uses only conservative penumbra visibility event surfaces to identify mesh polygon segments that are conservatively visible from view cell. These event surfaces can be used to construct conservative native discontinuity meshes as described in fig. 12 (non-output sensitive discontinuity mesh construction) and fig. 19, 20, 21 and related figures (output sensitive visibility graph construction from view cell). Alternatively, conservative silhouette wedges may intersect each other to form a silhouette border polygon (UBP) as depicted in fig. 26.
Table Vb shows a comparison of the conservative linearized umbral visibility graph (shown in FIG. 20 and related figures) with the prior art discontinuity gridding method.
The row labeled "generated wedge" shows: the present methods using 2D mesh traversal (fig. 15 and related figures) and using 3D mesh traversal (fig. 20 and related figures) both include a region-wise visibility method that is relatively output sensitive since the visibility surface is generated only on visible (non-occluded) (first-order) silhouette edges. This is in contrast to prior art discontinuity mesh methods where the event surface is formed on all (typically seen from the region) contour edges.
TABLE Vb
Comparison of Conservative Linearized Umbral Visibility Map (CLUVM) with incomplete and complete discontinuity gridding methods of the prior art
Figure BDA0001244149660001291
To summarize, the present first-order discontinuity gridding method eliminates the gaps found in the ghost boundaries produced by the prior art incomplete discontinuity gridding method that only considers linear vertex-edge visibility event surfaces. The first order method fills these gaps by: 1) conservatively extending the visible portion of the wedge by ignoring occlusions about the wedge in the corresponding support polygon and 2) constructing a conservative plane SE-MV wedge at the intersection of the wedge with the (conservatively) visible mesh-outline edge. These intersections of the wedges are CSVs and SE-MV wedge construction at these points using the sweep method produces continuous linear ghost boundaries in the corresponding discontinuity mesh. The boundary is precise except for a gap region that is approximate and always conservative.
The gaps in the ghost boundaries that occur in the incomplete discontinuity meshing method of the prior art correspond to the quadratic ghost event surfaces given in the complete discontinuity meshing method. However, the use of quadric surfaces substantially increases the complexity of implementation.
Unlike the linear event surfaces used in the incomplete discontinuity meshing methods of the prior art, the conservative linearized umbral event surfaces employed in the method of fig. 12 form a continuous umbral surface that enables determination of occluded and conservatively visible polygon mesh segments.
As shown later in this specification, embodiments also include adaptively refining the precision of the conservative linearized event planes in these interstitial regions. Using this refinement and only these planar wedges, the method is able to construct a conservative ghost event surface in the gap region that converges to a precise secondary event surface to lie within a specified error tolerance.
The use of a conservative linearized umbral event surface greatly simplifies any implementation compared to prior art full discontinuity mesh methods that require quadrics. However, it is interesting to note that while simplifying the implementation, the progressive complexity of linearizing the native surface is comparable to the complexity of a full continuous mesh approach using only S-EEE quadrics, when viewed in terms of the actual number of event surfaces required.
Table VIa shows the upper bounds of the number of ghost event surfaces and discontinuity mesh boundaries generated by the first order method, which may be compared to the upper bounds of the number of S-EEE surfaces (quadric) generated in a full continuous mesh implementation in which it is assumed that the quadric is generated only on the first order contour edges.
M ═ number of polygons in the model
N-the number of edges in a view unit
S is the number of first order contour edges in the environment
SShaftNumber of first order contour edges formed in an axis between a single first order contour edge and a viewcell
Watch VIa
Estimation of the number of event faces and cells/regions for a discontinuity mesh using various visibility propagation models assuming non-output-sensitive constructs
Figure BDA0001244149660001311
The last two rows of the table show the expected complexity of event surface and discontinuity mesh boundaries that result when a Teller's linearization method of extending the planes of adjacent SV-ME wedges to the intersection is employed at the compound first-order silhouette vertices (CSVs). Unlike the first order rotation and sweep method and the S-EEE method using quadric surfaces, the method of extending the SV-ME wedges to the intersection introduces a new event surface at the CSV and, therefore, produces fewer event surfaces. The accuracy of these extended event surfaces is generally lower than the accuracy of the corresponding first order SE-MV wedges (especially near view elements). Thus, they may tend to actually intersect a larger number of model polygons and significantly underestimate the umbral region if the umbral region used is near the vision unit. This fact is used in the present invention employing the following technique: a wedge at CSV (generated by rotation and sweeping) close to first order SE-MV is used. Farther from the visual element, the SV-ME wedge that intersects at the CSV extends to the intersection. The resulting extended wedge is not as inaccurate at larger distances from the viewcell.
The third row of table VIa shows that a complete discontinuity grid including non-S-EEE event surfaces has a considerably higher complexity.
Conservative estimates of the number of event faces for first-order visibility propagation shown in table VIa assume that the number of contour edges is a linear function of the number of polygons in the model. In fact, the first order model generates only event surfaces on the first order silhouette edges, which are significantly less than the typical viewcell silhouette edges employed by the complete discontinuity meshing method. For the mesh detailed, the number of contour edges tends to be close to the square root of the number of polygons. If this assumption is made, the number of event faces is reduced by one number level, and the complexity of the discontinuity mesh arrangement is reduced by two number levels. This assumption is the basis for the complexity estimation of the first order complexity map given in table II.
Of course, also contributing to the complexity of a complete discontinuity grid is the fact that: in prior art (non-output-sensitive) construction methods, all visibility event surfaces are constructed, even though many of these visibility event surfaces are actually located entirely within the region-seen (e.g., from viewcell) native image, and thus do not contribute to the actual region-seen native image or penumbra boundaries. In contrast, the output-sensitive method of constructing CLUVM generates a first order ghost event surface that is extremal in the sense that no other (first order) visible ghost event surface is contained in the CLUES, although the CLUES can be refined by backprojection to account for higher order visibility effects.
Again, table VIa assumes a non-output sensitive construction of the discontinuity mesh. Elsewhere in this description, output-sensitive construction showing a corresponding visibility graph can significantly reduce the number of constructed event faces and the complexity of the corresponding zone placement.
In some embodiments, the region-wise visibility method computes only the exact silhouette boundary event faces or conservative approximations of these faces. In contrast, the discontinuity mesh method must generate all event faces (umb and penumbra) that intersect the polygon mesh such that the mesh is subdivided into discontinuity mesh faces in which the topological view of the source regions is uniform. Thus, the (exact or conservative) umbra boundary surfaces are typically a small subset of the visibility event surfaces computed in the discontinuity gridding method.
The present method of calculating the visibility from region by constructing a primitive discontinuity mesh, a visibility graph from viewcell, or a polytope aggregate primitive can inherently use polygon orientation to construct only the primitive event faces (first order or exact) without the need for containment function testing. In some implementations, these ghost event surfaces are a small subset of an incomplete set of defined visibility event surfaces. Thus, the present method is a more efficient way to calculate visibility from a region than a method that post-processes a complete discontinuity grid to identify the edge of the umbra.
FIG. 13 is a flowchart illustrating a process of identifying and resolving overlapping loops during 3D mesh traversal.
Output-sensitive methods (shown in fig. 19-21) employing from-view-unit-look visibility graph construction of 3D mesh traversal may encounter a polygon overlap loop (e.g., in step 1935 of fig. 19 and step 2015 of fig. 20A). Such polygon overlap cycles may also be encountered in the Weiler-Atherton algorithm, which is a prior art point-wise visibility determination method.
Because the mesh traversal methods shown in fig. 19-21 favor jumping to closer, potentially occluded elements, they are susceptible to infinite loops that can result from a circular partial occlusion of a mesh element. For example, consider the following case: both the potential occluded and potential occluding grid elements are defined as polygon clusters included in the bounding box. It is evident that three (3D) bounding boxes may be arranged in three-dimensional space such that the boxes partially occlude each other in a cyclic manner. For example, consider three boxes, box a being partially obscured by box B. The box B is partially obscured by a third box C. If box C is partially occluded by box A, three boxes form an occlusion cycle. If the lattice traversal process employs these bounding box elements in the axis test, an infinite loop may be generated between steps 2005, 2010, and 2030 of FIG. 20A.
In an embodiment, two techniques can be employed to eliminate infinite loops caused by circular occlusion of grid elements. In one approach, the size of the elements being used for the axis test is reduced. This can be achieved naturally by using the hierarchical bounding box of the sub-box lower in the hierarchy. Smaller mesh elements are less likely to produce occlusion loops. To manage the loop, the elements are dynamically refined from larger clusters to smaller clusters and even to individual triangles. In some embodiments, all this technique does not eliminate the circular occlusion in all cases, since even three separate triangles can cause occlusion cycling.
In such cases, the second technique, in which the mesh elements are defined as triangles and the overlapping relationships between the triangles are maintained as directed graphs, effectively eliminates occlusion loops. Before any jump to a closer triangle, the relevant part of the directed graph is checked for loops. This check may employ the algorithm of Tarjan or other O (n) time algorithms for identifying loops (strongly connected components) in a directed graph. Once a triangle overlap loop is identified, the loop can be broken by identifying all triangles in the triangle-view element axis that violate the triangle that caused the loop (the loop's root triangle). All triangles in the axis intersect the axis. The intersection subdivides the triangles into components that are completely inside the shaft and components that are completely outside the shaft. Traversal is then reinitiated using these subdivided triangles that cannot form a loop with the violating triangle. This is because any triangle that forms a loop with a violating triangle must be located either inside or outside the axis. This technique can also be employed to resolve occlusion loops on mesh elements rather than individual triangles.
In another technique, in order to eliminate the circulation, the latter method of trimming the triangle in the axes of the other triangles is often directly employed. This eliminates the need to construct and maintain a directed graph that stores overlapping relationships. However, it can produce unnecessary intersection/trim calculations, for example, when there are no cycles.
Turning now to fig. 13, fig. 13 is similar to fig. 20A, the main part of the output-sensitive constructed 3D mesh traversal algorithm for the visibility map as seen from the zones. FIG. 13 complements FIG. 20 by showing steps of the 3D mesh traversal process that may encounter a loop of polygon overlaps and adding steps to detect and resolve such overlaps.
In some embodiments, the process shown in fig. 13 begins at step 1305, where the mesh triangles encountered in the main process of 3D mesh traversal (step identical to step 2010 in fig. 20A) are encountered.
Process flow advances to decision step 1310 to determine whether there are any non-traversed triangles in the axis formed by the current triangle and the view element. This step is the same as step 2010 in fig. 20A.
If it is determined in decision step 1310 that there are non-traversed triangles in the axis formed by the viewcell and the current triangle, process flow advances to step 1330 to insert an overlying triangle into the directed graph representing the overlapping relationship between the triangles. Step 1330 and subsequent steps are performed and corresponding step 2030 in fig. 20.
At step 1330, process flow advances to step 1335 to determine whether the triangle forms a loop in the directed graph representing an overlapping relationship, and if so, process flow advances to step 1340. In some embodiments, the check for circularity in the directed graph may be performed in linear time using prior art algorithms. The appearance of a loop in this figure represents a loop overlap involving the current triangle and the overlying triangle in the axis.
At step 1340, the overlying triangle is trimmed into two components: one component located entirely within the shaft, and another component located entirely outside the shaft. This effectively eliminates any potential overlapping cycles of designing the original overlying triangles.
Following step 1340, process flow advances to step 1345 where the 3D mesh traversal jumps to an overlying component triangle. This is the same as step 2030 in fig. 20A.
If it is determined at decision step 1335 that the overlying triangle does not form a loop with the current triangle. Process flow proceeds directly to step 1345.
If it is determined in decision step 1310 that there are no non-traversed triangles in the triangle-view element axis, process flow advances to step 1315. Step 1315 and subsequent steps are the same as the corresponding steps of fig. 20A.
As previously described, the polygon-view element axis is used to identify loops. Care must be taken to construct an axis between the polygon and the portion of the viewcell that is on the back side of the plane that includes the polygon. In some embodiments, for polygons that lie in a plane that bisects the viewcell, only the portion of the viewcell that lies on the back side of the plane is used. In this way the polygon-view axes in the method are identified.
If it is determined in decision step 1310 that there are no non-traversed triangles within the axis formed by the current triangle and the view element, then there is no need to check for loop overlap and process flow proceeds to step 1315. When the pass is applied to construct a visibility map as seen from the precinct as shown in fig. 20A, the decision step 1315 is the same as the decision step 2015 in fig. 20A. In this case, step 1318, labeled "process intersection", corresponds to step 2035 of FIG. 20A, where the traversal is terminated at the occlusion boundary. Step 1320 in fig. 13 is the same as step 2020 of fig. 20A. Step 1322 labeled "process edge" corresponds to steps 2045 through 2070 in fig. 20A.
Both the Weiler-Atherton algorithm and the present 3D mesh traversal method (for constructing visibility maps, discontinuity meshes, or PAUs) employ checks for circular overlap in some embodiments.
The Weiler-Atherton algorithm is an image space, object precision method determined from point-view visibility, with computational costs that are generally non-output sensitive (except for the grid's lands) with respect to the depth complexity of the scene.
When used in combination with 2D mesh traversal (fig. 15 and related figures), the present method of 3D mesh traversal (fig. 20 and related figures) is a region-wise computational method that is generally output sensitive with respect to the depth complexity of the visibility map. (the 3D/2D mesh traversal method can also be applied to the visibility problem from point view by simply using the viewpoint as a degraded view cell).
Table VIb shows some of the differences between the Weiler-Atherton algorithm and the present method using 3D/2D manifold mesh traversal. The first row of the table highlights that the Weiler-Atherton algorithm effectively generates a visibility event surface (truncation) at each edge of each polygon, except that convex occlusions of non-contour edges may be ignored. In contrast, the 3D/2D manifold mesh traversal method exploits the inherent occlusion coherence of manifolds by generating visibility event surfaces only at contour edges.
Furthermore, by performing a front-to-back depth order and by interleaving the traversal of visible polygons and the construction of occlusion boundaries, the 3D/2D mesh traversal method achieves a more output-sensitive performance description than the Weiler-Atherton algorithm.
The cost of performing a strict front-to-back traversal for a 3D/2D mesh traversal algorithm is the cost of testing polygons that potentially occlude the current polygon. This is essentially a type of axis test, which is formed between the current polygon and the view element. Such axis testing may be accelerated using hierarchical spatial subdivision or bounding volumes in a manner similar to the techniques used to accelerate view frustum culling. Using this method, the cost of the axis test tends to be related to the number of potentially occluded elements N O (logN). The overall cost for the N current polygons to be tested is NlogN. This strict front-to-back order ensures that the number N of current polygons to be tested is close to the number of visible polygons, thus yielding output sensitivity.
Watch VIb
Figure BDA0001244149660001361
And (3) grid traversal implementation: 2D mesh traversal (FIGS. 14, 15, and 16)
With reference to fig. 14 and related fig. 15 and 16, a 2D mesh traversal process (1-manifold traversal) for constructing a 2D visibility map visible with respect to wedges is described.
The 3D mesh traversal process (described in this specification in connection with fig. 19, 20, and related figures) solves the visibility problem of 3D from view cell. In some embodiments, the output of the 3D mesh traversal process is a conservative linearized visibility map comprised of unoccluded polygon segments as seen from the viewcell identified by intersecting a conservative linearized umbral event surface (clees) or wedge with the mesh polygon and determining whether the wedge intersection is actually an occlusion boundary as seen from the viewcell.
As described in some embodiments, a CLUES may also intersect a mesh polygon to determine whether the intersection is an occlusion boundary as seen from the view cell. The resulting partitioning of mesh polygons in these embodiments is a type of discontinuity mesh that is subsequently post-processed to determine whether the mesh elements are visible from the viewcell. By comparison, the 2D mesh traversal process solves the 2D visibility problem: visibility issues with wedges are similar to those found in prior art discontinuity meshing methods. In the prior art approach, the visibility problem with wedges is solved in a simple and different way as follows: the triangle is intersected with the wedge and then the visible segmentation is determined using the 2D Weiler-Atheron algorithm (which is not output sensitive). By exploiting the inherent visibility dependency of 1-manifold, the present 2D mesh traversal method solves the same light problem in a more efficient, output-sensitive way.
Visibility about a wedge is equivalent to a visible segment about a wedge that is sought from an element (viewcell vertex or edge, or inside corner outline vertex) and through a polygonal mesh element (edge or vertex). In some embodiments, the wedge is a Conservative Linearized Umbral Event Surface (CLUES).
If a wedge is formed by a viewcell vertex and a mesh silhouette edge, the wedge is referred to as an SV-ME wedge. SV-ME wedges present visibility issues with respect to the wedge from a point. If a wedge is formed by viewcell edges and mesh vertices, the wedge is referred to as an SE-MV wedge. In some embodiments, this type of wedge also raises visibility issues for the wedge from a point view, since the visibility is resolved from a viewpoint from the edge of the mesh silhouette in a direction away from the viewcell.
The third type of wedge (SE-ME) is formed by the cell edge and the grid outline edge in the special case where these two edges are parallel. In this case, the rotation process that constructs the shading wedge does not encounter a unique supporting viewcell vertex but instead encounters a viewcell edge. Such wedges are not identified in many prior art discontinuous meshing methods, but of course may be particularly present in a building environment (where many edges tend to be parallel or perpendicular to the ground plane) if the cells happen to be aligned with the world axis.
Unlike its two types of wedges, the SE-ME wedge presents the following visibility issues with respect to wedges as seen from the zone: visibility of the wedge from the side of the supporting viewcell. In some embodiments, SE-ME wedges are eliminated by repartitioning viewcells in general locations or by treating them as specially connected and lexicographically ordered SV-ME wedge pairs.
In the present method, SE-ME wedges and the line-wise visibility problem with wedges are handled directly by a 2D manifold traversal method that solves both the point-wise visibility (for SV-ME and SE-MV wedges) and the line-wise visibility (SE-ME wedges).
The case from line segments is inherently more loaded than the case from points, since the visibility from zones problem even in 2D (visibility in respect of wedges) can involve high order visibility event surfaces as suggested by Koltun et al.
The present 2D manifold traversal method solves the visibility problem with wedges for both the point-wise case and the edge-wise case. For the side-looking case (SE-ME wedge), in some embodiments, the method only employs first order ghost event surfaces, referred to as Wedge Lines (WL), or higher order event surfaces, referred to as ghost boundary lines (UBL). Fig. 14, 15 and 16 show related flow charts including a 2D manifold traversal method for solving visibility issues about wedges for both the case of point-seen wedges (SV-ME wedges, where supporting viewcell elements are vertices) and edge-seen wedges (SE-ME wedges, where supporting viewcell elements are edges). The SE-MV case is the same as the SV-ME case from point view, except that the "element" that solves the visibility problem is not actually a view cell vertex but an inside corner mesh silhouette vertex.
Fig. 17 and 18 are flow charts illustrating the following methods: the first-order WL is "tuned" to conservatively approximate the high-order UBL using back-projection to increase the accuracy of the visibility solution with respect to the wedge. The details of fig. 17 and 18 are set forth in subsequent sections of this specification.
The output as applied to the 2D traversal process to determine mesh triangle intersections visible with respect to wedges is a conservative 2D visibility graph, which is 1 visibility event structure by ambiguous line segments visible with respect to wedges and a conservative degree of freedom called wedge lines. The ambiguous line is a traversed 1-manifold. The ambiguous line segments correspond to the intersections of the mesh triangles and wedges visible on the wedges. In the 2D manifold traversal method, each 1-manifold can be "fused" with other 1-manifolds by WL, creating a polyline aggregate Primitive (PLAU), thus enabling occlusion fusion on a plane.
The flow chart shown in fig. 14 illustrates the process of initiating, reinitiating, and stopping of the main 2D traversal process shown in fig. 15 and described in detail in a subsequent portion of this specification.
The process shown in fig. 14 begins at step 1405, which illustrates selecting a "seed" segment to initiate a 2D mesh traversal process for a single wedge, according to some embodiments.
In one embodiment of the 2D traversal method, the traversal starts with a visible segment formed by mesh triangles that also intersect with (are adjacent to) the wedge that is connected to the current wedge being processed. In this method, mesh triangles that are part of a polyline aggregate Primitive (PLAU) of neighboring wedges are used to initiate a 2D traversal of the current wedge. Because the mesh polygon is the closest visible segment to the intersection to the viewcell for the adjacent wedge, the mesh polygon is likely to be the closest segment to the current wedge. Initiating traversal using known neighboring, nearest intersecting elements improves the performance of the process. The segments connected to the initial segment form a 2D seed mesh and are easily identified by determining the intersections of triangles adjacent to the seed triangle that also intersects the wedge.
Process flow proceeds to step 1410 to identify inclusion points of the 2D seed mesh by intersections of the wedge lateral boundaries with the 2D seed mesh.
When the seed 2D mesh and the contained points on the seed mesh are identified, process flow proceeds to step 1415 to invoke main processing of the 2D mesh traversal. The main 2D mesh traversal is shown in fig. 15. In some embodiments, the seed 2D mesh triangles/segments selected at step 1405 of fig. 14 are used to initiate the primary 2D manifold traversal process shown in fig. 15. Further, the main 2D manifold traversal process shown in fig. 15 may be aborted at a particular segment of the 2D mesh (at step 1530). The process shown in fig. 14 determines whether any aborted traversals remain in the primary 2D manifold traversal process (step 1420) and whether the primary 2D manifold traversal process should be reinitiated on these aborted segments (step 1430 and subsequent steps).
If it is determined at decision step 1420 that there is no segment on which the main portion of the 2D mesh traversal has been aborted, process flow proceeds to step 1425 where the 2D mesh traversal for the wedge is terminated, thereby completing construction of the 2D visibility map for the wedge.
If it is determined at decision step 1420 that there is a 2D mesh segment on which the main 2D mesh traversal has been aborted (in step 1530 of fig. 15), process flow proceeds to decision step 1430 to determine whether there are any triangles in the axes formed by the aborted Segment (SEG) and the view-unit element (VCE) that is a view-unit vertex (SV-ME wedge) or a view-unit edge (SE-ME wedge). Alternatively, if the wedge is of the SE-MV type, it is actually solved for the purpose of the algorithm according to the inside corner mesh contour vertices considered as "VCE (points)".
If it is determined in decision step 1430 that there are no triangles in the axes between the SEG and VCE, process flow advances to step 1455 to include points on the 2D mesh (polyline) formed by the segments connected to the currently aborted segment.
Process flow advances to step 1460 where the 2D mesh traversal is reinitiated over the previous abort segment.
If it is determined at decision step 1430 that a triangle exists in the axis between the SEG and the VCE, process flow proceeds to step 1435 to determine if there are any non-traversed triangles/segments in the SEG-VCE axis.
If it is determined at decision step 1435 that there are non-traversed triangles/segments in the SEG-VCE axis, process flow proceeds to step 1440 where the 2D mesh traversal is "jumped" or restarted on more recent non-traversed triangles/segments in the SEG-VCE axis. This step (which also occurs in step 1530 of the main 2D traversal process shown in fig. 15) ensures that all potentially occluded triangles/segments have been processed before continuing the traversal and before making the decision to stop the traversal (because the abort segment is completely occluded from the VCE).
If it is determined in decision step 1435 that there are no non-traversed triangles in the SEG-VEC axis, process flow proceeds to step 1445 to determine whether the current (stopping) segment is located within any polyline aggregate cost shadow (PLAU) that represents one or more polygon sub-regions of the wedge that are occluded from view of the VCE of the wedge (or inside corner outline vertices in the case of a SE-MV wedge). In some embodiments, this test uses a 2D version of the point containment test of a modified polyhedron shown in fig. 25. The point containment test of this modified polyhedron uses first order event faces (first order wedges) or corresponding Wedge Lines (WL) in the 2D case; optionally a high order primitive polygon (UBP) or a corresponding primitive boundary line (UBL) in case of 2D. This test allows an implicit solution to a multi-faceted point containment problem or a point containment problem for a polygon without having to construct the entire polygon.
If it is determined in decision step 1445 that the point on the aborted segment is within the PLAU, process flow proceeds to step 1450 where traversal is not reinitiated on the aborted segment and the aborted segment is no longer marked as aborted.
If it is determined in decision step 1445 that the abort segment is not located within any PLAU, process flow advances to step 1455 where the inclusion points of the associated 2D mesh are constructed and traversal is reinitiated as previously described.
2D mesh traversal implementation: main processing of 2D traversal (FIG. 15)
As previously described, the process shown in fig. 14 is used to control the initiation, re-initiation, and termination of what is shown in detail in fig. 15 and referred to as the primary 2D mesh traversal process in step 1415.
In some embodiments, the process shown in fig. 15 begins at step 1505, where a 2D mesh (polyline) traversal of a mesh triangle segment with respect to a wedge begins with the traversal of an unretraversed segment. The polyline traversal from segment to segment is straightforward, proceeding in one of two directions from segment to adjacent segment. The corresponding 3D traversal of the triangular mesh (described in detail in the discussion of fig. 20) can occur across three adjacent boundaries and proceed, for example, in a flood-fill or breadth-first traversal.
Process flow advances to decision step 1510 to determine whether there are any triangles/segments in the 2D axis (segment-view element axis or SEG-VCE axis) between the current segment and the supporting view element that are not traversed (by the current 2D mesh traversal process). The intersection of a single initial wedge with multiple visible mesh triangles can produce multiple ambiguous line segments and potentially multiple corresponding 2D axes. In one implementation, a 2D axis (SEG-VCE axis) is constructed for each of these segments. Alternative embodiments are possible as follows: a single conservative axis surrounding multiple connected segments is used to accelerate the axis-containment test of step 1510. If there are any non-traversed triangles/segments in the larger containing axis, processing may return to the respective axis for each segment.
In some embodiments, the axes of step 1510 are further accelerated by organizing the 3D polygon mesh geometry using hierarchical spatial subdivision (and/or hierarchical bounding box structures) to include testing. Any hierarchical organization using a database tends to reduce the cost of axis inclusion testing from about N × M to about nlog (M), where M is the number of polygons in the model and N is the number of axes tested.
According to some embodiments, if the initial wedge is an SV-ME wedge, the corresponding SEG-VCE axis is formed from the support line between the segment and the supporting viewcell vertex. In a further embodiment, if the initial wedge is an SE-MV wedge, the corresponding SEG-VCE axis is formed from the support line between the segment and the supported mesh contour vertex, since in this case the visibility is seen from the view cell edge and through the mesh contour vertex. If the original wedge is of the SE-ME type generated in the special case where the supported contour edge is parallel to the supporting viewcell edge, the SEG-VCE axis is formed from the support line between the segment and the supporting viewcell edge.
If there are segments in the SEG-VCE axis that have not been traversed, process flow rows continue to step 1530 where the 2D traversal jumps to a closer segment in the SEG-SILE axis. These two steps perform a front-to-back processing order. As will be described, this is similar to steps 2010 and 2030 for the 3D mesh traversal process. Note the similarity between fig. 15 and fig. 20. While 3D traversal uses the 3D mesh triangle-view (TRI-VC) axis to test closer unretraversed elements, the present 2D traversal uses the 2D SEG-VCE axis to test closer unretraversed elements.
If it is determined in decision step 1510 that there are no unretraversed segments in the SEG-VCE axis, process flow continues to step 1515 to determine whether the currently traversed segment contains an Occlusion Boundary (OB) point or contains a boundary point.
The containment boundary point occurs at the intersection of the ambiguous line segment and the wedge boundary.
The OB point represents the boundary between what is visible from the VCE and what is occluded from the VCE on the 2D polyline manifold. The OB point may occur at the intersection of WL with a polygonal mesh segment on the wedge. WL and each intersection with a polygonal mesh segment is a 1D element (point) of the corresponding 2D (with respect to the wedge) discontinuity mesh. As with any visibility event surface, WL represents the visibility from a particular source feature (vertex in the 2D case). According to some embodiments, if the VCE is a view cell edge in the case of an SE-ME wedge, the WL does not necessarily represent a boundary on the wedge between what is visible from the view cell edge and what is occluded from the view cell edge, except in the limit at the origin of the WL on the corresponding outline vertex.
This is because for any visibility issue from region to region, the actual portion of the space from region to region (region that is the view cell edge in the 2D case of the SE-ME wedge) that is occluded is determined not only by the intersection of the event surface (WL) with the mesh polygon but also by the intersection of the WL with other WLs. These intersections together form a 1-stream plane that encloses the shadow area as viewed from the viewcell edge. These 1-manifold surfaces are referred to as ambiguous line aggregate Primitive (PLAU). The PLAU is formed from segments called Umbral Boundary Lines (UBLs) that can be constructed from the corresponding WLs.
Thus, not all 2D discontinuity grid point (2DDM) points (located at the intersection of WL and the triangular segment about the wedge) are Occlusion Boundary (OB) points. The identification of the actual OB point is made in step 1563, which will be discussed in detail later.
If it is determined in decision step 1515 that the current segment includes an OB point, process flow advances to step 1535 to interrupt the current 2D mesh traversal at the OB point. In a further embodiment, process flow proceeds from step 1535 to process 15-1, which returns process flow to step 1525. Similarly, at decision step 1515, a determination is made whether the current segment of the 2D mesh includes an inclusion boundary. This boundary point is the intersection of the 2D mesh with the boundary line of the wedge, as determined in step 1410 or 1455 in fig. 14 (the process of controlling the main 2D traversal process of fig. 15). If it is determined in decision step 1515 that the current 2D mesh segment includes an inclusion point, process flow advances to step 1535 where the 2D mesh traversal is interrupted at the inclusion boundary point. Following step 1535, the 2D mesh (polyline) traversal may continue through other non-inclusive or non-occluded vertices.
If it is determined in decision step 1515 that the current segment does not contain an OB point or contains a point, process flow advances to step 1520 to determine whether the SEG has a first order silhouette vertex from the viewcell. In some embodiments, a vertex is determined to be a contour vertex if it corresponds to the intersection of the current wedge and a contour edge of first order from the viewcell. This point is the Compound Silhouette Vertex (CSV), which is the intersection of the current wedge and the wedge incident on the silhouette edge as viewed from the viewcell.
If it is determined at decision step 1520 that there are no contour vertices on the current segment, process flow advances to step 1525 where the 2D mesh traversal uses either a breadth-first traversal or a flood-fill traversal of the 2D mesh to advance to the next non-traversed segment that shares non-contour vertices with the current segment.
If the current segment has contour vertices, the normal breadth-first traversal or flood-fill traversal of the 2D mesh does not continue at the contour vertices. Alternatively, if it is determined in decision step 1520 that the current segment includes first order silhouette vertices, process flow proceeds to step 1545 to construct Wedge Lines (WL) on the silhouette vertices (CSV) by rotating to the viewcell element (VCE) supporting the current wedge.
If the current wedge being processed is an SV-ME wedge, the WL in step 1545 constructs the WL in step 154 by rotating from the CSV to the viewcell vertex on which the current wedge is constructed. The use of this process for identifying CSVs and constructing wedge lines for SV-ME wedges is shown in and discussed in detail in fig. 41A and 41B, and in connection with these figures. In some embodiments, if the current wedge being processed is an SE-MV wedge, the WL in step 1545 is constructed by rotating from the CSV to the (inside corner) mesh contour vertex (or other CSV) on which the current wedge is constructed.
In other embodiments, where the mesh-contour edge is parallel to the supporting viewcell edge, if the current wedge being processed is an SE-ME wedge, the WL is constructed by rotating from the CSV to the supporting vertex belonging to the supporting viewcell edge on which the current wedge is constructed. The use of this process to identify the CSV and construct the wedge line for the SE-ME wedge is discussed in detail in and in connection with fig. 41C.
In a subsequent decision step it is determined whether the wedge currently being processed is of the SE-MV type. In this case, the corresponding WL is constructed in step 1545 by rotating to the inside corner mesh silhouette vertices. If it is determined at decision step 1550 that the current wedge being processed is an SE-MV wedge, process flow advances to step 1553, otherwise process flow advances directly to step 1555.
In step 1553, WL is extended to the supporting viewcell edge of the (SE-MV) wedge. In some embodiments, the intersection of WL with the supporting viewcell edge of the wedge is stored as SVV for the wedge. This point is used to initiate a sweep of the SE-MV wedge that would ultimately build a connection between the current wedge and the wedge that intersects the current wedge at the CSV of the build WL. If the current wedge being processed is an SV-ME wedge, then the SVV is the SVV of the wedge used to construct the wedge. If the current wedge being processed is an SE-ME wedge, then SVV is one of the vertices of the viewcell edge used to construct the wedge. In both cases, the determination of a well-defined SVV point supporting the WL is simplified.
This SVV serves as the "starting" SVV for the sweep process that ultimately generates the SE-MV wedge connecting the wedge currently being processed with the wedge incident at the CSV. These "auxiliary" connecting wedges are generated, for example, in step 1240 of fig. 12 (discontinuity mesh implementation) and in step 2060 of fig. 20 (direct construction of visibility graph by 3D mesh traversal).
In subsequent step 1555, the WL generated in step 1545 intersects the mesh triangles/segments (all intersecting the current wedge) to find the nearest point-visible triangle that intersects the current wedge. In one embodiment, techniques to accelerate the ray casting determination are employed, including hierarchical spatial subdivision of the triangular mesh data as previously described.
The intersection between the WL and the nearest mesh triangle identified in step 1545 is the vertex or POINT (2DDM _ POINT) of the 2D conservative primitive discontinuity mesh that corresponds to visibility from the viewcell vertices (or mesh outline vertices in the case of SE-MV) supporting the WL. The resulting 2D discontinuity mesh is conservative because the silhouette vertices are seen from viewcells rather than viewcell elements.
Process flow rows proceed from step 1555 to decision step 1563 to determine if the "2 DDM _ point" is occluded from all other "parts" of the corresponding VCE except the vertex supporting the WL.
If the wedge on which the 2D discontinuity mesh is being constructed is of the SV-ME type, then the "2 DDM _ Point" is "otherwise occluded" from the corresponding VCE since the VCE itself is a point. Again, in this context, "otherwise occluded" means that the "2 DDM _ point" is occluded from view of all other parts of the VCE except the vertex supporting the corresponding WL. This is also true for the "2 DDM _ point" corresponding to the SE-MV wedge.
In both cases, because the source "zone" is a point, "2 DDM _ point" corresponds to the Occlusion Boundary (OB) point of the visibility map as seen from the "zone" with respect to the wedge.
In the case of an SE-ME wedge, however, the VCE is the actual region (line segment). In this case, the "2 DDM _ point" is not necessarily an Occlusion Boundary (OB) point because the OB point is a point on the corresponding 2D visibility map representing a boundary between "seen from area (VCE) is occluded" and "seen from area (VCE) is not occluded".
The details of the processing shown in step 1563 are given in FIG. 16 and discussed in detail in connection with this figure.
If it is determined in decision step 1563 that the "2 DDM _ Point" is otherwise occluded from view of the VCE, then that point is added as an OB point to the (nearest) intersecting triangle/segment in step 1568. Otherwise, no "2 DDM _ point" is added as an OB point to the segment and processing proceeds from step 1563 to step 1580 to determine if there are any unprocessed/non-traversed segments in the current "traversal". In this case, a (2D) "traversal" is defined as a set of segments connected to the current segment by non-silhouette vertices.
If it is determined at decision step 1580 that there are unretraversed segments in the traversal, process flow advances to step 1525 where the next unretraversed segment is processed.
On the other hand, if it is determined in decision step 1580 that there are no unprocessed segments in the traversal, process flow proceeds to step 1583 where the segment that includes the OB-point generated by the current traversal is constrained to effectively remove the portion of the segment that is on the "as seen from VCE" occluded side of the OB-point and the segment is terminated by the corresponding OB-point.
These OB-points added to the segment are the same occlusion boundaries as identified subsequently during traversal of the 2D mesh including the segment, e.g., in step 1515.
Process flow advances from step 1583 to step 1585 to continue the 2D mesh traversal on the unoccluded side of OB point. Since a WL from one triangle/segment manifold can go on traversing at OB point on a different (unconnected) triangle/segment manifold, this means on the newly connected manifold (polyline aggregate primitive or PLAU) formed by the "occlusion fusion" of the two manifolds formed by the WL at OB point.
In one implementation of the method, the entire set of triangular mesh objects is comprised by closed mesh objects. The closed mesh object resembles a "sky box" that is typically used to surround the mesh object for interactive visualization applications. The present mesh traversal method in 2D (and related 3D mesh traversal methods) treats the closed sky box as any other triangular mesh manifold. This approach ensures that traversal achieves omni-directional traversal of the entire database, even when no other mesh objects are present in the database. The use of this closed grid makes the current method output sensitive because only the encountered non-occluded grid needs to be processed, not necessarily every grid in the database. Furthermore, the method naturally identifies the unobstructed area of the sky box itself, which is usually or obviously an overdraft source, because of its size and location.
FIG. 15 and related figures illustrate a method of constructing a region-wise visibility map, in which each generated segment of the corresponding native discontinuity mesh is tested to determine if the segment is, in fact, a segment of the region-wise visibility map (i.e., an occlusion boundary seen from a view cell). Alternative embodiments use 3D and 2D mesh traversal processes to construct discontinuity mesh segments resulting from wedges generated on the encountered contour edges. In this alternative embodiment, each resulting discontinuity mesh region is then tested to determine whether the resulting discontinuity mesh region is a restricted-traversal ghost region or an unrestricted-traversal non-ghost region. The determination may employ a point containment test of a modified polyhedron using a first order wedge or higher order UBP.
FIG. 41A is a diagram illustrating a process for determining visibility about wedges for a simple SV-ME wedge using the method of FIG. 15 and related figures.
FIG. 41B is also a diagram illustrating a process for SV-ME wedge determination regarding the visibility of the wedges. In this case, the wedges intersect the polygonal mesh such that the resulting contour vertices are the tips of the first order contour contours.
FIG. 41C is a diagram illustrating a process for determining visibility about wedges for SE-ME wedges using FIG. 15 and related diagrams.
Details are given in the discussion of the related figures.
FIG. 16: a process for determining whether a 2D discontinuity mesh point is otherwise conservatively occluded from view of a corresponding view element (VCE) of the wedge.
In the main 2D mesh traversal process shown in fig. 15, step 1563 is a decision test to determine if the "2D dm _ point" is occluded from all other parts of the VCE of the wedge. Figure 16 shows one embodiment of the details of performing this test.
The VCE of a wedge is a point or line segment that determines visibility about the wedge. By convention, the "2 DDM _ point" is occluded from view of the corresponding support point of the VCE. In practice, the "2 DDM _ point" is located on the boundary between occluded and unoccluded as seen from the corresponding point of the VCE.
If the VCE itself is a single point (SV-ME or SE-MV type wedge), the corresponding "2 DDM _ Point" is occluded from view of "all parts" of the VCE because, as a point, there are no other parts of the VCE.
In some embodiments, the process shown in FIG. 16 begins at decision step 1610, where it is determined whether the wedge to be tested corresponding to the "2 DDM _ Point" is a SE-ME wedge.
If it is determined at decision step 1610 that the corresponding wedge is not of the SE-ME type, process flow advances to step 1615 to set the "2 DDM _ Point" to be otherwise occluded from view of the VCE. As shown in fig. 15, step 1563 and step 1568, which makes the tested "2 DDM _ point" the OB point.
If it is determined at decision step 1610 that the corresponding wedge is an SE-ME wedge, process flow advances to step 1620 to form a 2D axis (2DDM _ VCE axis) between the "2 DDM _ Point" under test and the VCE, which in this case is an edge of the viewcell.
Process flow advances to decision step 1625 to determine whether there are any non-traversed (by 2D traversal) triangles/segments in the 2D dm _ VCE axis constructed in step 1620.
If it is determined in decision step 1625 that there are unprocessed triangles/segments in the 2DDM _ POINT-VCE axis, then the process proceeds to step 1630, where the 2D traversal jumps to a closer unprocessed triangle/segment in the "2 DDM _ Point-VCE" axis, and the process shown in FIG. 16 terminates.
On the other hand, if it is determined in decision step 1625 that there are no triangle segments not traversed within the 2DDM _ Point-VCE "axis, process flow proceeds to step 1635 to identify all WLs in the 2DDM _ Point-VCE" axis and place each identified WL in a LIST called LIST. In an embodiment, these WLs have been constructed in the main 2D traversal step 1545 shown in fig. 15.
From 1635, process flow proceeds to decision step 1640 to process each wedge line identified in step 1635 and place it in the LIST to determine whether the WL is a first order wedge line or a high order WL. The process of adjusting the first-order WL to form the high-order WL of the back projection is discussed in detail in this specification in conjunction with fig. 17 and 18.
For each WL in the list processed in decision step 1640, if it is determined that the processed WL is a high-order WL, process flow proceeds to step 1645, where the high-order WL identified in step 1640 intersects all other WLs located in the 2DDM _ point-axis "and the axis formed between the WL and the VCE. In some embodiments, the intersection of this segment of high-order WLs with other potentially intersecting WLs creates a corresponding portion of the Umbral Boundary Line (UBL) as viewed from the VCE. While WL reflects the visibility of a single vertex from the VCE, the corresponding UBL reflects the visibility (occluded or unoccluded) from the entire VCE (which in this case is the view cell edge). The UBL may have segments that are occluded as seen from the VCE and non-occluded as seen from the VCE, the segments being based on intersections of the WL of the UBL with other WLs.
Process flow advances from step 1645 to decision step 1647 to determine whether there are any unprocessed WLs in the "list". If there are unprocessed WLs in the "list", the process returns to step 1640.
If it is determined in decision step 1640 that the processed WL is a first order WL, process flow proceeds directly to step 1647 to determine if any unprocessed WLs remain in the "list". If there are unprocessed WLs in the "list," process flow returns to step 1640.
If it is determined in decision step 1647 that the "list" is empty, process flow proceeds to step 1650 where the "2 DDM _ Point" is subjected to a point containment test of the modified polygon to determine if it is occluded from the view of the VCE. As discussed previously in the embodiments, this test employs a 2D version of the point containment test of the modified polyhedron shown in fig. 25, discussed in connection with this figure, in connection with step 1445 in fig. 14. The point containment test of this modified polyhedron uses first order event faces (first order wedges), or corresponding Wedge Lines (WL) in the 2D case, and optionally, higher order ghost boundary polygons (UBPs), or corresponding ghost boundary lines (UBLs) in the 2D case. This test allows for implicit solutions to the point containment test of polyhedrons or the point containment test of polygons without having to construct the entire polyhedron/polygon.
Process flow advances from step 1650 to step 1655 to check the results of the point containment test of the modified polygon of step 1650. If the "2 DDM _ Point" is occluded, process flow proceeds to step 1660 to return yes, otherwise process flow proceeds to step 1665 to return no.
FIG. 17: 2D grid traversal: construction of high order wedges by back projection
The 2D mesh traversal process for determining visibility about wedges described in fig. 14, 15, and 16 and related figures employs first order wedge lines (constructed in step 1454 of fig. 15).
In the case of SV-ME and SE-MV wedges, the corresponding wedge lines are the exact visibility event surfaces as seen from the point. In these cases, because the source "zone" is a degradation endpoint, the WL is also the from-zone boundary line (UBL) for the "from-zone" visibility problem.
However, in the case of an SE-ME wedge, the determination of visibility for the wedge is an actual visibility issue from the region, where visibility is determined in terms of viewcells. In this case, in some embodiments, the first-order visibility event surfaces (actually surfaces with 1 degree of freedom: wedge lines) constructed on the vertices of the viewcells only guarantee a conservative approximation of the corresponding exact event surfaces, which are not necessarily the same lines.
This is because the construction of the first-order WL assumes that the entire source or viewing zone (in this case the view cell edge) is visible from the contour vertices constructing the wedge line. In this case, the first order model of visibility propagation developed in the polyhedral/polygonal environment in this embodiment treats the view region as a "viewpoint" in some respects, since this assumption always holds for a single viewpoint.
However, for the viewing zone, this assumption may not hold. In fact, the Support Viewcell Vertices (SVV) used to construct the WL may actually be occluded when viewed from the outline vertices supporting the WL. In this case, the exact WL and the first order WL are not the same.
In some embodiments, to determine more accurate WLs incident on the same first-order silhouette vertices, a back projection process from point view is employed using the first-order silhouette vertices as viewpoints. In the back projection method, a discontinuity mesh or visibility map is constructed on the view region itself (the view cell edge in this 2D visibility case with respect to the wedge) using some structure of the mesh as a source of the view cell (the first order silhouette vertex in the 2D case).
The method employs a focused conservative backprojection method to identify a conservative (as viewed from the contour vertex) visible support view cell vertex (vssv) on which the WL is constructed. This "adjustment" to the WL only applies to the following cases: the Support Viewcell Vertices (SVV) in the construction for the original forward projected first-order WL are occluded from the support silhouette vertices. Otherwise, the first order event plane (WL) is accurate.
Embodiments employ a 2D mesh traversal method of computational backprojection, similar to the method shown in fig. 14, 15, and 16 for the case of forward projection (from viewcell elements) with respect to wedges, with respect to the visibility of the wedges.
Finding the rear projection problem of VSVVs with respect to wedges is often a visibility problem from a point, since with respect to wedges it is often a point from the VCE contour structure (rear projection shadow).
In some embodiments, the process of identifying VSVVs from the vertex of the contour with respect to wedges begins with the step 1705 (fig. 17) of selecting seed mesh triangles/segments in the event that the SVV is occluded.
2D mesh traversal for backprojection: method of using only orthographic projection-unobstructed triangles/segments
In some embodiments, only those triangles/segments visible in the forward projection (seen from the viewcell side) are used in the back projection. In this method, the triangles/segments visible in the forward projection have their face orientation calculated as inverse with respect to the back projection. Typically, the forward projection silhouette vertices and the back projection silhouette vertices are the same vertices when viewed from the mesh silhouette vertices as "source" points for back projection. In this case, there is no forward projection facing the back projection source point (first order silhouette vertex) -an unobstructed segment before applying the orientation reversal.
In other cases, not all of the orthographic visible grid elements may be back-paired with respect to the reprojected source points. In these cases, if the orientation of the triangle/segment is inverted, it will be back-paired with respect to the back-projected source points. This makes it back-paired with respect to the point, thus creating a mesh with triangles/segments having inconsistent orientations. In this case, it will be developed that triangles/segments oriented as pairs of back planes with respect to the backprojection point are removed from the mesh.
Failure to include potentially occluded geometry in the backprojection may reduce the accuracy of the VSVV calculated and the associated adjustment of WL. However, conservative results are still ensured, as the elimination of any potentially occluded geometry will only make the VSVV calculated a more conservative estimate of SVV. Furthermore, by employing only forward-visible triangles/segments, the cost of the back-projection process is significantly reduced, since the relevant forward-visible triangles/segments are already decided when the back-projection process is initiated for a particular mesh silhouette vertex.
In this method, the grid elements visible for the forward projection are actually used as virtual occlusion for calculating the back projection.
Thus, in step 1705, a selection of seed 2D meshes is made from the set of meshes visible (not occluded) in the forward projection.
2D mesh traversal for backprojection: retraction of contour vertices at high order visibility
In one embodiment of the method, the back projection is determined only by those back projection sources, in this case the mesh contour vertices, which are the first order contour vertices in the front projection when viewed from the VCE. In this implementation, only those WLSs attached to the first-order, forward-projected silhouette vertices are "trimmed" by back-projection to reflect the visibility of the higher orders with respect to the plane. The adjusted WL remains attached to the original mesh silhouette vertices.
In fact, when any vertex that is a first order, forward projected contour vertex viewed from SVV is viewed from VSVV, that vertex is no longer a contour vertex since the triangle/segment that shares that vertex can be paired back against VSVV. In this case, the forward projection silhouette vertices (the rear projection sources) are actually occluded from view of the viewcell element (in this case, the edges). In this case, the actual (exact) volume-seen principal image event surface is not supported by the forward projection silhouette vertices, but by vertices located closer to the viewcell on the same 1-manifold. The migration or "retraction" of the first order from the viewcell-looking outline toward the viewcell is a potential effect of the higher order visibility determined by the back projection. Failure to account for this contour migration may, in some cases, reduce the accuracy of the calculated corresponding adjustments of VSVV and WL. However, since the adjusted visibility event surface (in this case WL) attached to the forward projected first order silhouette vertex always results in a more conservative ghost event surface than the corresponding event surface attached to the corresponding retracted silhouette, all still ensure a conservative result.
By keeping the adjusted WL attached to its original first-order forward projected contour vertex, the "support segment" of the adjusted WL between the contour vertex and the vssv can potentially violate the "local visibility" of the mesh in which it resides by penetrating the mesh face. Precisely, in this case the contour vertices will tend to migrate towards the viewcell such that one of the more recent connected vertices of the mesh will produce an adjustment WL that does not violate local visibility and such vertices become "precise" contour vertices.
To keep the conservative adjusted WLs attached to their original first-order forward projection contour vertices, the backprojection process is designed to prevent violation of local visibility by the adjusted WLs. This occurs when the adjusted WL originates from the forward projected first order silhouette vertex such that the WL is inside the mesh triangle 1-manifold (ambiguous line). This is a type of self-occlusion of 1-manifold that can be prevented by detecting all mesh elements (in this case, ambiguous line segments) that form connected components with the forward projected outline vertices, where the connected components lie completely inside the axis between the VCE edge segment and the vertices. This can be done using a simple traversal of the ambiguous line starting from the vertex and ending when the segment intersects the axis boundary. These mesh elements are of the self-occluding type that can generate retractions that cause the vertices of the silhouette. By identifying and eliminating these elements from the backprojection determination, the backprojection will produce a conservative "adjusted" WL that remains attached to the original forward projected silhouette vertex but accounts for the high-order visibility effect of having the SVV occluded from that silhouette vertex.
Thus, at step 1705 of fig. 17, the selection of those mesh elements that can potentially cause self-occlusion of the back projection-source vertices is not considered for the back projected seed 2D mesh elements.
This approach simplifies the implementation of the 2D mesh traversal in this case with respect to the visibility of the wedges. Even greater simplification is achieved when employing this approach under 3D mesh traversal visibility conditions with respect to viewcells (as discussed in connection with fig. 19, 20, and 21). By employing this approach in the case of 3D mesh traversal, the event surfaces (wedge polygons) remain attached to the original first-order orthographic projection contour contours to ensure the construction of continuous, conservative, area-wise seen silhouette boundary surfaces.
Again, there may be alternative embodiments as follows: interpretation of self-occlusion enables retraction of silhouette vertices. For example, one method of finding "retract" contour vertices is to compute backprojection from the initial forward projection, first order contour vertices and determine if the WL corresponding to the computed VSVV violates local visibility. If local visibility is violated, the vertex is not actually visible from the view unit when considering the high order effects and the neighboring vertex closer to the VCE edge is used as the source point for the back projection to determine if the WL corresponding to the VSVV of the new point violates local visibility. This process may be repeated until a WL is encountered that does not violate local visibility. This WL is used as the adjusted high order WL.
In general, the amount of additional occlusion from the region view resulting from the retraction of only the silhouette vertices is typically small, although the added back projection complexity can be significant. The forward projection WL fixed to the original forward projection, first order contour vertices is kept and the "adjusted" WL corresponding to VSVV is calculated by back projection, which is a method that explains most of the high order visibility effects at a small incremental cost.
As highlighted previously, the high-order back-projection adjustment is only applied when the original SVV is occluded from the first-order silhouette vertices. In some embodiments, a simple measurement is employed to determine the maximum possible deviation between a first-order WL and a corresponding adjusted high-order WL. For example, the angle formed by the first-order WL (i.e., the support line) and the corresponding separation line between the profile apex and the VCE is the maximum angular deviation between the first-order WL and the high-order WL; due to the use of this method, if VSVV is a split point, the high-order WL can in the limit only be equivalent to a split line. This angle naturally tends to increase with increasing distance from the VCE. That is, the viewing zone appears more "dotted" from the rear projection source. Thus, the determination of high order visibility effects by the back projection method becomes less important at larger distances from the viewing zone. In some embodiments, the angular measurements are used to determine whether a higher order effect should be computed for any given projected, first order silhouette vertex.
Turning now to fig. 17, which illustrates the overall control process for initiating, reinitiating, and terminating 2D backprojection traversal, some initial seed triangles/segments of the 2D mesh for the wedges are selected to initiate the traversal as shown at 1705.
As in the forward projection implementation (step 1405 of fig. 14), the selection of the initial seed triangle/segment that is likely to be an exposure mask speeds up the process.
From 1705, process flow proceeds to step 1710 to construct containing points on the seed grid using ray casting. The back projection problem with wedges is limited to the region within the 2D axis formed by the back projection source points (mesh silhouette vertices) and the VCE (view cell edges in this case). Thus, in some embodiments, the edge of the axis that is the ray for ray casting is used to identify the inclusion point in step 1710.
Process flow advances to step 1715 to invoke the main process of the 2D mesh traversal from vertex method for determining visible segments in the axis.
As with the main process of the edge-view 2D mesh traversal method (shown in fig. 15), the main process of the point-view backprojection mesh traversal can cause an abort (e.g., of step 1830 of fig. 18). Process flow advances to decision step 1720 to determine whether there is an aborted traversal from the main process (fig. 18) of the back-projected 2D mesh traversal as seen from the vertices.
Since the back projection process design constructs the visibility map on the original source VCE, the steps shown in fig. 17 are similar to those shown in fig. 14 (forward projection, visibility map construction with respect to wedges). Likewise, the steps described in FIG. 17 (backprojection, visibility map for wedges) are similar to those shown in FIG. 18 (forward projection, visibility map for wedges), except that in the case of backprojection the source is a vertex and in the case of forward projection the source is an edge (SE-ME wedge case).
The flow chart shown in fig. 17 illustrates a flow chart of a process of initiating, re-initiating, and stopping the main 2D traversal process shown in detail in fig. 18 and described in detail in a subsequent part of this specification.
If it is determined at decision step 1720 that there are no segments for which the primary portion of the 2D mesh traversal has been aborted, process flow advances to step 1725 where the 2D mesh traversal for the wedge is terminated, thereby completing construction of a 2D visibility map for the wedge.
If it is determined in decision step 1720 that there are segments for which the primary 2D mesh traversal has been aborted (in step 1830 of FIG. 18), process flow advances to decision step 1730 to determine whether there are any triangles in the axes formed by the aborted Segments (SEGs) and the backprojected source vertices.
If it is determined in decision step 1730 that there are no triangles in the axes between the SEG and the source vertex, process flow proceeds to step 1755 to construct an inclusion point on the 2D mesh (polyline) formed by the segments connected to the currently aborted segment.
Process flow advances to step 1760 to reinitiate the 2D mesh traversal of the previously aborted segment.
If it is determined in decision step 1730 that there is a triangle in the axis between the SEG and the source vertex, process flow proceeds to step 1735 to determine if there are any non-traversed triangles/segments in the SEG-VCE axis.
If it is determined in decision step 1735 that there are non-traversed triangles/segments in the "SEG-vertex" axis, process flow advances to step 1740 where the 2D mesh traversal is "jumped" or restarted on the more recent non-traversed triangles/segments in the "SEG-vertex" axis. This step, which also occurs in the backprojection main 2D traversal processing step 1830 shown in fig. 18, ensures that all potentially occluded triangles/segments have been processed before the traversal continues and before a determination is made to stop traversal (since the stopping segment is completely occluded from the source vertex).
If it is determined in decision step 1735 that there are no non-traversed triangles in the "SEG-vertex" axis, process flow proceeds to step 1745 to determine whether the point on the current (terminating) segment is within an arbitrary polyline aggregate Primitive (PLAU) that represents one or more polygon sub-regions of the wedge that are occluded as seen from the wedge's source vertex. In some embodiments, this test employs a 2D version of the point containment test of the modified polyhedron shown in fig. 25. The point containment test of this modified polyhedron uses first order event faces (first order wedges), or corresponding Wedge Lines (WL) in the 2D case, and optionally, higher order ghost boundary polygons (UBPs), or corresponding ghost boundary lines (UBLs) in the 2D case. This test allows for implicit solutions to the point containment test of polyhedrons or the point containment test of polygons without having to construct the entire polyhedron/polygon.
If it is determined in decision step 1745 that the point on the abort segment is within the PLAU, process flow advances to step 1750 where the traversal is not restarted on the abort segment and the abort segment is no longer marked as aborted. The process flow terminates at 1750.
If it is determined at decision step 1745 that the abort segment is not located within any PLAU, process flow advances to step 1755 where the inclusion points of the associated 2D mesh are constructed. Process flow advances to 1760 to reinitiate the traversal as previously described in conjunction with corresponding step 1460 of fig. 14.
FIG. 18: backprojection, vertex-wise 2D mesh traversal main process
According to some embodiments, the main processing of the back-projected 2D mesh traversal process from vertex with respect to wedges is similar to the back-projected 2D mesh traversal process from vertex with respect to wedges shown in fig. 15.
In some embodiments, the process shown in fig. 18 begins at step 1805, which begins a 2D mesh (polyline) traversal of the mesh triangle segments with respect to the wedges with a traversal of the non-traversed segments. The polyline traversal from segment to segment is straightforward, proceeding in one of two directions from segment to adjacent segment. The corresponding 3D traversal of the triangular mesh (detailed in the discussion of fig. 20) can occur across one of the three adjacent boundaries and proceed, for example, with a flood fill or breadth first traversal.
Process flow advances to step 1810 to determine whether there are any non-traversed (through the current 2D mesh traversal process) triangles/segments in the 2D axis between the current segment and the source vertex. The intersection of a single initial wedge with multiple visible mesh triangles can produce multiple ambiguous line segments and potentially multiple corresponding 2D axes. In one implementation, a 2D axis ("SEG-vertex" axis) is constructed for each of these segments. The following alternative embodiments are possible: a single conservative axis surrounding multiple connected segments is used to accelerate the axis containment test of step 1810. If there are any non-traversed triangles/segments in the larger containing axis, the process may return to the respective axis for each segment.
In some embodiments, the axis inclusion testing of step 1810 is further accelerated by organizing the 3D polygonal mesh geometry using hierarchical spatial subdivision (and/or hierarchical bounding box structures). Any hierarchical organization using a database tends to reduce the cost of axis containment testing from about N × M to about nlog (M), where M is the number of polygons in the model and N is the number of axes tested.
If there are unrepeated segments in the "SEG-vertex" axis, process flow continues to step 1830 where the 2D traversal jumps to a closer segment in the "SEG-vertex" axis. These two steps perform a front-to-back processing order.
If it is determined in decision step 1810 that there are no unrepeated segments in the "SEG-vertex" axis, process flow advances to step 1815 to determine whether the currently traversed segment contains a Backprojected Occlusion Boundary (BOB) point or contains a boundary point.
According to some embodiments, a back-projected boundary (BOB) point represents a boundary between what is visible from the vertex and what is occluded from the vertex on the 2D polyline manifold. The BOB points occur at the intersection of the back-projected wedge lines (BWL) and the polygonal mesh segments on the wedge. Each intersection of BWL and polygon mesh segment is a 1D element (point) of the corresponding 2D (with respect to wedge) discontinuity mesh.
If it is determined in decision step 1815 that the current segment contains a BOB point, process flow proceeds to step 1835 to stop the current 2D mesh traversal at the BOB point, where the process shown in FIG. 18 is interrupted. In further embodiments, process flow proceeds from step 1835 to process 18-1, which returns process flow to step 1825.
Similarly, it is determined in decision step 1815 whether the current 2D mesh segment contains an inclusive boundary. This boundary point is the intersection of the 2D mesh with the wedge that determines the boundary line as in step 1710 or 1755 of fig. 17 (the process of controlling the main back-projection 2D traversal process of fig. 17). If it is determined in decision step 1815 that the current 2D mesh segment includes an inclusion point, process flow advances to step 1835 where the 2D mesh traversal is interrupted at the inclusion boundary point. In further embodiments, process flow proceeds from step 1835 to process 18-1, which returns process flow to step 1825. If it is determined in decision step 1815 that the current segment does not contain a BOB point or contains a point, process flow advances to step 1820 to determine whether the current segment contains a contour vertex.
Because the backprojection source is a vertex (point), the determination of step 1820 is equivalent to finding a point-wise contour at the vertex of the current segment.
If it is determined in decision step 1820 that no silhouette vertices exist on the current segment, process flow advances to step 1825 where the 2D mesh traversal advances to the next non-traversed segment that shares non-silhouette vertices with the current segment using breadth-first or flood-filled traversal of the 2D mesh.
If the current segment has first-order contour points, the normal breadth-first or flood-fill traversal of the 2D mesh does not continue at the contour vertices. Alternatively, if it is determined in decision step 1820 that the current segment contains first order silhouette vertices, process flow proceeds to step 1845 to construct a back projected wedge line (BWL) incident on the first order silhouette vertices by rotating to the corresponding support viewcell.
At step 1845, the Wedge Line (WL) is formed by rotating a line collinear with the back facet (as defined above), where the rotation is in a direction away from the outer face of the corresponding polygon to the source vertex.
From step 1845, process flow proceeds to step 1855, where the WL generated in step 1845 is intersected with mesh triangles/segments that are all intersected by the current wedge to find the nearest visible from point triangle that is intersected by the current wedge. In one embodiment, the intersection may be determined using ray casting with BWL as the ray. In some embodiments, the aforementioned techniques of speeding up the ray casting determination, including hierarchical spatial subdivision of the triangular mesh database, are employed.
The intersection between BWL and the nearest mesh triangle most identified in step 1855 is the vertex or point of the 2D conservative native discontinuity mesh corresponding to the visibility from the source vertex ("2 DDM _ point"). Since this is a visibility issue from the point of view, such "2 DDM _ points" are also BOB points.
From step 1855, process flow advances to decision step 1880 to determine whether there are any unprocessed/non-traversed segments in the current "traversed" Chinese. In this case, a (2D) "traversal" is defined as a set of segments connected to the current segment by non-silhouette vertices.
If it is determined in decision step 1880 that there are unretraversed segments in the traversal, process flow advances to step 1825 where the next unretraversed segment is processed.
On the other hand, if it is determined in decision step 1880 that there are no unprocessed segments in the traversal, process flow proceeds to step 1883 where the segment that includes the BOB point generated by the current traversal is constrained to effectively remove the portion of the segment that is on the "from vertex" occluded side of the BOB point and the segment is terminated by the corresponding BOB point.
These BOB points added to the segment are the same occlusion boundaries as: such as the occlusion boundaries identified during subsequent traversal of the 2D mesh containing the segment in step 1815.
In subsequent step 1885, the 2D mesh traversal continues on the unoccluded side of the BOB point. Since the BWL from one triangle/SEG manifold may produce OB-points on different (unconnected) triangle/SEG manifolds, this represents a continuation of the traversal of the new connected manifold (backprojection polyline aggregate primitive or PLAU) formed by "occlusion fusion" of the BWL at the BOB point for both manifolds. (for a description of occlusion fusion in 3D, see Durand et al (2000), the entire contents of which are incorporated by reference into this application.)
FIG. 19: 3D mesh traversal
Referring now to fig. 19 and related fig. 20 and 21, a 3D mesh traversal process (2-manifold traversal) for constructing a first order from view element visibility graph is described.
The 3D mesh traversal process solves the 3D, from view cell, visibility problem. The output of the 3D mesh traversal process is a conservative linearized umbral visibility map composed of occluded polygon segments from view cells constructed using a Conservative Linearized Umbral Event Surface (CLUES). As described, in some embodiments, a clees corresponds to a linearized conservative visibility event surface or "wedge" constructed in accordance with the methods of the exemplary flow diagrams of fig. 1 and 3-6.
Unlike wedges used in prior art discontinuity meshing methods, the clees or first order wedges employed in the present method are defined based on a conservative model of first order visibility propagation. In the first-order visibility method, the structure of the wedge is defined only by the outline features and the viewcell features of the polygon mesh; the geometry interposed between these two structures does not affect the structure of the first order wedge.
The general organization of the 3D mesh traversal method is to perform a traversal of the manifold mesh elements (e.g., the triangles of the manifold triangle mesh) to ensure that for any mesh element being traversed, all mesh elements that are able to fully or partially occlude the mesh element being traversed are first identified. These potentially occluded mesh elements are first processed (recursively through the 3D mesh traversal) before proceeding with the traversal of the original mesh elements being traversed. During the 3D mesh traversal process, ghost event surfaces originating on potentially occluded mesh elements are constructed on the unoccluded first-order silhouette edges of these potentially occluded elements. These event surfaces may intersect mesh triangles, causing a self-shadow discontinuity that may correspond to an occlusion boundary from view that can limit the traversal process.
This front-to-back processing order greatly limits the construction of visibility event surfaces (wedges) to those wedges incident on visible outline edges, which reduces the amount of time to perform a mesh traversal. This approach also largely limits traversal to occluded mesh triangles, making processing output sensitive in the number of elements that are actually visible from the viewcell. According to some embodiments, non-occluded elements are partially occluded.
This is in contrast to the first-order conservative primitive discontinuity mesh construction method shown in FIG. 12, where a first-order wedge is constructed on all first-order contour edges, even the occluded first-order contour edges, in the method shown in FIG. 12. In the output insensitive approach of FIG. 12, the discontinuity grid region formed by these occluded first order contour edges is ultimately determined to be occluded. However, since the event surface is formed on all first-order contour edges, all possible native discontinuity grid regions are formed and then checked for actual visibility from the region in a post-processing step that actually determines the placement of the discontinuity grid.
In one embodiment of the method, the viewcell is assumed to be convex. It is also assumed that the polygon mesh is a triangle mesh and the triangle mesh is manifold (each edge is exactly shared by two triangles). The intersection of mesh triangles with wedges or UBPs may produce more complex mesh polygons. These more complex polygons can be transformed into triangles using an established polygon triangulation. (see M.de Berg, M.van Dreveld et al in "computerized Geometry alloys and Applications, Springer c.1997, page 45, the entire contents of which are incorporated by reference into the present application). The triangular mesh is represented as a directed graph. This method is also suitable for polygons in addition to triangles, but using triangles can simplify the traversal method. These assumptions simplify implementation, but other implementations are possible that relax these assumptions.
The output of the 3D mesh traversal process is a conservative visibility map composed of mesh polygons (and polygon fragments) that are visible from the view cell. These polygon segments, along with the primitive boundary polygons (UBPs) incident on silhouette edges as viewed from the viewcell, comprise the boundaries of a polyhedral aggregate Primitive (PAU), which is a volume of space that is occluded as viewed from the viewcell, where the occluded volume may be conservatively underestimated. The individual 2-manifolds may be "merged" into other 2-manifolds where the UBP from the closer manifold intersects with the more distant manifold, thereby achieving occlusion merging.
In the present 3D mesh traversal method, this type of occlusion fusion can be identified without having to explicitly construct a UBP corresponding to a wedge. In this method, it is only necessary to determine whether a discontinuity mesh segment corresponding to the intersection of a wedge and a triangular mesh is occluded from view. If so, the discontinuity mesh segment is a PAU segment, and thus an occlusion boundary as seen from the view unit. This approach has lower computational cost than explicitly constructing all UBPs, which require wedge-wedge intersections.
As shown in subsequent fig. 22, 23 and 24, the explicit construction of UBPs corresponding to high order or "tuned" wedges is used to explain the high order visibility effect.
The process shown in fig. 19 controls the initiation, re-initiation and stopping of the main process of the 3D traversal as shown at 20. These processes are similar to the control and main processes of the corresponding 2D traversal shown in fig. 14 and 15 and discussed previously.
According to some embodiments, the process shown in FIG. 19 begins at 1905 to select seed triangles in the seed grid. Selecting "strongly visible" meshes and/or mesh triangles (no other triangles in the axes formed by the meshes/triangles and the viewcells) speeds up the overall traversal process, but any mesh/triangle may be selected.
When the seed triangle is selected, process flow proceeds to 1915 to initiate main processing of the 3D mesh traversal. An embodiment of the main processing of the 3D mesh traversal is shown in detail in fig. 20. In general, the main 3D mesh traversal process shown in fig. 20 is initiated by the control process shown in fig. 19. Furthermore, in some embodiments, the main process of the 3D traversal process (shown in fig. 20) can be aborted at the mesh-specific triangle (step 2030). The process shown in FIG. 19 determines whether any aborted traversals remain in the main 3D manifold traversal process (step 1920) and whether the main processing of the 9D mesh traversal should be reinitiated on these aborted segments (step 1930 and subsequent steps).
If it is determined at decision step 1920 that there are no triangles that have aborted the main portion of the 3D mesh traversal, process flow proceeds to step 1925 where the 3D mesh traversal for the wedges is terminated, thereby completing the construction of the 3D from view element visibility map.
If it is determined in decision step 1920 that there are triangles of the 3D mesh that have aborted the traversal of the master 3D mesh (step 2030 of FIG. 20), then process flow proceeds to decision step 1930 to determine if there are any triangles in the axis formed by the aborted Triangles (TRI) and viewcells.
If it is determined in decision step 1930 that there are no triangles in the axes between the aborted triangles and the viewcells, process flow proceeds to step 1960 to reinitiate the 2D mesh traversal for the previously aborted segments. The process flow terminates at 1960.
If it is determined in decision step 1930 that there are triangles in the axes between the stopping triangle and the viewcell, process flow proceeds to step 1935 to determine if there are any non-traversed triangles in the stopping triangle-viewcell axis.
If it is determined in decision step 1935 that there are non-traversed triangles in the terminating triangle-view axis, process flow proceeds to step 1440 where the 3D mesh traversal is "jumped" or restarted on the more recent non-traversed triangles/segments in the terminating triangle-view axis. This step, which also occurs in step 2030 of the main 3D traversal process shown in fig. 20, ensures that all potentially occluded triangles have been processed before the traversal continues and before a decision is made to stop the traversal (since the aborted triangles are completely occluded from the viewcell).
If it is determined in decision step 1935 that there are no non-traversed triangles in the SEG-VCE axis, process flow advances to step 1945 to determine if the point on the current (terminating) triangle is located within any polyhedral aggregate Primitive (PAU) and is therefore conservatively occluded from view element perspective. In some embodiments, this test employs a point containment test of a modified polyhedron shown in FIG. 25.
The point containment test of this modified polyhedron uses first order event faces (first order wedges), and optionally, higher order ghost boundary polygons (UBPs). This test allows an implicit solution to the point containment problem for a polyhedron without having to construct the entire polyhedron. Details of this test are given in connection with fig. 25.
If it is determined in decision step 1945 that the point on the terminating triangle is located within the PAU, process flow advances to step 1950 where the traversal is reinitiated for the terminating triangle and the terminating triangle is no longer marked as aborted. Process flow terminates at 1950.
If it is determined in decision step 1945 that the terminating triangle is not located within any PAU, process flow advances to step 1960 where the traversal is reinitiated for the terminating triangle. The process flow terminates at 1960.
If no mesh triangle is part of the connected component of the visibility graph (PAU), the entire mesh is occluded or not occluded by the VM/PAU. Thus, in some embodiments, to determine the visibility of all polygons of such a wedge, its method of fig. 19, and e.g., fig. 25, is used to determine the visibility of only one mesh vertex relative to a particular completed VM/PAU or corresponding connected component. However, many of these tests are naturally avoided by using a 3D mesh traversal method in conjunction with a large bounding box or closed mesh object containing all the model geometry, where the bounding box polygons may be subdivided into smaller polygons, as described in detail elsewhere in this specification.
FIG. 20A is a flow chart illustrating a main process for constructing a conservatively linearized visibility map from viewcell using a 3D mesh traversal.
Turning to fig. 20A, the master 3D mesh traversal process begins with a flood fill traversal or breadth-first of the manifold triangle or other polygon mesh shown in initial step 2005. An initial triangle to start the entire process is selected in the control process shown in the flowchart of fig. 19.
In one embodiment, the mesh is a manifold triangle mesh with each edge shared exactly by two triangles. Other definitions of meshes are possible, including meshes that are not closed. The intersection of mesh triangles with wedges or UBPs may produce more complex mesh polygons. These more complex polygons can be transformed into triangles using established polygon triangulation methods. The triangular mesh is represented as a directed graph. This method is also suitable for mesh polygons in addition to triangles, but using triangles simplifies the traversal method. The method shown in fig. 20A employs a manifold triangle mesh with each edge precisely shared by two triangles.
In some embodiments, the process flow illustrated in FIG. 20A begins at 2005, where traversal of mesh triangles is indicated. The traversal may proceed in breadth-first or flood-fill graph traversal order. Using breadth-first traversal of the triangle mesh, traversal expands outward from the original triangle to form a traversal triangle layer. Triangles connected by non-contour edges may be said to belong to the same "traversal".
Other traversal orders are possible. Selecting a triangle for launching one or more polygon meshes does not affect the output of the traversal. However, by selecting an initial triangle that is fully visible and near vision unit, the process tends to work better. In holding the graph traversal process, step 2005 indicates that traversal is limited to triangles in the mesh that are not traversed.
Process flow advances to decision step 2010 to determine whether there are any non-traversed triangles within the 3D axis formed by the current triangle and the view element (this axis is referred to as the TRI-VC axis). If there are one or more non-traversed triangles in the axis, process flow continues to step 2030 where the traversal immediately jumps to a closer non-traversed triangle. In one embodiment, the mesh polygons are organized using a hierarchical spatial subdivision structure. This enables the axis test of step 2010 to quickly identify large groupings of previously traversed mesh polygons by producing a LogN performance for the axis test.
Step 2030 effectively performs strict front-to-back processing of mesh elements for a single mesh object or for multiple mesh objects. The process of jumping the traversal to a closer potentially occluded triangle can produce an endless loop caused by the loop overlap of the triangles. Such loops are also encountered in the Weiler-Atheron visibility algorithm and can be detected and eliminated by maintaining a directed graph representation of overlapping relationships. This method is set forth in fig. 13 and discussed in detail in connection with this figure.
Step 2030 ensures that event faces on non-traversed triangles that originate from closer ones of the triangle-view element axes of the current triangle are identified and constructed prior to traversal of the current triangle. These event surfaces may be occlusion boundaries from the view element (which were determined for these closer silhouette edges in steps 2045 through 2068) that constrain the traversal of the current triangle (step 2035). By performing a jump to the closer non-traversed triangle/silhouette edge, step 2010 ensures that any from-view occlusion boundaries that may restrict the traversal of the current triangle are constructed prior to the traversal of the current triangle. The process flow is aborted at 2030 and re-initiated at a closer, non-traversed mesh triangle in the triangle-view element axis.
If there are no non-traversed triangles in the TRI-VC axis, process flow proceeds to decision step 2015 to determine if the current triangle being traversed contains occlusion boundaries as seen from the view cell ("from-VC"). The shading Discontinuity Mesh (DM) segments typically form an ambiguous line at the intersection of a mesh triangle and a wedge. Each DM segment is the intersection of a wedge and a triangle, where the segment is conservatively visible from the supporting viewcell element (vertex or edge) of the wedge. This is referred to as the visible intersection of the "about the wedge". Because the visible segments for a wedge are determined (in the 2D mesh traversal process of fig. 15) using silhouette vertices from viewcells (rather than "silhouette vertices from supporting viewcell elements of a wedge), the visible segments for a wedge are conservatively visible. Because the segments may actually be back-facing with respect to the supporting viewcell elements of the wedge rather than front-facing with respect to the viewcell (and thus visible from the viewcell), some segments of the supporting viewcell vertices with respect to the wedge may actually be included as DM segments.
Visible intersections or discontinuity mesh segments with respect to the wedges are identified in a subsequent step 2055 by the 2D mesh traversal described in fig. 15 and related figures.
DM _ SEG includes ambiguous lines of a conservative linearized parenthetical discontinuity mesh. These ambiguous lines may or may not be the actual occlusion boundaries seen from the viewcell ("from-VC") (boundaries separating polygon segments that are conservatively visible from the viewcell and polygon segments that are occluded from the viewcell, where the size of the volume of the ghost is conservatively underestimated). Each DM _ SEG may or may not be an occlusion boundary (OB _ SEG) as seen from the viewcell. OB _ SEG is an actual edge of a silhouette boundary polygon (UBP) viewed from the viewcell as a face of a polyhedral aggregate silhouette (PAU) viewed from the viewcell.
The view-looking occlusion boundary encountered in step 2015 is a Discontinuity Mesh (DM) ambiguous line segment (DM _ SEG) that has been determined in step 2063 to be the view-looking occlusion boundary segment (OB _ SEG). Details of step 2063 are set forth subsequently. Step 2063 determines which DM ambiguous line segments are occlusion boundaries from view elements and is actually performed before an occlusion boundary from view elements is subsequently encountered in step 2015.
The visible intersection of a mesh triangle with a wedge "about the wedge" represents a segment of the umbral discontinuity mesh that may or may not correspond to the Occlusion Boundary (OB) as seen from the viewcell. Each DM ambiguity line is determined in step 2063 (or not in step 2063) as an occlusion boundary from the region and the result is stored using the DM ambiguity line. Because each DM ambiguous line was processed by step 2063 before it was encountered in step 2015, the information required for the decision in step 2015 is predetermined and stored for the encountered DM ambiguous line segment in step 2063.
If it is determined in decision step 2015 that the current triangle does not include an Occlusion Boundary (OB) segment, process flow advances to step 2035 to interrupt the current 3D mesh traversal at the OB segment (OB SEG). Traversal may continue through other non-OB segments of the triangle. Processing is interrupted at 2035. In further embodiments, process flow line proceeds from 2035 to process 20-1, which returns the process to step 2025. The mesh traversal can then proceed through other mesh triangle edges that are not occlusion boundary segments.
If it is determined in decision step 2015 that the current triangle does not contain OB-segments, process flow advances to step 2020 to determine whether the current triangle has contour edges. This determination is based on the test shown in fig. 3 for a first order silhouette edge as seen from the viewcell.
If it is determined in decision step 2020 that the current triangle does not have silhouette edges, process flow advances to step 2025 where it advances to the next non-traversed triangle in the breadth-first traversal of the directed graph corresponding to the manifold triangle mesh.
If it is determined in decision step 2020 that the triangle being processed includes a contour edge, process flow proceeds to step 2045 where the breadth-first traversal of the directed graph corresponding to the triangle mesh is stopped at the contour edge and the primary wedge incident on the contour edge is constructed using the first order method of the rotating and sweeping methods of wedge construction (FIGS. 1-6). The constructed primary wedge is added to a list called "wedge _ list". Primary wedges are those that are constructed on the first order profile edges encountered using a rotating and sweeping method. At the time of initial construction, in some embodiments, all wedges are initial wedges that have not been further constrained by visibility steps with respect to the wedges. The initial primary wedge configuration in step 2045 corresponds to the initial primary wedge configuration shown in step 1210 of the output sensitive method of fig. 12.
The following alternative embodiments are possible: instead of constructing first order wedges using the rotation and sweep method of the present embodiment (constructed in step 2045 and subsequent step 2060), some wedges are instead constructed using a less precise method of extending the SV-ME wedge planes to the intersection (as described by Teller et al in 1992, where such planes are generated only on the entry sequence sides). The present embodiment includes the following techniques: the difference in the umbral volume produced by the rotation and sweep method and the intersecting plane method can be estimated at the inside corner vertices. In this technique (which is described in detail in fig. 20B), a method for constructing a continuous conservative umbral event surface incident on an inside corner vertex is selected based on heuristics that balance the desired accuracy with the increased complexity of the visibility graph of the results produced by the additional SE-MV occlusion boundary segmentation.
Process flow advances from step 2045 to step 2050 where a wedge in the "wedge _ list" is selected and submitted to subsequent process steps 2055 through 2068.
Process flow advances to step 2055, which is the first step of processing the wedges in the "wedge _ list" where the visible segments of the mesh triangle that intersect the wedge with respect to the wedge are determined.
An efficient output-sensitive 2D mesh traversal solution to this visibility problem with wedges is presented in fig. 15. The method of fig. 15 is actually a 2D implementation of the method illustrated in the current fig. 20, and in some embodiments, the visible segments for the wedges are stored as discontinuous grid segments (DM _ SEG). The visibility determination method for wedges also identifies the complex contour vertices (CSVs) required for the subsequent step 2060.
Process flow advances from step 2055 to step 2060 to construct a secondary wedge at the CSV identified on each wedge during the earlier step 2055. The CSV is generated during step 2055 at the visible intersection of the wedge with the first-order viewcell-looking silhouette edge with respect to the wedge (as identified in earlier step 2055). Each CSV is a visible intersection of a wedge with a first order contour edge with respect to the wedge. These points correspond to the t-junctions of the composite contour seen from the zone.
In step 2060, according to some embodiments, a SE-MV wedge is constructed on each of the identified CSVs. These wedges originating on the CSV are called secondary wedges. These wedges are constructed using the rotating of the wedge construction and the sweeping operation of the sweeping method. All these wedges generated in this step are of the SE-MV type generated in the sweep process. This sweep is between the intersection and the SVV of the original wedge at the CSV. The wedge constructed by the sweep process is a continuous conservative umbra connecting the original wedges that intersect at the CSV. In alternative embodiments, two original edges may be extended to intersect to form a less precise but still conservative penumbra boundary.
As previously defined, each CSV corresponds to the intersection of a wedge with another wedge supported on the intersecting contour edge. These wedges intersect at the CSV point.
If two SV-ME wedges that intersect at the CSV rotate to the same viewcell vertex, the two wedges intersect exactly at their edges and no new SE-MV wedge is constructed.
If two wedges intersecting at the CSV are formed by rotating to two vertices of the same viewcell area, the result of the sweep and rotation construct on the CSV is a single SE-MV wedge. In this case, if the two original wedges that intersect at the CSV are of the SV-ME type, constructing a quadric that connects the SE-MV wedges at the CSV conservatively approximates the quadric formed by the viewcell edge (connecting the two supporting viewcell vertices) and the two SV-ME silhouette edges corresponding to the intersecting wedges of the CSV. In this case a single SE-MV wedge on the constructed CSV conservatively approximates the corresponding quadric formed by the S-EEE event. In fact, the constructed SE-MV triangle can be interpreted as a degenerate quadric with a wireless pitch.
If two wedges intersecting at the CSV are formed by rotating to vertices belonging to different viewcell edges, the result of the rotate and sweep construction on the CSV is a sequence of edge-connected SE-MV wedges. In this case, if the two original wedges that intersect at the CSV are of the SV-ME type, constructing a set of connected SE-MV wedges on the CSV conservatively approximates a quadric formed by the connected viewcell edges and the two other contour edges corresponding to the intersecting SV-ME wedges of the CSV. Again, each SE-MV wedge may be considered to be a corresponding degenerate quadric with infinite pitch.
A quadratic wedge may also be generated at the CSV corresponding to the intersection of the SE-MV wedge with the contour edge as seen from the viewcell.
All secondary WEDGEs constructed in step 2060 (those that are incident on the CSV) are added to the WEDGE _ LIST, which means they will eventually be processed by step 2055 to find a visible segment for the WEDGE.
Process flow advances from step 2060 to decision step 2063 to determine whether the DM _ SEG is occluded from all other "parts" of the corresponding viewcell beyond the supporting viewcell structure (vertex or edge) at which the wedge containing the DM _ SEG is supported. An embodiment of this test is disclosed in fig. 21. Briefly, this test involves intersecting the DM _ SEG with all potentially intersecting wedges that have been constructed and then determining whether the resulting sub-segment is located within the PAU as seen from the viewcell by a modified point containment test of the polyhedron.
If all other parts of DM _ SEG from the view element are otherwise occluded (except for the SVV of the wedge supporting DM _ SEG), then DM _ SEG is the actual from-view-element-seen Occlusion Boundary (OB) corresponding to the side of PAU from the view element.
Thus, if it is determined in decision step 2063 that DM _ SEG is otherwise occluded from view (using the process of FIG. 21), process flow proceeds to 2068, where DM _ SEG is added to the intersecting triangle as OB _ SEG.
On the other hand, if DM _ SEG is not otherwise occluded from all other parts as seen from the view, then DM _ SEG is not the actual occlusion boundary as seen from the view (OB) and process flow proceeds to step 2070 to determine if any unprocessed wedges remain in the "wedge _ list". If it is determined at decision step 2070 that an unprocessed wedge remains in the wedge list, process flow returns to step 2050.
On the other hand, if it is determined in step 2070 that there are no unprocessed wedges remaining in the "wedge _ list," process flow proceeds to step 2080 to determine whether there are any unprocessed triangles in the current "traversal" (the set of triangles connected to the current triangle by non-contour edges). If it is determined at decision step 2080 that there is an unretraversed triangle in the traversal (the set of triangles connected to the current triangle by non-contour edges), then process flow advances to step 2050 where the next unretraversed triangle is processed.
If it is determined in decision step 2080 that there are no unprocessed triangles in the traversal, process flow proceeds to step 2083 where those triangles that intersect the OB segment generated in the current traversal are identified and those triangles are re-triangulated using the intersecting OB segments. This step can effectively limit the 3D mesh traversal at occlusion boundaries encountered subsequently in step 2015, thereby limiting the traversal to non-occluded regions, further enhancing the output sensitivity characteristics of the method.
Process flow advances to step 2085 to continue the 3D mesh traversal on the unoccluded side of the OB segment generated by the traversal. The process flow terminates at 2085. Since a wedge from one 2-manifold can produce an OB-point on a different (unconnected) 2-manifold, this represents the continuation of the traversal over the newly connected manifold (part of the PAU) formed by the "occlusion blending" of the two manifolds by the wedge line at the OB-segment.
As previously mentioned, in one embodiment of the method, the entire set of triangular mesh objects is comprised by closed mesh objects. The closed mesh object resembles a "sky box" that is typically used to surround the mesh object for interactive visualization applications. The present mesh traversal method in 3D treats the closed sky box as any other triangular mesh manifold except for viewcells located within the closed mesh object. Fig. 20K shows such a closed mesh object labeled "sky box" that includes other polygonal meshes. The arrow labeled "normal" indicates: unlike other polygonal meshes, a closed mesh has all mesh polygons oriented such that their normal points locally to the inside of the mesh. Additional details of FIG. 20K are discussed in detail in conjunction with FIG. 20K.
This approach ensures that the traversal continues with an omnidirectional traversal of the entire database, even when other mesh objects are not present in the database. The use of this closed grid helps make the current approach output sensitive. That is, because only the encountered non-occluded meshes are processed, there is no need to process every mesh in the database. Furthermore, the method can naturally identify the unobstructed area of the sky box itself, which is usually or a clearly overdrawn source due to the size and location of the sky box.
In summary, the overall structure of the method outlined in fig. 19, 20 and related fig. 21 is a coherent breadth-first manifold traversal structure, which is typically interrupted by one of three conditions: 1) non-traversed potentially occluded mesh triangles (step 2010), 2) there is an occlusion boundary in the triangle that is seen from the viewcell (step 2015), or 3) there is a first order silhouette edge on the triangle (step 2020).
Step 2010 ensures strict front-to-back manifold processing. Step 2015, along with step 2085, prevents traversal from being performed on the actually occluded region of the grid. At the same time, these steps produce output sensitivity by preventing many occluded mesh edges and their contour edges being processed.
Step 2020 identifies visible contour edges and begins the following process: primary wedges and associated secondary wedges (at the CSV) are generated, as well as visible segments about the wedges that establish the intersections between these wedges and mesh triangles. These visible segments become conservative first-order constitutive discontinuity mesh segments, which will be subsequently tested (step 2063, the details of which are shown in FIG. 21) to determine if they correspond to occlusion boundaries as seen from the view cell included in the visibility graph.
The similarity between the 2D mesh traversal method and the 3D mesh traversal method is apparent when compared with fig. 14 to 19, fig. 15 to 20, and fig. 16 to 21. These similarities are also detailed in table VII (3D traversal aspect), table VIIIa (2D traversal aspect), and table VIIIb (1D traversal or ray casting aspect).
Comparing a 3D mesh traversal aspect, a 2D mesh traversal aspect, and a 1D mesh traversal (ray casting) aspect
TABLE VII
Aspects of 3D mesh traversal methods for viewcell-looking mesh traversal, conservative point occlusion (from viewcell) queries, and backprojection from silhouette edges
Figure BDA0001244149660001661
TABLE VIII
Aspects of a 2D mesh traversal method for visibility with respect to wedges, query for conservative point occlusion (from edges), and backprojection from contour vertices
Figure BDA0001244149660001662
Figure BDA0001244149660001671
TABLE VIIIb
Aspects of 1D mesh traversal (ray casting)
Figure BDA0001244149660001672
FIG. 20B illustrates a method of using an estimate of the difference in umbral volumes produced by the rotation and sweep method and the intersecting plane method estimated at the inside corner vertices, which is used to determine a method of constructing a continuous umbral event surface at the inside corner vertices.
According to some embodiments, the process shown in FIG. 20B begins at step 2087 when a simple inside corner silhouette vertex or a Compound Silhouette Vertex (CSV) is encountered. In an embodiment, this occurs at steps 2020 and 2055 of fig. 20.
Process flow advances to step 2089 to construct a line by intersecting the planes of the SV-ME wedges adjacent to the vertex of the contour. Also in step 2089, the edge of the SE-MV wedge incident on the apex of the inside corner profile is constructed and the SE-MV edge forming the smallest angle with the intersecting plane is determined. In one example, shown in fig. 9D, the angle is the angle produced by line L1 (the line intersecting the plane) and line L2, line L2 being the edge of the corresponding SE-MV wedge. The angle is measured from the intersection of the two lines at the vertex ICSV. This minimum angle is stored in the variable "DIFF _ angle".
Process flow advances to decision step 2090 to determine if the angle "DIFF _ angle" exceeds the predetermined value.
If it is determined at decision step 2090 that the "DIFF _ ANGLE" is greater than the predetermined value, process flow advances to step 2092 to construct the SE-MV event surface incident on the inside corner simple or compound silhouette vertex. Process flow ends at 2092.
If it is determined at decision step 2090 that the "DIFF _ ANGLE" is not greater than the predetermined value, process flow advances to step 2094 where a continuous conservative umbral event surface incident on the inside corner simple or compound contour vertex is constructed by intersecting the planes of adjacent SV-ME wedges. Process flow ends at 2094.
Fig. 20C to 20J are diagrams of polygon meshes and view cells. These figures are used to illustrate an example of one embodiment of the 3D mesh traversal process shown in figure 20 and the flow charts associated therewith.
Fig. 20C to 20J are diagrams showing two polygon meshes and view cells from two different perspectives. In the upper diagram of each figure (fig. 20C, 20E, 20G, 20I), the above structure is viewed from the polygonal mesh toward the viewing cell. In the bottom views (fig. 20D, 20F, 20H, 20J), the perspective views are generally seen from the viewcell toward the polygon mesh.
The process of fig. 20A assumes that an initial triangle is selected to begin the 3D mesh traversal. Fig. 20C and 20D show examples of selecting a triangle labeled TB1 as the starting triangle. TB1 is a mesh polygon of a polygon mesh labeled "mesh B". In this example, embodiments employ breadth-first traversal, although other traversal orders may be employed.
The decision step of fig. 20A determines whether there are any non-traversed triangles within the 3D axis formed by the current triangle and the viewcell. Fig. 20E and 20F show the 3D axis formed between triangle TB1 and the viewcell. The triangle-view element axis is formed by eight triangles. In some embodiments, the axis is a convex hull between the triangle and the viewcell. The axes between the triangle and the viewcell, or any other viewport, can be constructed using prior art convex hull construction methods. (see O' Rourke, computer Geometry in C Second edition Cambridge University Press 1998, the entire contents of which are incorporated herein by reference). In one embodiment, the rotation and sweep method described in connection with fig. 1-5 and related figures is adapted to construct the axis by additionally constructing SE-MV supporting polygons that are also located on the outside corners of the grid.
FIGS. 20E and 20F show that axis TRI-VC-1 intersects other mesh triangles including triangle TA1 belonging to "mesh A". In this example, the process flow proceeds to step 2030 of fig. 20A.
In this example, the traversal of "mesh B" is aborted in step 2030 and the mesh traversal is reinitiated at triangle TA-1, which intersects axis TRI-VC-1.
After reinitiating the breadth-first traversal at triangle TA1, process flow advances to step 2005, where the unretraversed triangle is encountered.
Process flow advances to decision step 2010 where any unprocessed mesh triangles formed in the axes between triangle TA1 and the viewcell are detected in this example. In this example, the axis between triangle TA1 and the view element is empty, so that process flow proceeds to decision step 2015.
Decision step 2015 in this example determines whether triangle TA1 contains any occlusion boundaries as seen from the viewcell. Because triangle TA1 does not include occlusion boundaries from view elements, process flow proceeds to step 2020 to determine whether triangle TA1 has any first order silhouette edges from view elements.
In this example, because triangle TA1 does not have any first-order contour edges, process flow proceeds to step 2025 to identify the next unretraversed triangle in the polygon mesh.
In this example, the breadth-first traversal traveled from triangle TA1 in step 2025 encounters edge-connected triangle TA 2. The determination in step 2010 for triangle TA2 may indicate that there are no mesh polygons in the triangle-view element axis between TA2 and the view element.
In this example, step 2015 represents that there are no occlusion boundary edges incident on triangle TA2, such that process flow proceeds to step 2020 where triangle TA2 is determined to have a first order contour edge labeled E2.
Process flow advances to step 2045 in fig. 20A. In this example, execution of step 2045 results in a wedge configuration on edge E2. The first order rotation (SV-ME) wedges located on the first order silhouette edge E2 constructed in step 2045 are labeled W2 in FIGS. 20G and 20H. Wedge W2 is a rotating (SV-ME) wedge constructed in step 2045 using the method for constructing a rotating wedge as described in fig. 4 and related figures. The supporting viewcell vertex used to construct W2 is the viewcell vertex labeled SVV in this example.
In this example of processing resulting in wedge W2 in step 2055, process flow proceeds to step 2050 in fig. 20A. In step 2055, the visible segment on the wedge is determined. In one embodiment, this determination uses a 2D version of the mesh traversal method as described in fig. 15 and related figures. In this example, the result of the visible segmentation determination for a wedge on wedge W2 relative to a point (in this example relative to SVV) is a discontinuity mesh segment (DM _ SEG) labeled OBE 1. In this example, OBE1 is the only intersection of wedge W2 visible from the SVV.
After determining DM-SEG OBE1 in this example, process flow proceeds to step 2060, which in this example is a determination that the primary wedge W2 does not intersect any first order contour edges. Thus, in this example, no compound contour vertex (CSV) is generated and no secondary wedge needs to be constructed.
In this example, process flow advances to decision step 2063 to determine whether DM _ SEG OBE1 is otherwise visible from view element. This test determines whether DM-SEG OBE1 is an actual occlusion boundary segment as seen from the viewcell. In one embodiment, the test utilizes the process of FIG. 21A and related figures, which includes constructing the 3D axis between DM-SEGs and determining if there are any unretraversed mesh polygons in this axis, as represented in step 2110. In this example, the 3D axis between OBE1 and the viewcell is shown as labeled axis SEG-VC-1. In one embodiment, the process flow of FIGS. 24A, 24B is followed by the flow diagrams; in the example of OBE1, the process would not identify any other wedges in the axis SEG-VC-1, which could potentially segment OBE 1. Also, in this example, the modified point test in the polyhedron of FIG. 25 is performed using points on DM _ SEG OBE 1; in this example, it would be determined that DM _ SEG OBE1 is actually an occlusion boundary segment as viewed from the viewcell and would therefore be added to the polygon "polygon 3", subdividing the initial polygon "polygon 3" (in this case a quadrilateral) shown in fig. 20C and 20D into the polygon "polygon 3R".
Continuing with the processing performed by the embodiment of FIG. 20A, all visible triangles of "mesh A" will be traversed, in which case the set of traversed mesh triangles of "mesh A" correspond to all mesh triangles that are facing with respect to at least one view cell vertex. Finally, breadth-first traversal terminates at the first silhouette of "mesh a" that includes E2, which causes occlusion boundary OBE1 on "mesh B". In this example, the first order contour edge E3 (shown in fig. 20I and 20J) also causes occlusion boundary edges OBE2 (shown in fig. 20J) and OBE3 (shown in fig. 20I and 20J) on "mesh B".
These occlusion boundary edges comprise continuous occlusion boundaries that subsequently limit traversal of "mesh B" polygon 3 (which has been subdivided at OBE 1) and other polygons of "mesh B" at occlusion boundary edge OBE2 and occlusion boundary OBE 3. After the re-triangularization step 2083, the grid traversal continues on "grid B" and only on the unoccluded side of the occlusion boundary, as represented by step 2085.
Fig. 20K is a perspective view showing the same viewcells and polygonal meshes "mesh a" and "mesh B" as those in fig. 20C to 20J. Further, fig. 20K shows a closed polygonal mesh labeled "sky box". The polygons of the bounding cell are not shown in this perspective view as back pairs with respect to the viewpoint so that the viewer can see the inside of the bounding cell labeled "sky box". The arrow labeled "normal" indicates: unlike other polygonal meshes, bounding meshes have all mesh polygons oriented such that their normals are directed locally to the interior of the mesh. Wedges that do not cross other polygonal meshes will eventually cross the closed mesh. As with any other wedge-mesh intersection point, with the determination of whether the wedge-mesh intersection point is an occlusion boundary for a view region (step 2063), the wedge-closed mesh intersection point is processed in accordance with the exemplary flowchart of fig. 20A, and eventually a mesh traversal occurs on the non-occlusion side of the occlusion boundary (step 2063), with traversal occurring on the inward-facing side of the closed mesh, here labeled "sky box".
Fig. 21A and 21B are flow diagrams of methods for determining whether a discontinuity mesh segment is occluded from view (i.e., whether a discontinuity mesh segment is an occlusion boundary from a region).
In the main 3D mesh traversal process shown in fig. 20, step 2063 is a decision test that determines whether the 2D dm _ SEG is occluded from the other "parts" of the viewcell. Fig. 21 shows one embodiment of this test.
In some embodiments, a discontinuity grid (DM) segment is an occlusion boundary seen from a viewcell if no portion of the viewcell is visible from the DM segment except for the supporting viewcell elements used to construct the wedge corresponding to the DM segment. In the present method, the test can be organized as a back-projection type visibility query that uses the DM segment as a line light source and determines the visibility of the viewcell.
This test is shown in fig. 21.
According to some embodiments, the process shown in FIG. 21 begins at decision step 2110 where the 3D axis and viewcell ("DM _ SEG-viewcell" axis) between the DM _ SEGs tested is used.
If it is determined at decision step 2110 that there are non-traversed triangles in the DM _ SEG-VC axis, process flow advances to step 2115 to abort the process, and the main portion of the 3D mesh traversal process jumps to closer non-traversed triangles in the DM _ SEG-VC axis. This jump ensures that: all potential occlusion geometries that can affect the DM-SEG state as occlusion boundaries from viewcell are identified and processed prior to performing a backprojection test that actually determines whether DM _ SEG is an Occlusion Boundary (OB) from viewcell. Process flow terminates at step 2115.
If it is determined at decision step 2110 that no unrepeated triangle exists in the DM _ SEG-VC axis, process flow advances to step 2120 where the DM _ SEG crosses other wedges in the DM _ SEG-VC axis. The intersection point may divide the initial DM _ SEG into a plurality of DM _ substregs, each of which has uniform visibility from the view unit.
Process flow advances to decision step 2125 to determine whether the current DM _ SEG or DM _ substreg is directly connected to the DM _ SEG or DM _ substreg for which a visibility state (occluded or not occluded) from view has been determined.
If it is determined in decision step 2125 that the current DM _ SEG or DM _ substreg is directly connected to the DM _ SEG or DM _ substreg for which the occlusion state from view has been explicitly determined, process flow advances to step 2130, where the occlusion state of the current DM _ SEG or DM _ substreg is set to be the same as the state of the DM _ SEG or DM _ substreg that has a known visibility state from view and is directly connected to the current DM _ SEG or DM _ substeg, and the state is returned to the calling function. Process flow terminates at step 2130.
If it is determined in decision step 2125 that the current DM _ SEG or DM _ SUBSEG is not directly connected to a DM _ SEG or DM _ SUBSEG that has a known visibility state from the view unit, process flow advances to step 2135 to select a point on DM _ SUBSEG.
Process flow advances to step 2140, an axis is formed between the point selected in step 2135 and the view cell and process advances to step 2145 where all wedges in the DM _ SEG-VC axis are identified and placed in the list "wedge list" for subsequent processing. These wedges are the wedges generated in step 2045 and step 2060 in fig. 20, and the main 3D mesh traversal process generates the forward projected first order wedges.
Process flow advances to step 2148 where each wedge in the "wedge list" is processed by a subsequent step.
Processing proceeds to step 2150 where, for each wedge in the "wedge list," a determination is made as to whether the wedge is a first order wedge or a higher order wedge. The main 3D mesh traversal process of fig. 20 generates first order wedges using the rotational and swept construction of the wedges at step 2045 and step 2060. Alternatively, the high order wedge may be constructed using a back projection process as described in detail in connection with fig. 22, 23 and 24 in subsequent portions of this specification. According to some embodiments, the order of the wedge is determined according to the process used to construct the wedge. For example, wedges constructed using a back projection process are higher order wedges, rather than wedges constructed using a back projection process are first order wedges. If it is determined at decision step 2150 that the wedge is a high order wedge, process flow advances to step 2155.
On the other hand, if it is determined at decision step 2150 that the wedge is not a high-order wedge, process flow proceeds directly to step 2158.
At step 2155, the actual ghost boundary polygon (UBP) corresponding to the high-order wedge as seen from the viewcell is constructed by intersecting the high-order wedge with all other wedges and UBPs located in both the wedge-viewcell ("wedge-VC") axis and the point-viewcell axis. For the high order wedge identified in step 2150, the process effectively constructs the portion of the corresponding UBP that is inside the point-view cell axis. In some embodiments, a corresponding wedge may be constructed from the corresponding wedge by intersecting the corresponding wedge with all other wedges/UBPs in an axis formed between the wedge and the viewcell. After step 2155, process flow advances to step decision step 2158 to determine whether the "wedge list" is empty. If the wedge list is empty, process flow returns to step 2148 for subsequent processing of the next wedge in the wedge list.
If the wedge is a first order wedge as determined at decision step 2150, process flow proceeds directly to step decision step 2158 as described above.
If it is determined in decision step 2158 that the "wedge list" is empty, process flow advances to step 2160 where the points in the polyhedron that were modified by the DM _ SUBSEG point selected in step 2135 are tested to determine if they are occluded from view unit.
An embodiment of a point containment test for a modified polyhedron is shown in FIG. 25 and described in detail in connection with this figure. Briefly, the point containment test of the modified polyhedron determines whether the test point is inside the PAU as seen from the viewcell. In the case of a point located on the viewcell face, the test is somewhat similar to the conventional polyhedral point containment test in selecting a second point known to be located outside the PAU. A line segment is constructed between the test point and the outer point and the line intersects a polygon of the polyhedron. The state of the sub-segments of the line (inside or outside the polygon) will vary based on the intersection with the mesh polygon segment and the UBP that includes the PAU. In the case of first order wedges, there is no need for the first order wedges to intersect with other wedges to form corresponding UBPs (since these first order wedges cannot intersect with other wedges on their unshielded sides). Furthermore, because only those PAU faces that lie within the test point view unit axis can intersect the test line segment, it is not necessary to construct an entire PAU to complete the test.
Following step 2160, process flow proceeds to process 21-1, which begins at step 2165 (FIG. 21B).
In decision step 2165, the results of the point containment test (step 2160) of the modified polygon are checked.
If it is determined in decision step 2165 that the test point is occluded, process flow proceeds to step 2175 where the overall process returns the result of the DM _ SEG of the test being occluded. The result is returned to step 2063 in fig. 20.
If it is determined in decision step 2165 that the test point is not occluded, process flow advances to step 2170 where the overall process returns the result that the DM _ SEG of the test is not occluded. The result is returned to step 2063 in fig. 20. The process flow terminates at step 2170 and step 2175.
The methods of fig. 19, 20, and 21 construct conservative first order visibility maps from the view cell. The method utilizes a Conservative Linearized Umbral Event Surface (CLUES) incident on the first-order silhouette edge and determines whether the corresponding discontinuity mesh segment is actually an occlusion boundary (segment of PAU) as seen from the view unit.
In this method, according to some embodiments, the connection structure of the ghost DM boundary is used to significantly speed up the determination of whether a DM boundary is an occlusion boundary (corresponding VM edge) as seen from the view cell. The visibility state (occluded or not occluded from the view cell) of a structure (e.g., a DM polyline) may change only when the structure intersects with a visibility event surface. For a DM ambiguous line, this only occurs if the DM ambiguous line intersects another DM ambiguous line. Between these intersections, the visibility state of the DM ambiguous line does not change. Thus, in order to determine the visibility states of a plurality of segments of the DM ambiguous line between the intersections, only the state of one segment needs to be determined. For adjacent segments between the intersections of the DM ambiguity lines, only potentially occluded/exposed event faces are generated. This is ensured by an axis between each DM ambiguous line segment and the viewcell to determine if there are any unprocessed, potentially occluded geometries in that axis. As with all axis testing in this embodiment, a simple hierarchical spatial organization of the database of geometries can ensure o (nlogn) performance.
In general, the output-sensitive construction of a conservative linearized umbral visibility graph employs the following method: it uses a traversal of abrupt contour contours and occlusion boundaries from a polygonal mesh 2-dimensional manifold (embodied in 3D) to a manifold. This traversal effectively cascades the flow through to contour contours on other manifolds that intersect the visibility event surface (wedge/UBP) in a manner that achieves output-sensitive visibility cascading.
FIG. 21C illustrates classifying PVS polygons in terms of strongly visible, non-occluded, or always-on-front pairs.
According to some embodiments, the PVS consists of visible polygon segments of a conservative visibility graph generated by the 3D traversal method of fig. 20 and related figures and the alternative embodiment of fig. 26 using UBP. Alternatively, the PVS is derived from the ghost discontinuous grid method of fig. 12.
Regardless of which embodiment is used, PVS polygon segments generated using the visibility from viewcell of the object space of the present method are conveniently classified based on their visibility relationship to the viewcell.
In some implementations, the process shown in FIG. 21 begins at decision step 2180 to determine whether the polygons of the visibility map are strongly visible from the viewcell. In some embodiments, the polygons that are strongly visible from the view element are defined as the following polygons: the 3D axis between this polygon and the view element contains no other polygons. In some embodiments, this determination is made during the visibility map construction process (fig. 20) for each polygon segment. Thus, if the identification is made as shown in step 2183, the strong visible identification (step 2180) may be marked as "no z compare" during construction of the VM. If the triangle is not strongly visible, process flow advances to step 2184 where no triangle is marked.
Any polygon so marked can then be rendered without the need to compute a Z-compare operation in the Z-buffer for that polygon, as it will not be occluded by any other polygon as long as the viewpoint is in the viewcell that constructs the VM/PVS.
In a subsequent decision/classification step 2185, it is determined whether the polygon in the VM is located in the polygon-view cell axis of any other polygon in the VM. If the current polygon is not located in the polygon-view cell axis of any other polygon in the VM, then processing proceeds to step 2187, which marks the polygon as "no z-writes". Otherwise, process flow advances to step 2186 where no triangles are marked.
Polygons in the polygon-view cell axis that do not lie in any other polygon in the VM cannot occlude any polygon in the VM/PVS, so rendering the polygon without z-compare or z-write can significantly reduce the cost of rendering the polygon.
Finally, each polygon in the VM/PVS may be classified by a decision/classification step 2190 that determines whether the plane of the polygon intersects the viewcell. If it is determined in decision step 2190 that the plane of the polygon does not intersect a viewcell, then the process proceeds to step 2190, which marks the VM/PVS polygon as "no backface culling".
These polygons cannot be back-side from any viewpoint in the viewcell used to construct the VM/PVS. Thus, no backface culling is required during rendering of polygons in the PVS having the mark, thereby reducing the cost of rendering the polygons. If the test of step 2190 determines that the plane of the triangle intersects the viewcell, then the process proceeds to step 2190 and the triangle is not marked.
Fig. 22 is a flowchart showing a control process for a 3D mesh traversal method for constructing a back-projected visibility map seen from a silhouette edge for determining Visible Support Viewcell Vertices (VSVV) and visible support viewcell silhouette contours (vsscs) seen from the silhouette edge.
The foregoing methods of fig. 19, 20 and 21 use only a first order, conservative, linearized umbral surface (CLUES) incident on a first order contour edge as viewed from the viewcell.
In the methods of fig. 22, 23 and 24, the first order CLUES is "tuned" to more accurately reflect the higher order visibility intersection seen from the viewcell.
In some embodiments, the method uses a focused conservative backprojection method to identify conservative (looking at the silhouette edge) Visible Support Viewcell Vertices (VSVVs) on which high-order wedges are constructed. In some embodiments, this "adjustment" of the wedge only applies to the following cases: the Supporting Viewcell Vertex (SVV) used in the construction of the first order wedge of the initial forward projection is occluded by the supported silhouette edge. Otherwise the first order event surface (wedge) is accurate.
Typically, this adjustment is applied only to those portions of the first order wedge that are not accurate. Those portions of the first order SV-ME wedge that are not exact correspond to those portions of the supported silhouette edge that are occluded by the Support Viewcell Vertex (SVV). These portions are readily determined by examining the support triangle formed between the contour edge of the wedge and the SVV.
Similarly, the imprecise parts of the first order SE-MV wedge correspond to these parts of the wedge: the Support Viewcell Silhouette Contour (SVSC) is occluded from view of the supported mesh silhouette vertices. The portion is also determined by examining the supporting swept triangle between the mesh contour vertices of the wedge and the SVSC segments.
Generally, in the present methods of fig. 22, 23 and 24, adjustments to first order SV-ME wedges are determined by a back-projection method using the supported contour edges of the wedges as light sources, and a region-wise-looking 3D mesh traversal visibility cascading method is applied to construct a conservative edge-wise-looking visibility map on the view element plane. The visibility map may include Visible Support Viewcell Vertices (VSVVs) (viewed from the edge), using VSSVVs instead of SVVs to support corresponding high order wedges. Each side-looking backprojected visibility map on the view cell surface may have a corresponding visible support view cell contour (vsvsvssc).
Likewise, in first order visibility, adjacent SV-ME wedges may be connected via SE-MV wedges formed by swept support triangles supported by extended visual element support visual element contours (SVCs). To "tune" the first-order SE-MV wedges incident on the mesh contour vertices, the visible support view cell contour contours (vsvcs) are also determined by backprojection: a visibility map is constructed for the viewcell as seen from the silhouette edge. The back projection method uses silhouette edges that share mesh silhouette vertices as light sources. As detailed in the remainder of this description, the construction of a high order SE-MV wedge connecting two adjacent high order or "trimmed" SV-ME wedges depends on the relationship of the two VSVCS corresponding to the SV-ME wedge, as determined in the backprojection process.
The purpose of the edge-looking backprojection method of fig. 22, 23 and 24 is therefore to construct a visibility map for the viewcell from the contour edge, from which the corresponding high order wedge is derived. In some embodiments, the conservative visibility graph is constructed using a variation of the visibility cascading 3D mesh traversal method that has been discussed in conjunction with fig. 19, 20, and 21. While the methods of fig. 19, 20, and 21 use a view cell as the visibility source, the methods of fig. 22, 23, and 24 use a specific first-order contour edge (or segment of an edge) as the "source" or view to address the visibility issue. Because both are visibility issues from the zone perspective, there is a significant similarity between the corresponding processes (and corresponding graphs).
An important difference between the front projection visibility solution from view unit and the back projection visibility method from edge is: while the front projection method must account for all of the from-view visibility, the back projection method only determines the from-contour-edge visibility that is potentially the from-edge visibility of the shadow cells. Therefore, the back projection problem seen from the silhouette edge is limited to an axis formed between the silhouette edge and the viewcell.
3D mesh traversal for backprojection: method for only adopting orthographic projection-unblocked triangle
In one implementation of the method, only those triangles/segments that are visible in the front projection (seen from the viewcell) are used in the back projection. In this method, the triangles visible in the forward projection reverse their plane orientation relative to the back projection calculation. Typically, the front projection silhouette edge and the back projection silhouette edge (when viewed from the mesh silhouette edge as the "source" point for back projection) are the same edge. In this case, there is virtually no forward projection facing the rear projection shadow edge (first order silhouette edge) -an unobstructed triangle before the orientation reversal is applied.
In other cases, not all of the orthographic visible grid elements may be paired back with respect to the re-projected source edge. In these cases, if the orientation of the triangle is reversed, it becomes a back pair with respect to the rear projection shadow edge. This would make it back-to-back with respect to the source, creating a mesh using triangles with inconsistent orientations. In this case, triangles that develop a back pair orientation relative to the back proxels will be removed from the mesh.
Failure to include potentially occluded geometry in the backprojection can reduce the accuracy of the VSVV and wedge related adjustments calculated. But still ensures a conservative result because the elimination of any potentially occluded geometry would only make the VSVV calculated a more conservative estimate of SVV. Furthermore, by employing only back-projection-visible triangles, the cost of the back-projection process is significantly reduced, since the relevant front-projection-visible triangles are already determined when the back-projection process is initiated for a particular mesh silhouette edge.
In this method, the grid elements visible for the forward projection are actually used as virtual occlusion for calculating the back projection.
Thus, in step 2205 a seed 3D mesh is selected, the selection being made from a set of meshes visible (not occluded) in the forward projection.
3D mesh traversal for backprojection: contour edge retraction at high order visibility
In one embodiment of the method, the backprojection is determined from only those backprojection sources (in this case mesh silhouette edges) that are the vertices of the first order silhouette in the forward projection (when viewed from the viewcell). In this implementation, only those wedges attached to the first order forward projection silhouette vertices are "adjusted" by backprojection to reflect the visibility of the higher orders with respect to the plane. The adjusted wedges remain attached to the original mesh silhouette edges.
In fact, when viewing any edge from VSVV as a first order forward projected contour edge (when viewing from SVV), the edge is no longer a contour edge because the two triangles that share the edge are opposite back with respect to VSVV. In such a case, the front projection silhouette (rear projection source) is effectively obscured from view by the viewcell. In this case, the actual (exact) umbral event surface as seen from the zone is not supported by the orthographic projection profile edges but by the edges located closer to the viewcell on the same 2-manifold. This migration or "retraction" toward the viewcell, first order from the viewcell silhouette edge, is a potential effect of high order visibility as determined by back projection. Failure to account for this contour migration may in some cases reduce the accuracy of the calculated VSVV and corresponding adjustment of the wedge. However, because the adjusted visibility event surface (in this case, the wedge) attached to the forward projected first order silhouette edge always produces a more conservative native event surface than the corresponding event surface attached to the retracted silhouette.
By keeping the adjusted wedge attached to its original first-order forward projected contour edge, the "support segment" of the adjusted wedge between the contour edge and the vssv can potentially violate the "local visibility" of the mesh in which it is located by penetrating the mesh plane. In such a case, precisely, contour edges may tend to migrate toward viewcells such that more closely connected edges of the mesh produce adjusted wedges that do not violate local visibility, and such adjusted wedges become "precise" contour edges.
To keep a conservative adjustment wedge attached to its original first-order forward projection contour edge, the backprojection process is designed to prevent violations of local visibility by adjusting the wedge. This occurs in the following cases: the adjustment wedges are derived from orthographic projection of the first order contour edges such that the wedges are located inside the mesh triangle 2-manifold. This is a 2-manifold self-occlusion type that can be prevented by forming all the mesh elements (in this case triangles) of the connected components with the orthographic silhouette edges, where the connected components lie entirely within the axis between the viewcell and the edge. In some implementations, a simple triangle mesh traversal may be used that starts at an edge and ends when a triangle intersects an axis boundary. These mesh elements are those that can produce a type of self-occlusion that causes retraction of the silhouette edge. By identifying and eliminating these elements from the backprojection determination, the backprojection produces a conservative "adjusted" wedge that remains attached to the original forward projected edge, but its interpretation makes the SVV a high-order visibility effect that is occluded from the silhouette edge.
Thus, step 2205 of FIG. 22 selects seed 3D mesh elements for backprojection, without regard to those mesh elements that could potentially cause self-occlusion of the backprojection-source silhouette edges.
The method also simplifies implementation in the case of visibility with wedges using 2D mesh traversal, as discussed in connection with fig. 17. Even greater simplification is achieved when the method is used in the present case of viewability from viewcell using 3D mesh traversal. By employing this approach in the case of 3D mesh traversal, the event surfaces (wedge polygons) remain attached to the original first-order orthographic projection contour contours to ensure the construction of continuous, conservative, area-wise seen silhouette boundary surfaces.
Again, alternative embodiments are possible: the retraction of contour edges is programmed by interpreting self-occlusion. For example, one method of finding a "retracted" silhouette edge calculates a back-projection from an initial projection, a first order silhouette edge, and determines whether a wedge corresponding to the calculated VSVV violates local visibility. If local visibility is violated, the select silhouette edge is not actually visible from the viewcell when considering high order effects, and the adjacent edge closer to the viewcell is used as a backprojection shadow source to determine if the wedge (corresponding to the VSVV of the new candidate edge) violates local visibility. This process may be repeated until a wedge is encountered that does not violate local visibility. The wedge is used as a tuned, high order wedge.
In general, although the added complexity of the backprojection process can be significant, the amount of additional from-region occlusion resulting from the retraction of the silhouette edge alone is typically small. Keeping the forward projection wedge fixed to the original forward projected first order silhouette edge and calculating the "adjusted" wedge incident on the same silhouette edge (corresponding to VSVV) by backprojection is one way to account for most of the high order visibility effects at a very small incremental cost.
As highlighted previously, the high-order back projection adjustment is only applied when the original SVV is occluded from the first-order silhouette edge or segment thereof. In some further embodiments, a measurement is employed to determine the maximum possible deviation between the first order wedge and the corresponding adjusted higher order wedge. For example, the angle formed by a first order wedge (contained on the support plane) and the corresponding separation plane located between the contour edge and the viewcell is the largest possible angular deviation between the first order wedge and the higher order wedge; because of the use of this method, the high order wedge can lie in the separation plane in the limit case (if VSVV is the separation point). This angle naturally tends to decrease with increasing distance from the viewing element (the viewing zone appears more "sharp" from the rear projection source). Thus, the high order visibility effect determined by the back projection method becomes less important at greater distances from the viewing zone. The angle metric can be used to determine whether a higher order effect should be calculated for a given forward projected first order silhouette edge.
Returning now to FIG. 22, the control process (step 2215) that invokes the main portion of the backprojection 3D traversal is discussed. The method shown in fig. 22 is very similar to the previously described method of controlling back projection from vertices (2D mesh traversal) shown in fig. 14, except that it is similar to the method of controlling 3D mesh traversal from viewcell (fig. 19).
The process of initiating, reinitiating and stopping the master-slave silhouette edge look backprojection 3D traversal process is illustrated by the flow chart shown in fig. 22, which is shown in detail in fig. 23 and described in detail in the remainder of this specification.
In some implementations, the process shown in fig. 22 begins at 2205, where a "seed" triangle is selected to initiate a 3D mesh traversal process from the silhouette edge for a single silhouette edge, as shown in step 2205. When in the orthographic projection process, selecting an initial seed triangle that is likely to expose an occlusion accelerates the process.
In step 2205, only those triangular meshes that lie in the axis between the contour edge and the view cell (SILE-VC axis) are seed mesh candidates.
Process flow advances to step 2210 to identify containment segments of the 3D seed mesh by intersections of the boundary polygons of the edge-view cell axes and the seed mesh triangles.
When the seed 3D mesh and the containing segment on the seed mesh are identified, then the process flow proceeds to step 2215 to invoke the main process of backprojection 3D mesh traversal. An embodiment of the main 3D mesh traversal process for backprojection is shown in fig. 23.
Process flow advances to decision step 2220 to determine whether there are triangles that have aborted the main portion of the 3D mesh traversal. If there are no aborted 3D mesh triangles, process flow advances to step 2225 where the 3D mesh traversal is terminated, completing the construction of the 3D visibility graph with respect to the viewcell.
If it is determined in decision step 2220 that there are 3D mesh triangles for which the main 3D mesh traversal has been aborted (in step 2330 of FIG. 23), process flow proceeds to decision step 2230 to determine if there are any triangles in the axis formed by the aborted Triangles (TRI) and the source contour edge (SILE).
If it is determined in decision step 2230 that there are no triangles in the axis between the current triangle and the source outline edge (SILE), process flow proceeds to step 2255 to construct a containment segment on the 3D triangle mesh formed by the triangles connected to the current stopping triangle.
Process flow advances to step 2260 to reinitiate the 3D mesh traversal for the previously aborted triangles.
If it is determined in decision step 2230 that there is a triangle in the axis between the current triangle and the source contour edge, process flow proceeds to step 2235 to determine if there are any non-traversed triangles in the TRI-SILE axis.
If it is determined in decision step 2235 that there are non-traversed triangles in the TRI _ SILE axis, process flow proceeds to step 2240 where the 3D mesh is traversed "jumps" or re-launched over the closer non-traversed triangles in the TRI _ SILE axis. This step, which also occurs in step 2330 of the backprojection main 3D traversal process shown in fig. 23, ensures that all potentially occluded triangles are processed before traversal continues and before a decision is made to stop traversal (since the aborted triangles are completely occluded from the source side).
If it is determined in decision step 2235 that there are no non-traversed triangles in the TRI-SILE axis, process flow proceeds to step 2245 to determine if the point on the current (break) triangle lies within any polyhedral aggregate Primitive (PAU) representing one or more polyhedral volumes that are occluded from the source-outline edge. In some embodiments, this test can employ the point containment test of a modified polyhedron shown in FIG. 25. The point containment test of this modified polyhedron uses a first order event face (first order wedge); and optionally, a high-order primitive boundary polygon (UBP). This test allows an implicit solution to the point containment test for polyhedrons without having to construct the entire polyhedron/polygon.
If it is determined in decision step 2245 that the point on the terminating triangle is located within the PAU, process flow proceeds to step 2250 to reinitiate the traversal for the terminating triangle and no longer mark the terminating triangle as aborted.
If it is determined in decision step 2245 that the terminating triangle is not located within any PAU, process flow proceeds to step 2255 where the containment segment of the associated 3D mesh is constructed and traversal is reinitiated as previously described.
As shown in fig. 22, process flow terminates at steps 2225, 2240, 2250 and 2260.
Fig. 23 is a flow chart illustrating the main process of the 3D mesh traversal method for constructing a backprojection for determining the Visible Supported Viewcell Vertices (VSVV) and visible supported viewcell contour (vsvsscs) seen from a silhouette edge.
The main process of the backprojection 3D mesh traversal visibility cascading method from silhouette edge is somewhat similar to the 3D mesh traversal process from viewcell (fig. 20).
Turning now to fig. 23, in some embodiments, the primary backprojection 3D mesh traversal process begins with a flood fill traversal or breadth-first of manifold triangles or other polygon meshes as shown in initial step 2305. The initial triangle that initiates the entire process is used in the control process shown in the flowchart of fig. 22.
The back projection process from the silhouette edge can be applied to the entire first-order silhouette edge. Furthermore, each first order contour edge (sil) can be subdivided and a back projection calculated for each sub-segment. The method is employed in adaptive refinement of individual contour edges, where a single conservative wedge is refined to produce a conservative linearized visibility event surface that converges to an accurate visibility event surface (typically a quadratic surface) incident on the contour edge. In fig. 22, 23 and 24, a contour edge (sil) may refer to a single first-order contour edge or a sub-segment thereof.
As previously mentioned, in one embodiment, the mesh is a manifold triangle, where each edge is shared exactly by two triangles. Other definitions of the mesh are possible, including a mesh that is not closed. The intersection of mesh triangles with wedges or UBPs may produce more complex mesh polygons. These more complex polygons can be converted into triangles using established polygon triangulation. The triangular mesh is represented as a directed graph. This method is also suitable for mesh polygons in addition to triangles, but the use of triangles simplifies the traversal method. The method of fig. 23 employs a manifold triangle mesh with each edge precisely shared by two triangles.
Step 2305 indicates a traversal to mesh triangles. Traversal may be in breadth first or flood fill order. Using breadth-first triangle mesh traversal, the traversal expands outward from the initial triangle to form a layer of traversed triangles. Triangles connected by non-contour edges are said to belong to the same "traversal".
Other traversal orders are possible. Selecting a triangle for initiating traversal of one or more polygon meshes does not affect the output of the traversal. However, by selecting an initial triangle that is fully visible and near vision unit, the process is easier to perform better. In holding the graph traversal process, step 2305 represents that the traversal is limited to non-traversed triangles in the mesh.
Process flow advances from step 2305 to decision step 2310 to determine whether there are any unretraversed triangles within the 3D axis formed by the current triangle and the source contour edge (this axis is referred to as the TRI-sil axis). If there are one or more non-traversed triangles in the axis, process flow lines continue to step 2330 where the traversal immediately jumps to a closer non-traversed triangle. In one embodiment, the mesh polygons are organized using a hierarchical spatial subdivision structure. This enables the axis test of step 2310 to quickly identify large groupings of previously traversed mesh polygons.
Step 2330 actually performs strict front-to-back grid element processing for the current grid or grid objects. The process of jumping the traversal to a closer potentially occluded triangle can produce an endless loop due to the loop overlap of the triangles. Such loops are also encountered in the Weiler-Atherton visibility algorithm and can be detected and eliminated by maintaining a directed graph representation of overlapping relationships. Embodiments of the method are set forth in and discussed in detail in connection with fig. 13.
Step 2330 ensures that event faces on closer non-traversed triangles in the triangle X-outline edge (TRI-sil) axis originating from the current triangle are identified and constructed prior to traversal of the current triangle. These event faces may be occlusion boundaries seen from the viewcell (determined for these closer silhouette edges in steps 2345-2368), which may actually limit the traversal of the current triangle (step 2335). By forcing a jump to a closer non-traversed triangle/silhouette edge, step 2310 ensures that any occlusion boundaries seen from the silhouette edge that may restrict the current triangle traversal are constructed prior to the current triangle traversal. Process flow terminates at step 2330.
If there are no non-traversed triangles in the TRI-SILE axis, process flow proceeds to decision step 2315 to determine whether the current triangle being traversed contains occlusion boundaries or containment boundaries as seen from the silhouette edge ("from-SILE") (indicating containment in SILE-VC). The shading Discontinuity Mesh (DM) segments typically form an ambiguous line at the intersection of a mesh triangle and a wedge. Each DM segment is the intersection of a wedge and a triangle, where the segment is seen from the supporting source element (point or edge) of the wedge and is visible through the supported outline element (point or edge) of the wedge. This is referred to as the visible intersection of the "about the wedge". The intersection is a segment of a conservative umbral discontinuity mesh and may or may not be a Polyhedral Aggregate Umbral (PAU) edge. These visible segments for wedges comprise the ambiguous lines of the conservative linearized umbral discontinuity mesh. These ambiguous lines may or may not be the actual occlusion boundaries seen from the source (in this case from the silhouette edges) (which boundaries separate the polygon segments that are conservatively visible from the source (sil) from the polygon segments that are occluded from the source, with the size of the volume of interest conservatively underestimated).
The from-source occlusion boundary encountered in step 2315 is a Discontinuity Mesh (DM) ambiguous line segment that has been determined in step 2363 to be a from-view occlusion boundary. Details of step 2363 are given later. Step 2363 determines which DM ambiguous line segments are occlusion boundaries from the silhouette edge, and step 2363 is performed before occlusion boundaries from the viewcell are actually encountered at a subsequent step 2315.
The visible intersection of a mesh triangle with a wedge "about the wedge" represents a segment of the umbral discontinuity mesh that may or may not correspond to the Occlusion Boundary (OB) as seen from the contour edge. Each DM ambiguity line is determined as a region-seen occlusion boundary (or not determined as a region-seen occlusion boundary) and stored with the DM ambiguity line in step 2363. Because each DM ambiguous line is processed by step 2363 before it is encountered in step 2315, information for the decision in step 2315 has been previously determined in step 2363 and stored for the DM ambiguous line segment encountered.
If it is determined at decision step 2315 that the current triangle contains an Occlusion Boundary (OB) segment or contains a boundary segment, process flow proceeds to step 2335 to interrupt the current 3D mesh traversal at the OB segment (OB SEG) or occlusion boundary. Traversal may continue through other non-OB segments of the triangle. Process flow advances to step 2335. In a further embodiment, process flow proceeds from 2335 to process 23-1, which returns process flow to step 2325.
If it is determined at decision step 2315 that the current triangle does not contain an OB segment, process flow advances to step 2320 to determine whether the current triangle has a contour edge. In some embodiments, this determination is based on the test for first-order edge-from-edge silhouette edges shown in FIG. 3.
If it is determined in decision step 2320 that the current triangle does not have a silhouette edge, process flow advances to step 2325 to process the next non-traversed triangle in the breadth-first traversal of the directed graph corresponding to the manifold triangle mesh.
If it is determined in decision step 2320 that the triangle being processed contains a contour edge, then the process proceeds to step 2345, where the breadth-first traversal of the directed graph corresponding to the triangle mesh stops at the contour edge, and the primary wedge incident on the contour edge is constructed using the first order method of the rotation and sweep methods of wedge construction (fig. 1-6). In an embodiment, the constructed primary wedge is added to a list called "wedge _ list". Primary wedges are those that are constructed on the first order profile edge encountered using a rotating and sweeping method. At the time of initial construction, all wedges are initial wedges that have not been further limited by the visibility step with respect to the wedge. In some embodiments, the configuration of the initial primary wedge in step 2345 corresponds to the initial primary wedge configuration (output insensitive method) shown in step 1210 in fig. 12.
The following alternative embodiments are possible: the first order wedge (constructed in step 2345 and then step 2360) is constructed not using the rotation and sweep method of the present invention but instead using a less precise method of extending the SV-ME wedge planes to an intersection (as described by Teller et al in 1992).
Process flow proceeds from step 2345 to step 2350, where the wedge in the "wedge _ list" is selected and submitted to process steps 2355 through 2368.
In the first step of the processing of wedges in the "wedge _ list", step 2355, the visible segment of the mesh triangle that intersects the wedge is determined with respect to the wedge. In some embodiments, the determination uses the following process: all mesh triangles are intersected with each wedge, and then Weiler-Atherton is used to determine the visibility of 2D with respect to the wedges. This method is used in the prior art discontinuity mesh method and in the simpler output insensitive conservative eigen discontinuity mesh method of figure 12. Alternatively, a more efficient output-sensitive 2D mesh traversal solution to this visibility problem with wedges is given in fig. 15. Process flow advances from step 2355 to step 2360 where the Compound Silhouette Vertex (CSV) incident on the wedge being processed is identified as any wedge-related visibility intersection of the wedge with a first order silhouette edge from the view cell.
Each CSV is a visible intersection of a wedge with a first order contour edge with respect to the wedge. These points correspond to the t-junctions of the corresponding composite contour seen from the zone. The compound silhouette contour is formed from silhouette edges that may not be directly connected by vertices on the original manifold.
Further in step 2360, a SE-MV wedge is constructed on each of the identified CSVs. These wedges derived from CSV are called secondary wedges. These wedges are constructed using the rotating and sweeping operations of the sweeping method of the wedge construction. In some embodiments, all of the wedges generated in this step are of the SE-MV type generated in the sweep process. These wedges are in the form of a continuous, conserved figure that connects the SV-ME wedges that intersect at the corresponding CSV. Alternatively, two SV-ME wedges may be extended to intersect to form a boundary that is less precise but still conservative.
Alternative embodiments are possible that employ a wedge configuration by extending adjacent SV-ME wedges to an intersection. In this implementation, the SE-MV wedge is not constructed.
As previously defined, each CSV corresponds to the intersection of a wedge with another wedge supported on the intersecting contour edge. These wedges intersect at the CSV point.
Furthermore, if two SV-ME wedges that intersect at a CSV rotate to the same contour edge vertex, the two wedges intersect exactly at their edge and no new SE-MV wedge is constructed.
All secondary wedges (incident on the CSV) constructed in step 2360 are added to the "wedge _ list". Which means that they will eventually be processed by step 2355 to find a visible segment about the wedge.
Process flow advances from step 2360 to decision step 2363 to determine whether the DM _ SEG is occluded from all other "portions" of the corresponding contour edge (silk) except the vertex supporting the wedge containing the DM _ SEG. An embodiment of this test is disclosed in fig. 21. Briefly, this test involves intersecting the DM _ SEG with all potentially intersecting wedges that have been constructed, and then determining whether the resulting sub-segment lies within the PAU as seen from the source (in this case from the contour edge) by a modified point containment test of the polyhedron.
If DM _ SEG is otherwise occluded from all other parts seen from the edge of the outline (except the SVV of the wedge supporting DM _ SEG), then DM _ SEG is the actual occlusion boundary seen from the edge of the Outline (OB) corresponding to PAU seen from the edge.
Thus, if it is determined in decision step 2363 that DM _ SEG is otherwise occluded from the SILE (using the process of FIG. 21), process flow advances to 2368 where DM _ SEG is added as OB _ SEG to the intersecting triangle.
On the other hand, if the DM _ SEG is not otherwise occluded from all other parts of the SILE, then the DM _ SEG is not an actual edge-seen Occlusion Boundary (OB) and the process flow proceeds directly to step 2370 to determine whether any unprocessed wedges remain in the "wedge _ List". If it is determined at decision step 2370 that an unprocessed wedge remains in the wedge list, process flow returns to step 2350.
On the other hand, if it is determined in step 2370 that there are no unprocessed wedges remaining in the wedge list, process flow proceeds to step 2380 to determine if there are any unprocessed triangles in the current "traversal" (the set of triangles connected to the current triangle by non-silhouette edges). If it is determined at decision step 2380 that there is an unretraversed triangle in the traversal (the set of triangles connected to the current triangle by non-silhouette edges), then the process flow proceeds to step 2325 where the next unretraversed triangle is processed.
If it is determined in decision step 2380 that there are no non-traversed triangles in the traversal, process flow advances to step 2383 where the triangle that intersects the OB generated in the current traversal is identified and re-triangulated using the intersecting OB segments. This step can effectively limit 3D mesh traversal to occlusion boundaries that are subsequently encountered in step 2315, thus limiting traversal to non-occluded regions, further enhancing the output sensitivity characteristics of the method.
Process flow proceeds to step 2385 to continue the 3D mesh traversal on the unoccluded side of the OB segment according to the traversal of the birth light. Since a wedge from one 2-manifold can produce an OB-point that lies on a different (unconnected) 2-manifold, this means that the traversal continues over the newly connected manifold (part of the PAU) formed by the "occlusion blending" of the two manifolds achieved by the wedge lines at the OB segment. Process flow terminates at step 2385.
As previously mentioned, in one embodiment of the method, the entire set of triangular mesh objects is contained by the closed mesh objects. The closed mesh object resembles a "sky box" that is typically used to surround the mesh object for interactive visualization applications. In the back projection method from the contour edge to the view cell of fig. 23, the view cell itself is regarded as a triangular manifold in a similar manner to the sky box object. Using viewcells as triangular manifolds keeps the current approach output sensitive because only the encountered unobstructed meshes (in the sil-VC axis) are processed, with each mesh in the axis being processed. Of course, the method naturally identifies the unobstructed regions of the viewcell itself from which VSVVs and vsvcs are determined.
An alternative embodiment of the backprojection process uses only SV-ME backprojection (from the grid contour edge) wedges. In this method, the back projected SV-ME wedges are extended to intersect; extending the planes of the back projected SV-ME wedges to intersect simplifies the resulting back projected visibility map for the viewcell.
Furthermore, just as first order SE-MV wedges can be selectively eliminated by extending the planes of adjacent SV-ME wedges to an intersection, higher order wedges can be conservatively and selectively eliminated by extending the planes of adjacent higher order SV-ME wedges to an intersection.
Fig. 24A and 24B illustrate a process for determining whether a "DM _ segment" is otherwise occluded from a silhouette edge source, for use in a construction of a visibility graph backprojection from a silhouette edge using 3D mesh traversal.
The process shown in FIGS. 24A and 24B implements the query invoked in step 2363 of FIG. 23. That is, it is determined whether the DM _ SEG generated in the back-projection construction from the first-order silhouette edge with respect to the visibility graph of the viewcell is otherwise occluded from the source as seen from the silhouette edge.
The process of fig. 24A and 24B follows the method shown in fig. 21A and 21B, determining whether the DM _ SEG generated in the front projection of the visibility map from view cell in the view cell as-constructed is otherwise occluded from view cell source except that in the case of fig. 24A and 24B the source is a silhouette edge instead of a view cell.
Turning to fig. 24, in some embodiments, the test begins with decision step 2410, where the 3D axis between the DM _ SEG and the contour edge being tested (DM _ SEG-sil axis) is taken.
If it is determined in decision step 2410 that there are non-traversed triangles in the DM _ SEG-SILE axis, process flow proceeds to step 2415 where the process is aborted and the main portion of the forward projection 3D mesh traversal process jumps to closer non-traversed triangles in the DM _ SEG-SILE axis. This jumping ensures that all potentially occluded geometries that can affect the state of the DM _ SEG as an occlusion boundary seen from the SILE are identified and processed before proceeding to actually determine whether the DM _ SEG is an Occlusion Boundary (OB) seen from the SILE.
If it is determined in decision step 2410 that there is no un-traversed triangle in the DM _ SEG-SILE axis, process flow advances to step 2420 where the DM _ SEG intersects other wedges in the DM _ SEG-SILE axis. The intersection may subdivide the original DM _ SEG into a plurality of DM _ substregs, each having uniform visibility from the silk.
Process flow advances to step 2425 to determine whether the current DM _ SEG (or DM _ substreg) is directly connected to DM _ SEG or DM _ substreg for which a visibility state from sil has been determined (whether otherwise occluded or otherwise unoccluded).
If it is determined at decision step 2425 that the current DM _ SEG or DM _ SUBSEG is directly connected to the DM _ SEG or DM _ SUBSEG for which the occlusion status from SILE has been determined, process flow advances to step 2430.
In step 2430, the current DM _ SEG or DM _ substreg is set to the same state as the DM _ SEG or DM _ substreg that has a known visibility state from the silk and is directly connected to the current DM _ SEG or DM _ substeg, and the state is returned to the calling function.
If it is determined at decision step 2425 that the current DM _ SEG or DM _ SUBSEG is not directly connected to DM _ SEG or DM _ SUBSEG with a known visibility state from SILE, process flow advances to step 2435 where a point on DM _ SUBSEG is selected, and process flow advances to step 2440 to form an axis between the point selected at step 2435 and SILE, and process flow advances to step 2445 where all wedges in the DM _ SEG-SILE axis are identified and placed in the list "wedge list" for subsequent processing. These wedges are the wedges generated in steps 2345 and 2360 of fig. 23 (main 3D mesh traversal process that generates forward projected first order wedges).
Process flow advances to step 2448 where each wedge in the "wedge list" is processed by the subsequent step.
Process flow advances to step 2450 where for each wedge in the "wedge list" it is determined whether the wedge is a first order wedge or a higher order wedge.
The main 3D mesh traversal process of fig. 23 generates first order wedges using the swept and rotated construction of the wedges at steps 2345 and 2360. The high order wedge may be optionally constructed using a forward projection process discussed in detail in connection with fig. 22, 23, and 24 in a later portion of this specification.
If it is determined at decision step 2450 that the wedge is a high order wedge, process flow advances to step 2455.
On the other hand, if it is determined in decision step 2450 that the wedge is not a high order wedge, process flow proceeds directly to step 2458.
At step 2455, the actual ghost boundary polygon (UBP) corresponding to the high order WEDGE as viewed from the SILE is constructed by intersecting the high order WEDGE with all other WEDGEs and UBPs located in both the WEDGE-SILE ("WEDGE-SILE" WEDGE-SILE) axis and the point-SILE axis. For the high order wedge identified in step 2450, the process effectively constructs the portion of the corresponding UBP that lies within the point-sil axis. UBPs may be constructed from corresponding wedges by intersecting the corresponding wedge with all other wedges/UBPs located in an axis formed between the wedge and the viewcell. In some embodiments, only sub-regions of the UBP, i.e., the portion located in the point-sil axis, are constructed to answer the point containment test of the modified polyhedron, which is a subsequent step 2460 of the process. After step 2455, process flow advances to decision step 2458 to determine whether the wedge list is empty. If the "wedge list" is not empty, process flow proceeds to step 2448 where the next wedge in the "wedge list" is subjected to subsequent processing.
If it is determined at decision step 2450 that the wedge is a first order wedge, process flow proceeds directly to decision step 2458, described above.
If it is determined in decision step 2458 that the "wedge list" is empty, process flow advances to step 2460 to test the point containment of the polyhedron modifying the DM _ SUBSEG point selected in step 2435 to determine if it is otherwise occluded as seen by SILE.
An embodiment of the point containment test of the modified polyhedron is shown in FIG. 25 and discussed in detail in connection with this figure. Briefly, the point containment test of this modified polyhedron determines whether the test point is located inside the PAU as seen from sil. This test is somewhat similar to the point containment test of a conventional polyhedron in selecting a second point known to be located outside the PAU (in this case, a point located on sil). A line segment is constructed between the test point and the outer point and the line intersects a polygon of the polyhedron. The state of the sub-segments of the line (within or outside the polygon) will change based on the intersection with the mesh polygon segment and the UBP that includes the PAU. This test is somewhat simplified in the case of first order wedges that do not have to intersect other wedges to form corresponding UBPs (because they cannot intersect other wedges located on their unobstructed side). Furthermore, in some embodiments, because only those PAU faces that lie within the test point-view unit axis can intersect the test line segment, the entire PAU is not constructed to complete the test.
Process flow advances from step 2460 to process 24-1, which begins at step 2465 (FIG. 24B).
In decision step 2465, the results of the point containment test of the modified polyhedron are checked (step 2460).
If it is determined in decision step 2465 that the test point is occluded, process flow advances to step 2475 where the overall process returns the result that the tested DM _ SEG is occluded. The result is returned to step 2363 in fig. 23.
If it is determined in decision step 2465 that the test point is not occluded, process flow advances to step 2470.
In step 2470, the overall process returns the result that the DM _ SEG under test is not occluded. The result is returned to step 2363 in fig. 23. The process flow terminates at 2470 and 2475.
FIG. 24C: a conservative visible support view cell contour (vsvsvsvssc) containing VSVVs corresponding to adjacent contour edges is constructed using a back-projected visibility map from contour edge.
After constructing the back-projection visibility map as seen from the contour edge for a specific contour edge sub-segment, VSVV is determined by the processing examples shown in fig. 22, 23, and 24. Vssv is the point seen from the contour edge at which the support for the visibility map of the viewcell (and the edge or face of the viewcell) from the sil is rotated to the apex of the plane of the viewcell.
If each first order contour edge or segment thereof is subjected to a back projection process, it will produce a corresponding higher order SV-ME wedge incident on the same contour edge or sub-segment modulated or high order SV-ME wedge. The higher order SV-ME is supported by VSVV.
In addition to generating the vssv for each contour edge or sub-segment, the back projection from the contour edge also generates a visible support viewcell contour (vsvsscs) as part of a visibility map for the viewcell.
To construct SE-MVs connecting neighboring higher-order SV-MEs, VSVSVSSCs generated during the edge-wise back-projection of the corresponding contour edges are used.
As previously described, the SV-ME wedge represents the visibility limit of the occlusion along the edge of a polygon containing the supported contour edge. In contrast, the SE-MV wedge does not reflect the same aspect of occlusion at the vertices of the supported contour, since the vertices cannot actually occlude any region-seen source light/visibility. The dots are not able to obscure any area light source. Alternatively, at the inner corners of the contour, the visibility from the region is limited by the light inclusion/viewpoint on the face of the source/view cell. The corresponding SE-MV wedges incident on the vertices of the contour reflect this contained constraint.
In a first order implementation of the present visibility method, the SE-MV wedges are typically constructed only at the inside corner silhouette vertices (and the composite silhouette vertices considered as virtual inside corners). High-order SV-ME wedges may be constructed with one or more SE-MV edges even though the SV-ME wedges are not strictly connected at the inside corners. This occurs, for example, when a single first order contour edge is adaptively subdivided and a respective high order SV-ME wedge is determined for each sub-segment.
The SE-MV wedges connecting adjacent SV-MEs are derived from VSVSVSVSVSCs of adjacent higher order wedges and depend on how the VSVSVSCs intersect each other. In the first order case, the contour edges share a common SVSC, and the contour edges are first subdivided by the intersection with the plane of the viewcell face.
Thus, the structure of vsvsvssc and its relationship to vsvssc from adjacent contour edges determines the set of SV-MVs that connect two adjacent high order wedges at the point connecting the two corresponding contour edges/subsections.
In first order orthographic projection, the actual support viewcell contour (SVSC) used to construct the "swept" first order SE-MV wedge is often a simple convex polyline consisting of 1 to at most about 6 sides of the viewcell.
In contrast, during the backprojection process from the contour edge, the visible support view cell contour (vsvsvssc) inscribed on the view cell may become arbitrarily complex. Depending on the arrangement of the mesh polygons in the axis between the source contour edge and the view cell, vsvsvsvcs can become non-convex polylines or even multiple unconnected polylines with a large number of segments.
Because the goal of the high order backprojection method is to provide simple, conservative high order "tweaks" to the SV-ME wedges and SE-MV wedges that can connect the SV-ME wedges described above, the method employs a number of techniques to minimize VSVSVSVSVSVSSC complexity. These techniques can refine the high-order visibility to improve the accuracy of the first-order results without introducing too many additional event facets.
In an embodiment, two strategies are employed to ensure that vsvsvsscs are avoided in the backprojection process: 1) identification of the following: each vsscs for the connected contour edge are simple and they are simply related and 2) convex simplification of complex vsvcs. First, the first method is discussed.
The two vsvcs corresponding to the connected contour edge (or subdivided sub-segments of the same edge) are often simple and they are simply related. Consider two sub-segments (a and B) of the same contour edge that are subdivided for the purpose of high-order refinement. The SVV of these two segments is the same (definition of the support plane). The VSVV of segment a is likely to be located at the edge of the view cell. If two VSVs are located on an edge of a viewcell (not necessarily the same edge), then the relevant component of the shared, intersecting VSVSVSVs used to generate the SE-MV wedge connecting A and B is part of the original SVSC (edge of viewcell) connection VSVA and VSVB. In this general case, a connecting SE-MV wedge is constructed in a modification of the sweep process, where the sweep is performed between two VSVVs. ( steps 2480 and 2483 of FIG. 24C).
In the previously described case, if VSVVs for both a and B are located on the same side of the cell, and these VSVVs are both produced by the intersection of the backprojected visibility event surfaces that occur on the same intervening (backprojected) silhouette side, then segment a and segment B are located on the region of the original forward projected silhouette side for which the exact, from view cell, native event surface is a quadratic surface produced by the silhouette side, the intervening backprojected silhouette side, and the view cell side. The adaptive subdivision of the region of the forward projected contour edge produces a set of SV-ME wedges and their connected SE-MV wedges that conservatively approximate the quadric and converge to the quadric at the limits of subdivision.
If the VSVs are located on different edges of the view cell (but result from the same intervening backprojection contour edge), the resulting SE-MV wedge (along with the adjacent SV-ME wedge) is a conservative representation of n quadric surfaces, where n is the number of view cell edges between two VSVs. These quadric surfaces are typically connected by shared generator edges. By further subdividing the two contour segments and the backprojection, the set of connected quadric surfaces can be adaptively approximated to the initial sub-segments. The triple tetrahedral wedge or axis test described by Drettakis et al and Durand et al (visibility skeleton) can optionally be used to find the exact connection generator edge boundaries, but this is not required by the present method.
The case of segment a and segment B corresponds to the source-EEE visibility event quadric, an event surface formed by two edges of a polygon mesh and one edge of a view cell, described by Drettakis et al in the description of their complete discontinuity mesh. As specified, the present contour-side-looking backprojection method can easily identify cases corresponding to high-order, S-EEE event surfaces and approximate these surfaces with conservative polygon approximations.
Other adjacent contour edges/segments may result in corresponding vsvcs having corresponding VSVVs that are not located on the edges of the view cell but are internal to the face of the view cell. If both vsvcs are convex and lie on the same face of the viewcell, and one is contained inside the other, a line segment is formed connecting the two vssvs. This line segment forms a swept triangle with shared contour vertices, which yields a conservative SE-MV connecting two adjacent adjusted SV-ME wedges. ( steps 2485, 2487, and 2489 of FIG. 24C).
While some backprojection from the silhouette edge produces vsvcs that are relatively simple, other backprojection from the silhouette edge may produce vsvcs that are complex and have VSVVs that are not on the sides of the viewcell, but rather inside one of the faces of the viewcell. Each vsvsvssc according to the back projection of a connected contour edge may be non-convex and may have unconnected components. Furthermore, vsvsvsscs may even be disjoint. This leaves the sweep operation at the shared contour vertices undefined.
In this case, the SV-MEs (or SE-MVs) supported by adjacent contour edge subsections can be connected by an arbitrarily complex series of SE-MVs, which reflects the complexity of VSVC connecting two VSVs. In fact, two VSVVs may not actually be linked at a VSVC that may have more than one linking assembly.
To simplify the set of SE-MV wedges that connect SV-ME wedges on adjacent segments, the VSVSVSVSVSCSs corresponding to each segment are conservatively simplified. ( steps 2485 and 2491 of FIG. 24C).
This simplification involves finding the VSVV or VSVE for each sub-segment (visible support view cell edge), and then extending the plane of SV-ME or SE-MV correspondingly to bisect the view cell by a plane parallel to the wedge formed by the VSVV or VSVE.
This bisection of the viewcell is performed for each adjacent contour edge segment. Vsvcs for each result have a simple relationship to SVSCs for viewcells: the new viewcell contour is a subset of the original viewcell contour that was plane-cut. This cut original SV-ME wedge incident on the profile edge is converted into an SE-ME wedge because the original SV-ME wedge is supported by the supporting viewcell structure parallel to the respective edge. After bisection of the visual cell, vsvcs typically have a simple relationship: one is a subset of the other (unless the new VSVEs intersect at the viewcell, which is not possible when they correspond to the current subdivided contour edge, since they would be parallel in that case).
Because the SE-MEs supported by adjacent segments are supported by points on the supporting viewcell contour (SVSC), the SE-MEs can be connected by SE-MVs generated by the SVSC's segment connecting the corresponding SE-MEs of two corresponding new VSVSVSVSVSSCs (conservative contour).
However, these SE-MVs, which pass through the point shared by the two connected contour sub-segments, would each be connected to one of the edge-voiced SE-MEs and would not intersect the other SE-ME edge-wise but exactly on the ground.
To find two SE-MEs, a set of all SE-MVs formed between two VSVSVSVSVSVSVSSCs is formed from corresponding swept triangles, the SE-MV wedges intersecting each other and the SE-MEs to find consecutive connected polygon faces. Note that these SE-MV wedges may intersect SE-ME wedges, not only edge-to-edge, but also inside the wedge. Likewise, the SE-MV sweeping wedges may also intersect each other inside the wedge.
Other methods that conservatively simplify the complex vsvcs generated by back projection may be employed. In one approach, non-convex vsvcs may be processed by any method for convex simplification of polysemous lines. Unconnected components of vsvsvsscs corresponding to the back projection of a single contour edge may be conservatively connected by forming their convex hull over the view cell. Likewise, unconnected components of vsvsvsscs corresponding to back projections of adjacent silhouette edges may be conservatively connected by forming their convex hull over the viewcell. The simplified convex VSVSSC produces a simplified SE-MV that connects the adjusted SV-MEs.
The convex simplification of the common vsvcs connecting two vssvs for adjacent segments can significantly reduce the complexity of the resulting zone-seen visibility structure (DM, VM, or PAU).
In some cases, VSVVs for two connected contour edges are visible from the edge (the corresponding SV-ME is exact), but the portion of the swept support triangle that supports the view cell edge corresponding to the connected SE-MV may be occluded from the shared contour vertices. In this case, the vsvsvssc may be constructed using a point-wise visibility map with respect to a view cell generated using a back projection process that uses the shared silhouette vertices as a source. The back projection from a point view uses a simplified embodiment of the method of fig. 22 and 23. In the case of back projection from point view, where all wedges are UBP from point view and are generated using the definition of the silhouette edges from point view, no sweep operation is used in the wedge construction and each DM _ SEG is known to be OB _ SEG, so the tests of fig. 24A and 24B are not used.
Vsvsscs are confined to the view cell plane. Occlusion boundaries may actually span one or more faces of a viewcell, but are considered to be continuous ambiguous lines on the map.
In one technique, to simplify the back projection implementation, the mesh silhouette edges used as the back projection image source may first be subdivided by intersecting viewcell plane planes to form segments. For each sub-segment of such a segment, the corresponding vsvsvcs are typically restricted to the same set of view cell faces. Furthermore, the subdivision of any segment may be driven by the error metric previously discussed, which estimates the deviation of a first order wedge from a corresponding higher order wedge.
It should be noted that the backprojection process from silhouette edges specified herein itself employs a first order model of visibility propagation. Thus, it produces guaranteed conservative but not necessarily precise adjustments to the first order orthographic SV-ME wedges and the SE-MV wedges connecting them. A higher order refinement approach may be used in the backprojection process itself. This approximates the quadratic surface in the visibility map for visual elements corresponding to the non-illuminant-EEE time described by Drettakis et al (1994). Since these non-source EEE events rarely contribute significantly to the volume of the ghost seen from the viewcell, this approach can significantly complicate implementation and is unlikely to improve the accuracy of the first order backprojection results sufficiently. Table IX shows the types of event surfaces (using the nomenclature of table I) as interpreted using the following method: first order methods, backprojection methods using first order visibility propagation in backprojection, and backprojection methods using higher order visibility. In the latter case, the part of the source (mesh silhouette edge) that is visible from (from the segment) the mesh silhouette edge is determined by back projection. As previously described, the E-EV face generated using the first-order model of visibility propagation in some cases corresponds to a discontinuity gridded E-EV event face. In other cases, the E-EV surfaces generated by the first order method do not correspond to any event surfaces constructed using the prior art discontinuous meshing method (where the E-EV event surfaces do not necessarily generate a continuous primitive event surface).
TABLE IX
Approximating four types of visibility event surfaces using a first-order visibility propagation method in front and back projection
Figure BDA0001244149660001941
In summary, the backprojection process is capable of producing vsvcs that are non-convex and may have multiple unconnected components. This can substantially increase the complexity of SE-MV wedges incident on vertices shared by adjacent mesh contour edge sub-segments. If the VSVSVSC has multiple unconnected components, the visibility problem is no longer seen from the zone but is instead "seen from multiple zones". Thus, a method of conservatively linking multiple unconnected components of vsvsvcs, as well as a convex simplified method of single vsvcs, is used to control the complexity of the visibility map or PAU of the results.
Again, the present method enables the user to choose to use certain high-order visibility effects (contour retraction, high-order back projection, etc.) in the visibility solution as seen from the viewcell. Furthermore, the use of high order effects for a particular contour edge may be guided based on heuristics for a particular high order effect by considering the maximum possible deviation between first order and high order results.
Summary of 3D and 2D mesh traversal algorithms for visibility from region
As is clear from the foregoing description, the output-sensitive mesh traversal method of constructing a visibility graph in the 3D case (e.g., PVS from viewcell) and the 2D case (e.g., visibility with respect to wedges) is very similar.
Furthermore, the back projection method for refining the first-order visibility graph also employs 3D and 2D traversal methods, but uses different sources, occlusions and targets.
The following table summarizes the 3D and 2D mesh traversal algorithms and how they can be used in both forward and rear projection modes with different source (view region), shutter and target combinations. In this sense, the goal would be to construct a geometry on which visibility map occlusion boundary elements (segmentation in 3D algorithms and points in 2D algorithms) are constructed.
Table X
Variants of 3D mesh traversal algorithms for viewability of viewcells
Figure BDA0001244149660001951
TABLE XI
Variants of 2D mesh traversal for visibility with respect to wedges
Figure BDA0001244149660001952
Figure BDA0001244149660001961
Table XII shows the corresponding face and region elements for the 3D and 2D mesh traversal methods.
TABLE XII
Surface and region elements for 3D and 2D from region visibility
Element(s) 3D 2D
Edge element of the ghost from the source feature Wedge Wedge Line (WL)
Edge element of the umbra as seen from the source Benyin border polygon (UBP) Benyin borderline (UBL)
Boundary region of origin Polyhedral polymeric Benyin (PAU) Multi-sense line convergence shadow (PLAU)
FIG. 25: point occlusion testing method using first-order wedge and high-order wedge
The method of constructing a conservative linearized umbral visibility graph shown in fig. 19 and 20 uses a test to determine whether a point on the discontinuity mesh region is occluded or not occluded from the view cell (e.g., at step 1945 of fig. 19). This point occlusion test is systematically formulated as a point containment test of a modified polyhedron and is considered the flow chart of FIG. 25.
In an embodiment, process flow begins at step 2505, where a segment is formed connecting a Test Point (TP) with a point on the view cell surface. It is assumed that the point on the view cell surface is unobstructed as seen from the view cell.
Process flow advances to step 2510 where the line segment intersects potentially all mesh triangles, first order wedges, and higher order wedges UBPs. The mesh triangles contain test points that are not calculated as intersections.
Note that although first order wedges could be used in this test, any higher order wedge must first be intersected with other wedges to form a corresponding higher order UBP. This is desirable because unlike first order wedges, the unobstructed side of a high order wedge can intersect with other wedges. This fact means that the visibility of the high order wedge with respect to the wedge may have a complex structure comprising overlapping holes caused by overlapping wedges intersecting the high order wedge at the unobstructed side of the high order wedge. Thus, the visibility structure of a high-order wedge with respect to the wedge is first determined by constructing a corresponding high-order UBP. Then a higher order UBP is used in the point occlusion test instead of a higher order wedge.
Process flow advances to step 2512 where the intersection generated in step 2510 is tested starting at a point on the viewcell face and advancing to a test point.
Process flow advances to decision step 2515 where the type of intersection is checked to determine if it corresponds to a mesh triangle intersection.
If it is determined at decision step 2515 that the intersection corresponds to a mesh triangle intersection, process flow advances to step 2520 where the value of a variable representing the possible occlusion state of the new sub-segment of the line segment LS containing the intersection ("LS _ State") is set to the state "occluded".
If it is determined in decision step 2515 that the intersection does not correspond to a mesh triangle, process flow advances to step 2525 to determine whether the intersection corresponds to a first order wedge or higher order UBP. In decision step 2525, if the intersection corresponds to a first order wedge, process flow advances to step 2545 to determine whether the intersection should correspond to the occluded or unoccluded side of the wedge when the line segment is considered to be along the direction from the viewcell face toward the test point TP.
If it is determined in decision step 2545 that the intersection corresponds to the unobstructed side of the wedge, process flow advances to step 2550 where the value of "LS _ State" is not changed.
If it is determined in decision step 2545 that the intersection corresponds to the occluded side of the first order wedge, process flow advances to step 2555.
If the current value of "LS _ State" is "not occluded" at decision step 2555, process flow advances to step 2560. In step 2560, the value of "LS _ State" is held constant.
If in decision step 2555, the current value of "LS _ State" is "occluded", then process flow advances to step 2565. In step 2565, the value of "LS _ State" is set to "not occluded".
If it is determined at decision step 2525 that the intersected structure is a higher-order UBP, process flow advances to step 2530 to determine whether the intersection corresponds to an intersection of an occluded side or an unoccluded side of the UBP when the line segment LS is considered along the direction from the viewcell face toward the test point TP.
If it is determined in decision step 2530 that the intersection is on the occluded side of the UBP, process flow advances to step 2540 to set the value of "LS _ State" to "unoccluded".
If it is determined in decision step 2530 that the intersection is on the unoccluded side of the UBP, process flow advances to step 2535 to set the value of "LS _ State" to "occluded".
When all intersections have been processed, then the visibility of the tested point from view units is represented by the final value amount of "LS _ State". The process flow terminates at steps 2520, 2535, 2540, 2560 and 2565.
In an embodiment, the point occlusion query of FIG. 25 answers both a 2D occlusion query and a 3D occlusion query depending on the selection of the source, the occlusion, and the target. Table XIII shows how point occlusion queries are used as encountered during visibility issues from region for 3D and 2D in forward and back projection (higher order).
TABLE XIII
Variants of 3D and 2D point occlusion queries
Figure BDA0001244149660001981
FIG. 26: alternative embodiments of a method of constructing a polyhedral aggregate Primitive (PAU) from primitive boundary polygons (UBPs) using 3D mesh traversal
An alternative embodiment of the 3D mesh traversal process shown in and described with respect to fig. 20 employs UBP instead of wedges.
In this method, each primary and secondary wedge constructed in steps 2045 through 2060 intersects with other potentially intersecting wedges/UBPs to form a corresponding UBP. This is based on the following conditions: each of the potentially intersecting wedges also intersects their potentially intersecting wedges.
Since each UBP is a boundary of the PAU as seen from the viewcell, each intersecting segment of the UBP and the mesh polygon is an occlusion boundary (OB _ SEG).
This alternative embodiment is shown in fig. 26. The method of fig. 26 is very similar to the 3D mesh traversal method of fig. 20A. In both cases, the method of FIG. 19 is used to initiate the traversal.
The method of fig. 26 then continues at the exact corresponding steps described in connection with fig. 20A up to step 2661. For details of these corresponding steps, see the discussion of FIG. 20A.
Step 2661 is the following step: each wedge is intersected with a potentially intersecting UBP to determine which portion of the wedge is a UBP. Those wedges and UBPs that intersect the current wedge are located in the axis formed by the wedge and the viewcell. If the current wedge is a first order wedge, a potentially intersecting wedge should have been constructed (by way of step 2610 ensuring that the potentially occluding wedge is processed first). Step 2661 may be performed recursively to identify all UBPs that affect the current UBP. In an embodiment, step 2661 is the same as step 2155 of fig. 21, except that in this case step 2661 is performed for first and higher order wedges.
In an alternative implementation where the current wedge is a high-order wedge, traversal jumps to a closer non-traversed polygon in the wedge-view element axis, because the wedge/UBP incident on the polygon in that axis may intersect the current high-order wedge.
In a subsequent decision step 2663 it is determined whether the DM _ SEG of the wedge (determined in step 2655) is also a segment of the UBP constructed from the wedge.
If it is determined in decision step 2663 whether DM _ SEG is a segment of a corresponding UBP, process flow advances to step 2688 where DM _ SEG is added to the intersecting mesh triangle as an occlusion boundary segment OB _ SEG. This step is the same as the corresponding step 2068 of FIG. 20. Subsequent steps in the process of fig. 26 are the same as the corresponding steps of fig. 20.
The method of fig. 26 determines whether DM _ SEG is OB _ SEG by explicitly constructing the associated UBP. Thus, the test to determine whether DM _ SEG is otherwise occluded from view (FIG. 21) need not be decoupled.
If UBP is used, the test to determine if a point is located within any PAU (step 1945) uses a conventional point containment test of polyhedrons. If a first order wedge is employed (as in FIG. 20), step 1945 employs a point containment test of a modified polyhedron (shown in FIG. 25).
Estimation of the computational cost of constructing CLUDM (using the non-output sensitive method of fig. 12) and cluwm (using the output sensitive methods of fig. 20& 15).
The following terms are used in the subsequent equations:
m ═ number of polygons in the model
N-the number of edges in a view unit
S is the number of first order contour edges in the environment
SShaftNumber of first order contour edges formed in an axis between a single first order contour edge and a viewcell
MVNumber of visible polygons in the model
SVNumber of visible first-order contour edges in an environment
SVShaftNumber of visible first-order silhouette edges formed in an axis between a single first-order silhouette edge and a viewcell
VwNumber of vertices of the intersection between all polygons and a single wedge
MwThe number of mesh polygons that intersect a wedge
VsvwNumber of visible contour vertices of a wedge (as viewed from a point or from an edge)
SegvwThe number of visible segments on a wedge that are the intersection between a mesh polygon and a wedge
The following equation assumes that there is no first order visibility propagation of the back projection. This equation reflects an estimate of the computational cost of constructing the visibility solution from the region view, which need not be accurate.
Equation a is an expression of an approximation of the upper bound of the computational cost of constructing a conservative native discontinuity grid using conventional discontinuity grid construction methods (fig. 12). Equation a (output insensitive method of fig. 12):
cost ═ S (N × S)Shaft) LogM/intersection of all wedges with polygon +
+(N*S*SShaft)Vw*MwV 2D visibility of wedges with 2D Weiler-Atherton
+(M2*N2*S2*SShaft 2)Log(N*S*SShaft) V visibility of DM area from view cell
The first term of equation a is the cost of intersecting all mesh triangles with all wedges. This assumption organizes the geometry using a 3D spatial hierarchy that causes the intersection o (nlogn).
The second term is the cost of determining the visible segment of the wedge-triangle intersection using the 2D Weiler-Atherton method employed by prior art discontinuity meshing. This term indicates that for each wedge generated, all vertices (V) of the intersecting mesh triangle segments will generate the intersection necessary with the wedge (M)w) Other mesh triangles. MwIs a (typically small) subset of all mesh triangles (M). Determining MwThe cost of (2) is expressed in the first term. As shown in the table, the number of wedges generated is N × SShaft
The third term is to determine whether the region is occluded or unoccluded from the view unit for all discontinuity grid regions created by meshing. For such testing, the line between a single point in each discontinuity grid area and the view element face must be tested for all wedges. Since in general n wedges intersect any face to form n on that face2A region, so the first factor in the term is by any roundThe number of wedges generated by the edge profile is quadratic. The second factor reflects the number of event faces that need to be tested.
Equation B (output-sensitive 3D and 2D mesh traversal methods of FIGS. 20 and 15)
Cost M vLogM/3D Axis test between visible triangle and other triangles
+N*SV*SVShaft*(Segvw*LogM+VsvwLog m)/' 2D visibility traversal with wedge · device · s
+(MV 2*N2*SV 2*SVShaft 2)Log(N*SV*SVShaft) V. visibility occlusion boundary line from view cell >
Equation B is an expression of an approximation of the cost of constructing a first-order conservative linearized umbral visibility graph using the 3D traversal method of the present invention.
The first term is the test cost for unprocessed triangles in the triangle-view axis of each visited/traversed mesh triangle. This term also assumes that the geometry is organized using a 3D spatial hierarchy.
The second term represents the overall cost of 2D mesh traversal to determine the visibility of the triangular segments on the wedges. Cost vs. visible outline S because wedges are generated by 3D traversal only on visible outline edgesVIs proportional to the number of profiles S, rather than the number of all profiles S, as in the second term of equation a. Determining cost of visibility on each visible wedge and visible silhouette vertex (V) on the wedge using 2D mesh traversalsvw) (which produces rays that intersect mesh triangle M) and visible mesh triangle intersection segments (Seg)v) (which yields the 2D axes examined for the intersection with mesh triangle M) is proportional. As with the 3D mesh traversal itself, the 2D mesh traversal only generates intersecting structures (2D axes and rays) incident on the visible structures (segments and contour vertices, respectively).
The last term is to determine whether the generated discontinuity mesh occlusion boundary segment is occluded or unoccluded from the view unit. Can be used forThe point occlusion test is compared to the point occlusion test used in the third term of the equation. A non-output sensitive discontinuity grid method. These two points obscure the test line from the test point of the generated wedge. The important differences are: for the 3D mesh traversal method, the number of tests required is a function of the number of visible contour edges, not the total number of contour edges. Thus, for the 3D mesh traversal method, the number of wedges that must be intersected for each point occlusion test is typically much smaller than the required number (N × S) of the prior art methodV*SVShaft vs N*S*SShaft)。
In a generally complex 3D model, the number of total silhouette edges is generally much larger than the number of visible silhouette edges, and is generally larger than the number of visible mesh polygons. Thus, equation B represents a more output sensitive cost function than equation a. This reflects the advantageous, output sensitive performance characteristics of the 3D/2D discontinuity mesh construction method.
Estimation of computational cost to construct a PAU (Using the output sensitive method of FIG. 26)
As previously described, UBP construction according to wedges requires an additional step involving wedge x wedge intersection. However, the final output of this process is one or more (conservative) PAUs, possibly composed of UBP-connected unobstructed frontal mesh polygons that are only tangentially visible from the viewcell. Because no non-ghost boundaries are present in the PAU, the PAU output by the processing of fig. 26 is generally much simpler than the conservative discontinuity grid output by the processing of fig. 12. Thus, the PAU method produces many smaller "zones" that require visibility testing from viewcell and the test is a simpler point containment test of polyhedrons.
Equation C is an approximate expression for constructing the upper bound of the conservative PAU using a 3D/2D mesh traversal method.
These items are:
m ═ number of polygons in the model
N-the number of edges in a view unit
S is the number of first order contour edges in the environment
SShaftNumber of first order contour edges formed in an axis between a single first order contour edge and a viewcell
MVNumber of visible polygons in the model
SV is the number of visible first-order contour edges in the environment
SVShaftNumber of visible first-order silhouette edges formed in an axis between a single first-order silhouette edge and a viewcell
VwNumber of vertices of the intersection between all polygons and a single wedge
MwThe number of mesh polygons that intersect a wedge
VsvwNumber of visible contour vertices of a wedge (as viewed from a point or from an edge)
SegvwThe number of visible segments on a wedge that are the intersection between a mesh polygon and a wedge
Equation C (output sensitive mesh traversal method for constructing PAUs):
cost MvLogM/3D Axis between visible triangle and other triangles
+N*SV*SVShaft*(Segvw*LogM+VsvwLog m)/' 2D traversal over wedge · 4D
+(N*SV*SVShaft)Log(N*SV*SVShaft) V. intersection with UBP
+(MV 2*N2*SV 3*SVShaft 2)*Log(N*SV*SVShaft) V. dot containment test of a polyhedron
The first term is the test cost of an unretraversed mesh polygon located in an axis between the traversed mesh polygon and the view cell. This term is the same as the first term in equation B of the 3D mesh traversal method for conservative discontinuity mesh construction.
The second term is the cost of determining visibility with respect to the wedge and is also the same as the second term of equation B.
The third term is the cost of constructing the wedge-wedge intersection to form the UBP from the wedge and to address the placement of the UBP. In some embodiments, because the arrangement is addressed for each UBP, the cost is orders of magnitude higher than the cost relative to the corresponding discontinuity mesh for which the arrangement of occluded and visible volumes in three-dimensional space is not directly computed, but only the arrangement on the face of the visible mesh manifold.
The last term is the cost of determining whether the manifold mesh is occluded by an existing PAU. Any manifold regions that are not traversed by the overall processing of the 3D mesh traversal/PAU construction are either fully visible from viewcell or fully located within the PAU. In general, the number of un-traversed manifold regions is much smaller than the number of discontinuity mesh regions, which tends to be quadratic in the number of wedges. Thus, the overall cost of point containment testing of polyhedrons necessary for the UBP method tends to be much less than the visibility test of discontinuity grid regions from view cell.
And (3) grid traversal implementation: optimization of shaft intersection and differential shaft
In the trellis traversal method, one trellis "element" is traversed at a time. In one embodiment of the mesh traversal method shown in fig. 20, the traversed mesh elements are polygons (triangles). Thus, in this embodiment, an axis is formed between the traversed triangle and the viewcell in step 2010. Alternative embodiments are possible as follows: the axis test uses bounding boxes around the clusters of traversed polygons (potential occluded objects). In this embodiment, an axis is formed between the bounding box and the viewcell. The mesh element located within the axis may occlude the potential occluded object and the mesh element located within the axis is traversed in accordance with step 2030 prior to traversing the potential occluded object. If there are no elements within the bounding box-view axis, a single bounding box-view axis is used to solve the potential occlusion problem for the entire cluster of potential occluded objects. Because the axis intersection tests are part of the inner loop of the trellis traversal method, any optimization of these tests can significantly improve the performance of trellis traversal.
This axis test can be further simplified if the cluster of potential occluded polygons is carefully selected. Connected mesh polygons forming clusters may be self-occluding. If self-occlusion can occur within the cluster, a simple axis test between the cluster bounding box and the viewcell will not identify self-occlusion because self-occlusion occurs within the bounding box. However, if a potential occluded cluster does not contain silhouette edges as seen from the region, then self-occlusion within the cluster cannot occur and the bounding box will identify all potential occlusions. In one embodiment of the mesh traversal method, polygon clusters are defined as connected groupings of polygons that do not have silhouette edges as seen from a region. These clusters can be further organized using bounding box hierarchies that can further accelerate axis testing.
The mesh traversal method can also use hierarchical bounding boxes or other hierarchical spatial subdivision structures to organize potential obstruction polygons into hierarchical groupings or elements. This also significantly accelerates axis intersections (as well as wedge-wedge polygons and other intersection tests).
In the embodiment of the mesh traversal method shown in FIG. 20, if a potential occluding element is found to intersect the axis formed by the potential occluded element and the viewcell, the traversal "jumps" to the potential occluding element. When such a jump occurs, the traversal then proceeds to the adjacent mesh polygon in the usual flood fill (breadth-first) mode.
Another technique for improving the performance of shaft intersection tests employs a differential shaft. The polygon-view cell axes formed by adjacent polygons on a mesh may be very similar, especially when the polygons are small relative to the view cell. In this case, it is possible to more effectively perform an axis intersection test for one polygon and then construct a difference axis for an adjacent polygon. The difference axis is constructed for adjacent triangles using a simple process. In this process, the polygon is assumed to be convex, and is actually specified as a triangle in this embodiment.
Two triangles, triangle A and triangle B, share a common edge. The axis between a and the view element is called axis a, as is axis B. If A and B are connected along their common edge E, the result is a quadrilateral Q. The axis between Q and the view element (referred to as axis Q) is constructed in the usual way using the rotation and sweep process that forms the relevant SV-ME and SE-MV support polygons. The axis does not contain the SV-ME support polygon incident on edge E because E is located inside the quadrilateral and the axis. The axis formed between edge E and the viewcell (again using the rotation and sweep method used to construct the support polygon) forms the boundary of a volume that is common to both axis a and axis B. Thus, the differential axis representing axis B minus axis A can be constructed by subtracting axis Q from axis B. The support polygons forming axis Q include support polygons incident on both triangles a and B. In fact, those support polygons of Q that are support polygons of a precisely separate axis Q from the incremental axis of B minus a. This relationship results in a simple and effective process of constructing the differential axis: b minus a, where axis a (or a minus the previous axis) has been constructed.
For the new triangle B, two SV-ME support polygons incident on the sides of triangle B that are not shared with triangle A are constructed by rotation. The polygon is then supported by sweeping through all SE-MVs that construct incident on vertices of B that are not vertices of edge E. A single SV-ME support polygon incident on E identifying axis a. The normal vector of the polygon is inverted. The SV-ME support polygon becomes one boundary of the B minus A axis. Other bounding polygons are SE-MV support polygons incident on edge E. These polygons are formed by sweeping from the vertices of edge E to the support view cell vertices corresponding to the other SV-ME support polygons of B.
This process enables the construction of the difference axis of two adjacent triangles simply and efficiently by inverting the SV-ME (previously constructed) support polygon of the shared edge and connecting that support polygon to the SE-MV support polygon of the new triangle. This process completely avoids the following need: the general purpose of calculating the difference between the two axes is to construct a solid geometry method.
FIG. 27A is a block diagram illustrating an occluded segment supporting a polygon and a corresponding first order contour edge supporting inexact wedges
A wedge constructed using the first order rotation and sweep method described in the first embodiment is a precise, ghost-visibility event surface in which the corresponding support polygon or sweep triangle does not intersect a mesh polygon.
Conversely, if the support polygon corresponding to the SV-ME wedge (or the swept triangle corresponding to the SE-MV wedge) intersects the polygon mesh, the corresponding portion of the wedge may not be the exact ghost visibility event surface. This is because if a support polygon intersects a mesh polygon, the support viewcell elements (for the vertices of the SV-ME wedge, and for the edges of the SE-MV wedge) may be occluded when viewed from the corresponding supported outline structure (for the outline edges of the SV-ME wedge, and for the outline vertices of the SE-MV wedge).
Turning now to FIG. 27A, FIG. 27A is a block diagram illustrating viewcells and two polygon mesh objects labeled "mesh E" and "mesh D".
The first-order contour edge on "grid D" relative to the viewcell is labeled SE1, and is subdivided into segments SE1O and SE 1U.
The first-order visibility event surface incident on SE1 is labeled as "wedge 4" and "wedge 4" is subdivided into two parts, "wedge 4-exact" and "wedge 4-approximate".
The first order SV-ME support triangle incident on SE1 is SP 4. SP4 is the entire triangle between points SVV2 and SE 1.
SVV2 is the supporting viewcell vertex for SP4 (and "wedge 4"). SP4 intersects the triangular mesh "mesh E" at point INTE. SVV2 is unobstructed when viewed from segment SE1U supporting first-order silhouette edges. Thus, the wedge counterpart "wedge 4-exact" is an exact ghost visibility event surface.
When viewed from segment SE1O (O vs. occluded) supporting the first-order silhouette edge, SVV2 is occluded (by "grid E"). Thus, the corresponding portion of the wedge "wedge 4-approximate" is not an exact intrinsic visibility event surface but a conservative intrinsic visibility event surface. A first order wedge is accurate if and only if its corresponding support polygon does not intersect any geometric figure. Likewise, the portion of the first order wedge is accurate if the corresponding portion of the support polygon does not intersect any geometric figure.
This relationship is used in embodiments of the present invention as an effective test to determine those portions of the first order wedge that are accurate and those portions that are approximate. This test is described in connection with fig. 28. In some embodiments, for those portions where the first order wedges are not accurate, a high order refinement of the visualized visibility event surface is performed using one of the backprojection methods disclosed in this specification.
Similar analysis was performed for the swept triangle and the corresponding SE-MV wedge. In this case, according to some embodiments, the occluded portion of the viewcell edge is determined using a point-from-point (from the contour point) visibility method. Occluded sub-segments of the swept triangle have an imprecise segmentation of the SE-MV wedge that can be refined using the high-order backprojection method described later in this specification.
The SE-ME wedge case with the supporting edge parallel to the silhouette edge uses the visibility from segment method to determine those sub-segments of the silhouette edge that are occluded from the source edge. In this case, the intersection of the mesh polygon with the quadrilateral supporting polygon does not necessarily produce an occlusion of any of the sub-segment silhouette edges as seen from the view cell edge.
In any case, if a segment of the supporting or supported edge is occluded as seen from the supported or supported point, the corresponding portion of the first order wedge is inaccurate. In this case, the support elements of the viewcell (supporting viewcell vertices or edges of swept triangles) are effectively invisible from the corresponding elements (first order silhouette edges or first order silhouette vertices) as seen from the mesh silhouette edges.
In the case where the Supporting Viewcell Vertex (SVV) is occluded from the segment of the corresponding first-order silhouette edge, the corresponding first-order SV-ME wedge is imprecise, but a conservative representation of the visibility event boundary incident on that segment of the first-order silhouette edge. More accurate SV-ME wedges incident on such first order contour edges are, in some embodiments, by subdividing the segments and identifying Visible Support Viewcell Vertices (VSVVs) for each sub-segment.
Vssv is that part of the viewcell that is actually visible from the segment of the first-order silhouette edge and is the supporting part between that visible part of the viewcell and the first-order silhouette edge sub-segment. Rotation from a contour edge sub-segment to a corresponding VSVV produces an "adjusted" or "high order" wedge that conservatively explains the partial visibility of the viewcell from the edge.
In an embodiment, the VSVV is found for the contour edge using the first order back projection method described in connection with fig. 22, 23, 24 and related figures.
Fig. 27B is a view showing the same view as fig. 27A, and fig. 27B shows a process of constructing a high-order ghost event wedge on an inexact first-order contour edge segment (SE1O) by subdividing the segment and first-order back-projecting the sub-segments to identify VSVVs corresponding to each sub-segment.
The inexact first-order contour edge segment, labeled SE1O in FIG. 27A, is subdivided in FIG. 27B into two sub-segments SE1O-A and sub-segment SE 1O-B.
The (back-projected) SV-ME wedge is formed on edge SE2 (which is also the first-order contour edge relative to SE 1O-a), using the sub-segment SE1O-1 as a line source or linear view and then constructing a first-order visibility event surface. The wedge intersects the viewcell at exactly point SVV 2. Thus, for sub-segment SE1O-A, VSVV is also SVV (SVV 2). Thus, the corresponding wedge (SV-ME 1) is in the same plane as the precision wedge "wedge 4-precision".
Using the sub-segment SE1O-B as a line source and then constructing a specific method of first order visibility event surface, a (back-projected) SV-ME wedge is again formed on the edge SE2 (which is also the first order contour edge with respect to SE 1O-B). The wedge intersects the visual cell at exactly point VSVV 1. The line shown between "point a" and VSVV1 intersects SE 2. The corresponding wedge SV-ME 2 supported by VSVV1 is a "tuned" or higher order wedge.
Point A is the intersection of sub-segment SE1O-A and sub-segment SE 1O-B. The method shown in FIG. 24C, in which the support contour contours (VSVSVSVSVs) connecting VSVSVs for corresponding adjacent subsections are "swept" to generate connected SE-MV wedges, is used to construct SE-MV wedges incident on "points". In the case of FIG. 27B, two VSVs (SVV 2 for SE1O-A and VSV 1 for SE 1O-B) are located on the actual edge of the viewcell and on a single SE-MV wedge, and SE-MV 1 is constructed by the process of FIG. 24C.
This single wedge joins SV-ME 1 and SV-ME 2 to form a continuous umbral event surface that better approximates the exact (quadratic) umbral event surface incident on first-order contour edge segment SE 1O.
Fig. 27C shows the same view as that of fig. 27B except as follows: the inexact portion of the original first order wedge is now refined by subdividing the corresponding segment of the first order contour into 4 sub-segments instead of 2 to produce a more accurate approximation of the actual ghost event surface (quadric) in the region.
Using the same method as described in fig. 27B, VSVVs for each of the 4 sub-segments are identified by treating each sub-segment as a line light source and performing first order from-source visibility to identify the portion of the viewcell that is visible from the sub-segment.
In the case of fig. 27C, 4 subsections have 4 corresponding VSVVs shown. For example, the VSVV corresponding to the sub-segment supporting SV-ME3 is VSVV 1. This can be verified by using a straight edge located on the left hand side of SV-ME3, the extended line intersecting VSVV1 and SE 2.
A connected SE-MV wedge is constructed using a sweep process between corresponding VSVVs. For example, the wedge SE-MV 2 is constructed by a sweep between SVV2 and VSV 2, the corresponding support (sweep) polygon being shown as a thin line between these two points and the point connecting SV-ME 1A and SE-MV 2.
By using higher-order subdivision of the inaccurate first-order contour edge segments, a more accurate approximation to the accurate primitive event surface is obtained.
In fact, the method of subdividing inexact segments and constructing first order visibility from sub-segments to construct higher order wedges is equivalent to a method of conservatively approximating a single exact quadric, where VSVV is located on a viewcell edge with one intervening edge.
Unlike previous conic construction methods (e.g., point-line-plane parameterization), the present method using first order backprojection ensures that the constructed surface conservatively approximates the exact conic event surface.
Fig. 27D shows a view of the same structure of the structure of fig. 27A at a different perspective (slightly behind the view cell), showing the first-order silhouette edge with segments SE1U and SE1O visible from the view cell first-order.
FIG. 28: method for controlling the edge-looking back-projection process by checking the maximum possible deviation between a first-order wedge and a precise wedge and by identifying the inaccurate segmentation of the first-order wedge of a contour edge
FIG. 28 is a flow chart showing the overall process of identifying segments of a first order silhouette edge that are occluded from view of their corresponding SVV and determining VSVV for each of the segments by back-projection.
In an embodiment, process flow begins at step 2805 when a first order silhouette edge is encountered. This encounter may occur during the 3D traversal process shown in fig. 20, particularly in step 2020.
Process flow advances to step 2810 to construct support polygons using the process shown in fig. 4. This step may be performed as part of the construction of the initial wedge, for example in step 2045 of FIG. 20.
Process flow advances to decision step 2812 to determine whether the angle between the support polygon and the separation polygon exceeds a predetermined Value (VAL). The separation plane incident on the first-order silhouette edge is formed by rotation to the viewcell using the opposite rotation direction employed in constructing the support polygon.
According to some embodiments, using a back projection process, the largest possible adjustment that can achieve the SV-ME wedge occurs when the VSVV calculated in the back projection is near the viewcell vertex that intersects the separation plane incident on the silhouette edge.
The maximum deviation depends on the size of the cell and the distance of the contour edge from the view cell. Generally, especially for small viewcells, this maximum angular deviation decreases with increasing distance from the viewcell, since the viewcell becomes more "punctiform" from the contour edge as a back projection light source.
Thus, if it is determined in decision step 2812 that the angle between the support polygon and the separation plane is less than the specified Value (VAL), the process proceeds to step 2814, where the SV-ME wedge is considered accurate and no "adjustment" processing is performed on the wedge to reflect high order visibility.
On the other hand, if it is determined at decision step 2812 that the angle between the support polygon and the separation plane is greater than the specified Value (VAL), processing proceeds to decision step 2815 to determine whether the support polygon intersects any mesh polygons. If the support polygon does not intersect any mesh polygons, the corresponding first order wedge is accurate and process flow proceeds to step 2820.
In some embodiments, the value of the variable VAL is selected by the user. A high value of VAL may tend to result in the use of a first order wedge, which may be less accurate but may be generated faster. A low value of VAL biases the process towards generating high order wedges, which are more accurate but generally take longer to construct.
Step 2820 indicates that no wedge adjustment is performed.
If it is determined in decision step 2815 that the support polygon intersects any mesh polygons, process flow proceeds to step 2825 where the segments of the mesh silhouette edges from which the SSVs are occluded from view are determined. If the support polygon is a triangle, the problem is equivalent to identifying segments of the silhouette edge that are occluded from view of the SVV. This is a 2D visibility problem that can be solved in some embodiments using a simplified implementation of the 2D mesh traversal process shown in fig. 15. In this implementation, the 2D mesh traversal process employs point-from-point (SVV) silhouette vertices in step 1520, since an accurate point-from-point visibility solution is required.
In some embodiments, this method is also employed in the special case of SE-ME quadrilaterals support polygons. In this case, the process determines the segment that supports the viewcell element (in this case VCE is an edge) as seen from the supported silhouette edge. In this case, the silhouette edge definition employed in step 1520 of FIG. 15 is from an edge. In both cases, the wedge lines are constructed by rotating to the view cell point in the case of supporting a polygon as SV-ME or as the contour edge for supporting a polygon as SE-ME. In the case of SE-ME, the result of this determination for the support quadrilateral is a set of segments of the viewcell edge that include a back-projected visibility map from the contour edge onto the viewcell edge.
The occluded sub-segments identified in step 2825 are stored in SEG _ LIST.
In subsequent steps 2835 to 2855, the segments of SEG _ LIST are processed.
From step 2825, the process flow line proceeds to step 2835, where the segment of a section of the contour edge for which the SVV is occluded (or, in the case of an SE-ME support quadrilateral, the segment supporting the view cell edge) is set to the line light source for the backprojection process.
Process flow advances to step 2840 where the line light source of step 2835 is used to construct a visibility map for the viewcell corresponding to the segment being processed. In some embodiments, the construction of the visibility graph uses a 3D mesh traversal process for the side-looking backprojection shown in fig. 22, 23, 24, and related figures.
Process flow advances to step 2845 to determine a support view cell contour (vsvcs) from the VM that is visible from the segment.
Process flow advances to step 2850 to determine a visible support view cell vertex (vssv) corresponding to the segment that was the support vertex vsvsvsvsvcs determined in step 2845. As previously described, the vertex vsvsvssc that produces the minimum angle of rotation is VSVV.
Process flow advances to step 2855 to adjust the first order wedge supported by the segment so that the wedge is not supported by VSVV but by SVV.
FIG. 29 is a flow chart showing the control of the side-looking backprojection process by examining the maximum possible deviation between the first order wedge and the exact wedge and by identifying simple, compound inside corner contour vertices for which the first order SE-MV wedge is inaccurate.
FIG. 29 is a flow chart showing the overall process of identifying the segments of the viewcell edge that are occluded from view of the simple or compound inside corner profile vertices of the swept triangle between the support profile vertices and the viewcell edge (the support polygon formed between the simple or compound inside corner profile vertices and the viewcell edge by the sweep process).
In an embodiment, process flow begins at 2905, where the inside corner vertex of the mesh contour is encountered. As previously mentioned, this inside corner may be the vertex of a simple contour or it may be the vertex that is the composite contour vertex (CSV) caused by the intersection of the wedge and the mesh contour edge. As previously described, the inside corner state is determined using the relative orientation of the contour edges that form the corner vertices.
Process flow advances to step 2910 to form a swept triangle between the inside corner apex and the extreme-view unit profile contour as previously described using the processes shown in fig. 5A and 5B. This step may be performed as part of the construction of the initial primary and secondary wedges, for example, in steps 2045 and 2060 of fig. 20.
Process flow proceeds to 2912 to determine whether the angle between the supporting polygon and the separating polygon exceeds a predetermined Value (VAL). The separation plane incident on the first-order silhouette edge is formed by rotation to the viewcell using the opposite rotation direction employed in constructing the support polygon. For SE-MV wedges, this is determined by examining the neighboring SV-ME wedges.
Thus, if it is determined in decision step 2912 that the angle between the adjacent support polygons and the separation plane is less than the specified Value (VAL), process flow proceeds to step 2914 where the SE-MV wedge is deemed accurate and no "tweak" processing is performed on the wedge to reflect high order visibility. The adjacent SV-ME support polygons by definition lie in support planes formed by the corresponding first-order silhouette edges and the support viewcell vertices. The angle between this support plane and the separation plane (formed by rotation around the same first order contour edge towards the viewcell but in the opposite direction) gives the maximum possible deviation between the corresponding first order wedge and its corresponding higher order or adjusted wedge.
On the other hand, if it is determined at decision step 2912 that the angle between the support polygon and the separation plane is greater than the specified Value (VAL), process flow proceeds to decision step 2915 to determine whether the support polygon intersects any mesh polygons. If the support polygon does not intersect any mesh polygons, then the corresponding first order wedge is accurate and the process proceeds to step 2920 to represent that no adjustment is made to the wedge. In this case, no adjustment is made to the wedge incident on the profile edge.
If it is determined in decision step 2915 that the support polygon intersects any mesh polygons, process flow advances to step 2925 where a backprojection visibility graph VM for the silhouette edges sharing inside corner silhouette vertices is constructed. In an embodiment, the construction of the visibility map uses a 3D mesh traversal process for the side-looking backprojection as illustrated in fig. 22, 23, 24 and related figures. If a corresponding VM for one or both of the adjacent contour edges has been constructed (e.g., by the process of FIG. 28), process flow advances to step 2935 where the VSVSVSVSSC is determined from the VM constructed at step 2925. The configuration per VM of each vsvsvssc may include convex simplification steps in some embodiments.
Process flow advances to step 2940 where the vsvsvcs according to neighboring edges are checked for relationships between the vsvcs and a conservative composite vsvcs connecting the corresponding SVV and/or VSVV for each neighboring edge is checked. This step employs the process of FIG. 24C to determine whether bump reduction should be performed to ensure a conservative visible support viewcell contour connecting two corresponding SVVs and/or VSVs.
Process flow advances to step 2945 to construct adjusted SE-MV wedges incident on the inside corner mesh contour vertices by sweeping the SVV and/or VSVV corresponding to the adjacent contour edges. This sweep connects the SVV and/or vssv at the vsvsvsscs (conservative simplification of vsvcs) shared, determined in step 2940.
The resulting SE-MV wedge reflects the high-order effect of partially occluding the geometry of the viewcell when viewed from the inside corner silhouette vertex. Process flow terminates at 2945.
30A, 30B, and 30C include flow diagrams illustrating a method of identifying occluded regions from a view cell with efficient dynamic occlusion in a visibility graph and a process that conservatively simplifies the occluded region boundaries and corresponding mesh contour contours.
3D mesh traversal (FIG. 20 and related figures) is an efficient way to construct a conservative visibility graph from view cells. The selective use of the linearized back projection technique (fig. 23 and related figures) enables the resulting visibility map (and related PVS) to be increased in regions where the linearized visibility event surface deviates sufficiently from the exact visibility event surface (typically a quadratic surface). This adaptive refinement comes at the cost of increasing the number of linearized event surfaces (and hence the visibility map Occlusion Boundaries (OB) used).
In general, PVSs derived from visibility graphs computed with high precision result in less overdraft during runtime rendering because more occluded polygon areas are identified and removed.
However, each OB segment of the occlusion map also produces additional polygons that are added to the visibility map/PVS because of the re-triangularization of the original triangle that intersects the OB segment. (for a re-triangularization method, see M.de Berg, M.van Dreveld et. al in "computerized Geometry Algorithms and Applications, Springer c.1997, page 45, the entire contents of which are incorporated by reference into the present application). This additional geometry tends to slow down runtime rendering simply by increasing the number of primitives submitted to the initial geometry stage of the graphics pipeline.
To reduce the overall cost of runtime rendering, embodiments include a method to balance the cost of rasterization reduction resulting from occluded regions with the added cost of geometry processing due to the additional geometry introduced by the occluded regions.
This method employs a heuristic called Effective Static Occlusion (ESO) to eliminate occluded regions corresponding to small areas of occluded regions, especially as they introduce a larger number of additional triangles.
In a related approach, ESO is also used to guide conservative simplification of occlusion boundaries while attempting to maximize the surface area of the occluded region.
In some embodiments, the processing of fig. 30A and 30C is performed as an offline visibility pre-calculation. The result is an optimized from-zone visibility map and related PVS. In connection with fig. 31, 34 and the related figures it is proposed: related methods of efficiently storing the structure of a visibility graph by marking certain edge contours of mesh polygons as silhouette edges associated with occluded regions with efficient occlusion. In this approach, the visibility map/PVS for a viewcell can be efficiently computed at run-time from the visibility map/PVS of the neighboring (containing) viewcell using the pre-marked silhouette edge. The method of fig. 30A-30C includes the step of not only simplifying the occlusion boundaries of the visibility map but also storing this information as corresponding simplified contour contours of the original mesh object. This process is performed as a precalculation to prepare the actual delta construct of visibility map/PVS data using fig. 36 and the run-time method on the map.
In some implementations, process flow begins at step 3005 when an occluded area (OR) of the visibility graph is encountered.
Process flow advances to step 3007 to determine the number of original mesh triangles that are completely occluded in the OR. In an alternative embodiment, the number of partially occluded original mesh triangles is determined. Also in step 3007, the image space areas of the partially occluded original mesh triangles and the fully occluded original mesh triangles of the OR are constructed using the viewpoints located within the viewcells from which the visibility map is constructed.
Process flow advances to step 3010 to determine the number of additional triangles (located in the unoccluded regions bordering the current OR) resulting from the re-triangularization of the original mesh triangles at the OR boundary.
Process flow advances to step 3013 where the measurements determined in steps 3007 and 3010 are used to determine a heuristic variable called Effective Static Occlusion (ESO) for the entire OR.
In some embodiments, the ESO is a variable determined to be proportional to the Image Space Area (ISA) of the occluded triangle/triangle fragment in the OR. In further embodiments, the ESO heuristic further includes coefficients of the term that reflect the run-time cost of rasterization.
According to some embodiments, the ESO is determined to be inversely proportional to the number of additional unoccluded triangles produced in the mesh due to re-triangularization at the OR boundary. In further embodiments, the ESO heuristics also include a coefficient for this term that reflects the runtime cost of the geometry process and another coefficient that reflects the storage and transmission costs of the additional triangles. Although the incremental runtime PVS construction method of fig. 36 and related figures is used, the storage/transmission cost of these additional triangles can be eliminated by re-triangularization at runtime.
According to some embodiments, the ESO is represented by the following formula: ESO ═ F (number of occluded polygons, image space area of occluded polygons, 1/number of new visible polygons added at occlusion boundaries). In further embodiments, the ESO may be represented by any desired function.
Other embodiments of the method are possible: it includes additional variables of the specific OR in generating a "validity" determination of the occlusion that actually produces an improved run-time rendering performance.
Process flow advances from 3013 to decision step 3015 to determine if the ESO is greater than or equal to the specified value "value 1". If it is determined in decision step 3015 that the ESO is not greater than OR equal to the value "value 1", process flow advances to step 3017 where the entire OR is removed from the VM and the original, unretriangulated triangles of the polygon mesh are stored. In this regard, in an embodiment, an OR is not a valid occlusion boundary if the ESO associated with the OR is not greater than OR equal to the "value 1". For example, as the number of new triangles created by the re-triangularization process increases, the ESO value decreases, which means that the OR that caused the re-triangularization process may not be effectively maintained. Process flow terminates at 3017.
The following alternative embodiments are possible: only those original mesh triangles that were partially occluded are restored while the OR is maintained. Partially occluded triangles are those additional triangles that are generated by re-triangularization at the OR Boundary (OB). By storing only these triangles, the number of triangles in the VM is reduced and still completely occluded triangles are removed from the VM/PVS.
On the other hand, if it is determined in decision step 3015 that the ESO is greater than OR equal to the value "value 1," process flow proceeds to step 3019 to determine whether the additional number of triangles constructed due to the OR boundary in the occluded region that border the current OR exceeds the "value 2.
If it is determined in decision step 3019 that the additional number of constructed triangles is not greater than OR equal to the "value of 2", process flow advances to step 3018 where the current OR (and the triangles produced by the re-triangularization on the boundaries of the current OR) remains unmodified. In this regard, if the number of additional triangles is small, the OR can be more effectively maintained.
On the other hand, if it is determined in step 3019 that the additional number of constructed triangles is greater than or equal to "value 2", process flow advances to step 3020.
Steps 3020 to 3026 implement the following method: an attempt is made to reduce the number of additional triangles incurred on adjacent unoccluded regions by conservatively removing triangles in adjacent exposed regions of the OR and VM that intersect the occlusion boundaries of the OR. Using this method, triangles in the adjacent unoccluded zone that were previously restricted to the OR occlusion boundary are now considered to be completely unoccluded, and the original mesh triangles are used instead of these restricted triangles. This conservatively increases the area that is not occluded from the corresponding view element and reduces the number of triangles by eliminating re-triangularization at the occlusion boundaries.
Process flow advances to step 3020 where "boundary _ triangles" are identified as those triangles that intersect or border the occlusion boundary of the VM occlusion region.
Process flow advances to step 3021 where the "boundary _ triangle" is removed from the OR and the corresponding (re-triangulated) boundary triangle is removed from the adjacent VM exposure and replaced with the original, larger, unretriangulated mesh triangle. These larger triangles include some surface area that was originally included only in the occluded regions, but after the un-re-triangularization step 3021, the larger original triangles are considered to be completely occluded, even though only portions of the triangles may be located in the occluded regions.
Process flow advances to step 3022 where the new boundary between the OR and the adjacent exposed area is set to the polyline boundary formed by the triangles of the OR adjacent to the original mesh triangle identified in step 3021. This step conservatively redefines the boundaries of the OR as lying within the originally computed OR. By conservatively redefining the OR boundaries also potentially reduces the complexity of the boundaries and reduces the number of triangles in the OR.
A subsequent decision step 3023 is similar to the decision step 3015, and in this case it is determined whether the conservative redefinition of the occlusion boundaries along the sides of the original mesh triangle, as determined in steps 3020 to 3022, results in occlusion regions that occlude a sufficient number of triangles and/or that occlude triangles having a sufficient image space area.
If it is determined in decision step 3023 that the number of occluded triangles and/or the image space area exceeds a predetermined value (e.g., "value 44"), then process flow advances to step 3024 where the occluded and adjacent exposed areas are maintained in their current state.
On the other hand, if it is determined that the ISA (image space surface area) of the triangle in the OR does not exceed the predetermined value, the process flow proceeds to process 5-1, which begins with decision step 3025 (fig. 30B) of determining whether the triangle subdivision level in the OR exceeds a certain value (e.g., "value 4").
If it is determined in decision step 3025 that the triangle subdivision level in the OR does not exceed the predetermined value, process flow advances to step 3026 where the triangle of the OR is further subdivided (e.g., using midpoint-edge subdivision to create 4 triangles from 1 triangle). This process of testing accompanying 3025 causes the huge number of triangles in the OR that also extend into adjacent exposed areas to be progressively subdivided into smaller triangles until the number of triangles in the occluded area and/OR the ISA of the triangles exceeds "value 4" (step 3023) OR until the level of subdivision exceeds "value 4". From 3026, the process flow advances to process 30-2, which returns the process flow to step 3020 (FIG. 30A).
If it is determined in decision step 3025 that the triangle subdivision level in the OR exceeds a predetermined value, process flow advances to step 3027 to conservatively simplify the OR occlusion boundaries. These simplifications are performed to increase the ESO of the OR.
In step 3027, an ordered list of contour edges forming the contour from which Occlusion Boundary (OB) segments including the boundary of the current OR are constructed is stored as an array "SIL _ list". For any inside corner contour vertices (whether simple OR compound), the vsvsvsscs' associated view cell contour edges are also stored in the "SIL _ list" because they also have corresponding wedges that contribute to the OR boundary.
Process flow advances to step 3028 to store the initial segment of the array in the variable SIL.
Process flow advances to step 3029 to store the next segment in the "SIL _ list" in the variable "next _ SIL".
Process flow advances to decision step 3031 to determine whether SIL and "next _ SIL" form the outer (convex) corner of the contour.
If it is determined in decision step 3031 that SIL and "next _ SIL" form the outer (convex) corners of the contour (and corresponding OR boundary), process flow proceeds to process 30-4, which begins at step 3040 where an SV-ME wedge is constructed on a line segment connecting the SIL and the non-shared vertices of the "next _ SIL". Using the previously specified VM map construction method, wedges are intersected with mesh polygons to form DM _ SEGs, which are tested for visibility from view cell to determine if they are valid OB _ SEGs for the VM. These new conservative OB _ SEGs may intersect mesh triangles and other OB _ SEGs do not intersect the original OR boundaries.
Process flow advances to step 3042 where the ESO of the region between the new OB and the original OB is determined and stored in variable D _ ESO (the ESO representing the difference region between the new and old OB). The ESO estimates the "validity" of the occlusion regions that have just been removed by conservative transposition of OBs.
Process flow advances to step 3050 to determine if D _ ESO is less than a predetermined value, "value 3".
If it is determined at decision step 3050 that D _ ESO is less than the predetermined "value of 3", process flow advances to step 3060. If the D _ ESO of the difference zone is low, the number of triangles that are occluded in the difference zone is small and/or they have a relatively small surface area. Furthermore, a low D _ ESO value may indicate that there are many partially occluded mesh triangles in the difference region that would cause additional geometry by re-triangularization.
In step 3060, the conservative boundary of OR, recalculated in step 3040, is stored as the new OR boundary for the region of the map, because the difference region has a relatively low D _ ESO value.
Process flow advances to step 3070 where, optionally, the re-triangulated triangles introduced by the new OR boundaries may also be stored. Again, partially occluded mesh triangles can be conservatively considered as unoccluded, thereby reducing the amount of new geometry that would be produced by re-triangularization.
The process flow proceeds to step 3080 where the data for the two contour edges SIL and "next _ SIL" that have been effectively folded into a single conservative contour edge is removed from the chained list of marked contour contours seen from the viewcell that represent the grid object. As discussed in detail in connection with fig. 31 and related figures of the embodiments, the labeled contour data is stored as a chained list of data structures corresponding to simple contour vertices and CSVs. In step 3080, a single node of the linked list ("contour _ node") is modified to reflect the folding of the edge.
If it is determined in decision step 3050 that the D _ ESO of the difference region is not less than the predetermined value, process flow proceeds to step 3084, where the original OB is preserved because the difference region tends to effectively occlude a relatively large number of mesh triangles OR portions of mesh triangles having relatively large surface areas without introducing too many additional triangles due to re-triangularization at the OR boundary.
The process flow proceeds to step 3090, where the SIL is set to "next _ SIL" and the process flow proceeds to process 30-5, which returns the process flow to step 3029, where the "SIL _ list" is effectively incremented by setting "next _ SIL" to the next unprocessed edge in the "SIL _ list".
If it is determined in decision step 3031 that the SIL and "SIL _ List" form the inside corner of the contour corresponding to the boundary of the OR, process flow proceeds to process 30-3, which proceeds from determining whether the current contour corresponding to the "SIL _ List" being processed is the outer contour of the Occluded Region (OR) OR the inner contour of the region.
If it is determined in decision step 3035 that the current contour is the outer contour, process flow advances to step 3037 to set the variable "best side" to the value "inside".
If it is determined in decision step 3035 that the current contour is not the outer contour, then the current contour is the inner contour and process flow proceeds to step 3039 to set the variable "best side" to "outside".
Process flow proceeds to step 3045 where two contour edges located on either side of SIL or "SIL _ next" are identified such that the edges are only likely to be located on the perimeter (in the perimeter array "SIL _ list") and such that the corresponding wedge planes of the edges intersect to form a line that intersects on the "best side" of the perimeter; wherein the "best side" is the "inside" of the contour for the outer contour and the "outside" of the contour for the inner contour. This ensures conservative simplification of the contour in the region of the inside corner silhouette vertex (simple or compound). The process may "fold" more than one edge at a time with a span specified by the variable N.
Process flow advances to step 3055 where the ESO of the region between the new OB and the original OB is determined and stored in variable D _ ESO (the ESO representing the difference region between the old OB and the new OB). The ESO estimates the "effectiveness" of occlusion regions that have been removed by conservative substitution of OB.
Process flow advances to decision step 3065 to determine whether D _ ESO is less than the predetermined value, "value 3".
If it is determined in decision step 3065 whether D _ ESO is less than the predetermined "value of 3", process flow advances to step 3075. If the D _ ESO in the difference region is small, the number of occluded triangles in the difference region is small and/or they have a relatively small surface area. Furthermore, a low D _ ESO value may indicate that there are many partially occluded mesh triangles in the difference region that would cause additional geometry by re-triangularization.
In step 3075, because the difference region has a relatively small D _ ESO value, the conservative boundary of the OR recalculated in step 3045 is stored as a new OR boundary to the region of the graph and the re-triangulated triangle introduced by the new OR boundary may also optionally be stored. Again, partially occluded mesh triangles may be considered as unoccluded, thereby reducing the amount of new geometry that would be produced by re-triangularization.
Process flow advances to step 3089 to remove data for the N contour edges that are effectively folded to conservative widths including the extended contour edge from the chained LIST of contour contours seen from viewcell for the mark representing the grid object and from SIL _ LIST. As discussed in connection with FIG. 31 and related figures, the labeled silhouette edges are stored as a linked list of data structures corresponding to simple silhouette vertices and CSVs. Subsequently in the process flow, in step 3080, the nodes of the linked list ("contour _ nodes") can be modified to represent the folded edges.
If it is determined in decision step 3065 that the D _ ESO of the difference zone is not less than the predetermined value, process flow proceeds to step 3091, where the original OB is retained because the difference zone tends to actually occlude a relatively large number of mesh triangles or portions of mesh triangles having a relatively large surface area, rather than introducing too many additional triangles because of the re-triangularization at the OB boundary.
Process flow advances to step 3095 where the SIL is set to "next _ SIL + N", N representing the span of edges that are replaced or folded by the conservative reduction process of step 3045. Process flow proceeds to process 30-5, which returns process flow to step 3029, where "SIL _ list" is actually increased by setting "next _ SIL" to the next unprocessed edge in "SIL _ list".
The method of fig. 30 is applicable to both simple and compound contour contours. For a compound silhouette contour, the inside corner silhouette vertex may be CSV. The method is applied to the completed visibility map as a post-process. Thus, the contour edge corresponding to OB _ SEG is marked. As described previously, during construction of the visibility map from the viewcell, a single first-order silhouette edge on the triangular mesh may eventually be subdivided into a plurality of visible sub-segments. Additionally, each of these segments may support an SV-ME wedge that intersects another contour edge to generate a CSV associated with the SE-MV sweep wedge. In the present method, the "SIL _ list" consists of individual sub-segments reflecting the visible complexity of simple or complex contour contours.
FIG. 30D is a 3D hidden line drawing showing viewcells and two polygonal meshes labeled "mesh F" and "mesh G". The figure is a perspective view with a mesh object generally disposed between a viewer and a viewcell.
MESH F is a triangular MESH representing a box object with six sides. Each rectangular face of "mesh F" is modeled as two triangles. In "grid F" 12 triangles, only 6 are shown, the other 6 being occluded and thus not shown. One triangle of "mesh F" is formed by the vertices labeled V1, V2, and V3.
The "mesh G" is a polygonal mesh having 21 polygons, some of which are represented by triangles and others of which are represented by rectangles. In the view, some of these polygons are occluded.
Fig. 30E is a 3D hidden line drawing showing the same perspective view as that of fig. 30D. In fig. 30E, a portion of a visibility diagram from a viewcell using the viewcell as a source is shown. The wedges on the first order silhouette edges that construct "grid G" intersect "grid F" to produce an occlusion region labeled OR-G. The wedge is not shown here. The occlusion region OR-G is surrounded by an occlusion boundary consisting of 7 occlusion boundary segments. OR-G lies entirely within the original mesh triangle formed by the vertices V1, V2, and V3.
In one embodiment, the construction of occlusion boundary segments surrounding OR-F is constructed according to the 3D mesh traversal process of FIG. 20A and related figures. Specifically, these occlusion boundary segments are added to the intersecting polygons in step 2068 in the exemplary flowchart shown in FIG. 20A.
In another step of the 3D mesh traversal process, as depicted in step 2083 in the exemplary flowchart of fig. 20A, triangles that intersect or contain occlusion boundary segments are re-triangulated into occluded and non-occluded regions. FIG. 30E shows the result of this exemplary re-triangularization of the original mesh triangles V1-V2-V3 using occlusion boundary segmentation of OR-G. During this re-triangularization, the original triangle V1-V2-V3 is re-divided into 10 new triangles, 7 of which correspond one-to-one with the 7 occlusion boundary edges of OR-GE, and 3 additional triangles result from OR-G further subdividing the triangle V1-V2-V3 into 3 regions defined by the vertices of OR-G.
Because the occlusion region OR-G is located entirely within the single original triangle (V1-V2-V3) of MESH F, it does not contain a complete triangle. That is, a polygon mesh ("mesh G") that introduces an occlusion boundary for OR-GE on "mesh F" does not completely occlude even a single mesh polygon of "mesh F" that has "viewcell" as the source. Therefore, the number of mesh triangles that are completely occluded by OR-G is 0.
Triangles V1-V2-V3 are partially occluded by "grid G". The partially occluded area is an area of OR-G. In this example, the surface area of OR-G is small relative to the surface area containing triangles V1-V2-V3.
In this example, OR-G does not completely occlude any mesh polygons, and occludes only a relatively small surface area of a single polygon. Because the Effective Static Occlusion (ESO) of an occlusion region is proportional to the number of polygons that are completely occluded by the occlusion region and the surface area of the completely OR partially occluded polygons, the ESO of OR-G is not sufficiently increased by these factors.
The ESO of an occlusion region varies in proportion to the number of new polygons created by re-triangularization at the corresponding occlusion boundary. In the example of OR-G, re-triangularization at the occlusion boundaries results in a single original triangle that is divided into 10 new triangles.
Thus, in this example, both the proportional factors (the number of fully occluded polygons and the surface area of occluded polygons) and the inverse factors (e.g., the number of new polygons generated by re-triangularization at the occlusion boundaries) of ESO tend to produce relatively small values for ESO of OR-G.
As described in the exemplary flow diagrams of fig. 30A-30C, in one embodiment, the OR-G with the small ESO may be completely removed from the visibility map (step 3017). Alternatively, the occlusion boundaries of OR-G may be simplified and the ESO for the simplified occlusion boundaries re-determined according to the exemplary flow diagrams of FIGS. 30A-30C. In a simplified approach, occlusion boundaries are made smaller by equating them to the boundaries of a connected set of fully occluded original mesh triangles within the occlusion region (steps 3020 to 3022). This results in redefinition of any partially occluded polygons as exposed. In this case, the visibility map and the developed PVS from the viewcell eliminate polygons that are only completely occluded. In another simplified embodiment, the actual occlusion boundaries of the occlusion region are conservatively simplified (steps 3023 to 3095).
One method of determining ESO as in one described embodiment employs a factor that measures occlusion. In one embodiment, the determination of the ESO further includes a factor reflecting the number of new polygons generated by the repartitioning at the corresponding occlusion boundary. The method is suitable for the following embodiments: the relative importance of the various factors can be adjusted based on the coefficients that compound the weight of each factor.
The operation principle is as follows: efficient storage of incremental PVS information using marked silhouette edges and incremental runtime construction of visibility graphs/PVS.
PVS data, especially if derived from high precision visibility maps, can have high storage costs. As previously described, delta PVS is a prior art method of reducing the storage cost of PVS data by storing only the difference between PVSs of adjacent viewcells. In the incremental PVS method of chugani et al (2005), the incremental PVS is a list of polygon cell IDs stored for each viewcell boundary (referred to as the increment I). The use of run length coding to store data is stored by two components: deltag + (newly visible primitives) and deltag- (newly occluded primitives) are made up of deltai. Even with this compression, the delta PVS data is large. For a powerplant with 1300 thousand triangles and 500,000 viewcells, 7GB is required to store the incremental PVS object IDs.
Embodiments include methods of efficiently storing incremental PVSs using implicit schemes, in which visibly exposed or visibly occluded silhouette edges of a generation geometry of a model for a particular viewcell-viewcell transition are identified by comparing corresponding visibility maps. These contour contours, which are either dynamically occluded or dynamically exposed, are identified and declared in an offline visibility preprocessing. The marker employs efficient run-length encoding that utilizes the definition of first-order contour edges to achieve significant algorithmic compression. The trip marking method is given in detail in connection with fig. 31 and the related figures.
At run-time, the visibility map/PVS for a viewcell is constructed from the visibility maps/PVSs of neighboring viewcells by:
1) a modified 3D mesh traversal of the visibility map of adjacent viewcells is performed. This fast traversal uses marked clearly occluded or clearly exposed contour contours to quickly construct new occlusion boundaries on the newly constructed visibility graph. Details are given in connection with fig. 32, 33, 34 and related figures.
Using these new occlusion boundaries, the newly occluded triangle is not traversed during the runtime traversal process. Since only the traversed triangles are represented in the new PVS, all this approach in fact enables the generation of PVSs with the newly occluded triangles removed. Details are given in connection with fig. 35, fig. 36 and related figures. The cost of incremental data storage and transmission is reduced by eliminating the need in most cases to explicitly store incremental G-information (e.g., a large list of newly occluded triangles).
2) Newly exposed geometry is added as a delta G + packet that may include an ID and/or actual geometry associated with a particular viewcell transition, where the newly exposed geometry "attaches" to the boundary of the VM associated with the new exposure. Because the visibility map from the zone can be computed with viewcell-triangle-segmentation accuracy, many of all newly visible triangles can be segments of the original mesh triangles. The present method of VM delta construction from neighboring VMs lends itself to techniques for re-triangulating triangles during runtime traversal/VM construction, which avoids having to store triangle segments in delta G + packets.
In some embodiments, the method uses hierarchically arranged viewcells. A relatively large parent view contains smaller child views. The VM/PVS for a large viewcell is constructed from the delta G + data for the adjacent large viewcell and additional delta using the delta construction method previously described. Because delta G + data between view cell transitions for large view cells tends to be large, it is natural to cluster the data, thereby reducing the number of disk accesses required to load delta G +.
The VM/PVS for the child (contained) viewcell is derived from the VM/PVS of the parent (contained) viewcell through a 3D mesh traversal modified at runtime. Because the VM/PVS of a child visual element is a subset of the VM/PVS of a parent visual element, the runtime 3D mesh traversal method for constructing a child VM from a parent VM uses only the marked dynamically occluded silhouette contour to construct an occlusion boundary that bypasses the geometry occluded in the transition from parent to child. This allows a more accurate VM/PVS to be constructed for runtime display without the need for additional delta G + data.
The hierarchical organization of viewcells also facilitates efficient stream processing of incremental PVS data. In some embodiments, only delta G + data packets corresponding to transitions between relatively large parent viewelements need to be transmitted. Only delta G-information (generated at runtime from the labeled profile information) is used to construct the VM/PVS of the corresponding child visual element from the VM/PVS of the parent visual element. Processing only parent delta G + information is more efficient because the overall time required to generally find, access and transmit a data unit decreases as the size of the packet increases.
Using the embodied labeled profile information and associated delta PVS data packets, precision-controlled VM/PVS is efficiently constructed from VM/PVS of adjacent (sibling) viewcells (using delta G + packets and a runtime 3D mesh traversal to bypass newly occluded triangles). For parent-to-child visual transition, delta G + grouping is not required because the entire VMS/PVS for the child visual can be derived by re-traversal of the VM of the parent visual using the silhouette edge hint information that bypasses the marker of the newly occluded triangle.
According to some embodiments, the runtime processing is performed as a prefetch operation. In interactive roaming, the position of the current viewpoint is used to predict the likely future view unit position based on the connectivity of the view unit (which is also the navigation unit of the model) and the current viewpoint velocity and other factors. Using this informed speculative prefetching, the VM/PVS of the parent viewcell in the vicinity that is reachable by the current viewcell (i.e., the viewcell containing the current actual or predicted viewpoint) is incrementally constructed and maintained. The set of viewports reachable from the current viewport within the specified time period may be constrained factors including inherent navigational constraints of the viewer's movement, including factors such as maximum actual or predicted viewpoint velocity and acceleration and adjustment velocity and acceleration. The local structure of the modeling environment, including obstacles and other conflicting constraints, can also affect the speed at which neighboring viewcells in the reachable vicinity of the viewpoint can be accessed, since construction typically does not require streaming of delta G + data.
The method enables an efficient visibility-based codec for streaming of interactive content via a local or remote server. The codec takes advantage of the inherent dynamic or temporary visible coherence of interactive roaming to minimize the bandwidth required for requested stream processing.
Unlike image-based streaming methods, the bandwidth required to stream visibility event geometry and texture information is relatively independent of the display resolution. In practice, the present approach tends to increase runtime rendering performance at high resolution because very accurate PVS is maintained that promotes both geometry and rasterized CPU performance at the relatively small CPU cost of incrementally constructing VMs at runtime. Furthermore, because the codec may be implemented as a speculative prefetch; it differs from image-based stream processing methods in that its performance is relatively independent of client-server connection latency.
FIGS. 31A, 31B, and 31C illustrate data structures used in a method of marking outline edges
As described in the preceding section, embodiments include the following methods: identifying dynamically occluded or dynamically exposed mesh silhouette edges and labeling them in an offline post-processing; the labeled silhouette edges are then used to implement the incremental VM/PVS at runtime.
As described in connection with FIG. 30, the contour from the region can also be simplified based on the effective static occlusion of the corresponding occlusion boundary segment in the VM. As shown in fig. 30, the simplified VM boundaries may be stored as simplified labeled contour lines (from which the simplified VM boundaries would then be constructed at runtime).
FIG. 31A includes a data structure for labeling simple and compound contour contours.
In some embodiments, the simple contour of the triangular manifold mesh is a connected sequence of edges that includes an ambiguous line. The poly lines may or may not form loops.
Assuming that the simple contour is not occluded, only the first-order definition of the contour edge from the view element is used; the entire simple contour can be effectively marked by marking a single edge of the contour. Given a single marked starting edge (or data structure pointing to that edge), the first order contour of the entire connection can be identified by simply looking for the connecting edge and determining which connecting edge is the first order contour edge. This fact is exploited in the present method to reduce the cost of storing the marked contours by identifying the majority of contour edges at run-time.
The contour seen from the viewcell may be a compound contour. If the visibility event surface (e.g., UBP) from the zone view intersects a (different) silhouette edge, a composite silhouette contour is generated. The intersection is a compound silhouette vertex or CSV.
Each inside corner vertex of the contour, whether simple or compound, may result in more than one zone-seen SE-MV ghost event surface (wedge/UBP) due to the sweeping process. Thus, there may be more incident facets on the contour than there are edges or vertices in the contour.
In some embodiments, the data structures used to mark the contour contours are organized as an array of data structures corresponding to the actual event surfaces incident on the actual contour edges and vertices. Because adjacent contour edges can be identified quickly at run time and UBPs (and corresponding OB _ SEGs of the visibility map) can be generated at run time, there is virtually no need to store many of the array elements.
The reduced storage costs resulting from implementing the inherent algorithm compression by identifying/generating the contour elements at runtime can be balanced against the runtime costs of directly using the contour node information of FIG. 31A discussed to generate this information. This information is used to accelerate the generation of the non-stored data at run-time. Fig. 31A and 31B illustrate an embodiment of a data structure for marking a contour.
In some embodiments, a data structure "Contour" is stored for each Contour. The data structure includes three fields to a particular mesh object, an edge of the mesh, and a vertex of the edge, respectively. In the storage form, all references are integer indices to a particular array of elements, although these references may become pointers. The structure "Contour" also contains a field int Node _ array, which is an index into the specific data structure array of type Contour _ Node. "struct group" also contains an integer field num _ nodes which gives the length of node _ array for the Contour.
The data structure "Contour" also contains an integer field VMinfo, which is an index to a particular element in the data structure array for the type VM _ Info. VM _ info (described in detail in the subsequent sections of this specification) contains information that provides a particular mesh and the mesh triangle that intersects the UBP is associated with a content _ Node. By pre-computing this information and storing it with the initial Contour elements of the span, it is possible to quickly construct at run-time all visibility maps OB _ SEG associated with the entire span of Contour elements encoded by the content _ Node if the associated UBP intersects the same triangular mesh. (this process of exploiting the inherent consistency of intersecting polyhedral manifolds is described in detail in connection with FIG. 35 and the related figures).
The data structure "content" also contains an integer field "last _ content", which is an index into the "content" structure array that represents the particular "content" to which the current "content" is connected at its tail. The data structure "Contour" also contains an integer field "next _ context," which is an index into the "Contour" structure array that indicates the particular "Contour" to which the current "Contour" connection is at its head.
The data structure "content _ Node" stores information on the respective elements of the Contour. As indicated previously, because many of the event surfaces incident on the contour may be algorithmically generated, they need not be explicitly stored. Thus, the ContourNode array to which Contour refers typically has fewer elements than the actual Contour has edges and primitive event surfaces.
The data structure "content _ Node" contains a character type field "Node _ type" indicating what type of Contour information is contained in the Node. If the node corresponds to the outside corner of the contour, the value of this field is set to 1. If the node corresponds to a simple inside corner of the contour, the value of this field is set to 2. If the node corresponds to a Compound Silhouette Vertex (CSV), the value of this field is set to 3.
The data structure "content _ Node" also contains a character type field span _ type, which represents the span type corresponding to the Node. If the node represents the span of the outside corner contour edge for the contour, the value is set to 1. If the node represents a span that can include both an outside corner and an inside corner, the value is set to 2. If the node representation is to be "skipped" to simplify the span of the contour edge of the contour (as described in connection with steps 3080 and 3089 in fig. 30).
The data structure "content _ Node" also includes an integer field that indicates the length of the represented span. In general, this corresponds to generating the number of primitive event surfaces generated on the contour edges and vertices encountered in the span, and thus, may be greater than the number of contour vertices in the span.
The data structure "content _ Node" also contains an integer field ninfo, which is an index to a particular element of the data structure array that stores additional information for the Node, depending on the value of the field Node _ type.
The data structure 'OC _ Info' may store additional data referred to by a content _ Node having a Node _ type equal to 1. The character field svsc stores a reference to the index of the viewcell that supports a particular vertex of the umbra event surface (UBP) corresponding to the first-order silhouette edge in the span. This optional information may speed up run-time generation of UBPs but increases storage size. Because a single contour may be used to generate multiple UBPs corresponding to multiple viewcells at runtime, this additional data may be constructed at one time at runtime rather than stored as labeled contour information with a database.
The data structure "IC _ Info" may store additional data referred to by a content _ Node having a Node _ type equal to 2. The optional character field ic _ type is an implication that indicates which type of construction strategy (rotation and sweep or intersection of adjacent SV-ME planes) should be employed to generate the SE-MV event surface incident on the inside corner sound at run-time. While the previously described heuristics can be used at runtime to make this decision, pre-stored data can be used to avoid runtime testing. Note that the hint data can also be stored for the entire span of Contour vertices by storing different values for span _ type for Contour _ Node (value 4 represents the intersection of adjacent SV-ME planes for all inside corner Contour vertices in the span and sweep vs. value 5 represents the intersection of adjacent SV-ME planes for all inside corner Contour vertices in the span).
The data structure "IC _ Info" may contain an optional character array field SVSC [4] that represents a hint for a particular viewcell that forms the contour of the supporting viewcell silhouette of the SE-MV event plane on which the inside corner silhouette vertex is constructed.
All of the information contained in the IC _ Info data structure is generated at run-time, so that virtually no grid database is required for storage.
The data structure CSV _ Info may store additional data referred to by a content _ Node having a value equal to 3. The integer field "mesh" stores an index to the particular triangle mesh that intersects the current UBP in the contour. The integer field "edge" stores an index to a particular edge of the intersecting triangular mesh. These two fields are used to define the CSV formed at the intersection of the UBP supported by the current element of the contour and the other contour edge. Again, the fields "mesh" and "edge" are optional because it is easy to determine the contour edge that intersects the UBP to form the CSV in half the cases (in cases where the current contour is processed in a direction that "leaves" the associated UBP/VM contour farther from the mesh). In other cases where the processing contour is run in a direction such that the UBP and corresponding VM OB _ SEG are structured to encounter the new grid
The "mesh" and "edge" fields may substantially reduce the runtime cost of incremental construction of new VM contours.
The data structure CSV _ Info may also optionally store the x, y, z values of the CSV in a double array field point [3 ]. The CSV _ Info structure may also contain optional fields charic _ type and char SVSC [4], as described in connection with the data structure IC _ Info.
Because all fields of the CSV _ Info are optional, not every ContourInfo Node can be linked to the CSV _ Info data structure, again reducing storage costs.
The data structure VM _ Info stores information about the visibility map occlusion boundary segment associated with the initial outline element of the Contour data structure. The storage of UBP and VM intersections associated with these outline elements, both of the grid and edges, can be used to compute the corresponding OB _ SEG for the VM at runtime. When OB _ SEG is determined, a subsequent OB _ SEG of VM occlusion boundary polylines corresponding to the contour lines is generated quickly at run time. This is similar to the storage of grid and edge references in the CSV _ Info data structure for accelerating the runtime construction of VM data.
The data structure shown in fig. 31A and 31B and fig. 31 for the marker outline contour is also reproduced below.
Figure BDA0001244149660002271
Figure BDA0001244149660002281
Figure BDA0001244149660002291
Figure BDA0001244149660002301
Figure BDA0001244149660002311
FIG. 31D is a diagram illustrating a data structure of an exemplary embodiment employing delta G + data.
In one embodiment, a delta G + grouping of information may be associated with each viewcell-viewcell transition. The exemplary data structure DeltaGplus _ Header includes fields representing a start view element (view _ start) and an end view element (viewcell _ end) and a particular plane (transition _ face) for the associated transition. Another data element, DeltaGplus _ array, is a reference to an array of DeltaGplus data structures that actually contain or refer to the grid geometry. In some embodiments where DeltaGplus _ array is stored in main memory, DeltaGplus _ array may be accessed through a pointer. In other cases, the DeltaGplus _ array variable may be an index to an array, e.g., to disk storage formed by incremental G + data. Another field, DeltaGplus _ count, stores the number of DeltaGplus data structures in DeltaGplus _ array. The additional packet _ size indicates the storage and transfer byte size of the associated information.
DeltaGplus _ Header refers to one or more DeltaGplus data structures, which in turn refer to geometry, material, texture information for the corresponding polygon mesh. An exemplary data structure for this information is shown as data structure triangles, edges, vertices.
32A and 32B are flow diagrams illustrating the use of a data structure for labeling a silhouette contour to identify edges and vertices of the silhouette contour.
FIG. 32 is a flow chart illustrating a method of quickly identifying all edges of a contour seen from viewcell given some of the edges of the contour have been labeled using the data structure of FIG. 31, either simple or compound.
The method of fig. 32 takes advantage of the fact that: the contour contours generally form ambiguous lines on the manifold grid. Because the grid is represented as a directed graph (using a wing edge data structure or similar data structure) with associated connection information, the identification of edges connected to other edges is simplified.
Turning now to FIG. 32A and using the data structure of FIG. 31, data elements are stored in arrays and the arrays are accessed through their indices (alternative embodiments may project these references as runtime pointers). In some embodiments, process flow begins at step 3205, where the current vertex c _ vertex is identified using the index from the data structure for the current Contour. Mesh, which is the number of edges of the mesh.
Process flow advances to step 3207 where the current edge is similarly accessed using the actual contact. Also in step 3207, the integer used to update the index in the content _ Node type array is set to 0.
Process flow advances to step 3209 to access the current contour node c _ node using the index con.
Process flow advances to decision step 3211 to determine if c _ node. If the type is not 3, the current node represents data for a simple contour node and process flow proceeds to step 3213 to set the counter segi to 0.
Process flow advances to decision step 3217 to determine whether c _ node. Span type is equal to 2, then the segment of the current contour span may include the contour vertex with the outside corner as seen from the view unit and the contour vertex with the inside corner as seen from the view unit, and process flow proceeds to step 3220.
The previously specified method of identifying inside corner simple contour vertices is used in decision step 3220 to determine if the vertex shared by c _ edge and next _ edge is an inside corner contour vertex.
If it is determined at decision step 3220 that the two silhouette edges form an inside corner, process flow advances to step 3224.
In step 3224, the integer value p is set equal to the number of SE-MV wedges incident on the inside corner vertex as determined by applying the swept construction of the SE-MV wedges (step 3228).
Process flow advances to step 3232 where a counter segi representing the number of visibility event surfaces constructed for the contour width is incremented by the number of SE-ME event surfaces incident on the CSV.
Process flow advances to decision step 3229 to determine whether the value of segi is equal to the span length of the current contour node.
If it is determined in decision step 3229 that the value of segi is equal to the span length, then the width has processed the span and process flow advances to decision step 3233.
It is determined in decision step 3233 whether the value of the integer variable ni, which is the index to the current contour node for the contour, is equal to the number of nodes in the contour.
If it is determined at decision step 3233 that the current node is the last node of the contour, process flow advances to step 3237 where the next contour is processed. Process flow terminates at step 3237.
On the other hand, if it is determined at decision step 3233 that the current node is not the last node of the contour, process flow advances to step 3245.
In step 3245, the node counter used in step 3209 is advanced to access the next node.
If it is determined at decision step 3217 that the span _ type of the current node indicates that there are no inside corner nodes on the span, process flow advances to step 3221.
Likewise, if it is determined at decision step 3220 that the current contour edge and the next contour edge do not form inside corners, process flow advances to step 3221.
In step 3221, a VM segment corresponding to the single SV-ME UBP incident on the current edge is formed (using the methods discussed in detail in subsequent portions of this specification of FIGS. 36, 37, and related figures).
Process flow advances to step 3225 to increment variable segi by 1 consistent with constructing a single umbilicity visibility event surface on the outline edge.
Process flow advances from step 3225 to decision step 3229, which has been described.
If it is determined at decision step 3221 that the type of node is type 3 consistent with Compound Silhouette Vertices (CSVs), process flow continues to process 32-1, which begins at step 3250 (FIG. 32B).
Process flow advances to step 3250 to refer to the additional data in the CSV _ Info node using the array index stored in cnode. This information gives the number of grids that contain more distant grids of the CSV.
Process flow advances to step 3255 to access the number of edges of the edge that intersect the current UBP (where the intersection is the current CSV) via CSV _ Info.
Process flow advances to 3260 to calculate CSV as the intersection of the current UBP and C _ EDGE. Alternatively, the value may be pre-computed and stored in the floating point CSV _ Info. point [3] field of the corresponding CSV _ Info structure.
Process flow advances to step 3265 to set C _ Vertex to the index of the next Vertex after the CSV Vertex (on the unoccluded side), and process flow advances to process 32-2, which returns process flow to step 3215.
In general, the method of FIG. 32A enables the identification of multiple edges of a contour using only some of the labeled edges. Thus, the tagging scheme uses very little storage. The method exploits the natural continuity of the contour contours to facilitate rapid generation of VM segments at runtime from some labeled contour edges and associated hinting information. This runtime construction of VM/PVS using labeled silhouette edges is discussed in detail in conjunction with FIG. 36 and FIG. 37.
Fig. 39A, 39B show an example obstruction and the incremental region (DR) of the obstruction formed by a simple obstruction when viewed from the connected viewcells a and B, respectively. Fig. 33A and 33B are flowcharts illustrating a method of identifying connected regions of a manifold triangular mesh that are occluded when viewed from view cell B and not occluded when viewed from view cell a. This process provides a solution to the problem of determining connected regions of the manifold triangular mesh that are exposed when viewed from viewcell a and not exposed when viewed from viewcell B.
In some embodiments, the connected regions of the manifold triangular mesh that are exposed as seen from one viewcell and occluded as seen from another, adjoining (or contained) viewcell are referred to as Delta Regions (DR).
An increment region corresponding to a connected region of the manifold triangle mesh that is occluded when viewed from view cell B and not occluded when viewed from view cell a (i.e., located in the visibility map of view cell a) is designated as DRoAB (occlusion increment region from a to B).
This is the same as the delta region of the manifold triangle mesh that corresponds to the connected region that is exposed when viewed from view cell a (i.e., is located in the visibility map of view cell a) and occluded when viewed from view cell B. Such delta area is designated as DReBA (exposed delta area from B to a).
Of course DRoAB ═ DReBA.
Thus, while the method of fig. 33A and 33B illustrates determination of a DRoAB (determination of an occlusion delta region from view cell a to view cell B), the method is applied to determine an exposure delta region by reversing the order of the view cells processed.
FIG. 39A shows an example polygon mesh O that is used as an occlusion to occlude the larger polygon mesh in FIG. 39B.
Fig. 39B shows a visibility diagram arising on the face of a simple grid labeled 3910. 3910 is a rectangular polygonal mesh formed by two triangles which are not shown to simplify the figure.
In some embodiments, the shaded hexagonal map labeled "occlusion region view cell a" is the from-view cell-seen occlusion region of the simple occlusion shown in fig. 39A generated using view cell a as the source and using a first-order visibility map construction method. Note that since the SE-MV wedge is only generated at the inside corner of the original 5-sided occlusion O, the occlusion region has one more side than the occlusion O.
Similarly, the unshaded hexagonal map labeled "occlusion region view cell B" is the occlusion region seen from view cells generated using view cell B as the source and using the first order visibility map construction method for the simple occlusion shown in fig. 39A.
The part of the occlusion region view unit B outside the occlusion region view unit A is marked as DROAB (occlusion incremental area from A to B) and DREBA (exposed delta area from B to a).
The region labeled 3920 is outside of these two occlusion regions, and because it is within region 3910 that is visible from viewcells a and B, region 3920 is visible from viewcells a and B and is not an incremental region.
FIG. 40 shows a view labeled DR outside of the occlusion zone view unit B, except for occlusion zone view unit A OBA (occlusion delta zone from B to A) and DREAB (exposure increment region from a to B) is the same visibility map as the unified from-region visibility map shown in fig. 39B except for the portion. Here, the grid on which the visibility map boundary is inscribed is labeled 4010, which is the same as 3910 in fig. 39. The black portion of the "occlusion region view unit a" indicates a portion of the "occlusion region view unit a" which is common to the "occlusion region view unit B". The zone labeled 4020 is located outside of both occlusion zones, and because it is located within the zone 4010 that is visible from both viewcell a and viewcell B, the zone 4020 is visible based on both viewcell a and viewcell B and is not an incremental zone.
Thus, in some embodiments, but moving from view B to view A, the delta packets may include the difference DR of the visible portion between view B and view AEAB (i.e., increment region). Thus, by transmitting the delta packet including only the delta region, the bandwidth requirements for transmitting graphical information are reduced since the entire set of visible graphical elements for each viewcell need not be retransmitted.
Fig. 41A is a flowchart illustrating the use of the visibility method for wedges (fig. 14, 15, and 16) to identify a CSV and to construct a wedge line for SV-ME wedges.
Fig. 41A shows details of the visibility method of fig. 15 with respect to the wedge. Specifically, fig. 41A illustrates the use of step 1520 to identify the CSV and the use of step 1545 to construct a Wedge Line (WL) incident on the CSV.
Fig. 41A is a top-down elevation view showing a viewcell labeled 4101. The first-order silhouette edges of some polygons of the polygon mesh are labeled 4104. The SV-ME wedge incident on first order contour edge 4104 is surrounded by 4104 and edges 4015 and 4106. The wedge is constructed using a rotation method in which rotation is made from 4104 to the Supporting Viewcell Vertex (SVV) labeled 4102.
In this example, both the first order silhouette edge 4104 and the viewcell vertex 4102 lie in the plane of the front view. Other marked viewcell vertices 4103 and 4111 lie below this plane (which is not readily apparent in this elevation view).
The SV-ME wedges intersect different polygon mesh objects. This intersection forms an ambiguous line labeled 4107 that encloses an inner region (located within the corresponding polygon mesh) labeled 4112.
The points labeled 4108 are the vertices of the silhouette as seen from the viewcell element (in this case, from the point).
The point labeled 4108 in this case also happens to be a point on the contour edge as seen from the view cell.
The rotation step of fig. 15 (i.e., rotation to the viewcell vertex supporting the first order silhouette edge intersecting the current wedge) is used to construct a Wedge Line (WL)4109 incident on CSV 4115.
The point labeled 4108 is CSV. This point corresponds to the intersection of the SV-ME wedge (incident on 4104 and bounded by edges 4105 and 4106) with the first order contour edge as seen from the view cell. The first order silhouette edge enters and exits the plane of the figure. The intersection occurs at point 4108.
Dashed line 4110 corresponds to a side view of a first order wedge incident on a first order view cell looking outline edge into and out of the plane of the figure at point 4108. The first order wedge is an SV-ME wedge with a supporting viewcell vertex labeled 4103.
The triangular region between WL 4109 and the imaginary edge 4110 need not be part of the wedge. If neither the apparent cell vertex supporting the wedge (vertex 4109) nor the apparent cell vertex supporting the intersecting first order contour wedge (vertex 4103) is in the same plane as the wedge's plane, one or more SE-MV wedges that do not lie in the plane of the current wedge (bounded by edges 4104, 4105 and 4106) will connect the current SV-ME wedge with another SV-ME wedge viewed from the side at dashed line 4110.
These SV-ME wedges are formed during the 3D mesh traversal process (step 2060) using a sweep method at the CSV.
Dashed line 4113 shows the boundary edge of one of the SE-MV wedges connecting the two SV-ME wedges. In this example, the SE-MV wedge is formed by a sweep from view element vertices 4103 to 4111. The SE-MV is directly connected to the SV-ME wedge sharing edge 4110. This is the wedge that intersects the current wedge at point 4108 (CSV).
The second SE-MV wedge formed by the sweep between 4111 and 4102 is delimited by dashed line 4113 and another line located above 4109. The third SE-MV wedge is connected to the edge 4109 by a sweep between the line located above the line 4109 and the line 4109 itself. The SE-MV wedge is seen laterally as overlapping lines 4109 in fig. 14.
In this example, three SE-MV wedges are used to connect the current SV-ME wedge with the SV-ME wedge that the current wedge intersects at CSV point 4108.
In this case, the current wedge is an SV-ME wedge and the visibility problem is the visibility from the point. In this case, each 2D discontinuity mesh point with respect to a wedge (intersection of a wedge line and a mesh polygon) corresponds to an occlusion boundary point as viewed from the VCE (point). Therefore, no additional testing in step 1563 need be performed.
Fig. 41B is a diagram showing visibility processing with respect to wedges, including a wedge line configuration for a case where a connecting SE-MV wedge intersects a polygonal mesh at a contour vertex forming a tip of a first-order contour line.
FIG. 41B is a block diagram illustrating the same first-order mesh contour edge (labeled 4123) as the first-order mesh contour edge (labeled 4104) of FIG. 41A. The SV-ME wedges in both figures are supported by exactly the same point (labeled 4121 in fig. 42B and 4102 in fig. 42A). Since the support points and the supported profile edges are the same, the resulting SV-ME wedges are also the same.
In the case of fig. 42B, the view unit is larger than that of fig. 41A.
In the case of fig. 42B, the silhouette vertex (4127) seen from the view unit element does not correspond to the first-order silhouette edge seen from the view unit. Thus, the surface bounded by the SE-MV on the vertex constructed by the sweep process intersects the polygonal mesh at the vertex. The intersection is the tip of the first order contour. FIG. 41D shows the tip of a first order contour in 3D (labeled CUSP), the details of which are discussed in connection with the figure.
In the example of fig. 42B, a SE-MV wedge is formed between WL 4129 and line 4131. The SE-MV is formed by the sweep between view cell vertex 4121 (supporting the current wedge) and view cell vertex 4122 supporting the SV-ME wedge on the first order mesh contour edge of the plane of the figure coming in and out at marked mesh vertex 4128. In other cases, the SE-MV wedge may not lie in the plane of the current wedge. Clearly, the SE-MV wedge intersects at a contour vertex 4127, seen from the viewcell element, with respect to the wedge at the polygon mesh. Thus, a discontinuity mesh boundary occurs on the polygon mesh 4126, and one segment of the boundary contains vertex 4127, which is also the inner vertex of the current wedge. Thus, point 4127 is both the point located in the visible portion of the polygon mesh and the initial point located on the first order contour, making it the tip of the contour.
Dashed line 4130 corresponds to the SV-ME wedge formed on first-order contoured edge 4128 (out of the plane of the figure). Typically the part of the wedge visible from the view cell is connected to the current wedge by a discontinuity mesh boundary created by the intersection of the SE-MV wedge (4129) 4127 and 4131 with the polygon mesh. In this case, a discontinuity mesh boundary located on the surface of the polygon mesh connects two other unconnected first-order contour contours to form a continuous ghost event surface.
FIG. 41C illustrates processing for SE-ME wedges regarding visibility of wedges using the 2D mesh traversal processing of FIG. 15 and related figures.
4165 is a viewcell. In this case, the edge of the viewcell having end points 4163 and 4167 is the support viewcell edge for first order mesh silhouette edge 4172. In this case, edge 4172 is precisely parallel to the supporting viewcell edge and forms a SE-ME wedge. The SE-ME wedge consists of a first order profile edge 4172 and lines 4174 and 4176. The latter two lines are formed by extending the diagonal edges of the corresponding SE-ME support polygon.
Three grid objects 4170, 4188 and 4186 intersect the wedge. The first order UBLs incident on the first order silhouette vertices are shown as dashed lines 4178, 4190 and 4192.
Grid 4188 intersects the contained boundary of the wedge at point 4193. In one embodiment of the 2D mesh traversal process, traversal is initiated at a point that intersects a previously processed wedge (e.g., another wedge sharing an edge 4147, not shown). In this case, the ambiguous line segment of grid 4188 that contains point 4193 is the starting segment of the 2D traversal.
The traversal proceeds to the next segment labeled 4194. The axis between segment 4194 and the supporting viewcell edge contains a segment of grid 4170, so traversal of grid 4188 is aborted and the traversal jumps to 4170 (step 1510).
During traversal of the mesh 4170, WL 4178 and 4192 are constructed at the corresponding contour vertices seen from the viewcell edge (steps 1520 and 1545).
For each of the WLs, an intersection with the nearest polygon mesh object is found by ray casting (step 1555). These intersections, labeled 4182 and 4184, respectively, are potential occlusion boundary points.
Each of these points is tested to determine if it is otherwise occluded from view of the supporting viewcell element (VCE), which in this case is an edge (step 1563). This test employs a 2D version of the point containment test of the modified polyhedron of figure 25 (point containment test of polygons).
In the case of points 4182 and 4184, these points were otherwise occluded from view cells as evidenced by modified polyhedron/polygon point containment tests using mesh polygon segmentation and other first-order WLs (including 4190). Thus, the above-mentioned points are not occlusion boundary points and do not limit traversal.
Eventually re-initiating traversal on edge 4194 found to have a contour vertex. In step 1545, WL 4190 is constructed at the vertices of the viewcell edge (and the viewcell edge contour). In step 1555, the intersection of the WL and the nearest lattice polysense line segment is determined as point 4180.
In step 1563, the point 4180 is determined to be otherwise not visible from the side of the supporting viewcell, and is thus an occlusion boundary point. This point prevents traversal into the occluded portion of the 2D mesh 4186. The occluded portion is labeled 4195.
Traversal eventually proceeds (steps 1583 and 1585) on the unoccluded side of OB point 4180 until an inclusion boundary point 4196 is encountered.
FIG. 41D is a section including cusps and compound contour vertices showing a polygon mesh, viewcells, and first order contour contours. The polygon mesh is labeled "mesh B1". In one embodiment, "mesh B1" is a manifold triangular mesh. In fig. 41D, some of the edges of the mesh polygon are not shown to simplify the drawing.
The three first order contour edges and their associated SV-ME wedges (support vertex wedges) are labeled. The wedges are not shown in their full semi-infinite extent. The wedge SV-ME-WB2 is incident on the first order profile E2. The wedge SV-ME-WB3 is incident on the first-order contour edge E2. Both wedges are supported by the viewcell vertex labeled SVV-B2.
A portion of another first-order silhouette edge is shown as a line segment between a mesh vertex labeled VB and a composite silhouette vertex labeled CSV-B. In this view, another portion of the first order silhouette edge is occluded. (which is obscured by wedge SE-MV-WB 12). Wedges SV-ME-WB1 are supporting apex wedges incident on the entirety of the first order silhouette edge. Wedge SV-ME-WB1 has a corresponding supporting viewcell vertex labeled SVV-B1.
The MESH vertex labeled CUSP-B is the inside corner vertex of MESH-B1. The supporting edge labeled SE-MV-WB12 wedges against CUSP-B and has a corresponding supporting viewcell edge labeled SVE-B12.
The mesh polygon edge defined by the line segment between vertex VB and vertex CUSP-B is not a first order silhouette edge because none of the mesh polygons sharing that edge is back-paired with respect to all "viewcell" vertices. Thus, the chain of connected first-order silhouette edges, including edges E3 and E2, ends at CUSP-B.
However, the conservative linearized umbral event surfaces formed by the wedges and by their intersection with the mesh polygons are continuous at CUSP-B. In this case, continuity is created by the wedge SE-MV-WB12 incident on CUSP-B. The wedges SE-MV-WB12 intersect the mesh polygons to form occlusion boundary segments labeled OB-B. The wedge SE-MV-WB12 also intersects the first order contour edge on the line formed by VB and CSV-B. The intersection of wedge SE-MV-WB12 with this first-order silhouette edge is the compound silhouette vertex CSV-B. At CSV-B, a wedge SE-MV-W12 divides the intersecting first-order silhouette edge into an unoccluded segment (the segment defined by VB and CSV-B) and an occluded segment (not shown).
The three segments E2, OB-B, and CSV-B form a continuous first-order umbral contour on "grid B1" that supports the corresponding continuous linearized umbral event surface (wedges SV-ME-WB2, SE-MV-WB12, and SV-ME-WB 1).
The intersection of wedge SE-MV-WB12 (which in this view is projected "above" wedge SV-ME-WB1) with SV-ME-WB1 is shown as the intersection labeled "edge 1". The embodiment that constructs the PAUs corresponding to these CLUES determines the intersection. Other embodiments, such as those that construct a visibility map from a region, may not explicitly determine the intersection.
33A, 33B, 33C, and 33C include flow diagrams illustrating a method of identifying VM regions of interest (ROIs) in a unified visibility diagram representing transitions from one viewcell to a related viewcell and a method for marking silhouette contours corresponding to occlusion boundaries of those ROIs with efficient occlusion.
Fig. 33A, 33B and 33D illustrate an embodiment of a method of identifying connected regions of a manifold triangle mesh, referred to as regions of interest or ROIs, which reflect changes in visibility during view cell transitions (e.g., from VC a to VC B).
The flow chart also shows a method of identifying contour contours corresponding to Occlusion Boundaries (OB) or boundaries defining an ROI. In addition, the flow chart illustrates marking these Contour contours (using the Contour data structure and associated data structures of FIG. 31) and storing additional Contour-associated information (e.g., VM _ Info data of FIG. 31A).
According to some embodiments, the method of fig. 33A-33D is performed as an offline or pre-calculation process. The method is capable of identifying delta G + and delta G-components of delta PVS data that may be used during runtime processing to incrementally construct a new PVS from an existing PVS. Alternatively, the method of fig. 33A-33D can identify and mark contour contours corresponding to the boundaries of the ROI. This marker profile contour information can then be used to construct deltas G + and deltas G-at run-time. This approach may require significantly less storage/transmission resources than explicitly storing/transmitting delta G + and delta G-packets.
If one of the viewcells is fully contained in another viewcell, the ROI corresponds to a region that is visible only from the contained viewcell. In some embodiments, the labeled contour contours corresponding to these types of ROIs are used to construct child viewcell VMs from parent viewcell VMs at runtime (using implied, simplified 3D mesh traversal), avoiding explicit storage of delta G-information in certain cases.
The ROI corresponds to an incremental region (DR) if two viewcells share a surface and one viewcell is not contained within the other viewcell (a relationship referred to as "adjacency"). For the visual cell transition from VC a to VC B (referred to as AB transition), DR has two types. One type of incremental zone DROAB (occlusion delta region from a to B) contains mesh triangle segments that are visible from view unit a and not visible from view unit B. DR (digital radiography)OAB is also DREBA (exposed delta area from B to a). Likewise, DROAB=DREBA。DROAB corresponds to incremental G-data for AB transitions, while DREBA corresponds to delta G + data for AB transitions. The marker contour contours corresponding to the boundaries of these ROIs may be used to construct delta G + and or delta G-data at runtime (using implied, simplified 3D mesh traversal as well), avoiding explicit storage of delta G + and delta G-polygon segmentation information in certain cases.
Turning now to fig. 33A-33D, at a first stage of processing, the type of ROI to be identified for a particular view cell transition is specified. The ROI is a specific region of a specific unified visibility map that represents a view cell transition. The unified visibility map for the AB transition is a visibility map containing mesh triangle segments visible from view unit a and view unit B and OB _ SEG for each of the view units for VM as seen from view unit.
In some embodiments, process flow begins at step 3305, where it is determined whether the following viewcells have a parent-child (inclusion-contained) relationship: delta visibility information for a particular cell transition is determined.
If it is determined in decision step 3305 that there are parent-child relationships for the viewcell for which delta visibility information is to be determined, process flow advances to step 3307.
In step 3307, the ROI to be identified is the region visible from the contained (sub-) viewcell for the particular viewcell transition. Since VMs for child viewcells are always a subset of parent viewcells. The child VM is constructed in some embodiments using explicit delta G-information for the transition calculation. However, if the child viewcell is significantly smaller than the parent viewcell, the corresponding delta G-information may be relatively large. Alternatively, in the present method, the regions of interest (ROI) for such transitions may be set to only those regions that are visible from the sub-view unit. By identifying the seed triangles and boundaries of these regions, the VM/PVS of the child viewcell can generally be determined from the VM of the parent viewcell using less information by performing a simplified, implied 3D mesh traversal of the unified visibility graph starting with the seed triangles.
If it is determined in decision step 3305 that the viewcell for which delta visibility information is to be determined does not have a parent-child relationship, process flow advances to step 3309.
Step 3309 represents that the two viewcells are contiguous (viewcells share a face and one viewcell coal is not contained within the other viewcell). Parent-child and adjacency relationships are two special arrangements of two viewcells, where the transition from one viewcell to another occurs in a volume of space that is completely contained in the union of the two viewcells. Using these two viewcell steps, it is ensured that the ROI as subsequently constructed in the process completely and conservatively reflects newly visible and newly exposed regions (e.g., temporarily visible geometry is missed because there is no "gap" between the relevant viewcells).
Process flow advances to step 311 to indicate that the ROI is a visibility increment region (DR).
Process flow advances to decision step 3313 to enumerate the various types of DRs. If it is determined at decision step 3313 that the DR to be identified is visible from VC A and not visible from view cell B, process flow advances to step 3315.
In step 3315, the ROI to be identified is DROAB and DR EBA。
If it is determined at decision step 3313 that the DR to be identified is visible from VC B and not visible from viewcell A, process flow advances to step 3317.
In step 3317, the ROI to be identified is DREAB and DROBA。
In some embodiments, steps 3305 through 3317 enumerate only the types of ROIs to be identified for a particular viewcell transition, depending on the relationship between transition viewcells and the intended use of the delta visibility information. For a particular transition between adjacent viewcells A and B along the AB direction, these two types of ROIs, DR, are typically identifiedEAB and DROAnd BA. Together, these two types of ROIs fully describe the visibility change for visual cell transitions (delta VM/delta PVS).
Beginning in step 3319, the actual identification of these ROI regions in the starting unified visibility map.
In step 3319, the VM for the view that includes the union of view A and view B is determined (e.g., using any of the previously described VM construction methods from view A). Any superset of this VM may also be used as a starting VM for subsequent construction of OB _ SEG (step 3321) corresponding to the from-view visibility map for the two views of the transition. This fact enables the determination of delta visibility information (explicit delta G grouping or contour data of corresponding markers) to be resolved using an efficient hierarchical decomposition of the visibility problem from region view. In this hierarchical approach, the triangle segments visible from any viewcell containing both viewcell a and viewcell B can be used as VMs to construct a unified VM for viewcell a and viewcell B. (this fact can also be used to reduce delta PVS storage requirements, since delta PVSs for many viewcell transitions can ultimately be generated from data of a single unified visibility map corresponding to viewcells containing other viewcells).
Process flow advances to step 3321 where OB _ SEG corresponding to the visibility map from viewcell determined from viewcell a and OB _ SEG corresponding to the visibility map from viewcell determined from viewcell B are constructed on the triangle segments visible from viewcell (a + B). The set of triangular segments visible from view unit (A + B) along with OB _ SEG from view unit A and OB _ SEG from view unit B is referred to as a unified visibility map for view unit A and view unit B. In some embodiments, the construction of these OB _ SEGs employs the previously described 3D/2D mesh traversal method for VM construction from viewcell (fig. 20 and related figures).
Of course, if viewcell A is the parent of viewcell B, the visibility map from viewcell (A + B) constructed in step 3319 already contains all mesh triangle segments visible from viewcell A and OB _ SEG corresponding to the contour from viewcell A. OB _ SEG corresponding to view cell B is added in step 3321. In case the two viewcells are contiguous and/or the start VM used is a superset of VM (a + B), two sets of OB _ SEG typically have to be constructed in step 3321.
Process flow advances from step 3321 to process 33-1, which begins at step 3323 (fig. 33B). In step 3323, the unified visibility graph is traversed to define a VM region formed by the OB _ SEG arrangement as seen from both viewcell A and viewcell B. In this traversal, a triangle is selected and the traversal proceeds to the boundary formed by OB _ SEG. In this step, the 3D mesh traversal is performed as a breadth-first traversal of the already constructed unified visibility graph. Traversal proceeds to traverse the constrained contour and the corresponding occlusion boundary. This simple traversal method ensures that all triangles/segments for a particular ROI traverse to the boundary of the ROI, even if the ROI has internal holes or spans multiple individual triangle meshes. (the previous construction of the VM may eventually "fuse" the portions of the triangular meshes into a single ROI with internal holes corresponding to the unobstructed region of the more distant mesh triangle visible through the hole in the closer triangular mesh surrounded by the inner contour).
Process flow advances to step 3325 to determine whether any non-traversed triangles remain in the current traversal/VM region (i.e., non-traversed triangles that are connected to the current triangle, where the connection need not cross the occlusion boundary). If it is determined in step 3325 that there are triangles in the current traversal that are not traversed, process flow advances to step 3327 where the next triangle in the traversal is traversed.
On the other hand, if it is determined in decision step 3325 that there are no triangles remaining in the current traversal, then process flow proceeds to step 3328 because all triangles of the current VM have been traversed.
In step 3328 it is determined whether the unified VM area identified in traversal steps 3323 and 3325 is viewed from viewcell a, from viewcell B, or from both. In some embodiments, this is determined using a simplified point containment test of the polyhedron of FIG. 25. In the case of parent-child related visual element transitions, some simplification of the test may be made because all traversed regions are visible from the parent visual element.
The following alternative embodiments are possible: a single point in the VM region is first determined (steps 3328 and 3331) before initiating traversal in the VM region (step 3323). The method enables identification of VM regions that are not ROIs without full traversal of the VM regions.
Process flow advances to decision step 3331 to determine whether the traversed region of the VM corresponds to the perceptual Region (ROI) previously established in steps 3305 through 3317 for the particular viewcell transition. This is determined by comparing the results of step 3328 (e.g., visible from A, visible from B, or visible from both, or invisible from both; the latter is only possible if the VM used is a superset of VM (A + B)) with the definition of ROI determined in earlier steps 3305-3317.
If it is determined in decision step 3331 that the traversed region of the unified VM is not a ROI, process flow proceeds to decision step 3349 to determine if there are any non-traversed triangles in the VM.
If it is determined in decision step 3349 that there are any unretraversed triangles remaining in the unified visibility graph, process flow proceeds to step 3337 where the next triangle in the unified VM (belonging to the new VM region) is selected for processing.
If it is determined in decision step 3349 that there are no more untracked triangles remaining in the unified VM (no more unified VM regions to process), then process flow advances to step 3352. The process flow terminates at 3352.
If it is determined in decision step 3331 that the region of traversal of the VM is the ROI, process flow advances to step 3332.
In decision step 3332, it is determined whether the current ROI is an occlusion delta region (DR _ O) for the view cell transition. If ROI is DROProcess flow advances to step 3334.
In step 3334, the effective static occlusion of the ROI is determined using the metrics previously described for the occluded region. The value of a variable called Effective Dynamic Visibility (EDV) is set to the ESO of the ROI.
If it is determined in decision step 3332 that the current ROI is not DR OProcess flow advances to step 3333.
In decision step 3333, it is determined whether the current ROI is an occlusion delta region (DR _ E) for the view cell transition, if the ROI is DREProcess flow advances to step 3336.
In step 3336, the Effective Static Occlusion (ESO) surrounding the occluded region of the current ROI (referred to as surrounding the occluded region or SOR) is determined using the metrics previously described for the occluded region. The value of a variable called active dynamic visibility is set to the aggregate ESO of SORs.
If it is determined in decision step 3333 that the ROI is not an exposed incremental region, process flow advances to step 3335.
It is determined in a decision step 3335 whether the current ROI corresponds to a region visible from child viewcells for a particular parent-child viewcell transition. If the ROI is a sub-region, process flow advances to step 3338.
In step 3338, the occluded region surrounding the current ROI (referred to as surrounding occluded region or surrounding occluded region) is determined using the metrics previously described for the occluded regionSOR) Effective Static Occlusion (ESO). The value of a variable called active dynamic visibility is set to the aggregate ESO of SORs. Note that for DREThe same processing is performed as in the case of the sub-ROI, but they are different here for the sake of explanation.
Following steps 3334, 3336 or 3338, process flow proceeds to step 3346.
A determination is made in a decision step 3346 whether the EDV for the ROI (the measure of "effectiveness" or efficiency of the current ROI in representing incremental visibility to a particular viewcell) is greater than a predetermined VALUE (e.g., VALUE 2).
If it is determined in decision step 3346 that the EDV for the ROI is not greater than the predetermined VALUE (VALUE2), process flow advances to step 3340.
If it is determined in decision step 3340 whether the boundary (and corresponding contour) of the current region of interest can be significantly simplified (e.g., using the method of fig. 30, where ESO is used as a measure of conservative simplification of the guiding boundary). If ROI is DROThen the method of fig. 30 may be applied directly to that region. If ROI is DREOr sub-region, the method of fig. 30 is applied to the occluded region (SOR) surrounding the current ROI. The SOR may be defined as an occlusion region immediately adjacent to the ROI. Alternatively, the SOR may include other occlusion regions connected to the set of SOR. This approach enables a conservative simplification process to be extended to neighboring regions to ultimately achieve a substantially simplified ROI.
If it is determined in decision step 3340 that the boundary can be simplified, then in decision step 3346 the EDV of the new conservative representation of the region enclosed by the simplified occlusion boundary is determined.
On the other hand, if it is determined that the boundary of the current ROI cannot be simplified to achieve the target EDV value, the process flow proceeds to step 3343.
In step 3343, the current ROI is determined to have a low EDV and is thus ignored as a significant component of the delta visibility for the current view cell transition. In this step, if the ROI corresponds to DREAB, then the corresponding mesh triangles located within the region are conservatively included in the VM for view cell a. In thatThe original triangle is included without introducing a new triangle through the boundary segmentation of the DR. If the current ROI corresponds to DROAB, then the corresponding mesh triangle of the region is conservatively included in VM for view cell B. The original triangle is included without introducing a new triangle by the boundary segmentation of the DR.
If the unified visibility map ROI corresponds to a parent-child view cell transition and the EDV of a region is low, the geometry surrounding the occluded region is conservatively included in the ROI and the EDV of the extended region may be recalculated. For DREOptionally, the SOR region may be extended to an adjacent region beyond the immediately adjacent SOR. The method can identify the following extreme cases: the parent VM and the child VM do not differ significantly. In this case the sub-ROI is completely removed.
Steps 3346, 3340 and 3343 together enable the ESV of a zone to be determined and if the value of the ESV is too low, an attempt may be made to conservatively simplify the boundary so as to increase the ESV. If the ESV is still below the predetermined value, the ROI is not considered to correspond to a distinct region of delta visibility for the viewcell transition, and the viewcell transition may be ignored.
Using ESV (obtained from ESO) as a measure of the effectiveness of the ROI significantly reduces the storage and computation time required for the method. This is true because in many cases, small occluded or exposed regions can introduce a large number of new triangles surrounding the ROI due to re-triangularization of the ROI boundary. These regions tend to have a low ESO and thus are not considered to be effectively blocked (or exposed) regions using the present method. Alternatively, for example, the newly visible set of primitives for a particular AB transition is simply conservatively considered VM/PVS for viewcell A.
If it is determined at decision step 3346 that the EDO of the current ROI exceeds a predetermined VALUE (e.g., VALUE2), process flow advances to process 33-2, which begins at step 3355.
In step 3355, the storage size of delta G + and/or delta G- (which may be delta I-information including pointer or index information referring to the actual newly occluded polygon) or child viewcell data (if the viewcell transition is parent-child) is estimated and the value of variable SS is set to be proportional to the storage size. ROIs containing many triangles/triangle segments tend to have high storage costs for the corresponding delta G + or delta G-packets. An alternative storage format used by the method replaces the explicit storage of delta G packets with labels to the contour contours/VM boundaries defining the corresponding ROIs. The actual delta G information is only generated when needed using a simplified 3D mesh traversal that employs uniform VM region boundaries generated from labeled contour information for a particular viewcell transition.
Process flow advances to step 3358 where the VALUE of SS is compared to a predetermined VALUE (e.g., VALUE 3). If it is determined at decision step 3358 that the VALUE of SS is not greater than VALUE3, process flow advances to step 3361.
In step 3361, the delta G data for the ROI is stored directly and process flow proceeds to decision step 3388.
The decision step 3388 is the same as the previously described step 3349.
If it is determined at decision step 3358 that the VALUE of SS is greater than the predetermined VALUE VALUE3, process flow advances to step 3364.
Steps 3364 to 3385 are steps of identifying a contour corresponding to OB _ SEG that forms the boundary of the ROI (both the outer boundary and the inner boundary since the ROI may contain holes). In these steps, the corresponding contour (which is the edges and vertices of the original triangular mesh plus some additional edges corresponding to the SE-MV wedges at the inside corner simple and compound contour vertices) is labeled and the seed triangles that are one-to-one with the connected components of the ROI are identified and stored.
Beginning at step 3364, the OB _ SEG that forms the outer boundaries and contour contours of the ROI corresponding to OB _ SEG from viewcell A and OB _ SEG from viewcell B are identified.
The process flow proceeds to step 3367 where the OB _ SEGs that surround the ROI intersect each other and designate the intersection as IP and are stored using the corresponding VM _ INFO data structure (the data structure given in fig. 31A) for the corresponding contour.
Process flow advances to step 3370 where the contour contours corresponding to the outer boundaries of the ROI are marked and stored with the data structure (optionally including DeltaGplus _ attach _ polyline info) previously described in connection with fig. 31A, 31B, and 31C.
Process flow advances to step 3373 where those OB _ SEGs that form the inner boundary and contour of the ROI corresponding to OB _ SEG as seen from viewcell a and OB _ SEG as seen from viewcell B are identified.
The process flow proceeds to step 3376 where OB _ SEGs forming the inner boundary of the ROI intersect each other and the intersection is designated as IP and stored using the corresponding VM _ INFO data structure (the data structure given in fig. 31A) for the corresponding contour.
Process flow proceeds to step 3379 where the contour corresponding to the inner boundary of the ROI is marked and stored using the data structures described in previous geometry fig. 31A, 31B and 31C.
Process flow advances from step 3379 to process 33-4, which begins at step 3382 (fig. 33D). In step 3382, all (possibly simplified) outer and inner contour contours corresponding to the ROI for a particular viewcell transition are labeled and associated with the particular viewcell transition.
Process flow advances to step 3385 where one triangle for each connected component of the ROI is stored in the "TRI _ seed _ list" for the particular viewcell transition.
The process flow then proceeds to steps 3388 and 3390 (if there are no non-traversed triangles in the VM). In some embodiments, these steps are the same as steps 3349 and 3352, respectively, previously described. If there are triangles in the VM that are not traversed, process flow proceeds to process 33-3, which begins at step.
The ROI corresponding to the parent-child viewcell transition is not an incremental region in the sense that: the seed triangle for this type of ROI is visible from the two viewcells for the parent-child viewcell transition. With this type of ROI, the VM/PVS of the child view cell can be efficiently constructed from the parent VM using the outer and inner boundaries constructed from the ROI's corresponding marker contour. This construction uses the implicit, simplified 3D mesh traversal method of fig. 36 and 37.
In contrast, the ROI corresponding to the transition between adjacent viewcells is the visibility increment region (DR). Using this type of ROI, deltas G + and G-can be effectively constructed from the mesh triangles/segments visible from view cell a + B, along with the outer and inner boundaries of the ROI constructed from the corresponding marker contour contours. This construction also uses the implied, simplified 3D mesh traversal method of fig. 36 and 37.
Fig. 34A and 34B: a method for rapidly constructing visibility map occlusion boundary segments at runtime using marked outline contour information for a single contour.
As previously described, the valid Delta Region (DR) for the viewcell transition (e.g., from a to B) is identified, a corresponding silhouette contour generating the DR occlusion boundary is established (using the method of fig. 33) and marked using the data structures of fig. 31A and 31B. The marking is performed as an off-line process.
When storing marker outline contour information (e.g., data associated with a triangular mesh), the visibility map corresponding to a particular viewcell can be constructed at runtime using this data from a known visibility map that is connected or contains viewcells.
34A and 34B are flow diagrams illustrating a method of constructing a visibility map corresponding to a particular viewcell from known visibility maps corresponding to connected or containing viewcells using previously stored marker outline contour information for the particular viewcell transition.
In some embodiments, process flow begins at step 3405 with identifying a marker contour (previously generated and stored for the particular viewcell transition under consideration) using a data structure (fig. 31A and 31B) associated with the mesh for storing marker contour information using the marking method of fig. 30 and 33A and 33B.
Process flow advances to step 3410 and sets the current manifold triangle mesh ("mesh") to the particular mesh referred to by the content.mesh field of the content data structure of fig. 31.
Process flow advances to step 3415 to set the "current _ edge" (manifold triangle mesh edge) to the particular edge referred to by the content.
Process flow advances to step 3420 to set the "vertex" (the manifold triangle mesh vertex) to the particular vertex referred to by the content.
Process flow advances to step 3425 to set the variable "node count" to 0.
Process flow advances to step 3430 where all visibility map occlusion boundary segments (VM OB _ SEG) corresponding to the "current _ edge" are constructed. These VM OB _ SEGs are constructed using the process shown in FIG. 35 and discussed in detail in connection therewith.
Process flow advances to step 3435 to set the variable "Node" to refer to the specific content _ Node data structure referred to by the first Node of the current Contour.
Process flow advances to step 3450 to determine that the Node _ type of the current content _ Node data structure (fig. 31A) is type 3. If node _ type is type 3, then the node corresponds to a compound outline vertex and process flow proceeds to process 34-1, which begins at step 3455 in FIG. 34B.
In step 3455, the "mesh" variable (initialized in step 3410) is now set to the particular mesh referred to by the CSV _ INFO [ node.
Process flow advances to step 3460 where the variable "next _ edge" (representing the next edge in the contour polyline) is set to the edge referenced by the CSV _ Info [ node.
Process flow advances to step 3465 to set the variable "vertex" to the vertex indicated by the CSV _ Info [ node.
The effect of steps 3455, 3460 and 3465 is to connect together two ambiguous lines on the faces of one or more manifold triangular meshes at a single point (a compound silhouette vertex). After the current "mesh", "next _ edge", and "vertex" variables are set to reflect this fusion to the compound contour, process flow proceeds to process 34-2, which returns process flow to step 3480 (FIG. 34A).
If it is determined at decision step 3450 that the "node _ type" is not 3 (i.e., the node does not correspond to a compound silhouette vertex), then process flow advances to step 3470.
In step 3470, the value of the variable "edge count" is initialized to 0.
Process flow advances to step 3475 to set the variable "next _ edge" to refer to the edge of the manifold triangle mesh that is connected to the current edge and is also the contour edge (first order, from view unit). The edge can be easily identified based on the connectivity of the manifold mesh and the definition of the first-order contour edge (see fig. 3). Alternatively, the "next _ edge" is identified as the edge connected to the current edge, where the connected edge has been marked as the label silhouette contour edge. This definition of "next _ edge" is used in the following cases: the contour does not shift or migrate sufficiently (because of the previously described "retraction" of the contour edges). In this case, it is established during preprocessing and stored in the next _ edge _ type field of the struct _ content data structure. If the next _ edge _ type has a value of 0, then the "next _ edge" is identified as the next connected edge that has been previously marked. On the other hand, if the next _ edge _ type value is 1, the "next _ edge" is identified as the next connected edge that is a (first order) contour edge.
Process flow advances to step 3480 to set "current _ edge" to "next _ edge".
Process flow advances to step 3480 where a visibility graph occlusion boundary segment (VM OB _ SEG) is generated by the intersection of the ghost visibility event surface, supported by the current wedge, and the manifold triangle mesh. These elements of the visibility graph derived from the current edge of the marker outline contour are constructed using the method discussed in detail in and in connection with the flow chart of fig. 35.
When the VM OB _ SEG generated by the current contour edge is constructed (using the method shown in the flowchart of fig. 35), the process flow proceeds to step 3485.
In step 3485, the variable "edge count" is incremented.
Process flow advances to step 3488 to determine if the "edge count" is less than the span _ length for the current Node specified in the content _ Node data structure of fig. 31A (Node.
If it is determined at decision step 3488 that the "edge count" is less than span _ length, process flow loops back to step 3475 where the next edge is identified.
On the other hand, if it is determined at decision step 3488 that the "edge count" is not less than span _ length, process flow advances to decision step 3490.
In decision step 3490 it is determined whether the "node count" is less than the number of nodes in the CONTOUR given by the data field ContOUR, num _ nodes, where CONTOUR is a reference to the current labeled CONTOUR being processed and employs the data structure Contour shown in FIG. 31A.
If it is determined at decision step 3490 that the "node count" is less than control num _ nodes, process flow advances to step 3492.
In step 3492, the "node count" is incremented and the process returns to step 3435 where the next node is selected and processing continues.
On the other hand, if it is determined in decision step 3490 that the "node count" is not less than the content.
Step 3495 represents that the marker profile contour has been processed and that the process should proceed to the next marker profile contour. Process flow terminates at step 3495.
The processing of all of the marker contour contours for a particular viewcell is controlled generally by the processing shown in and discussed in detail in connection with fig. 36.
Fig. 35A and 35B: a flow diagram of a method of constructing a visibility map occlusion boundary segment derived from a single silhouette edge marking a silhouette contour is shown.
FIG. 34 is a flow chart for identifying individual edges of a marker profile contour given a small amount of data stored for the entire contour using the data structure of FIG. 31A. Fig. 35 is a flowchart of a process of constructing VM OB _ SEG derived from a single edge of the marker contour.
By invoking the process of fig. 35 during the processing of the profile contour (step 3482 of fig. 34), the process of fig. 34 effectively results in the construction of all VM _ obssegds for the entire marker profile contour.
In some embodiments, process flow begins at step 3510 when a marked silhouette edge is encountered. This corresponds to step 3482 of the process of calling fig. 34.
Process flow advances to decision step 3520 to determine whether the currently labeled Contour node ("node", passed from the calling process) and the span _ type specified in the content _ node _ type data field specified in fig. 31 is equal to the value 1.
If it is determined at decision step 3520 that the span _ type of the current labeled Contour node is equal to the value 1 (indicating that an outside corner is formed on the labeled Contour using the ContourNode _ type data field of FIG. 31A), then process flow advances to step 3450.
In step 3540, the SV-ME wedge is constructed using the rotation process previously described in connection with fig. 4.
Process flow advances to step 3580 to determine whether the current contour edge for which the wedge has been constructed is the first edge in the contour.
If it is determined at decision step 3580 that the contour edge is the first edge in the contour, process flow advances to step 3592.
In step 3592, pre-stored wedge-mesh triangle intersection information is obtained from the content. This point corresponds to a pre-computed and pre-stored intersection of the wedge with a particular mesh triangle, where the intersection is the initial OB _ SEG of the VM OB _ SEG chain that includes the VM boundary associated with the marker contour. This information is pre-computed and stored in advance during the offline process of identifying the contour for a particular viewcell transition that results in the minimum effective dynamic occlusion value (step 3381 of FIG. 33). Thus, if the edge is the first edge in the marker outline contour, step 3592 generates a corresponding VM boundary first OB _ SEG.
On the other hand, if it is determined at decision step 3580 that the contour edge being processed is not the first edge in the contour, process flow advances to step 3585.
In decision step 3585, it is determined whether the current node has CSV _ Info associated with it, i.e., whether the current silhouette edge supports a wedge that intersects another visible silhouette edge. If so, the value of content _ node _ type would be equal to 3 (FIG. 31A) and the value of content _ node _ ninfo would be the index into the CSV _ Info data structure array (FIG. 31B). In one embodiment, instead of marking the contour lines to store CSV _ Info data, the initial point of each contour line is instead defined at the CSV, so that the corresponding data is stored in the Contour.mesh, Contour.triangle, and Contour.vertex fields.
If it is determined at decision step 3585 that the current node is associated with CSV _ Info data, process flow advances to step 3590.
In step 3590, the initial VM OB _ SEG data is read from the CSV _ Info [ content _ node.info ]. mesh, CSV _ Info [ content _ node.info ]. edge, and CSV _ Info [ content _ node.info ]. point data structures.
On the other hand, if it is determined at decision step 3585 that the current node is not associated with CSV _ Info, process flow advances to step 3595.
In step 3595, VM OB _ SEG corresponding to the current contour edge is constructed using VM OB _ SEG mesh, triangles, and point intersection data from the last contour edge in the contour. Because VM OB _ SEG forms an ambiguous line on a face of a manifold triangle mesh, the construction of OB _ SEG from adjacent edges is a direct segmented construction of the ambiguous line on a polyhedron.
Following either step 3590 or step 3595, process flow advances to process 35-1 and process 35-2, which begins at decision step 3596 of FIG. 35B. In decision step 3596, a determination is made as to whether the VM _ info. This is a field of the VM _ INFO data structure of FIG. 31A and is set to a value of 1 during runtime construction of the visibility graph if it is determined that effective dynamic occlusion of a contiguous visibility region would be increased by re-triangularization at the occlusion boundaries.
If it is determined in decision step 3596 that the value of VM _ INFO.RETRIANGULATION _ HINT is not equal to 0, process flow advances to step 3597.
In step 3597, triangles bordering the corresponding occlusion boundary are re-triangulated at the boundary.
On the other hand, if it is determined in decision step 3596 that VM _ info.
In step 3599, triangles bordering the corresponding occlusion boundary are not re-triangulated at the boundary. In this case, the triangle including the contour is "linked" to the partially occluded triangle without re-triangularization. Process flow terminates at step 3599.
If it is determined at decision step 3520 that node _ type does not equal the value 1, process flow advances to step 3525.
Whether node _ type is equal to the value 2 is determined in decision step 3525, and if so, process flow advances to step 3545. If node _ type is equal to the value 2, the contour may include an outside corner silhouette vertex and an inside corner silhouette vertex. Thus, process flow sequentially continues to 3545 to determine whether the current contour edge is involved in an outside corner or an inside corner of the next contour edge from the contour.
If it is determined at decision step 3545 that the current and next edges of the contour outline form outside corners, process flow advances to step 3540, as previously described above.
On the other hand, if it is determined at decision step 3545 that the current edge and the next edge of the contour outline form inside corners, process flow advances to step 3555.
In step 3555, the sweep process previously described in connection with fig. 5A and 5B is used to form a SE-MV wedge incident on the inside corner profile vertex. Accordingly, process flow advances to step 3580, as previously described.
If it is determined at decision step 3525 that node _ type does not equal the value 2, process flow advances to step 3530.
It is determined whether the value of node. If it is determined at decision step 3530 that the value of NODE. span _ type is equal to 3, process flow advances to step 3560. In this case, span _ type indicates that the contour should be simplified by skipping a subset of the edges of the contour during the ghost wedge/VMOB _ SEG construction. This information is pre-computed and pre-stored in the corresponding content _ node.span _ type and content _ node.span _ length data structures during the identification of the differential valid static occlusion (also referred to as valid dynamic occlusion) and reduced outline contours of the DR as in steps 3075 and 3089 of fig. 30B.
SPAN _ length is compared to the variable SPAN _ COUNTER (initialized to 0 before encountering the contour) to determine that a simplified ghost visibility event surface and corresponding VM OB _ SEG should be constructed between those vertices of the contour in step 3560. If it is determined at decision step 3560 that SPAN _ COUNTER is less than NODE. SPAN _ length, process flow advances to step 3565, which indicates that no wedges have been formed on the current edge.
Process flow then proceeds to step 3570, where the current contour edge is directly linked to a single OB _ SEG for the entire contour, which is ultimately constructed in step 3540 or 3545 when decision step 3560 directs the process toward step 3545 or step 3540.
If it is determined at decision step 3530 that NODE. span _ type does not equal the value 3, process flow advances to step 3535.
A determination is made in decision step 3535 whether node _ type is equal to the value 3.
If it is determined at decision step 3535 that NODE. span _ type is equal to the value 3, process flow advances to step 3575. In this case, span _ type indicates that the umbral event surface incident on the inside corner profile vertex of the contour should not be constructed using a sweep process, but rather should be constructed using a simpler method of intersecting the planes of adjacent SV-ME wedges.
Thus, in step 3575, the intersection of the planes of adjacent SV-ME wedges is used to construct the SE-MV wedge (and corresponding VM OB _ SEG) and process flow proceeds to step 3580 described previously.
FIG. 36 is a flow chart illustrating a process of controlling a runtime process of constructing a visibility map ROI using ROI boundaries constructed from pre-stored marker contours, wherein the ROI boundaries define/delimit a simplified, implied, runtime 3D mesh traversal process that traverses the ROI.
As previously described in connection with fig. 33A-33D, the incremental visibility data for a particular viewcell transition can be described as a region of interest (ROI) in the unified visibility map that contains mesh triangle segments visible from two viewcells and also contains occlusion boundaries from viewcells corresponding to the two viewcells.
The type of delta visibility data depends on the construction of the corresponding ROI, which depends on the relationship of the two viewcells describing the viewcell transition.
The ROI may correspond to a region that is visible only from the contained viewcell if one of the viewcells is completely contained in another viewcell. The labeled contour contours corresponding to these types of ROIs can be used to construct VMs of child viewcells from VMs of parent viewcells at runtime (using implied, simplified 3D mesh traversal), thereby avoiding explicit storage of delta G-information in certain cases.
The ROI corresponds to an incremental region (DR) if two viewcells share a surface and one viewcell is not contained within the other viewcell (a relationship referred to as "adjacency"). For visual cell transitions from VC a to VC B (referred to as AB transitions), there are two types of DR. One type of incremental zone DROAB (occlusion delta region from a to B) contains mesh triangle segments that are visible from view unit a and not visible from view unit B. DR (digital radiography)OAB is also DREBA(Exposure increment region from B to a). Likewise, DREAB=DROBA。DROAB corresponds to incremental G-data for AB transitions and DREAB corresponds to incremental G + data for AB transitions. The labeled contour contours corresponding to the boundaries of these ROIs may be used to construct delta G + and/or delta G-data (using implied, simplified 3D mesh traversal as well) during operation, thereby avoiding explicit storage of delta G + and delta G-polygon segmentation information in certain cases.
In some embodiments, process flow begins in step 3605, where a list of all marker outline contours for a particular viewcell transition is accessed as an array "LAB _ CON _ List".
Process flow advances to step 3610 where each of the labeled contours in the "LAB _ CON _ list" are subjected to further processing.
In the first step of processing the marker contour in the "LAB _ CON _ list", the process flow proceeds to step 3615, where the edges of the marker contour are identified using the process shown in the flow chart of fig. 34 and stored in the "LAB _ SIL _ edge _ list".
Process flow advances to step 3620 where the edges of the "LAB _ SIL _ edge _ list" are subjected to further processing.
In the first step of processing the edges in the "LAB _ SIL _ edge _ list", the process flow proceeds to step 3625, where VM OB _ SEG corresponding to the edges of the "LAB _ SIL _ edge _ list" is constructed using the process shown in the flow chart of fig. 35.
Process flow advances to decision step 3630 to determine whether the "LAB _ SIL _ edge _ list" is empty. If there are more edges to process in the "LAB _ SIL _ edge _ List", then the next unprocessed edge is selected and the process returns to step 3620.
If it is determined in decision step 3630 that there are no more edges to process in the "LAB _ SIL _ edge _ List," process flow advances to step 3635.
In decision step 3635 it is determined whether there are any more marked contours to process in the "LAB _ CON _ List". If it is determined in decision step 3635 that there are more marked contours to process in the "LAB _ CON _ List", then the next unprocessed contour is selected and the process flow returns to step 3610.
On the other hand, if it is determined in decision step 3635 that there are no more marked contours to process in the "LAB _ CON _ list," then process flow advances to step 3640.
In step 3640, the triangle seed list (pre-calculated and pre-stored in step 3383 in fig. 33B) which is a pre-calculated list of references to one triangle for each delta region corresponding to a particular viewcell transition is set into an array called the "TRI _ seed _ list". In this case, the triangle seed list contains one triangle from each VM region that is unoccluded from view a (containing view) and unoccluded from view B. One seed triangle is selected from each VM region of VM a that is visible from viewcell a and viewcell B such that initiating traversal of the set of seed triangles ensures that the relevant (marked) contour for the AB transition is encountered during the runtime simplified 3D mesh traversal of fig. 37. This selection of seed triangles ensures that the VM of view B is constructed from the VM of view A using the following traversal process: the marker silhouette contour information is used to "avoid" around the geometry in the AB transition.
Process flow advances to step 3645 where the triangles of the "TRI _ seed _ list" are subjected to processing.
Process flow advances to step 3650 where the triangles of the "TRI _ seed _ list" are used to initiate a simplified manifold mesh traversal as shown in and discussed in detail in connection with the flowchart of fig. 37. The traversal identifies all triangles visible from viewcell B by traversing a small subset of the triangles visible from viewcell a (those in the "TRI seed list").
Process flow advances to decision step 3660 to determine if there are any more unprocessed triangles in the "TRI _ seed _ list".
If it is determined in decision step 3660 that there are unprocessed triangles in the "TRI _ SEED _ LIST," then the next unprocessed triangle in the "TRI _ SEED _ LIST" is selected and the process flow returns to step 3645.
On the other hand, if it is determined in decision step 3660 that there are no more unprocessed triangles in the "TRI _ SEED _ LIST," process flow advances to step 3665.
Step 3665 represents that a particular ROI corresponding to the desired incremental visibility information has been constructed by a simplified run-time traversal. As discussed previously, this delta visibility information may actually be a set of triangles/segments that are visible from the child viewcell when the corresponding viewcell transition is a parent-to-child transition. Alternatively, the ROI information may correspond to delta G + and delta G-data for viewcell transitions between adjacent viewcells, such that generation of delta G packets may be selected when desired rather than storing all delta G packets for each viewcell transition. Process flow terminates at step 3655.
FIG. 37 is a main process using a simplified, implied run-time 3D mesh traversal process to construct an ROI from pre-stored marker silhouette contour information and to construct a seed triangle list of connected components for the ROI.
FIG. 37 is a flowchart illustrating an embodiment of the guided runtime 3D traversal process invoked in step 3650 of the control process illustrated in FIG. 36.
The process illustrated by the flow chart of fig. 37 is quite similar to the general 3D mesh traversal process of fig. 20A. The process of figure 20A is typically performed as an off-line pre-process to construct a visibility map for the purpose of pre-computing and storing PVS and marker profile contour data.
In contrast, the 3D mesh traversal process of fig. 37 is performed at run-time and is used to generate an ROI of the unified visibility map for a particular viewcell transition. These ROIs describe the changes in visibility due to these particular viewcell transitions.
In one type of view transition, the ROI contains only those triangles/segments visible from the child view from the parent view to the contained child view. When the provided seed triangle is a triangle set that includes one triangle from each connected component of those ROIs that contain triangles that are visible from the child viewcell, this type of ROI may be generated according to the simplified, implied 3D mesh traversal process of fig. 37.
Using these seed triangles and the related ROI boundaries generated from the marker contour contours causes the simplified, hinted 3D mesh traversal process to bypass or "avoid" polygons or polygon segments that become newly occluded during a particular viewcell transition (e.g., from viewcell a to viewcell B, where viewcell B is contained within viewcell a). This enables the removal of newly occluded polygons and/or polygon segments without explicitly storing the list of polygons to be removed. This may be more efficient if the list of polygons to be removed is large relative to the number of visible polygons, than if an explicit list of polygons to be removed is used.
Both delta G-and delta G + packets for a view transition between two adjacent views can also be generated directly using an implied traversal method, where one view is not contained within the other but the two views have a common plane. In this case, the starting VM must contain all polygons or polygon fragments visible from the combined viewcell a + B. Furthermore, the start VM must contain the relevant occlusion boundaries for both viewcell A and viewcell B (these occlusion boundaries are generated from the labeled silhouette edges). Such a visibility graph is referred to as a unified visibility graph. The unified visibility map for two connected viewcells contains all polygon segments that are visible from viewcell a and visible from viewcell B (or visible from boolean plus viewcell a + B). Further, the unified visibility map contains occlusion boundaries from view cell corresponding to both view cell a and view cell B.
To generate delta G + groupings for A-to-B transitions (also referred to as AB transitions), seed three for each connected component of the VM region that is occluded from A and visible from B is usedThe corners to traverse the corresponding unified VM. This type of region is called DREAnd AB. Traversal is initiated using these seed triangles and proceeds to an occlusion boundary corresponding to either viewcell a or viewcell B. The view cell A boundary is encountered on the occluded side and the view cell A boundary is encountered on the exposed side. This corresponds to the DReAB region shown in light gray in fig. 40.
Table XIV summarizes the set of seed triangles needed to initiate the runtime traversal to generate hints for delta G + and delta G-packets of contiguous viewcells and shows the sides of the encountered occlusion boundaries.
The method enables both delta G + and delta G-groupings to be generated from the unified VM for the view unit transition and the corresponding VM occlusion boundary contour (which may be generated from the marker outline contour). Using this approach, delta G + and delta G-packets for each view transition need not be explicitly stored for each view transition. More specifically, packets may be generated by an implied traversal method at any time before a packet is needed.
Furthermore, in a distributed client-server implementation, the runtime 3D traversal method that generates incremental visibility information may be more efficient. In regions of high spatiotemporal visual relevance, the same labeled contour information may be used frequently for several specific viewcells in the same region. Thus, run-time 3D mesh traversal based on labeled contour information can compute incremental visibility maps/PVSs with less transmission data than would be required to use the direct polygon increment G-list to be removed for each viewcell transition.
Turning now to FIG. 37, in the first step of the simplified runtime traversal, process flow begins at step 3705, where a traversal is initiated at a particular triangle in the "TRI _ SEED _ LIST" for a particular viewcell transition.
Process flow advances to decision step 3715 to determine whether the traversed triangle contains an occlusion boundary as seen from the view cell. These boundaries would be constructed in step 3620 of fig. 36.
If it is determined at decision step 3715 that the traversed triangle contains an occlusion boundary as seen from the viewcell, process flow advances to step 3735.
Process flow advances to step 3735 where traversal is interrupted at the occlusion boundary. In a further embodiment, process flow proceeds from 3735 to process 37-1, which returns process flow to step 3725.
On the other hand, if it is determined at decision step 3715 that the currently traversed triangle does not contain an occlusion boundary, process flow advances to step 3720.
A determination is made in decision step 3720 whether the currently traversed triangle has a silhouette edge corresponding to the labeled silhouette edge for the particular viewcell transition under consideration. These labeled silhouette edges correspond to the inner boundaries of the corresponding ROIs of the unified VM.
If it is determined at decision step 3720 whether the currently traversed triangle has a contour edge, process flow advances to step 3725.
In step 3725, the next (connected) non-traversed triangle in the mesh is selected and submitted to step 3715 and subsequent steps for processing.
On the other hand, if it is determined at decision step 3720 that the current triangle does not contain a marked silhouette edge for the current view cell transition, process flow advances to step 3780.
It is determined in decision step 3780 whether there are any unprocessed (non-traversed) triangles in the current "traversal", where traversal is defined herein as the set of mesh polygons connected by unmarked silhouette edges and located on the non-occluded side of the occlusion boundary for the particular viewcell transition as constructed in step 3625 of FIG. 36.
If it is determined at decision step 3780 that there are not traversed triangles in the current traversal, process flow advances to step 3725 where the next triangle traversed is selected for data as previously described.
On the other hand, if it is determined at decision step 3780 that there are no non-traversed triangles in the current traversal, process flow advances to step 3788.
In step 3788, traversal continues on the unoccluded side of the occlusion boundary segment constructed in step 3625 of FIG. 36; wherein the occlusion boundary corresponds to the silhouette edge of the marker encountered in step 3720. This continuation may involve continuing traversal over triangles that are re-triangulated (i.e., clipped exactly at the occlusion boundary), or may involve continuing traversal over the unoccluded sides of triangles that are not re-triangulated at the boundary. Process flow terminates at step 3788.
FIG. 38: a method of attaching a delta G + submesh corresponding to newly exposed grid elements for a particular viewcell transition to the starting boundary of the corresponding marker silhouette contour.
For any viewcell transition, the polysemy lines corresponding to the attachment curves of the newly exposed submesh may be determined and stored during the offline process (FIG. 33) of constructing the visibility map and corresponding visibility delta regions as seen from the viewcell. These polysense lines can be stored using the DeltaGplussumesumesattach polyline data structure of FIG. 31B. This data can be stored and subsequently used during the runtime processing of the delta visibility graph/PVS construct described in fig. 36 and 37. In particular, to use a runtime approach that determines newly occluded mesh elements by "avoiding" during runtime 3D mesh traversal, any newly exposed mesh elements are connected to previously exposed elements at the attachment of ambiguous lines to ensure that the connected manifold is presented to the runtime traversal.
Note that in some embodiments, the method of FIG. 38 is used when the methods of FIGS. 36 and 37 are used to compute newly occluded geometries at runtime by bypassing.
In some implementations, process flow proceeds to step 3805 where the associated deltagplus summary _ attech _ polyline data structure for the labeled silhouette edge (beginning) for the particular viewcell transition is accessed and referenced by the variable AP.
Process flow advances to decision step 3810 where a determination is made whether the attachment type corresponds to 0. If it is determined in decision step 3810 that the attachment type corresponds to 0, process flow advances to step 3815.
In step 3815, the edges of the incremental G + submesh (referred to herein simply as the submesh) are directly connected to the corresponding edges of the main grid. The connection is made between ap. edgeumber edges starting from the single edges listed in ap. submesh _ edgelist and ap. mainmesh _ edgelist, and proceeding along the free edge of the corresponding mesh (the edge with only one component polygon). In this mode, only a single edge needs to be pre-stored for each edgelist.
Process flow advances to decision step 3820 to determine whether the attachment type corresponds to 1. If it is determined in decision step 3820 that the attachment type corresponds to 1, process flow advances to step 3825.
In step 3825, the edges of the incremental G + submesh (referred to herein simply as the submesh) are directly connected to the corresponding edges of the main grid. The connection is made between the ap.edgeumber edges sequentially through the entire edge list starting from the first edge listed in ap.submesh _ edgelist and ap.mainmesh _ edgelist.
Process flow advances to decision step 3830 to determine whether the attachment type corresponds to 2. If it is determined in decision step 3830 that the attachment type is equal to 2, process flow advances to step 3835.
In step 3835, the edges of the incremental G + submesh (referred to herein simply as submesh) are "linked" to corresponding edges of the primary grid, where the links may be a one-to-many mapping from one ambiguous line segment to another ambiguous line. These links are identified during preprocessing so that they present a conservative representation of the corresponding mesh during runtime 3D traversal. The link is made between ap. edgeumbergege edges starting from the single edge listed in ap. submesh _ edgelist and ap. mainmesh _ edgelist, and proceeding along the free edge of the corresponding mesh (the edge with only one component polygon). In this mode, only a single edge needs to be stored and stored for each edgelist.
Process flow advances to decision step 3840 to determine whether the attachment type is 3. If it is determined in decision step 3830 that the attachment type corresponds to 3, process flow advances to step 3845.
In step 3845, the edges of the delta G + submesh (referred to herein simply as the submesh) are "linked" to corresponding edges of the main grid, where the links may be a one-to-many mapping from one ambiguous line segment to another ambiguous line. Identifying these links during preprocessing causes them to present a conservative representation of the corresponding mesh during runtime 3D traversal. The link is made between the ap.edgeumber edges starting at the first edge listed in ap.submesh _ edgelist and ap.mainmesh _ edgelist and proceeding sequentially through the entire edge list.
In any case, process flow proceeds to step 3850 for the next such view cell transition. In step 3850, a starting boundary for a next view unit boundary may be derived from the ending boundary for the current view unit transition, and processing proceeds to decision step 3810 for the next view unit transition. Process flow terminates at step 3850.
In some embodiments, some newly exposed faces are programmatically reconstructed at runtime without the need for explicit delta G + polygons, except for the use of delta G + geometry groupings for newly exposed polygons. In some embodiments, this approach is employed to generate a newly visible portion of a single large polygon (or tessellated surface), such as a floor or ceiling, in a newly exposed delta region. In this case, the contour is marked with a marker that directs the runtime handler to generate a newly exposed portion of the face throughout the delta region in particular.
Fig. 42A and 42B are flowcharts illustrating a method of using hierarchical viewcells.
The method of incrementally constructing a viewability map from previous viewability maps (fig. 34-38) enables newly occluded triangles to be determined by effectively bypassing or avoiding newly occluded regions of the visibility map during simplification. The method enables the removal of newly occluded geometry without specifically storing or transmitting information for newly occluded triangles. Instead, the marked silhouette contour information for the Dynamic Occlusion Silhouette Contour (DOSC) is used to construct a new visibility map occlusion boundary that bypasses the occluded geometry.
The marker profile contour encoded using the data structures of fig. 31A and 31B tends to have very low storage requirements for the delta regions of high dynamic visibility relevance, primarily because the same contour can be reused during many viewcell transitions. Thus, the incremental visibility graph maintenance method can have substantially less storage/transmission costs than conventional incremental PVS schemes that must store/transmit information for each newly occluded triangle for each such view cell transition.
This is especially true when the following method is employed: a hierarchical organization of viewcells is used in which some viewcells are adjacent to other viewcells and other viewcells are fully contained within other viewcells (i.e., they are child viewcells of a parent viewcell).
Constructing a visibility map for a large viewcell from visibility maps of adjacent large viewcells using the viewcell arrangement; and constructing a visibility map of the child view from the visibility map of the parent view. In the latter case, the delta G + information may not be used to construct the visibility graph for the child viewcell because no geometry will become newly visible when moving from the parent viewcell to the contained child viewcell. Incremental construction of the visibility graph corresponding to a child viewcell from the visibility graph of the parent viewcell only requires determination of newly occluded geometry, which can be accomplished using runtime incremental visibility graph construction (fig. 34-38) that uses only the DOSC data of the marker that caused the newly occluded triangle to "avoid".
The use of larger adjacent viewcells can also improve data access and transmission efficiency from the server supplying delta G + and delta G-information to the rendering client. This is because disk access/seek times tend to dominate the overall read time of small data packets, making the transmission of larger data packets more efficient.
In some embodiments, process flow begins at step 4210, where it is determined whether a viewcell transition to encode (using the method of fig. 33) delta VM/delta PVS information is between a parent viewcell and a (contained) child viewcell in step 4210.
If it is determined at decision step 4210 that the view cell transition corresponds to a transition from a parent view cell to a child view cell, process flow advances to step 4230.
In step 4230, incremental VM/incremental PVS information (determined using the method of FIG. 33 and related figures) corresponding to the viewcell transition corresponds to DOSC marker silhouette contour information.
If it is determined at decision step 4210 that the view cell transition corresponds to a transition that is not from a parent view cell to a child view cell, process flow advances to step 4220.
In step 4220, incremental VM/incremental PVS information (determined using the method of FIG. 33 and related figures) corresponding to the viewcell transition corresponds to DOSC, DESC, and incremental G + subgrid information. Process flow terminates at steps 4220 and 4230.
Embodiments use larger parent viewcells to compute the visibility of more distant geometries and smaller child viewcells to compute the visibility of closer geometries. This approach is effective because visibility changes with viewpoint motion (e.g., speed of development with newly exposed and newly occluded faces) generally become smaller with increasing distance from the viewcell.
Turning now to fig. 42B, process flow begins at step 4240 to determine whether the size of the range viewcell relative to the particular geometry for which dynamic visibility (delta VM/delta PVS data for the viewcell transition) is being determined is small.
If it is determined at decision step 4240 that the size of the range view cell relative to the geometry is small, process flow advances to step 4260.
In step 4260, the particular geometry at the predetermined farther distance from the viewcell is not included in the incremental VM/incremental PVS calculations for the viewcell transition involving the current viewcell. The geometry may be included in a delta VM/delta PVS calculation for a viewcell transition involving a parent viewcell of the current viewcell.
If it is determined at decision step 4240 that the range view elements are not small relative to the geometry, process flow advances to step 4250.
In step 4250, the particular geometry at the predetermined farther distance from the viewcell is included in the incremental VM/incremental PVS calculation for the viewcell transition involving the current viewcell. Process flow terminates at steps 4250 and 4260.
FIGS. 43A and 43B illustrate data structures maintained for a delta VM/PVS using delta VM/PVS data.
Fig. 43A and 43B illustrate data structures of a method for incremental visibility graph PVS maintenance by client and server processing. The data structures herein may apply regardless of whether the client and server processes reside on different physical devices connected by a network. Alternatively, these data structures may be employed in implementations where both processes are performed on the same computing device.
The DDL is a destination display list (which may also be referred to as a dynamic display list). The list may be comprised of one or more lists or arrays of data structures representing the polygon mesh object. These include triangles (DDL _ Tri), edges (DDL _ Edge), vertices (DDL _ Vertex) and potentially other associated data such as material and texture descriptions, etc. Other data structures for implementing the DDL method can be found in table XIII in us patent No.6,111,582 of the present inventors.
In the method of U.S. patent No.6,111,582, a DDL data structure is used to implement a per-image DDL from a viewpoint scheme that maintains a dynamic display list for a single image. In contrast, for the present invention, the DDL method is employed to maintain a set of DDLs corresponding to conservative PVSs of viewcells located substantially near the user's current viewpoint (or in an extension region connected to the nearby region). However, some data structures including data structures relating to materials, textures, procedural textures, and others may be employed in both approaches.
The DDL set is made available for client processing. The DDL corresponds to a PVS set for viewcells near the viewpoint as determined by the navigation prediction algorithm. The DDL is referred to with the struct PVS data structure of FIG. 43B.
The methods shown in fig. 44A, 44B, 44C, and related figures and discussed in detail in connection with those figures use the Global _ to _ DDL _ Linkmap _ Edge, Global _ to _ DDL _ Linkmap _ Tri, Global _ to _ DDL _ Linkmap _ Vertex data structures shown in fig. 43A.
Fig. 44A, 44B, and 44C illustrate data storage and transmission methods to support incremental VM/PVS maintenance using incremental VM/PVS (incremental G + submesh) data sent from a remote server.
In one embodiment of the invention, all data is stored in permanent, uncore memory (e.g., disk), including the delta G + submesh of FIGS. 31A and 31B, VM _ Info, DeltaGplussubserveaach _ attach _ polyline, Contour, and other data structures, such that the stored elements use global ID references to refer to mesh triangles, edges, and vertices. The global ID is a unique integer for each element (e.g., single triangle, edge, vertex) in the entire stored database representing the complete 3D model. The global ID is an index into the array of elements (meshes, triangles, edges and vertices) for the entire model. The global ID of a triangle is the triangle index in the global triangle array for the entire model. The global ID of an edge is the edge index in the global edge array for the entire model. Likewise, the global ID of a vertex is an index to the vertex in the global vertex array in the entire model.
The method presented by the flow chart of fig. 44A-44C enables runtime rendering through the following client process/machine: it stores only a small subset of the entire graphic database at any one time in a data structure called a Destination Display List (DDL). The DDL contains image elements (geometry and texture information) referred to by all VM/PVSs for the viewcell currently stored on the client. The method of fig. 44A to 44C is performed by server processing for all the delta G + sub-grid data read by the server processing. The method of fig. 44A-44C has two main functions: 1) convert global ID designators to direct DDL designators, 2) prevent data transmission redundancy to client DDLs.
A general description of the method will now be given, followed by a detailed description of the method based on the flowcharts of fig. 44A, 44B, and 44C.
The server process terminates the viewership location data from the client and reads pre-stored incremental VM/PVS data corresponding to a particular viewcell transition based on speculative navigation prefetching. The server maintains a set of DDLs referred to by a current VM/PVS data set, which is maintained on the client process using incremental VM/PVS packets sent to the client process by the server process. Before sending the incremental VM/PVS data to the client process, the server process converts all global IDs to local IDs that are directly indexed or otherwise referenced to DDLs. In addition, the server process checks each accessed delta G + submesh packet with the DDL to determine whether the triangles or other graphical elements in the delta G + submesh packet have been rendered in the corresponding DDL. If the element is already present in the corresponding DDL, the element need not be added to the DDL.
If the server process and the client process are located on physically different computing devices (e.g., connected via a mesh protocol), the client DDL is a mirror image of the DDL maintained by the server. In this case, the foregoing method of the server examining the elements in the incremental G + subgrid packets to determine if they are present in the DDL may eliminate redundant transmissions from the server to the client, thereby substantially reducing the connection bandwidth required by the server to maintain the most recent copy of the DDL.
For embodiments where client and server processing is performed on the same physical computing device (shared processing means, memory and external storage), a single copy of the DDL may be maintained. In this case, DDL reduces memory storage costs because a single element (e.g., a triangle) is likely to appear in several VM/PVS for a view currently stored in memory because the stored views tend to be located in the same surrounding region of the model. Thus, using DDL to store a graphic element shared by several VM/PMS data structures generally has a lower storage cost than if each element were stored independently for each VM/PVS.
The processing of fig. 44A to 44C is performed by server processing for all delta G + submesh data accessed from the external storage during view cell transition. Generally, the client process controls viewpoint navigation through real-time input from a user via a mouse, a game keyboard controller, or the like. The server process receives data about the current position of the viewpoint and employs the data for speculative navigation of the surround view unit using a navigation prediction method that includes dead reckoning and collision constraints. The predictive navigation drives speculative access to delta G + sub-grid data based on corresponding view cell boundaries (i.e., view cell transitions) encountered during the predictive navigation.
Turning now to fig. 44, in some embodiments, process flow begins at 4401, where all triangles of the delta G + subgrid are placed in a list called "triangles". Triangles of the incremental G + submesh are typically read from non-memory (disk) storage [ e.g., in a distributed client-server implementation (fig. 46, tag storage 4605), or in an implementation where the client and server run on the same physical machine (fig. 47, tag storage 4705) ].
Process flow advances to step 4403 to set the first triangle in the "triangle list" to the variable designator "triangle".
Process flow advances to step 4406 where the GLOBAL ID of the Triangle (as stored in the Triangle data structure of fig. 31C) is read into the variable GLOBAL ID.
Process flow advances to decision step 4408 to determine whether the DDL ID of the "triangle" (determined from the Global _ to _ DDL _ Linkmap _ Tri data structure of fig. 43A) is equal to a 0 value. A value of 0 indicates that "triangle" is not currently stored in the triangle DDL of the data structure array including the type DDL _ Tri (FIG. 43A). This is true because all values on the Global _ to _ DDL _ Linkmap _ Tri array are initialized to 0 values.
If it is determined in decision step 4408 that the value of the Global _ to _ DDL _ Linkmap _ Tri array for the current "triangle" is not 0, this corresponds to the following situation: the current "triangle" is already stored in the DDL _ Tri array (at the index LOCALID), and processing proceeds to steps 4410 and 4412.
In step 4412, the current TRI of the delta G + subgrid is stored in the VM/PVS for the corresponding view cell that stores the LOCALID as an index into the DDL _ Tri data structure array that includes the triangle DDL.
Process flow advances to decision step 4414 to determine whether any unprocessed triangles remain in the "triangle list".
If it is determined in decision step 4414 that there are no unprocessed triangles remaining in the "triangle list," process flow advances to step 4416 where the next delta G + subgrid is processed.
On the other hand, if it is determined in decision step 4414 that unprocessed triangles remain in the "triangle list", process flow advances to step 4418 where the next triangle in the "triangle list" is selected for processing.
If it is determined in decision step 4408 that the value of the Global _ to _ DDL _ Linkmap _ Tri array for the current Tri is 0, this corresponds to the following situation: the current TRI is not already stored in the DDL _ TRI and process flow proceeds to steps 4420 and 4422.
In step 4422, unused locations of an array of DDL _ Tri structures (including the triangle DDL) are identified and the variable OPENINDEX is set to the index of the unused array element.
In subsequent step 4424, the value of Global _ to _ DDL _ Linkmap _ Tri [ GLOBAL _ ID ] is set to OPENNDEX, thus indicating that the current TRI is to be stored in the OPENNDEX index of the triangle DDL.
In subsequent step 4426, the TRI data is stored in the DDL _ Tri data structure array, and the index OPENENDEX and triangle that add the use delta G + child mesh data to the VM/PVS data for the corresponding viewcell are set to refer to the DDL _ Tri data, and the process flow continues to process 44-1, which begins at step 4428 of FIG. 44B.
In step 4428, the edges of the current "triangle" are stored in an "edge list".
In subsequent step 4430, the variable "edge" is set to refer to the first edge of the "edge list".
In subsequent step 4432, the variable EGLOBAL _ ID is set to the global ID of the edge by referring to the edge _ global _ ID field of the edge data structure including the delta G + submesh data structure, both of which are specified in FIG. 31.
It is determined in a subsequent decision step 4434 whether the DDL ID for the "Edge" (determined from the Global _ to _ DDL _ Linkmap _ Edge data structure of FIG. 43A) is equal to a 0 value. A value of 0 indicates that EDGE is not currently stored in the EDGE DDL of the data structure array (fig. 43A) including type DDL _ EDGE.
This is true because all values on the Global _ to _ DDL _ Linkmap _ Edge array are initialized with 0 values.
If it is determined in decision step 4434 that the value of the Global _ to _ DDL _ Linkmap _ Edge array for the current Edge is not 0, then this corresponds to the following situation: the current Edge is already stored in the DDL _ Edge array (at index ELOCALID) and process flow proceeds to steps 4438 and 4440.
In step 4440, the current "Edge" of the delta G + subgrid is stored in the VM/PVS for the corresponding view cell that stores the ELOCALID, which is the index of the DDL _ Edge data structure array that includes the Edge DDL.
A determination is made in a subsequent decision step 4442 as to whether any unprocessed edges remain in the "edge list".
If it is determined in decision step 4442 that no unprocessed edges remain in the "edge list", then the process returns to step 4414, where a determination is made as to whether any unprocessed triangles remain in the "triangle list".
On the other hand, if it is determined in decision step 4442 that unprocessed edges remain in the "edge list," process flow advances to step 4443 where the next edge in the "edge list" is selected for processing.
If it is determined in decision step 4434 that the value of Global _ to _ DDL _ Linkmap _ Edge for the current Edge is 0, this corresponds to the following situation: the current EDGE is not already stored in the DDL EDGE array and process flow proceeds to steps 4444 and 4446.
In step 4446, unused positions in the array of the DDL _ Edge structure (including the Edge DDL) are identified and the variable EOPENNINDEX is set to the index of the unused array element.
In subsequent step 4448, the value of Global _ to _ DDL _ Linkmap _ Edge [ EGLOBAL _ ID ] is set to EOPENNINDEX, thus indicating that the current "Edge" is to be stored at the EOPENNINDEX index of the Edge DDL.
In subsequent step 4450, the EDGE data is stored in the DDL _ EDGE data structure array and index eopenendex, and the VM/PVS to which the incremental VM/PVS data (in the form of incremental gpnsubmesh _ EDGE data) has been added is set to refer to the corresponding DDL _ EDGE array.
Process flow then continues to process 44-3, which begins at step 4452 of fig. 44C.
In step 4452, the vertex of the current "edge" is stored in the VLIST.
In subsequent step 4454, the variable "vertex" is set to refer to the first vertex of the "vertex list".
In subsequent step 4458, the variable VGLOBAL _ ID is set to the global ID of VERT by referring to the Vertex _ global _ ID field of the Vertex data structure including the delta G + child grid data structure, both of which are specified in fig. 31C.
It is determined in a subsequent decision step 4460 whether the DDL ID for the "Vertex" (determined from the Global _ to _ DDL _ Linkmap _ Vertex data structure array of FIG. 43A) is equal to a value of 0. A value of 0 indicates that "Vertex" is not currently stored in the Vertex DDL of the data structure array including the type DDL _ Vertex (FIG. 43A). This is true because all values on the Global _ to _ DDL _ Linkmap _ Vertex array are initialized to 0 values.
If it is determined in decision step 4460 that the value of the Global _ to _ DDL _ Linkmap _ Vertex array for the current "Vertex" is not 0, this corresponds to the following situation: the current "Vertex" is already stored in the DDL _ Vertex array (at index VLOCALID) and process flow proceeds to steps 4462 and 4464.
In step 4464, the current "Vertex" of the delta G + submesh is stored in the VM/PVS for the corresponding view cell that stores the VLOCALID, which is an index into the DDL _ Vertex data structure array that includes the Vertex DDL.
A determination is made in a subsequent decision step 4468 as to whether any unprocessed edges remain in the "vertex list".
If it is determined in decision step 4468 that no unprocessed vertices remain in the "vertex list," process flow advances to process 44-2, which returns process flow to step 4442 where a determination is made as to whether any unprocessed edges remain in the "edge list.
On the other hand, if it is determined at decision step 4468 that unprocessed vertices remain in the "vertex list," process flow advances to step 4469 where the next vertex in the "vertex list" is selected for processing.
If it is determined in decision step 4460 that the value of the Global _ to _ DDL _ Linkmap _ Edge array for the current Edge is 0, this corresponds to the following situation: the current VERT is not already stored in the DDL _ Vertex array and process flow proceeds to steps 4470 and 4472.
In step 4472, unused locations in the array of the DDL _ Vertex structure (including the Vertex DDL) are identified and the variable VOPENNINDEX is set to the index of this unused array element.
In subsequent step 4474, the value of Global _ to _ DDL _ Linkmap _ Vertex VGLOBAL _ ID is set to VOPENNINDEX, thus indicating that the current VERT is to be stored at the VOPENNINDEX index of the Vertex DDL.
In subsequent step 4478, the VERT data is stored in the DDL _ VERT data structure array and the index vopenendex, and the VERT data added to the VM/PVS is set to refer to the corresponding DDL _ VERT array at vopenendex.
Process flow then proceeds to step 4468, described previously.
The method of fig. 44A-44C shows delta G + sub-mesh data corresponding to triangles, edges, and vertices of a triangular mesh. Similarly, the graphic elements thereof, such as textures and the like, are managed using an additional data structure of XIII incorporated in U.S. Pat. No.6,111,582, the contents of which are incorporated herein by reference.
Fig. 45A, 45B, and 45C illustrate data storage and transmission methods to support incremental VM/PVS maintenance using incremental VM/PVS (incremental G-submesh) data sent from a remote server.
The delta G-sub-grid data corresponds to the global ID of the graphical element that becomes newly occluded for a particular viewcell transition. These global IDs are converted to DDL indices at step 4715 (or 4725). This pre-stored incremental G-subgrid information can be used to "avoid" occluded elements at run time, instead of or in addition to determining newly occluded graphical elements by using the aforementioned method of marking contour lines.
45A-45C illustrate updating VM/PVS data using delta G-subgrid information associated with a particular viewcell by removing particular graphical elements that become occluded during a corresponding viewcell transition.
Turning now to FIG. 45A, in some embodiments, process flow begins at 4501, where all triangles of the delta G-submesh are placed in a list referred to as a "triangle list". All triangles of the delta G-sub-mesh are typically read from non-memory (disk) storage. For example, in a distributed client-server implementation (labeled store 4605 in fig. 46), or in an implementation where the client and server run on the same physical machine (labeled store 4705 in fig. 47).
The first triangle in the "triangle list" is set to the variable reference "triangle" in a subsequent step 4503.
The GLOBAL ID of the Triangle (as stored in the Triangle data structure of fig. 31C) is read into the variable GLOBAL _ ID in subsequent step 4506.
It is determined in a subsequent decision step 4508 whether a particular "triangle" is to be removed, as the "triangle" stored in the DDL _ TRI array is still referred to by the other VM/PVS array (determined using the DDL _ TRI [ local id ]. num _ using field, which is maintained equal to the number of VM/PVS data structures currently referring to the particular "triangle" in the DDL _ TRI array). The value of this variable for DDL _ TRI is increased when the triangle is newly referenced by VM/PVS data (newly exposed) and decreased when the corresponding triangle is not newly referenced by VM/PVS data (newly occluded).
If it is determined in decision step 4508 that DDL _ TRI [ local id ]. NUM _ USING value-1 (the decremented value) is not equal to 0, process flow advances to step 4510. This corresponds to the following situation: even after a "triangle" is removed from a particular VM/PVS, it still appears in other VMs/PVSs.
In step 4512, the index of the "triangle" in the particular VM/PVS is identified and read into variable A1.
In subsequent step 4513, the triangle "is removed from the particular VM/PVS array by indicating the element of the array at index AI as empty.
In a subsequent decision step 4514 it is determined whether there are any unprocessed triangles remaining in the "triangle list".
If it is determined at decision step 4514 that there are no unprocessed triangles remaining in the "triangle list," process flow advances to step 4516 where the next delta G-submesh is processed.
On the other hand, if it is determined at decision step 4514 that unprocessed triangles remain in the "triangle list", process flow advances to step 4518 where the next triangle in the "triangle list" is selected for processing.
If it is determined in decision step 4508 that the DDL _ TRI [ LOCAID ]. NUM _ USE value-1 (reduced value) is equal to 0, process flow advances to step 4520.
Step 4520 corresponds to the following situation: after a "triangle" is removed from a particular VM/PVS, it is no longer referred to by any other VM/PVS.
In step 4522, the value of OPENNINDEX is set to the index to TRI of DDL _ TRI, indicating that this particular array element of DDL _ TRI is now unused.
In subsequent step 4524, the value of array element GLOBAL _ TO _ DDL _ LINKMAP _ TRI [ GLOBAL ] is set TO 0, indicating that no particular "triangle" is being represented in the DDL _ TRI array element.
In subsequent step 4526, the index of the "triangle" for the particular VM/PVS is identified and read to variable AI.
In subsequent step 4527, the triangle "is removed from the particular VM/PVS array by indicating the element of the array at index AI as empty.
Process flow advances from step 4527 to process 45-1 which begins at step 45-1 (fig. 45B). In step 4528, all the edges of the triangle "are placed in a list called" edge list ".
In subsequent step 4530, the first EDGE of the "EDGE list" is set to the variable reference EDGE.
In subsequent step 4532, the GLOBAL ID of the Edge (as stored in the Edge data structure of fig. 31C) is read into the variable GLOBAL _ ID.
It is determined in a subsequent decision step 4534 whether a particular "EDGE" is to be removed, as the "EDGE" stored in the DDL _ EGGE array is still referred to by the other VM/PVS array (determined using the DDL _ EDGE [ local id ]. num _ using field, which is maintained equal to the number of VM/PVS data structures currently referring to the particular EDGE in the DDL _ EDGE array). The value of this variable for DDL _ EDGE is increased when the EDGE is newly referenced by VM/PVS data (newly exposed) and decreased when the corresponding EDGE is not newly referenced by VM/PVS data (newly occluded).
If it is determined in decision step 4534 that DDL _ EDGE [ LOCALID ]. NUM _ USE ING-1 (reduced value) is not equal to 0, process flow advances to step 4538. This corresponds to the following situation: even after EDGE is removed from a particular VM/PVS, it is still present in other VMs/PVSs.
In step 4538, the index of the "edge" in the particular VM/PVS is identified and read into the variable AI.
In subsequent step 4539, the edge "is removed from the particular VM/PVS array by indicating the element of the array at index AI as empty.
A determination is made in a subsequent decision step 4542 as to whether any unprocessed edges remain in the "edge list".
If it is determined at decision step 4542 that there are no unprocessed edges remaining in the "edge list," then processing returns to step 4514.
On the other hand, if it is determined at decision step 4542 that unprocessed edges remain in the "edge list", process flow advances to step 4543 where the next edge in the "edge list" is selected for processing.
If it is determined in decision step 4534 that the value-1 (reduced value) of DDL _ EDGE [ LOCALID ]. NUM _ USING is equal to 0, process flow advances to step 4544.
Step 4544 corresponds to the following condition: after an "edge" is removed from a particular VM/PVS, it is no longer referenced by any other VM/PVS.
The value of OPENINDEX is set to the index of DDL _ EDGE to EDGE in step 4546, indicating that this particular array element of DDL _ EDGE is now unused.
In subsequent step 4548, the value of array element GLOBAL _ TO _ DDL _ link _ EDGE [ GLOBAL ] is set TO 0, indicating that no particular "EDGE" is being represented in the DDL _ EDGE array element.
In subsequent step 4550, the index of the "edge" in the particular VM/PVS is identified and read into the variable AI.
In subsequent step 4551, the edge "is removed from the particular VM/PVS array by indicating the element of the array at index AI as empty.
Process flow lines proceed from step 4551 to process 45-3, which begins at step 4552. In step 4552, all vertices of the triangle "are prevented in a list called" triangle list ".
In subsequent step 4554, the first edge in the "triangle list" is set to the variable reference VERT.
In subsequent step 4558, the GLOBAL ID of the Vertex (as stored in the Vertex data structure of fig. 31C) is read to the variable GLOBAL _ ID.
It is determined in a subsequent decision step 4560 whether a particular VERT is to be specifically removed, as the VERT stored in the DDL _ VERTEX array is still referred to by the other VM/PVS array (determined using the DDL _ VERTEX [ local id ]. num _ using field, which is maintained equal to the number of VM/PVS data structures currently referring to the particular VERTEX in the DDL _ VERTEX array). The value of this variable for DDL _ EDGE is increased when a vertex is newly referenced by VM/PVS data (newly exposed) and decreased when the corresponding vertex is not newly referenced by VM/PVS data (newly occluded).
If it is determined in decision step 4560 that DDL _ VERTEX [ LOCALID ]. NUM _ USE value-1 (decremented value) does not equal 0, process flow advances to step 4562. This corresponds to the following situation: even after the VERT is removed from a particular VM/PVS, it still appears in other VMs/PVSs.
In step 4562, the VERT index in the particular VM/PVS is identified and read to the variable AI.
In subsequent step 4564, vertex VERT is removed from the particular VM/PVS array by representing the element of the array at index AI as empty.
A determination is made in a subsequent decision step 4568 as to whether there are any unprocessed vertices remaining in the "triangle list".
If it is determined at decision step 4568 that there are no unprocessed vertices remaining in the "triangle list," processing returns to step 4542.
On the other hand, if it is determined at decision step 4568 that unprocessed vertices remain in the "triangle list," process flow advances to step 4596, where the next vertex in the "triangle list" is selected for processing.
If it is determined in decision step 4560 that the value-1 (reduced value) of DDL _ VERTEX [ LOCALID ]. NUM _ USE is equal to 0, process flow advances to step 4570.
Step 4570 corresponds to the following: after the VERT is removed from a particular VM/PVS, it is no longer referenced by any other VM/PVS.
In step 4572, the value of openindex is set to the vet index of DDL _ VERTEX, indicating that this particular array element of DDL _ VERTEX is now unused.
In subsequent step 4574, the array element GLOBAL _ TO _ DDL _ LINKMAP _ VERTEX [ golailid ] is set TO 0, indicating that no particular VERT is being represented in the DDL _ VERTEX array element.
In subsequent step 4576, the index of VERT in the particular VM/PVS is identified and read into the variable AI.
In subsequent step 4578, vertex VERT is removed from the particular VM/PVS array by representing the element of the array at index AI as empty.
After step 4578, process flow advances to decision step 4568, which has already been described.
Fig. 45A to 45C show delta G-sub-mesh data corresponding to triangles, edges, and vertices of a triangular mesh. Similarly, additional data structures in table XIII, incorporated in U.S. patent No.6,111,582 (incorporated herein by reference), are used to manage other graphical elements such as textures and the like.
FIG. 46 is a distributed client-server implementation in which the server accesses stored external memory delta G submesh data, translates global IDs to DDL IDs and maintains DDL, VM/PVS data on both the server and the client.
Fig. 46 is a diagram illustrating an embodiment of a server process performed on a server device and a client process performed on a separate client device. Fig. 46 shows data transmitted from the server device to the client device. In some embodiments, the data is communicated over a local area grid connection or a distributed grid connection, such as the Internet.
The server device is represented by a darkened rectangle labeled 4601. The client device is represented by a darkened rectangle labeled 4602.
External memory or disk storage is located in the server device and is labeled 4605. The storage device stores delta G sub-grid data (both delta G + sub-grid data and delta G-sub-grid data) including delta VM/PVS data corresponding to a particular viewcell transition. In further embodiments, the marker silhouette contour information is stored and used to generate delta G + or delta G-submesh data from the corresponding unified visibility map using the simplified traversal methods of fig. 36 and 37.
When the speculative navigation algorithm (executed by the server) guided by the current viewpoint location (sent from the client segment to the server) encounters a view cell transition, the corresponding delta G + submesh data (corresponding to the newly exposed graphical element) and delta G-submesh data (corresponding to the newly occluded graphical element) are accessed from the external storage, as shown in step 4610. Additionally and/or alternatively, delta G + and/or delta G-submesh data may be generated during prefetching using the marker outline contour information (which is generated using the pre-calculation of fig. 33 as pre-calculation and stored as external memory data). In some embodiments, delta G + and delta G-submesh data are generated from the labeled contour information using the simplified mesh traversal process of FIG. 37.
Applying the simplified traversal method of FIG. 37 to a given unified visibility graph (containing contour contours/occlusion boundaries for two connected viewcells, such as A and B), a set of seed triangles is used to construct a delta G + sub-mesh, and a complementary set of seed triangles is used to construct a delta G-sub-mesh, according to some embodiments.
For example, consider a specific unified visibility diagram containing contour contours and corresponding occlusion boundary ambiguities for two connected viewcells A and B. The following table shows how the delta G + and delta G-submeshes can be generated or bypassed using a labeled contour that depends on the selection of the seed triangle set/list.
TABLE XIV
Using the methods of FIGS. 36 and 37 to generate delta G + and delta G-sub-grid data from a unified visibility map for viewcell A and viewcell B
Figure BDA0001244149660002761
Figure BDA0001244149660002771
Thus, there is no need to store delta G + (and delta G-) sub-grid data, since delta G + (and delta G-) sub-grid data can be generated at runtime from the marker contour contours for the corresponding viewcell transitions. This approach substantially reduces the overall storage requirements because the marked contour information can have far less storage cost than the incremental G-submesh data in many cases. This is true in particular in the following cases: the selected contour is reused for several view element transitions, which is true when the Effective Dynamic Occlusion (EDO) is locally high, corresponding to regions of the model where the local dynamic visible coherence is high. This is also true in the following cases: the number of newly exposed or newly occluded triangles in the delta G grouping is very large (relative to the complexity of the occlusion boundaries defining the corresponding delta region).
In accordance with some embodiments, to generate delta G + or delta G-subgrid information for viewcell transitions at runtime, all polygon mesh data (visible from a particular viewcell) and label silhouette contour information (corresponding to a particular viewcell transition) are presented in a fast accessible (memory) storage.
To ensure that this information is preloaded from external memory prior to the delta G-submesh generation process, the server process directly accesses the polygon set or polygon segments that are visible from the larger viewcell containing the particular viewcell from which the delta G-submesh data is to be generated. This data is relative to direct PVSs for viewcells, but minimizes storage requirements by pre-computing and storing these direct PVS data for a relatively small number of large viewcells from which PVSs for a larger number of contained viewcells are generated during pre-fetching using simplified mesh traversal processing and labeling contour information. Alternatively, the PVS for the large parent viewcell itself may be constructed from existing VMs/PVSs previously constructed for adjacent large viewcells (which are themselves parent viewcells of other child viewcells) by accessing enhanced G child mesh data for parent-to-parent viewcell transitions.
In addition, the server process also accesses labeled contour information for the particular subunit for which the delta G submesh information is to be generated.
When polygon mesh information and mark contour information for constructing incremental G-sub mesh data are present in the memory, the generation of the incremental G-sub mesh data by the server processing is not interrupted by external memory access.
The use of parent and child viewcell data is an example of a simple visibility hierarchy that utilizes presence and hierarchy cells: all polygons/fragments seen from the child viewcell are also visible from the containing parent viewcell. In this application of parent viewcells, it is important to include all polygons/segments that are actually located in the parent viewcell. Finally, terminal leaf viewcells are typically constructed to contain little or no geometry, such that their VM/PVS are exclusively "seen from the viewcell" and less "contained within the viewcell".
Since the tessellation level of any mesh, as seen from any viewcell, can be predetermined, the method of marking contour contours is easily adapted to the refined faces.
Additional details of this level of processing are set forth in connection with FIG. 52.
In subsequent step 4615, the DDL index of each accessed element is determined using the approximate Global _ to _ DDL _ Linkmap.
A determination is made in decision step 4620 as to whether the newly accessed data is already present in the corresponding DDL (see steps 4408, 4434, and 4460 of fig. 44 for details of the geometry elements).
If it is determined at decision step 4620 that the accessed data is already present in the corresponding DDL, process flow proceeds directly to step 4625.
In step 4625, the accessed data is written into both the server copy and the client copy of the approximated VM/PVS data using the pre-existing DDL index of data.
On the other hand, if it is determined at decision step 4620 that the accessed data is not already present in the corresponding DDL, process flow advances to step 4630.
In step 4630, an empty location of the server copy of the corresponding DDL is identified, and in step 4635, the accessed data is written to that location on both the server copy and the client copy of the DDL (see, e.g., steps 4420-4426 of FIG. 44).
Often, a particular graphical element (e.g., triangle or texture) in a DDL is rendered in more than one of the VM/PVS data stored on the client device at any one time. This is because using the speculative navigation prefetch approach, clients tend to store VM/PVS data sets corresponding to viewcells that are close to each other.
Redundant transmission is avoided because the server process first checks to determine that the accessed delta G sub-grid data is already present in the corresponding DDL before sending the data to the client. This substantially reduces the required connection bandwidth between the client and the server.
Figure 47 is a block/flow diagram showing an arrangement in which a server process and a client process are located on the same device and use a single copy of a DDL.
Fig. 47 is a diagram showing a server process performed on the same computing device as that of the client process. This configuration is the same as that of fig. 46 except that the delta G + subgrid and the delta G-subgrid are stored on the same device as that of the client rendering system.
This configuration eliminates the need for client and server copies of DDL and VM/PVS data. 4710 to 4725 the process is the same except that: only one copy of the corresponding data needs to be written.
In this case, the main function of the DDL is to reduce the storage cost of the VM/PVS and simplify the conversion of the global ID to the local array (DDL) index.
Fig. 48A is a block/flow diagram illustrating a server process of sending a reduced level of detailed delta visibility information in case the current viewpoint quickly penetrates a viewcell boundary for which no delta visibility information has yet been read/sent.
FIG. 48A is a block diagram and flow diagram illustrating additional details of a client-server process for communicating delta visibility information. These steps may be performed whether the client and server are implemented in different physical devices connected by a network connection (as in FIG. 46), or whether the client and server are implemented in the same physical device (as in FIG. 47).
In FIG. 48A, a block diagram separates client and server functions into different processes regardless of whether the processes are executed on different physical devices.
The box labeled 4802 contains client processes and the box labeled 4855 contains server processes.
In a first step, the client process obtains the current viewpoint and stores the current viewpoint in data location 4805. The data giving the current viewpoint position may be modified by an input device connected to the client process including a mouse, joystick, game pad or other input device that modifies the current viewpoint position.
The client process provides 4805 entry to the data location to the server process, which copies the data into data location 4810. The copying may occur in local memory or throughout the grid.
In step 4815, the server process predicts the future location of the viewpoint using the current viewpoint data. The prediction may employ dead reckoning and collision constraints, speed and acceleration limits, and other methods of predicting future viewpoint positions from current viewpoint positions, such as prior art navigation methods commonly used to determine navigation of non-player fighters or artificial intelligence agents in computer games or other simulators. (see "Tactive Patchfining Using A", Van Der Sterren, William in Game Programming Gems 3, Charles River Media 2002, the entire contents of which are incorporated by reference into this application).
In step 4820, the predicted future view point location is used to determine a predicted view unit transition, which is a crossing of a view unit boundary. This step takes both the data from step 4815 and the known arrangement of viewcells for the model. The incremental visibility data (also referred to as visibility event information) corresponding to each traversed viewcell boundary (i.e., each viewcell transition) may be read by server processing in subsequent steps.
In step 4825, a determination is made of a minimum time for the current view to reach a view unit boundary corresponding to the predicted view unit transition being processed. This time is a function of the current viewpoint position and velocity, the maximum possible acceleration and velocity, and local collisions and other navigation constraints. This value is stored in the variable "penetration time".
In step 4830, a determination is made as to a maximum time to read and transmit delta visibility information corresponding to the future view cell transition being processed. The value is determined based on the corresponding delta visibility packet, available transmission bandwidth to the client, and possibly other factors. This value is stored in the variable "transmission time".
In a subsequent decision step 4835 it is determined whether the variable "transmission time" is greater than the variable "penetration time". If it is determined in decision step 4835 that the variable "breakthrough time" is greater than "transmission time," process flow advances to step 4840.
In step 4840, a low level of detail (LOD) version of the delta visibility data (e.g., delta G + sub-grid data) is read from external memory and made available to the client process, which uses the data to update the visibility map/PVS data corresponding to the viewcell and stored in the data location labeled 4850. In an embodiment, the relatively low level of detail delta visibility data includes data having a relatively low level of geometric detail, a lower level of texture resolution, or other method of reduced detail. Further embodiments include filters applied to such lower level of detail information to mask low level of detail features. For example, a rule model may include a polygonal mesh consisting of more than 1 million mesh triangles. In some implementations, the low level of detail version of the rule image may include only 10% of the mesh triangles. For existing methods of generating models at different levels of detail, see leupke, David; reddy, Martin et al, "Level of Detail for 3D Graphics" Morgan Kauffman 2003, ISBN: 1-55860-.
If it is determined in decision step 4835 that the variable "transmission time" is not greater than the variable "penetration time", process flow advances to step 4845.
In step 4845, the higher level of detail version of the delta visibility data (e.g., delta G + sub-grid data) is read from external memory and made available to the client process, which uses the data to update the visibility map/PVS data corresponding to the viewcell and stored in the data location labeled 4850.
Steps 4815 to 4840 ensure: the geometry information and/or texture information for relatively low levels of detail in the delta visibility grouping is employed only if the current viewpoint is likely to enter a view cell before all of the delta visibility information needed to update the PVS for that view cell has been received by the client process.
The use of lower level of detail information in a situation reduces the time required to read and transmit the delta visibility information to the client process, thereby reducing the likelihood that a viewpoint enters a viewcell before all of the delta visibility information required to incrementally construct the PVS for that viewcell has been read and transmitted.
Furthermore, the use of this lower level of detail information in this scenario is less likely to be detected by the user. This is because the provided delta visibility information (e.g., delta G + sub-grid information) corresponds to newly exposed faces, which in this case are exposed for a very brief time; and the following are well known: the human visual system has low visual sensitivity to faces exposed for brief periods of time.
FIG. 49 is a graph showing contrast sensitivity (a measure of visual sensitivity) as a function of exposure time and exposed area, which is discussed in detail in connection with the graph.
Thus, the method is the following: the incremental visibility information for relatively low levels of detail is initially used to update the PVS of viewcells that the current viewpoint is likely to penetrate before a corresponding higher level of detail can be provided. In an embodiment, relatively higher level of detail delta visibility information is sent at a later time, such as a delta G + sub-grid plane increased exposure time, corresponding to the following exposure times: the time-dependent spatial sensitivity of the user's visual system may allow the user to understand the geometric and/or texture information for higher levels of detail. In some implementations, the time at which the visibility information for the higher level of detail is sent is limited by the ability of a human to perceive the object.
The graphical information of a lower level of detail is more quickly communicated to the client unit than the information of a higher level of detail. By passing low level of detail information during brief periods when delayed arrival of graphics information at the client is a threat, the present method substantially prevents delayed arrival of graphics information. The delayed arrival of the graphical information may be considered a perceptually undesirable failure of the visibility-based prefetching system, because the missed graphical elements (or their later abrupt reproduction) are easily perceived by the viewer and visually objectionable.
By initially delivering low level of detail graphics information during these periods and subsequently sending additional graphics information that can be used to increase the level of detail of the initial graphics information, the method can prevent delayed arrival of graphics information and still achieve perceptually lossless performance degradation when the replacement schedule matches or exceeds the visual sensitivity VS exposure time curve shown in fig. 49.
If the replacement schedule is close to the visual acuity VS exposure time curve shown in fig. 49, the user will experience a perceptually modest performance degradation. This performance degradation may be experienced as a discrete replacement during the replacement of lower level of detail graphics information with higher level of detail graphics information. As the replacement schedule approaches the visual acuity VS exposure time curve of fig. 49, the replacement time may become more difficult for the user to perceive. In any case, the replacement event outweighs the delayed arrival of the graphical information (and the subsequent sudden reproduction that would result from the delayed arrival of the graphical information).
Thus, the method produces a perceptually lossless or perceptually modest performance degradation with a momentarily low spatio-temporal visual coherence during the visualization. This temporally low spatiotemporal visibility consistency of the visualization may be caused by a temporally high viewpoint speed or locally low visibility correlation in regions where the visibility of the model tends to change at high speed (e.g., regions near doors moving from indoors to outdoors). The method is also useful in dealing with the following situations: the available transmission bandwidth decreases briefly, or the server performance decreases briefly.
In an important case, high viewpoint velocity, the exposure time of the incremental G + sub-grid facets may not increase to a duration that enables the user to fully resolve newly exposed facets. This is because at high viewpoint velocities, the time during which the newly exposed face stays in the viewport may be short.
Because the methods of fig. 46 and 47 employ speculative prefetching based on prefetching delta visibility information for future viewpoint locations, high viewpoint speeds tend to suffer performance degradation because the amount of delta visibility information that must be read and transmitted for a high viewpoint speed may exceed the reading capabilities or available transmission bandwidth of the server.
The present method of fig. 48A matches the performance of the present method to that of the human visual system in a manner that naturally makes the performance degradations of the present method relatively imperceptible to minimize these performance degradations.
Because the present approach employs prefetching and caching of visibility event data based on navigation predictions, visibility event packets are typically sent from the server unit to the client unit because the navigation prediction algorithm agent, which is actually used to predict the user's viewpoint, crosses the viewpoint transition boundary rather than the user's viewpoint itself.
Due to this speculative prefetching, many short periods of low spatial visible correlation measured from the user's viewpoint will not actually result in delayed arrival of visibility event packets, since these same packets will have been sent and cached due to navigation-critical speculative prefetching (also referred to as visibility-based prefetching).
Only when a delayed visibility event packet is actually predicted, as determined in steps 4820 through 4830 of fig. 48A, the method sends lower level of detail information to prevent delayed packet arrival.
FIG. 49 is a graph showing the effect of exposure time on the ability of a human to resolve spatial detail.
FIG. 49 is data reproduced by human visual performance research (Luntinen, O., et. al. (1995). Modeling the Increase of Contrast Sensitivity with a stimulating Area and Exposure time Vision Res. Vol.35, No.16, pp.2339-2346.Elsevier Science Ltd.).
This study shows a significant effect of exposure time on contrast sensitivity, especially for high spatial frequencies up to 1000 ms.
Fig. 49 shows 4 graphs (a to C) in which the contrast sensitivity is plotted as a function of exposure time from 0 to 10 seconds. In each figure, the relationship is plotted for different total exposed areas of the viewed face (grid pattern). Each graph represents the relationship for one of the four spatial frequencies represented. This study shows that low exposure time and small exposed area reduce contrast sensitivity. Note that the contrast sensitivity in this case increases with increasing spatial frequency because the measured low frequencies are lower than the "peak" spatial frequency for the spatial contrast sensitivity curve under the experimental conditions employed. From this data it is evident that the ability of the human visual system to resolve high spatial frequency data is a function of exposure time even exceeding 1000 ms. This may cause the use of low level of detail delta visibility information to be used initially and subsequently replaced with the relatively higher level of detail delta visibility information for the increased exposure time of the corresponding delta G + sub-grid data.
The method of fig. 48A for reading/transmitting low level of detail incremental visibility data for geometries/textures with low exposure times can utilize the sensitivity VS exposure correlation data given by fig. 49 to determine if and when relatively high level of detail incremental visibility data should be read/transmitted at a later time.
FIG. 50A is a block/flow diagram of server processing of incremental visibility information for a reduced level of detail where the image space velocity of newly visible geometry and/or textures corresponding to the incremental visibility information is high enough to cause reduced visual sensitivity to moving geometry and/or textures.
Fig. 50A is a block/flow diagram illustrating additional details of a client-server process for communicating delta visibility information. These steps can be performed whether the client and server are implemented in different physical devices connected by a grid connection (as in FIG. 46) or the client and server processes are implemented in the same physical device (as in FIG. 47).
In FIG. 50A, a block diagram separates client processing and server processing into different processes, regardless of whether the processes are executed on different physical devices.
The box labeled 5002 contains client processes and the box labeled 5055 contains server processes.
In a first step, the client process obtains the current viewpoint and stores the current viewpoint in data location 5005. The data giving the current viewpoint position may be modified by an input device connected to the client process including a mouse, joystick, game pad or other input device that modifies the current viewpoint position.
The client process provides an entry for data location 5005 to the server process, which copies the data into data location 5010. The copying may occur locally or throughout the grid.
In step 5015, the server process predicts the future location of the viewpoint using the current viewpoint data. The prediction may employ dead reckoning and collision constraints, speed and acceleration limits, and other methods of predicting future viewpoint positions from the current viewpoint position.
In step 5020, the predicted future view location is used to determine a predicted view cell transition as a traversed view cell transition of the view cell boundary. This step takes both the data from step 5015 and the known viewcell placement for the model. The delta visibility data corresponding to each traversed viewcell boundary, i.e., each viewcell transition, can be read by server processing in a subsequent step.
In step 5025, the image spatial velocity of the geometric element corresponding to the delta visibility information (e.g., delta G + sub-grid data for a particular viewcell transition) is determined and the result is stored using the variable "element _ velocity".
In subsequent step 5030, the retinal velocity of the estimated element is determined as a function of the graphical spatial velocity, and the result is stored using the variable "estimate _ retinal _ velocity". The retinal velocity may be estimated using a known transfer function for predicting the retinal velocity of an element as a function of the image space velocity of the element and other factors (e.g., image space acceleration, predictability of motion, and other possible factors).
It is determined in a subsequent decision step 5035 whether the variable "estimate _ retinal _ speed" is greater than a predetermined variable "value _ R". If it is determined in decision step 5035 that the "estimated _ retinal _ velocity" is greater than the "value _ R," process flow advances to step 5840.
A low level of detail (LOD) version of the delta visibility data (e.g., delta G + sub-grid data) is read from external memory and made available to client processing in step 5840, which uses the data to update the visibility map/PVS data corresponding to the viewcell and stored in the data location labeled 5850.
If it is determined in decision step 5835 that the variable "estimate _ retinal _ velocity" is not greater than the variable "value _ R," process flow advances to step 5845.
In step 5845, the higher level of detail version of the delta visibility data (e.g., delta G + sub-grid data) is read from external memory and made available to the client process, which uses the data to update the visibility map/PVS data corresponding to the viewcell and stored in the data location labeled 5850.
Steps 4815 through 4840 ensure that relatively low level of detail geometry information and/or texture information in the incremental visibility grouping is only employed when the newly visible geometry and/or texture has an image spatial velocity that produces a retinal velocity that reduces the spatial visual sensitivity of the viewer to the newly visible element.
A high viewpoint velocity may result in a high image space velocity of the geometric elements. As discussed previously, with high viewpoint speed, it is very likely that the current viewpoint enters a viewcell before all of the incremental visibility information needed to update the PVS for that viewcell is received by the client process.
The use of lower level of detail information in this case reduces the time required to process read and transmit delta visibility information to the client, thereby reducing the likelihood that a viewpoint will enter a viewcell before all delta visibility information required to incrementally construct a PVS for that viewcell has been read/transmitted.
Furthermore, the use of lower level of detail information in this situation is less likely to be detected by the user. This is because the incremental visibility information provided (e.g., the incremental G + sub-grid information) corresponds to geometric and/or texture elements that have a high image spatial velocity that reduces the ability of the viewer to resolve spatial details as shown in fig. 51 and a corresponding high predicted retinal velocity.
FIG. 50B is an alternative embodiment of the method shown in FIG. 50A. In FIG. 50B, the process uses different tests to determine when to lower the level of detail of the graphical information being sent. In this embodiment, the test used is not based on an over-estimated retinal velocity, but rather on a comparison of the bandwidth required to transmit the visibility event data and the available bandwidth.
In fig. 50A, a block diagram separates client functions and server functions into different processes regardless of whether the processes are executed on different physical devices.
The box labeled 5052 contains client processes and the box labeled 5099 contains server processes.
In a first step, the client process obtains the current viewpoint and stores the current viewpoint in data location 5055. The data giving the current viewpoint position may be modified by an input device connected to the client process including a mouse, joystick, game pad or other input device that modifies the current viewpoint position.
The client process provides the entry for data location 5055 to the server process, which copies the data into data location 5060. The copying may occur in local memory or throughout the network.
In step 5065, the server process predicts the future location of the viewpoint using the current viewpoint data. The prediction may employ dead reckoning and collision constraints, speed and acceleration limits, and other methods of predicting future viewpoint positions from the current viewpoint position.
In step 5070, the predicted future view location is used to determine a predicted view unit transition as a traversed view unit transition of the view unit boundary. This step takes both the data from step 5065 and the known viewcell placement for the model. The delta visibility data corresponding to each traversed viewcell boundary, i.e., each viewcell transition, can be read by server processing in a subsequent step.
In step 5075, a determination is made of the bandwidth duration required to transmit visibility event data based on the predicted future view position determined in step 5070. This may be determined from the known packet size of the visibility event data corresponding to the view cell transition, along with the speed at which the navigation prediction algorithm penetrates the view cell boundary.
In step 5080, available bandwidth is determined.
In a subsequent decision step 5085, the sustained bandwidth demand is compared to the available bandwidth.
If it is determined at decision step 5085 that the sustained required bandwidth exceeds the available bandwidth, process flow advances to step 5090.
In step 5090, the server sends delta visibility data (visibility event data) at a sufficiently low level of detail. This reduces the sustained required bandwidth and mitigates delayed packet arrivals.
If it is determined at decision step 5085 that the sustained required bandwidth does not exceed the available bandwidth, process flow advances to step 5095.
In step 5095, visibility event data is transmitted at a relatively high or normal level of detail.
The sustained required bandwidth for visibility event stream processing tends to be inversely proportional to the temporal visible coherence of the visualization. The persistent condition of low temporal visible coherence may result from a relatively high user viewpoint velocity, which tends to result in a relatively high retinal graphical velocity for the visualized graphical elements, as discussed in connection with fig. 50A.
As in the case of the momentarily low temporal visible consistency discussed in connection with fig. 48A and 49, additional graphical information may be sent using lossless, progressive geometric and texture compression methods to increase the level of detail of the previously transmitted graphical elements as the persistent visible consistency increases.
Again, because the present method employs a visibility-based prefetching scheme that may be driven by a navigation prediction algorithm that caches persistent data on the client unit, the graphical information may be initially sent at a low level of detail and then replaced before it becomes visible to the user.
Fig. 51 is a graph showing relative spatial visual acuity as the retinal velocity, which is discussed in detail in connection with the graph.
Thus, the present method is a method of using relatively low levels of detail incremental visibility information corresponding to newly visible elements with high predicted retinal velocities.
Because the methods of fig. 46 and 47 employ speculative prefetching of delta visibility information based on predicted future viewpoint locations, high viewpoint speeds tend to yield performance degradation because the amount of delta visibility information that must be read and transmitted exceeds the reading capabilities or available transmission bandwidth of the server for high viewpoint speeds.
The present method of fig. 50A minimizes these performance degradations by matching the performance of the present method to another performance limitation of the human visual system, namely the dynamic visual acuity. Dynamic visual acuity reflects a reduced spatial sensitivity for elements with relatively high retinal velocity. Thus, the method is prone to produce modest performance degradation.
FIG. 48 illustrates a method of using navigation limits to avoid delayed visibility event packets and to recover client VM/PVS or delta G data.
The methods of fig. 48A, 50A and 50B are used to help prevent perceived packet delays by sending low level of detail packets during periods of low temporal visibility correlation. Generally, the methods specified herein employ navigation-based prefetching of visibility event packets (e.g., delta G packets). An alternative method to prevent delayed arrival of packets is to adjust the observer navigation speed. By slowing down the viewpoint speed, temporal visual continuity can be increased.
During roaming-type applications, several factors may naturally limit the navigation speed. Factors such as muscle fatigue, engine overheating, or inadequate reception of remote signals for controlling navigation naturally tend to limit the speed during or immediately after high speed navigation. These high-speed navigation periods correspond to periods of low temporal visible correlation during which point-of-view navigation may exceed the limits of prefetched visibility event packets, causing delayed delivery of packets or exhaustion of the client VM/PVS data cache. In the present approach, these factors can be used to seamlessly adjust the viewpoint speed to easily prevent visibility event packet delays and restore client-side caching of VM/PVS or delta G data.
Fig. 48B is an exemplary flow chart illustrating a method of applying navigation limits to prevent delayed arrival of visibility event packets.
Turning now to fig. 48B, in some embodiments, process flow begins with decision step 4850, where it is determined whether visibility event data will arrive before being accessed and displayed by the client unit.
If it is determined at decision step 4860 that the visibility event information will not arrive with a delay, then processing ends.
On the other hand, if it is determined that visibility event data will arrive after being scheduled for access/display by the client unit, process flow advances to step 4865 where the viewpoint velocity is decreased. The reduction in the apparent point speed allowed at the client unit reduces the speed at which visibility event information corresponding to newly visible graphics information must be transmitted to the client unit, thereby readily preventing delayed packet arrivals.
Process flow advances to optional step 4870 where an indicator of reduced speed is caused to be displayed by the client unit. The indicators may include indicators of physical fatigue, engine fatigue, insufficient power, or navigation impediments such as obstacles or poor road conditions. The display of the reduced speed state makes the speed appear more natural and predictable to the client user.
In alternative embodiments, the method of the exemplary flowchart of FIG. 48B may be performed by a server unit or a client unit, or both units operating together.
FIG. 51 is a graph showing relative spatial visual acuity as a function of retinal velocity.
The diagram of fig. 51 can be reproduced according to the data given in the following documents: eckert, M.P.and Buchsbaum, G. (1993). The Significance of Eye Movements and Image acquisition for Coding Television Image sequences in Digital Images and Human Vision, Watson, A.B. (Ed.), MITPress, chapter 8, pp.89-98.
This data shows a significant decrease in the ability of the human visual system to resolve details of elements with high retinal velocity.
Dynamic Visual Acuity is the space-time limit of the human Visual system (see Brown, b. (1972b) Dynamic Visual Acuity, Eye Movements and personal Acuity for moving targets vision res. vol.12, pp.305-321. permamon Press 1972.), which expresses the sensitivity of the Visual system to moving objects. The graphical elements that experience optical flow on the retinal receiver produce a transient stimulus to the retina and higher processing elements that may not meet the integration time required to fully resolve the moving graphical elements. Therefore, the visual system resolves high retinal pattern velocities poorly.
Eye movement tends to reduce the retinal pattern velocity of the tracked graphical elements through an eye movement strategy of chasing and fixation. Whether for objects with high image space velocity, high image space acceleration, or unpredictable image space motion, dynamic eye tracking is not completely accurate and produces retinal image motion that reduces the resolvable resolution of the moving elements. The relationship that relates retinal image velocity as a function of image spatial acceleration and predictability, describing the efficacy of eye-tracking (e.g., Lisberger et al (1987) Annual Review of Neuroscience 1987,10:97-129), is known and used to estimate retinal velocity based on image spatial velocity and/or acceleration of tracked elements.
FIG. 52 is a flow/block diagram showing the following client and server processes: the server accesses the pre-stored delta G-child mesh for parent viewcell and uses this information to construct a visibility map/PVS for the parent viewcell, and then uses the visibility map/PVS along with the pre-stored contour information for child viewcell transitions to construct delta G-child mesh data for child viewcell transitions.
The incremental PVS storage scheme using the incremental G + sub-grid and incremental G-sub-grid data described in this specification has substantially lower storage costs than storing PVSs for each viewcell. However, even with the accuracy control heuristics based on Effective Static Occlusion (ESO) and Effective Dynamic Occlusion (EDO), the storage cost for incremental PVS data is still often very large for large databases with many viewcells.
One way to reduce the size of the pre-computed incremental PVS database is to store only the incremental G-child grid data for relatively large "parent" viewcells and use pre-stored marker outline contour information to generate the incremental G-child grid data for child viewcells at runtime.
This scheme is introduced in conjunction with the discussion of fig. 46 and 47 and additional details are given herein.
Turning now to fig. 52, fig. 52 is a diagram showing server processing performed on a server device and client processing performed on a separate client device. Fig. 52 is very similar to fig. 46 except as follows: although in the method of fig. 46, all of the delta G subgrids may be read directly from external memory. But in the method of fig. 52 incremental child mesh data for only the parent viewcell is read directly from memory. The parent delta G child grid data is used in conjunction with the previous parent VM/PVS to construct the VM/PVS for the current parent visual element. The delta G child grid data for the child cells is generated at runtime using the new parent VM/PVS along with the labeled outline information for the child viewcell transitions.
The labeled contour information using the data structure of fig. 31 and related algorithms (fig. 32-37) may have a smaller storage cost than directly storing the incremental G-sub-grid data for each sub-viewcell transition. Furthermore, the simplified 3D mesh traversal algorithm of fig. 37 ensures that the corresponding delta G sub-mesh data for the sub-cell can be constructed quickly at runtime. Using this method, an optimal balance between storage costs and computation costs for runtime can be achieved.
Turning now to fig. 52, the server is represented by a darkened rectangle labeled 5201. The client device is represented by a darkened rectangle labeled 5202.
The external memory or disk storage in the server device is labeled 5205 and 5207. The memory 5205 stores delta G-child mesh data (both delta G + child mesh data and delta G-child mesh data) for a particular parent viewcell transition.
The data is used in step 5210 to construct a parent visibility graph (VM) from the previous parent viewcell VM.
External memory or disk storage, labeled 5207, stores labeled contour information for viewcell transitions of the child viewcell.
This data is used in step 5214 to construct delta G + child grid and delta G-child grid data for child viewcell transitions using the VM of the parent viewcell and the simplified 3D grid traversal of fig. 37 in conjunction with table XIV.
Applying the simplified 3D polygon mesh traversal method of fig. 36 and 37 to a given unified visibility graph (containing contour contours/occlusion boundaries for two connected viewcells, e.g., a and B), a set of seed triangles may be used to construct a delta G + submesh, while a complementary set of the set of seed triangles is used to construct a delta G-submesh.
For example, consider a specific unified visibility diagram containing contour contours and corresponding occlusion boundary ambiguities for two connected viewcells A and B. The following table shows how the delta G + sub-grid or delta G-sub-grid can be generated or bypassed using a selected labeled contour depending on the seed triangle set/list.
Thus, there is no need to store delta G + (and delta G-) sub-grid data, since delta G + (and delta G-) sub-grid data can be generated at runtime from the marker contour contours for the corresponding viewcell transitions. Because the labeled contour information is generally less costly to store than the incremental G-submesh data, the method can substantially reduce the overall storage requirements for the external data. This is especially true when the selected contour is reused for several view element transitions, which is true where the Effective Dynamic Occlusion (EDO) is locally high, corresponding to regions of the model where the local dynamic visible coherence is high.
In order to generate delta G + or delta G-sub-mesh information for viewcell transitions at run-time, it is important that all polygon mesh data (visible from a particular viewcell) and marker outline contour information (corresponding to a particular viewcell transition) are already present in the fast-accessible (internal) memory.
To ensure that this information is preloaded from external memory prior to the delta G-submesh generation process, the server process can directly access the set of polygons or polygon fragments that are visible from the larger viewcell containing the particular viewcell from which the delta G-submesh data is to be generated. This data is equivalent to direct PVS data for viewcells, but minimizes storage requirements by pre-computing and storing these direct PVS data for a relatively small number of large viewcells, from which PVSs for a larger number of contained viewcells are generated during pre-fetching using simplified trellis traversal processing and labeling contour information. Alternatively, the parent visual element may be constructed from existing VM/PVS previously constructed for the neighboring large visual element (itself the parent visual element of the other child visual element) by accessing delta G child grid data for the parent-to-parent visual element transition.
In addition, the server process also accesses labeled contour information for the particular sub-viewcell for which the delta G sub-grid information is to be generated.
When rendering the polygon mesh information and the marker contour information required to construct the deltag in the mesh data in the internal memory, the external memory access cannot interrupt the generation of the deltag child mesh data of the server.
This use of parent view and child view data is an example of a simple visibility hierarchy that exists between hierarchical elements: all polygons/fragments visible from the child viewcell are also visible from the containing parent viewcell. In this application of parent viewcell, it is important to include all polygons/segments that are actually located within the parent viewcell. Finally, terminal leaf viewcells are typically constructed to contain little or no geometry, such that their VM/PVS are exclusively "seen from" and less "contained in the viewcell.
Step 5220 and the higher steps are the same as step 4620 and the higher steps shown in FIG. 46.
As previously described, the incremental PVS scheme of the present method employs explicit incremental visibility information for visual element transitions between adjacent visual elements (e.g., adjacent parent visual elements) and between parent and child visual elements.
In one embodiment, explicit delta G + and/or delta G-data sets are used for delta visibility information for parent-to-parent visual element transitions, while intermediate marker silhouette contour information is used for parent-to-child and/or child-to-child visual element transitions. This arrangement enables a trade-off between memory size and run-time transmission/processing costs. The multi-level hierarchy of these arrangements may further reduce storage costs.
Furthermore, the client-server implementation of fig. 52 is amenable to the following alternative implementations: the client process and server process are presented in the same device (similar to fig. 47). This embodiment has utility in computing games and other applications that store the entire database in external memory on the same computing device as the client's computing device.
FIG. 54 is a flowchart/block diagram illustrating the following client and server processes: the server accesses the delta G-child mesh pre-stored for the parent viewcell and uses this information to construct a visibility map/PVS for the parent viewcell, and then uses this visibility map/PVS along with the outline contour information pre-stored for the child viewcell transition to construct delta G-child mesh data for the child viewcell transition, in which embodiment the server optionally provides the delta G-data containing the marked outline contour directly to the client.
Fig. 54 shows an embodiment similar to the embodiment of fig. 52.
The outer storage area labeled 5405 contains the delta G information as well as the marker profile contour information for the corresponding delta G data (e.g., the marker profile contour information stored with the delta G + data).
In the embodiment of fig. 54, this data may optionally be sent directly to a remote client process.
In step 5440, the client process constructs PVS data from the corresponding delta G data.
In step 5450, the client process constructs child PVS data from the parent PVS data using the simplified, implied 3D mesh traversal process of fig. 36 and 37 (which uses the included labeled silhouette contour information).
Except for this, the corresponding marking step and storage area are the same as those of fig. 52.
The embodiment of fig. 54 is able to reduce transmission costs by transmitting fewer, relatively large incremental G packets using the included marker profile information. In this approach, the client processes the PVS that constructs the smaller, sub-view unit, thereby eliminating the need to send the corresponding delta G packet for the sub-view unit. In many cases, the marked silhouette contour information has a smaller storage and transmission cost than the corresponding delta G grouping for the sub-viewunits.
In this embodiment, transmission costs are reduced at the expense of additional client runtime processing to generate sub-PVS data from the marked contour. This approach can be employed to speed up the delivery of visibility event information to clients where the available transmission bandwidth is limited.
Method for reusing labeled contour contours for multiple viewcell transitions
In regions of the model with high visibility consistency, the first order contour contours for several adjacent viewcells may be identical or very similar. If the corresponding labeling contour is the same for several viewcell transitions, a single labeling contour may simply be reused.
When the labeling contours are sufficiently similar, the most conservative labeling contour is stored and used, thereby reducing storage and transmission costs.
Alternatively, the difference between two contour contours may be encoded (e.g., by labeling only different ambiguous line segments) and this information used to incrementally construct a contour from the existing contour during the runtime/prefetch phase.
Method for using fewer delta visibility groupings when a client is predicted to have insufficient visibility event data
In general, large incremental visibility groupings tend to reduce overall storage size, reduce repeated transmission of elements, and minimize seek time. This tends to improve throughput at the expense of higher latency in delivering incremental visibility data. Conversely, small incremental visibility packets generally have higher storage costs, increased repeat transmissions, and higher seek times, but can be delivered with lower delay.
In a client-server implementation of the method, the packet size of the delta visibility data may be dynamically selected based on the instantaneous delay requirements of the current visibility event stream. In particular, if it is predicted (via navigation-based speculative prefetching by the server) that the current view penetrates a particular view unit before corresponding incremental visibility data can be transmitted to the client, the server may pass incremental visibility information corresponding to transitions of smaller view units (e.g., sub-view units). The grouping may be generated by the server as needed (e.g., using parent-to-child labeled silhouette contours to "bypass" a particular polygon). The corresponding smaller delta visibility packet is then sent to the client. This approach can effectively reduce the time to deliver a packet if the transmission bandwidth is limited.
The method may be used in conjunction with a method of reducing the level of detail during those periods when roaming low visible relevance terms emphasize available connections.
Method for improving robustness of implementation
The various polygon-polygon and other geometry intersections required for this approach are constrained by the same numerical precision constraints encountered in most floating point geometry calculations. One of these limitations relates to the decidability of intersections under degenerate conditions (e.g., edges of one polygon lie in the plane and interior of another polygon).
Since the method determines conservative results, such degradation can be effectively eliminated by slightly increasing the apparent cell by some small integer value. Generally, this will remove the degradation while retaining a conservative solution.
Method for improving effectiveness of implementation by using hierarchical visibility
The conservative linearized umbral discontinuity mesh, the visibility map, and the PAU from the child viewcell are a subset of the linearized umbral discontinuity mesh determined from the parent viewcell containing the child viewcell.
Thus, the visible set of polygons/polygon segments used to determine the set of polygons/segments visible from the child view element by any of these methods may be limited to those polygons/polygon segments visible from the containing parent view element.
Method for improving visibility precomputation efficiency by using obstruction selection
After the visibility graph is constructed, the simplified method of using the ESO metrics to guide the resulting visibility graph is applied as described previously.
Another method of simplifying the visibility graph is applied prior to construction of the visibility graph. In this method, the occlusion likelihood of individual mesh objects (or closely spaced groupings of mesh objects) is estimated using a simple metric. These metrics may include the maximum subtended angle of the object or the bounding box of the object. Alternatively, the metric may be an estimate of a simple PAU formed between the viewcell and the bounding box of the mesh object. Using such an estimate of the occlusion probability of a mesh object, many invalid occlusions may be removed before constructing the visibility map.
Note that this type of obstruction selection based on the obstruction likelihood of individual mesh objects may not account for the larger aggregate obstruction caused by the larger PAU that results when a particular mesh object obstruction is fused to other mesh object obstructions. Thus, the occlusion selection heuristic becomes more effective when examining the proximity and location of other nearby occlusions.
Method of using virtual occlusions derived from PAUs
In a modification of the method of constructing PAUs as viewed from the viewcell shown in fig. 26, the PAUs are intersected with one or more planes. The intersection of the PAU with the plane defines a polygonal virtual obstruction. These virtual shades can be used in a manner similar to Koltun et al (2000) which constructs PVS at run-time.
The advantage of this method is that it achieves full 3D implementation, whereas the method of Koltun et al (2000) is 2.5D.
The method of using polygonal virtual occlusion is an alternative to the foregoing methods: the labeled silhouette contour (including conservatively simplified contours) is effectively used to delimit the virtual obstruction.
Obviously, many modifications and variations of the present advancements are possible in light of the above teachings. It is, therefore, to be understood that within the scope of the appended claims, the advancements may be made without departing from the scope of the present invention as described herein.

Claims (4)

1. A method of determining a set of mesh polygons or fragments of said mesh polygons visible from a view region, said mesh polygons forming polygon meshes, said method comprising the steps of:
a) determining at least one from-view-occlusion boundary incident on said mesh polygon, said at least one from-view-occlusion boundary having at least one edge;
b) determining a number of mesh polygons added to the set of mesh polygons or fragments of the mesh polygons visible from the view region, the mesh polygons added by repartitioning a surface of a polygon mesh that intersects at an intersection between the polygon mesh and the at least one out-of-view occlusion boundary;
c) determining a number of mesh polygons occluded by the at least one from view region occlusion boundary;
d) upon determining that said number of added mesh polygons exceeds said number of occluded mesh polygons by a predetermined threshold, constructing a simplified version of said at least one from view region occlusion boundary, said constructing comprising constructing a modified from view region occlusion boundary on an occluded side of said at least one from view region occlusion boundary, said modified from view region occlusion boundary having a number of edges that is less than a number of edges of said at least one from view region occlusion boundary;
e) Repartitioning the mesh polygon using the simplified version of the at least one from view region occlusion boundary.
2. A method of determining a set of mesh polygons or fragments of said mesh polygons visible from a view region, said mesh polygons forming polygon meshes, said method comprising the steps of:
a) determining at least one from-view-occlusion boundary incident on said mesh polygon, said at least one from-view-occlusion boundary having at least one edge;
b) determining a number of mesh polygons added to the set of mesh polygons or fragments of the mesh polygons visible from the view region, the mesh polygons added by repartitioning a surface of a polygon mesh that intersects at an intersection between the polygon mesh and the at least one out-of-view occlusion boundary;
c) determining a surface area of mesh polygons occluded by the at least one occlusion boundary from view region;
d) when it is determined that either the number of added mesh polygons exceeds a predetermined first value or the surface area of occluded mesh polygons is less than a predetermined second value, constructing a simplified version of the at least one from view region occlusion boundary, the constructing comprising constructing a modified from view region occlusion boundary on an occluded side of the at least one from view region occlusion boundary, the modified from view region occlusion boundary having a number of edges that is less than the number of edges of the at least one from view region occlusion boundary;
e) Repartitioning the mesh polygon using the simplified version of the at least one from view region occlusion boundary.
3. A system for determining a set of mesh polygons or fragments of said mesh polygons visible from a view region, said mesh polygons forming polygon meshes, the system comprising:
an encoder having a processor configured to:
a) determining at least one from-view occlusion boundary incident on said mesh polygon, said at least one from-view occlusion boundary having at least one edge;
b) determining a number of mesh polygons to add to the set of mesh polygons or fragments of the mesh polygons, the mesh polygons added by repartitioning a surface of the intersecting polygon meshes at an intersection between a polygon mesh and the at least one from view region occlusion boundary;
c) determining a number of mesh polygons occluded by the at least one from view region occlusion boundary;
d) upon determining that said number of added mesh polygons exceeds said number of occluded mesh polygons by a predetermined threshold, constructing a simplified version of said at least one from view region occlusion boundary, said constructing comprising constructing a modified from view region occlusion boundary on an occluded side of said at least one from view region occlusion boundary, said modified from view region occlusion boundary having a number of edges that is less than a number of edges of said at least one from view region occlusion boundary;
e) Repartitioning the mesh polygon using the simplified version of the at least one from view region occlusion boundary; and
a client device that displays the set of mesh polygons or fragments of the mesh polygons visible from the view region.
4. A system for determining a set of mesh polygons or fragments of said mesh polygons visible from a view region, said mesh polygons forming polygon meshes, the system comprising:
an encoder having a processor configured to:
a) determining at least one from-view-occlusion boundary incident on said mesh polygon, said at least one from-view-occlusion boundary having at least one edge;
b) determining a number of mesh polygons added to the set of mesh polygons or fragments of the mesh polygons visible from the view region, the mesh polygons added by repartitioning a surface of a polygon mesh that intersects at an intersection between the polygon mesh and the at least one out-of-view occlusion boundary;
c) determining a surface area of mesh polygons occluded by the at least one occlusion boundary from view region;
d) When it is determined that either said number of added mesh polygons exceeds a predetermined first value or said surface area of occluded mesh polygons is less than a predetermined second value, constructing a simplified version of said at least one from view region occlusion boundary, said constructing comprising constructing a modified from view region occlusion boundary on an occluded side of said at least one from view region occlusion boundary, said modified from view region occlusion boundary having a number of edges less than the number of edges of said at least one from view region occlusion boundary;
e) repartitioning the mesh polygon using the simplified version of the at least one from view region occlusion boundary; and
a client device that displays the set of mesh polygons or fragments of the mesh polygons visible from the view region.
CN201710146079.2A 2010-06-30 2011-06-29 Method and system for determining a set of mesh polygons or segments of mesh polygons Active CN107103639B (en)

Applications Claiming Priority (13)

Application Number Priority Date Filing Date Title
US36028310P 2010-06-30 2010-06-30
US61/360,283 2010-06-30
US38205610P 2010-09-13 2010-09-13
US61/382,056 2010-09-13
US38428410P 2010-09-19 2010-09-19
US61/384,284 2010-09-19
US201161452330P 2011-03-14 2011-03-14
US61/452,330 2011-03-14
US201161474491P 2011-04-12 2011-04-12
US61/474,491 2011-04-12
US201161476819P 2011-04-19 2011-04-19
US61/476,819 2011-04-19
CN201180042082.0A CN103080984B (en) 2010-06-30 2011-06-29 Method for determining grid polygon visible when sawn from visual area, or a segmented collection method for grid polygon and system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201180042082.0A Division CN103080984B (en) 2010-06-30 2011-06-29 Method for determining grid polygon visible when sawn from visual area, or a segmented collection method for grid polygon and system

Publications (2)

Publication Number Publication Date
CN107103639A CN107103639A (en) 2017-08-29
CN107103639B true CN107103639B (en) 2021-05-18

Family

ID=45497377

Family Applications (5)

Application Number Title Priority Date Filing Date
CN201710146418.7A Pending CN107123155A (en) 2010-06-30 2011-06-29 It is determined that and store description the first grid polygon set information method and system
CN201710146760.7A Pending CN107093202A (en) 2010-06-30 2011-06-29 Stored information is used to determine the method and system of the first grid polygon set
CN201710146762.6A Pending CN107093203A (en) 2010-06-30 2011-06-29 The control method and system that prefetching transmission or reception based on navigation of graphical information
CN201180042082.0A Active CN103080984B (en) 2010-06-30 2011-06-29 Method for determining grid polygon visible when sawn from visual area, or a segmented collection method for grid polygon and system
CN201710146079.2A Active CN107103639B (en) 2010-06-30 2011-06-29 Method and system for determining a set of mesh polygons or segments of mesh polygons

Family Applications Before (4)

Application Number Title Priority Date Filing Date
CN201710146418.7A Pending CN107123155A (en) 2010-06-30 2011-06-29 It is determined that and store description the first grid polygon set information method and system
CN201710146760.7A Pending CN107093202A (en) 2010-06-30 2011-06-29 Stored information is used to determine the method and system of the first grid polygon set
CN201710146762.6A Pending CN107093203A (en) 2010-06-30 2011-06-29 The control method and system that prefetching transmission or reception based on navigation of graphical information
CN201180042082.0A Active CN103080984B (en) 2010-06-30 2011-06-29 Method for determining grid polygon visible when sawn from visual area, or a segmented collection method for grid polygon and system

Country Status (4)

Country Link
US (4) US9472019B2 (en)
EP (1) EP2589023B1 (en)
CN (5) CN107123155A (en)
WO (1) WO2012012161A2 (en)

Families Citing this family (76)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9053562B1 (en) 2010-06-24 2015-06-09 Gregory S. Rabin Two dimensional to three dimensional moving image converter
US9916763B2 (en) * 2010-06-30 2018-03-13 Primal Space Systems, Inc. Visibility event navigation method and system
US9892546B2 (en) 2010-06-30 2018-02-13 Primal Space Systems, Inc. Pursuit path camera model method and system
US10109103B2 (en) * 2010-06-30 2018-10-23 Barry L. Jenkins Method of determining occluded ingress and egress routes using nav-cell to nav-cell visibility pre-computation
US9472019B2 (en) 2010-06-30 2016-10-18 Primal Space Systems, Inc. System and method of from-region visibility determination and delta-PVS based content streaming using conservative linearized umbral event surfaces
US8847965B2 (en) * 2010-12-03 2014-09-30 The University Of North Carolina At Chapel Hill Methods, systems, and computer readable media for fast geometric sound propagation using visibility computations
GB201116438D0 (en) * 2011-09-22 2011-11-02 Advanced Risc Mach Ltd Occlusion queries in graphics processing
US9711126B2 (en) 2012-03-22 2017-07-18 The University Of North Carolina At Chapel Hill Methods, systems, and computer readable media for simulating sound propagation in large scenes using equivalent sources
US9058347B2 (en) 2012-08-30 2015-06-16 Facebook, Inc. Prospective search of objects using K-D forest
US9053191B2 (en) * 2012-08-30 2015-06-09 Facebook, Inc. Retroactive search of objects using k-d tree
US8941676B2 (en) * 2012-10-26 2015-01-27 Nvidia Corporation On-chip anti-alias resolve in a cache tiling architecture
US10438314B2 (en) 2012-10-26 2019-10-08 Nvidia Corporation Two-pass cache tile processing for visibility testing in a tile-based architecture
US9311749B2 (en) * 2012-12-07 2016-04-12 Donya Labs Ab Method for forming an optimized polygon based shell mesh
US9208257B2 (en) * 2013-03-15 2015-12-08 Oracle International Corporation Partitioning a graph by iteratively excluding edges
US10198856B2 (en) * 2013-11-11 2019-02-05 Oxide Interactive, LLC Method and system of anti-aliasing shading decoupled from rasterization
US9344733B2 (en) 2013-12-27 2016-05-17 Samsung Electronics Co., Ltd. Feature-based cloud computing architecture for physics engine
US9986225B2 (en) * 2014-02-14 2018-05-29 Autodesk, Inc. Techniques for cut-away stereo content in a stereoscopic display
US9558533B2 (en) 2014-05-30 2017-01-31 Apple Inc. 3D asset performance enhancement
US10679407B2 (en) 2014-06-27 2020-06-09 The University Of North Carolina At Chapel Hill Methods, systems, and computer readable media for modeling interactive diffuse reflections and higher-order diffraction in virtual environment scenes
US9977644B2 (en) 2014-07-29 2018-05-22 The University Of North Carolina At Chapel Hill Methods, systems, and computer readable media for conducting interactive sound propagation and rendering for a plurality of sound sources in a virtual environment scene
US10154072B2 (en) * 2014-09-17 2018-12-11 Microsoft Technology Licensing, Llc Intelligent streaming of media content
US10810159B2 (en) 2014-10-14 2020-10-20 Microsoft Technology Licensing, Llc. Modular updating of visualizations
US9756375B2 (en) * 2015-01-22 2017-09-05 Microsoft Technology Licensing, Llc Predictive server-side rendering of scenes
US10803089B1 (en) * 2015-02-20 2020-10-13 Amazon Technologies, Inc. Grid based pathfinding
US10347038B1 (en) 2015-02-20 2019-07-09 Amazon Technologies, Inc. Determining visibility in virtual environments
CN107431801A (en) * 2015-03-01 2017-12-01 奈克斯特Vr股份有限公司 The method and apparatus for support content generation, sending and/or resetting
US10706615B2 (en) * 2015-12-08 2020-07-07 Matterport, Inc. Determining and/or generating data for an architectural opening area associated with a captured three-dimensional model
US10311182B2 (en) * 2015-12-16 2019-06-04 Dassault Systemes Topological change in a constrained asymmetrical subdivision mesh
US9868212B1 (en) * 2016-02-18 2018-01-16 X Development Llc Methods and apparatus for determining the pose of an object based on point cloud data
US9792029B1 (en) 2016-06-16 2017-10-17 Waygate, Inc. Authoring of real-time interactive computer graphics content for predictive bi-adaptive streaming
US10376794B2 (en) * 2016-08-26 2019-08-13 Minkonet Corporation Method of providing observing service using event prediction in game
US10372840B2 (en) * 2016-09-15 2019-08-06 Polaris Wireless, Inc. Simplification of data for representing an environment via the expansion of polyhedrons that define structures represented in the data
US10366181B2 (en) * 2016-09-15 2019-07-30 Polaris Wireless, Inc. Simplification of data for representing an environment, via the reduction of vertices that define structures represented in the data
US10372835B2 (en) * 2016-09-15 2019-08-06 Polaris Wireless, Inc. Simplification of data for representing an environment, based on the heights and elevations of polyhedrons that define structures represented in the data
US10733695B2 (en) * 2016-09-16 2020-08-04 Intel Corporation Priming hierarchical depth logic within a graphics processor
US10176630B2 (en) 2016-12-06 2019-01-08 Biosense Webster (Israel) Ltd. Updating an electroanatomical map
WO2018144315A1 (en) * 2017-02-01 2018-08-09 Pcms Holdings, Inc. System and method for augmented reality content delivery in pre-captured environments
US10248744B2 (en) 2017-02-16 2019-04-02 The University Of North Carolina At Chapel Hill Methods, systems, and computer readable media for acoustic classification and optimization for multi-modal rendering of real-world scenes
KR101892642B1 (en) 2017-03-13 2018-10-04 동부엔지니어링 주식회사 Method for determining flooding area using intersecting point between extension lines of highest water level in bend region of river, and recording medium thereof
CN106898051B (en) * 2017-04-14 2019-02-19 腾讯科技(深圳)有限公司 A kind of visual field elimination method and server of virtual role
US10825238B2 (en) * 2017-05-03 2020-11-03 Microsoft Technology Licensing, Llc Visual edge rendering using geometry shader clipping
US9865085B1 (en) * 2017-05-08 2018-01-09 Analytical Graphics, Inc. Systems and methods for 3D modeling using skipping heuristics and fusing
US10537261B2 (en) * 2017-05-10 2020-01-21 Boston Scientific Scimed Inc. Region-of-interest representations for electroanatomical mapping
US10115231B1 (en) * 2017-06-30 2018-10-30 Dreamworks Animation Llc Traversal selection of components for a geometric model
CN107977495B (en) * 2017-11-21 2021-04-02 王征 System and method for drawing wall polygon based on operating point detector
US10504280B2 (en) * 2018-01-10 2019-12-10 Qualcomm Incorporated Accelerated occlusion computation
CN108257103B (en) * 2018-01-25 2020-08-25 网易(杭州)网络有限公司 Method and device for eliminating occlusion of game scene, processor and terminal
CN108337034B (en) * 2018-01-29 2020-06-09 郑州航空工业管理学院 Full-duplex unmanned aerial vehicle mobile relay system and path optimization method thereof
CN108594764B (en) * 2018-03-19 2021-06-29 华侨大学 Equal-residual-height tool contact point track generation method for triangular mesh model
CN108421257B (en) * 2018-03-29 2021-02-12 网易(杭州)网络有限公司 Method and device for determining invisible element, storage medium and electronic device
GB201806015D0 (en) 2018-04-11 2018-05-23 Electronic Arts Inc Cloth self collision with predictive contacts
CN108804383B (en) * 2018-05-30 2022-04-12 深圳大学 Support point parallel enumeration method and device based on measurement space
US10754516B2 (en) * 2018-06-05 2020-08-25 Ge Inspection Technologies, Lp User interface
WO2020068878A1 (en) * 2018-09-24 2020-04-02 Magic Leap, Inc. Methods and systems for three-dimensional model sharing
US10924525B2 (en) 2018-10-01 2021-02-16 Microsoft Technology Licensing, Llc Inducing higher input latency in multiplayer programs
US10650482B1 (en) 2018-11-09 2020-05-12 Adobe Inc. Parallel rendering engine
CN109754454B (en) * 2019-01-30 2022-11-04 腾讯科技(深圳)有限公司 Object model rendering method and device, storage medium and equipment
US11367250B2 (en) * 2019-03-18 2022-06-21 Geomagical Labs, Inc. Virtual interaction with three-dimensional indoor room imagery
CA3134440A1 (en) 2019-03-18 2020-09-24 Geomagical Labs, Inc. System and method for virtual modeling of indoor scenes from imagery
US10460516B1 (en) * 2019-04-26 2019-10-29 Vertebrae Inc. Three-dimensional model optimization
US11568062B2 (en) * 2019-10-10 2023-01-31 Baidu Usa Llc Methods to protect neural network models
US11436783B2 (en) 2019-10-16 2022-09-06 Oxide Interactive, Inc. Method and system of decoupled object space shading
US11481974B2 (en) 2020-01-22 2022-10-25 Vntana, Inc. Mesh optimization for computer graphics
CN111773685A (en) * 2020-06-16 2020-10-16 网易(杭州)网络有限公司 Method and device for dynamically generating game role visual field
CN112084280B (en) * 2020-09-04 2023-07-21 广州南方智能技术有限公司 Multi-scale terrain cutting and splicing method
CN112270679B (en) * 2020-11-19 2022-04-22 浙江大学 Image segmentation method for convex polygon outline combining concave points and concave edges
CN112200900B (en) * 2020-12-02 2021-02-26 成都完美时空网络技术有限公司 Volume cloud rendering method and device, electronic equipment and storage medium
CN112231020B (en) * 2020-12-16 2021-04-20 成都完美时空网络技术有限公司 Model switching method and device, electronic equipment and storage medium
CN112837328B (en) 2021-02-23 2022-06-03 中国石油大学(华东) Rectangular window clipping and drawing method for two-dimensional polygonal primitive
US11511190B2 (en) * 2021-05-03 2022-11-29 Sony Interactive Entertainment Inc. Merge computer simulation sky box with game world
CN113223149A (en) * 2021-05-08 2021-08-06 中煤(西安)航测遥感研究院有限公司 Three-dimensional model texture generation method, device, equipment and storage medium
US20220410002A1 (en) * 2021-06-29 2022-12-29 Bidstack Group PLC Mesh processing for viewability testing
CN113706706B (en) * 2021-10-28 2022-02-01 自然资源部第一海洋研究所 Data processing method and device and electronic equipment
CN115631320B (en) * 2022-12-23 2023-02-28 腾讯科技(深圳)有限公司 Pre-calculation cell display method, pre-calculation cell generation method and device
CN115984442B (en) * 2023-03-20 2023-06-23 浙江闪铸三维科技有限公司 Method for generating surface 3D texture through feature array
CN117649675B (en) * 2024-01-29 2024-03-29 广州亚信技术有限公司 Table generation method, apparatus, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6611267B2 (en) * 1996-10-16 2003-08-26 Viewpoint Corporation System and method for computer modeling of 3D objects or surfaces by mesh constructions having optimal quality characteristics and dynamic resolution capabilities
CN1512454A (en) * 2002-12-24 2004-07-14 ض� Z-buffer technology for figure heightening
CN101145245A (en) * 2007-10-17 2008-03-19 北京航空航天大学 Non-homogeneous space partition based scene visibility cutting method
CN101419721A (en) * 2008-10-30 2009-04-29 上海大学 Complex indoor scene rapid drafting method based on view rejection

Family Cites Families (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1993000650A1 (en) 1991-06-28 1993-01-07 Hong Lip Lim Improvements in visibility calculations for 3d computer graphics
US5553206A (en) * 1993-02-12 1996-09-03 International Business Machines Corporation Method and system for producing mesh representations of objects
JP2669599B2 (en) * 1994-09-16 1997-10-29 インターナショナル・ビジネス・マシーンズ・コーポレイション Shadow drawing method and three-dimensional graphic computer system
US6018347A (en) * 1996-04-12 2000-01-25 Multigen Paradigm, Inc. Methods and apparatus for rendering three-dimensional images
WO1998000811A1 (en) 1996-06-28 1998-01-08 Resolution Technologies, Inc. Fly-through computer aided design method and apparatus
US6111582A (en) 1996-12-20 2000-08-29 Jenkins; Barry L. System and method of image generation and encoding using primitive reprojection
US6057847A (en) 1996-12-20 2000-05-02 Jenkins; Barry System and method of image generation and encoding using primitive reprojection
US6259452B1 (en) * 1997-04-14 2001-07-10 Massachusetts Institute Of Technology Image drawing system and method with real-time occlusion culling
US6028608A (en) 1997-05-09 2000-02-22 Jenkins; Barry System and method of perception-based image generation and encoding
US6377229B1 (en) 1998-04-20 2002-04-23 Dimensional Media Associates, Inc. Multi-planar volumetric display system and method of operation using three-dimensional anti-aliasing
US6636633B2 (en) 1999-05-03 2003-10-21 Intel Corporation Rendering of photorealistic computer graphics images
US6822658B1 (en) * 1999-10-25 2004-11-23 Intel Corporation Rendering a silhouette edge
WO2001063561A1 (en) * 2000-02-25 2001-08-30 The Research Foundation Of State University Of New York Apparatus and method for volume processing and rendering
US6774895B1 (en) * 2002-02-01 2004-08-10 Nvidia Corporation System and method for depth clamping in a hardware graphics pipeline
JP4031306B2 (en) 2002-07-12 2008-01-09 日本放送協会 3D information detection system
US6933946B1 (en) 2003-05-07 2005-08-23 At&T Corp. Method for out-of core rendering of large 3D models
JP4510817B2 (en) 2003-06-11 2010-07-28 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ User control of 3D volume space crop
US7154500B2 (en) * 2004-04-20 2006-12-26 The Chinese University Of Hong Kong Block-based fragment filtration with feasible multi-GPU acceleration for real-time volume rendering on conventional personal computer
CN100349467C (en) 2004-05-13 2007-11-14 三洋电机株式会社 Method and apparatus for processing three-dimensional images
JP4196889B2 (en) 2004-06-30 2008-12-17 日本電気株式会社 Image display device and portable terminal device
US7586490B2 (en) 2004-10-20 2009-09-08 Siemens Aktiengesellschaft Systems and methods for three-dimensional sketching
CN1655191A (en) * 2005-02-25 2005-08-17 浙江大学 Programmable graphic hardware based rapid voxel method for polygonal grid model
US7450124B2 (en) * 2005-03-18 2008-11-11 Microsoft Corporation Generating 2D transitions using a 3D model
JP4328311B2 (en) * 2005-04-14 2009-09-09 株式会社東芝 Method and program for creating multi-viewpoint image for 3D image display
US7595799B2 (en) * 2005-08-04 2009-09-29 Dassault Systemes Process for creating from a mesh an isotopologic set of parameterized surfaces
JP2009530745A (en) * 2006-03-20 2009-08-27 スケート・エムヴイヴイ・エルエルシー Human vision analysis system
EP2023292B1 (en) * 2006-05-11 2020-02-26 Panasonic Intellectual Property Management Co., Ltd. Processing device
US20100060640A1 (en) * 2008-06-25 2010-03-11 Memco, Inc. Interactive atmosphere - active environmental rendering
DE102006043894B3 (en) 2006-09-19 2007-10-04 Siemens Ag Multi-dimensional compressed graphical data recalling and graphically visualizing method, involves forming volume areas at examination point in location variant detailed gradient as volume units of partitioned, viewer-distant volume areas
GB0710795D0 (en) * 2007-06-05 2007-07-18 Arm Norway As Method of and apparatus for processing graphics
DE112007002991B4 (en) * 2006-12-08 2011-09-08 Mental Images Gmbh Computer graphics shadow volume using hierarchical occlusion culling
US8629871B2 (en) * 2007-12-06 2014-01-14 Zynga Inc. Systems and methods for rendering three-dimensional objects
CN101241602B (en) * 2008-03-05 2011-01-05 罗笑南 Computer three-dimensional grid pattern abridging method
GB0808023D0 (en) 2008-05-02 2008-06-11 British Telecomm Graphical data processing
JP5008703B2 (en) * 2009-08-18 2012-08-22 株式会社ソニー・コンピュータエンタテインメント Content creation support device, image processing device, content creation support method, image processing method, and data structure of image display content
US9472019B2 (en) 2010-06-30 2016-10-18 Primal Space Systems, Inc. System and method of from-region visibility determination and delta-PVS based content streaming using conservative linearized umbral event surfaces

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6611267B2 (en) * 1996-10-16 2003-08-26 Viewpoint Corporation System and method for computer modeling of 3D objects or surfaces by mesh constructions having optimal quality characteristics and dynamic resolution capabilities
CN1512454A (en) * 2002-12-24 2004-07-14 ض� Z-buffer technology for figure heightening
CN101145245A (en) * 2007-10-17 2008-03-19 北京航空航天大学 Non-homogeneous space partition based scene visibility cutting method
CN101419721A (en) * 2008-10-30 2009-04-29 上海大学 Complex indoor scene rapid drafting method based on view rejection

Also Published As

Publication number Publication date
US20170076490A1 (en) 2017-03-16
CN107103639A (en) 2017-08-29
WO2012012161A2 (en) 2012-01-26
US9852538B2 (en) 2017-12-26
CN107093203A (en) 2017-08-25
CN103080984B (en) 2017-04-12
CN103080984A (en) 2013-05-01
CN107093202A (en) 2017-08-25
EP2589023B1 (en) 2021-05-19
US20130207976A1 (en) 2013-08-15
EP2589023A4 (en) 2017-09-13
US20160005214A1 (en) 2016-01-07
EP2589023A2 (en) 2013-05-08
CN107123155A (en) 2017-09-01
US9472019B2 (en) 2016-10-18
US20120229445A1 (en) 2012-09-13
WO2012012161A3 (en) 2012-03-15

Similar Documents

Publication Publication Date Title
CN107103639B (en) Method and system for determining a set of mesh polygons or segments of mesh polygons
US10109103B2 (en) Method of determining occluded ingress and egress routes using nav-cell to nav-cell visibility pre-computation
US9171396B2 (en) System and method of procedural visibility for interactive and broadcast streaming of entertainment, advertising, and tactical 3D graphical information using a visibility event codec
Sillion et al. Efficient impostor manipulation for real‐time visualization of urban scenery
US6266064B1 (en) Coherent visibility sorting and occlusion cycle detection for dynamic aggregate geometry
Baxter III et al. GigaWalk: Interactive Walkthrough of Complex Environments.
Erikson et al. HLODs for faster display of large static and dynamic environments
US6215503B1 (en) Image generator and method for resolving non-binary cyclic occlusions with image compositing operations
Snyder et al. Visibility sorting and compositing without splitting for image layer decompositions
US6574360B1 (en) Accelerated occlusion culling using directional discretized occluders and system therefore
US20220383583A1 (en) Hardware acceleration for ray tracing primitives that share vertices
Gobbetti et al. Technical strategies for massive model visualization
Govindaraju et al. Interactive shadow generation in complex environments
Wilson et al. Simplifying complex environments using incremental textured depth meshes
Bernardini et al. Directional discretized occluders for accelerated occlusion culling
Stoll et al. Razor: An architecture for dynamic multiresolution ray tracing
Cohen-Or et al. Visibility, problems, techniques and applications
Ebbesmeyer Textured virtual walls achieving interactive frame rates during walkthroughs of complex indoor environments
Yılmaz et al. Conservative occlusion culling for urban visualization using a slice-wise data structure
Zheng et al. Rendering of virtual environments based on polygonal & point-based models
Schmalstieg A survey of advanced interactive 3-d graphics techniques
Wang et al. Occlusion Culling for Fast Walkthrough in Urban Areas
Snyder et al. Visibility sorting and compositing for image-based rendering
Deb et al. Visibility cuts: A system for rendering dynamic virtual environments
Yang et al. Walkthrough applications based on portal

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
GR01 Patent grant
GR01 Patent grant