Multi-resolution geometry
A system, method, and apparatus is disclosed for creating a three-dimensional visual representation of an object having multiple resolutions by retrieving a vertex list for the object, determining a collapse order for the vertices identified in the vertex list, reordering the vertices identified in the vertex list responsive to the determined collapse, order, and creating a vertex collapse list responsive to the collapse order, where the vertex collapse list specifies, for a target vertex, a neighbor vertex to collapse to. The vertex list may comprise 3D coordinates of vertices without referring to other vertex attributes or, in alternate embodiments, the vertex list may refer to other vertex attributes such as colors or normals. A runtime manager is disclosed which dynamically manages the polygon counts for objects and frames based upon the location, velocity, and area of the object. Polygon counts are also adjusted based upon a target frame rate and a target polygon count. A system is also disclosed for continuous transfer of data across a remote connection in which different levels of resolution are transmitted individually.
This application is a continuation of U.S. patent application Ser. No. 09/243,099, filed on Feb. 2, 1999, which claims priority under 35 U.S.C. §119(e) from U.S. provisional patent application serial No. 60/089,794, filed on Jun. 18, 1998.
DESCRIPTION OF THE RELATED ART1. Field of the Invention
This invention relates to the field of generating three-dimensional graphics; more specifically, to the field of generating multiple resolutions of an object in a three-dimensional environment.
2. Background of the Invention
Realistic three-dimensional object rendering for use in games and other software applications has been the goal for software and hardware makers in the computer industry for years. However, numerous problems prevent the achievement of realistic three-dimensional object rendering on a typical user's home computer.
Three-dimensional graphics use polygons to create the object to be rendered. These polygons are created and manipulated to portray curvature and details of the object. The more polygons used to create an object, the more detailed and realistic an object will appear. However, the more polygons used to create an object, the more computations required to render the object, thus slowing down the speed at which the object is rendered. Thus, there is a tradeoff from the developer's standpoint between speed and realism.
The resolution of this problem is not easy. As most users do not have the latest, most powerful personal computer, the developer must design the objects for the lowest common denominator if the developer wants to reach the greatest number of potential users for the product. Thus, the developer must assume the user's processor is slow and is therefore capable of only rendering a small number of triangles per second. Therefore, the developer, when making the tradeoff described above, must favor the speed side of the equation, and design objects with fewer triangles than if faster machines were being used by all users. This solution, however, pleases neither the user with a low-end computer nor the user with the high-end computer. The user with the low-end computer will most likely still have images which are slow and choppy, because the developers are unwilling to completely sacrifice realism, and the user with a high-end computer will have images which appear artificial and robotic because the application is not designed to take advantage of the high-end machine's greater processing power. In fact, on some high-end systems, the application will be too fast to play or interact with because the polygon count is too low.
Another problem facing the developer is the fact that the same object requires more detail when closer to the screen than it requires if it is in the background. When an object is closer to the screen, the angles and straight edges of the polygons comprising the object can be seen more clearly. At this point, more polygons are needed to smooth the angles and continue the realistic rendering of the object. However, the most detailed version of the object cannot always be used to render the object because the application will require too much computing power to quickly and smoothly render images on the screen. In order to achieve smooth 3D animation, the processor must render 3D objects at 20 to 60 frames per second. If too many polygons are used for each object, thus providing the necessary realism for the object when it is close to the screen, then the processor will not be able to achieve the above minimum frame rate required for smooth rendering.
One solution to allow realistic rendering of three-dimensional objects while also limiting the number of polygons on the screen is to use Level of Detail mapping. Level of Detail mapping provides different levels of resolutions of an object based upon the distance of the object to the screen. In order to create the different levels of detail, the developer must create different versions of the object for each level required. Typically, only three or four levels are used because storage of multiple versions of each object to be rendered can consume too much of the user's system resources.
There are several drawbacks to the level of detail methodology. First, this method has a large impact on system resources, as described above. Each object now requires three or four times more storage space than previously required to store each version of the object. Each level requires a separate vertex list as well as a separate data structure. Second, when transitioning from one level to another, an effect known as object popping occurs. The higher detailed version of an object is abruptly rendered as the object moves towards the screen, and “pops” out at the viewer, ruining the 3D immersive qualities of the application. The level of detail method also requires extra authoring of each version of the object, requiring more time from the developer. Level of Detail also does not address the lowest common denominator problem described above. The highest level of detail of each object must be created in consideration of the user with an inefficient computer who will be using the application. Thus, the highest level of detail cannot contain too many polygons or the image will appear slow and choppy on the low-end user's computer. Again, this image will also appear angular and robotic on the high-end user's computer, as it does not take advantage of the high-end computer's greater processing power.
SUMMARY OF THE INVENTIONIn accordance with the present invention, an apparatus, system, and method is disclosed for producing realistic rendering of a 3D object while minimizing the use of user system resources and maximizing fidelity without sacrificing speed. The invention produces a continuous level of detail of an object using vertex merging responsive to the location of the object on the screen and other factors, thus eliminating the object popping effect. As the object moves towards the background, and therefore requires less polygons in order to provide a realistic rendering, vertices of the object are merged together in a manner designed to cause the least visual distortion. As the vertices are merged, polygons within the object are eliminated, thus lowering the polygon count of the object continuously as it moves farther and farther away from the screen. As an object moves towards the screen, vertices are added to the object, adding polygons to the object and thus providing a more realistic representation of the object as it grows close to the user and fine details become necessary. Thus, at any given moment, every object on the screen only has as many polygons as is required to provide a realistic rendering of the object. No polygons are being unnecessarily drawn, and thus optimum use is being made of the user's system. No object-popping effects are created as polygons are added or removed from the object on a continual basis based on the object's movement in the 3D environment.
Additionally, the invention requires only one version of the object to be authored and stored on the user's system, thus minimizing the impact on system resources. One vertex list is used which preferably specifies the highest level of detail, and the system in accordance with the present invention is able to then generate the continuous level of detail of the object for display on the screen. Also, the system advantageously increases and decreases the resolution of the objects on the fly. Thus, as only the current level of detail being displayed is stored, minimal use of memory is required. By storing certain minimum information which is determined prior to run-time to guide the resolution changes, the resolution changing is performed at run time at optimal speed. Another benefit of the present invention is its ability to allow a developer to tweak the vertex merging in accordance with the developer's own preferences. Finally, the invention automatically adjusts the amount of polygons in a screen responsive to the capabilities of a user's system, providing an optimal image for every user. In one embodiment, the invention monitors the system to determine the frame rate at which the frames are being rendered, and adjusts the total amount of polygons allowable on the screen at one time accordingly.
Additionally, a target frame rate may be set, which allows the user to specify the speed at which the scenes should be rendered. The present invention then dynamically adjusts the total amount of polygons to ensure the frame rate is maintained. Alternatively, the invention allows a polygon count to be specified, and then ensures that this amount of polygons is always on the screen, regardless of the frame rate.
In a preferred embodiment, a three-dimensional visual representation of an object having multiple resolutions is created by retrieving a vertex list for the object, determining a collapse order for the vertices identified in the vertex list, reordering the vertices identified in the vertex list responsive to the determined collapse order, and creating a vertex collapse list responsive to the collapse order, where the vertex collapse list specifies, for a target vertex, a neighbor vertex to collapse to. The vertex list may comprise 3D coordinates of vertices without referring to other vertex attributes or, in alternate embodiments, the vertex list may refer to other vertex attributes such as colors or normals.
More specifically, in a preferred embodiment, the collapse order of the object is determined by determining an optimal collapse path from the set of collapse paths, computing visual distortion factors for the selected collapse path, determining a collapse value for the selected collapse path, repeating for each path in the set of collapse paths, comparing the collapse values to determine a collapse path causing a least visual distortion to the object, selecting a next vertex to be collapsed, collapsing the object along the selected path, and repeating until a minimum resolution level is attained.
In
The data source 196 stores the original vertex list for processing. Data sources include the application requesting the object modeling, or a secondary source which stores objects requiring modeling in accordance with the present invention. In one embodiment, the modules 138, 142, 146, 150 are implemented as a set of Field Programmable Gate Arrays, and are programmed to perform the separate functions described above. By compartmentalizing the separate functions in a distributed architecture, faster and more robust processing is achieved.
The vertex list 158 may specify a maximum set of vertices used in the object, or a maximum and a minimum set of vertices in the object. The minimum set of vertices is specified by the developer 166 to define a minimum quality level the object may not be collapsed beyond. As more vertices are collapsed in an object, the less realistic the object appears if examined closely. Therefore, for some objects the developer 166 may decide that there is a point beyond which the object is no longer recognizable as its true shape, even though the object at that point is very small on the screen and therefore does not require many polygons to specify sufficient detail. For these objects, the developer 166 specifies a minimum set of vertices to which the object may be collapsed. The system identifies these vertices during its processing, and does not collapse those vertices in the object. The vertex list 158 may also specify a nested set of vertex sets that represent progressively lower resolutions of the object. In this case the system generates a collapse list that interpolates between the nested vertex sets.
After the vertex list has been retrieved, the system proceeds to determine 204 a collapse order. The collapse order of an object is specifies the order in which individual vertices are merged into other vertices. Vertices are collapsed along collapse paths, with the goal of causing the least visual distortion possible for the object. For example, as shown in
After determining a collapse order for the object, the vertex list 158 is reordered 208 into the order specified by the collapse order. The vertex to be collapsed first is identified and the other vertices are sequenced accordingly based on their collapse priority. The system advantageously minimizes its footprint in memory by using the existing vertex list 158, instead of using another construct to store this information. Next, the system creates 212 a vertex collapse list 154. This list specifies the vertex to which the target vertex is to be collapsed; alternatively, the list specifies the vertices to which to connect an added vertex. When collapsing vertices in an object to achieve a lower resolution, the system may simply eliminate vertices as ordered in the vertex list until the desired resolution is obtained. However, in order to increase the resolution of the object by adding vertices, more information is needed. In each case, a correct triangle list must be generated by the system at the desired resolution. The triangle list specifies connectivity information regarding all of the triangles which must be rendered to achieve a given resolution.
For example, as shown in
Next, a collapse path from the set of collapse paths is selected 304. Visual distortion factors are computed 308 for the selected collapse path. Visual distortion factors are measurements of the effect of a given collapse on the object. Some collapse paths will have a much greater visual effect on the user than others. For example, if V1 is collapsed to V2, the object will appear to shrink noticeably in width. However, if V8 is collapsed to V11, the object will not appear as distorted to the user. The system preferably captures these distinctions by computing several visual distortion factors, including area change, angular deviation, and local volume change, described in greater detail below.
Each collapse path is given 312 a collapse value as a function of the computed visual distortion factors for that path. The collapse value is preferably a weighted combination of the visual distortion factors for the path. Weighting the different factors allows the developer 166 to specify the importance of the factors as applied in the particular application being developed.
The system determines 316 whether there are more collapse paths. If there are more collapse paths, a next path is selected 304 and the process described above is repeated. If there are no more collapse paths, the system compares the collapse values of the collapse paths to determine 220 a collapse path which causes the least visual distortion to the object.
The vertex to be collapsed is identified 324 responsive to the determined collapse path, and a collapse priority is assigned 326 to the vertex to be used upon reordering the vertex list. The object is collapsed 328 along the collapse path. The system determines 332 if there are more than one vertex not in the minimum point set remaining. If there are not, the system then moves to reordering the vertex list 158. If there are more than.one vertex remaining, the system repeats the above process, treating the collapsed object as a new object to be processed. The system processes the object until a set of collapse paths are determined which cause the least visual distortion to the object, and reduce the object from a maximum resolution to a minimum resolution. For each collapse path stored, the vertices to which the target vertex is connected, and the change in connectivity as expressed by the triangle list are stored. When the vertex is added to the object, this allows the system to know which other vertices are connected to the added vertex by which triangles. This information is stored in the vertex collapse list 154, as described above.
Next, a neighbor vertex is identified 408. A neighbor vertex is a vertex connected along an edge to the target vertex. A neighbor vertex would include any vertex directly connected to the target vertex, as well as any vertex which is connected to the target vertex through another vertex or vertices. As can be imagined, this list may grow very large if every vertex is processed. However, as described above, a maximum number of neighbor vertices may be specified to minimize processing.
After identifying a neighbor vertex, a collapse path is determined 412 between the target vertex and the neighbor vertex. The system determines 416 whether the maximum number of collapse paths have been reached. If it has, the system determines 420 whether there are more vertices. If there are more vertices, the collapse paths for the other vertices are computed as described above. If there are no more vertices, the system selects 304 a collapse path from the set of collapse paths.
For example, in
Thus, as shown in
In one embodiment, collapse values are calculated for each path and the paths are prioritized as described above. The path designated to be collapsed first is chosen as the first path to be collapsed and displayed to the developer 166. If the developer 166 selects this path, the path retains its priority. A new set of collapse paths is generated and the highest prioritized path from the new set selected for display to the developer 166. If the developer 166 does not select the path, the next highest prioritized path is selected and displayed to the developer 166. Of course, the developer 166 may specify at any time a particular path the developer 166 sees in the object the developer 166 wants collapsed. Such a selection by the developer 166 overrides any previous prioritization by the system.
In another embodiment, texture maps are indexed by the vertices. Texture maps provide texture for the mapped area, giving an object a realistic appearance. Textures for different triangles may be quite different. Therefore, when a triangle is collapsed, the system must determine the affect of the loss of the texture of the triangle on the appearance of the object. Vertices which are on the edges of texture discontinuities are not collapsed, because of the affect the collapse will have on the appearance of the object. Thus, when collapse paths are selected, the vertices in the path are examined to determine if they are located on the edge of a texture discontinuity. If they are, the collapse path is not selected.
In one embodiment, the extended tables for each object are already created in the development stage, and the tables are simply loaded into data memory for easy access when the application is initiated. The runtime manager awaits a request from the application for a collapse level from an object. The original appearances of each object are represented in a default resolution. When the application or the graphics program requests 1008 an increased or decreased resolution from the runtime manager, the runtime manager determines 1012 whether the requested resolution requires a collapse level greater than the current collapse level of the object. The current collapse level is known because the current collapse level of the object is the only version of the object which is stored in memory. If the requested resolution requires a greater collapse level for the object, vertices are added to the object in accordance with the vertex collapse information in the table until the requested collapse level is met. This continuous addition of vertices provides for a smooth rendering of the object, and eliminates the object-popping problem discussed above. Similarly, if the requested resolution requires a collapse level which is less than the current collapse level, vertices are collapsed 1016 until the proper resolution of the object is achieved. The table allows for instantaneous addition and subtraction of polygons to the object upon request. The table also allows for a minimal memory footprint by the present invention as entire versions of the objects are not required to be stored. The continual addition or subtraction of polygons to an object eliminates the object-popping artifacts. Thus, in accordance with the present invention, an efficient, high-speed object modeling process is disclosed which provides multiple levels of resolution while minimizing resource use.
The projected area of an object is another factor which is used by the runtime manager to determine an optimal collapse level for an object. The projected area of an object is the area which the object will occupy as rendered on the display. The greater the projected area of an object, the higher the resolution that is required. The system determines 1208 the current projected area of the object, and compares 1212 the projected area to a table which correlates projected area and collapse levels. The polygon count is then adjusted 1232 accordingly.
The present invention also provides for global polygon count management. In this embodiment, the user selects a target polygon count for each frame. In this embodiment, the system determines 1216 the number of polygons currently being displayed in a frame. The total number of polygons displayed in a frame may be calculated by determining which objects are on screen and totaling the number of polygons in each object, or by having the renderer keep an internal tally of how many triangles it drew on screen in one frame. This number is compared 1220 to the predefined target polygon count. If the runtime manager determines 1232 that the current polygon count is less than the target polygon count, more polygons are added 1236. If the current polygon count is greater than the target polygon count, polygons are subtracted 1240 away. The determination of which objects to add and subtract polygons to and from may be made in a number of ways. Polygons may be added and removed uniformly to and from all polygons. Alternatively, objects may be individually analyzed and polygons added and subtracted on an individual basis.
Alternatively, the user 170 is able to select a target frame rate. The manager determines 1224 a current frame rate by monitoring the processor clock and determining how long it is taking to render frames. The current frame rate is then compared 1228 to the target frame rate. If runtime manager determines 1232 that the current frame rate is faster than the target frame rate, polygons are added 1236 to the frame to slow the frame rate down. If the current frame rate is slower than the target frame rate, polygons are subtracted 1240 from the frame to speed the frame rate up. Thus, the runtime manager allows for dynamic global polygon management requiring minimal input from the user 170. This management process allows the present invention to be platform universal, as if the invention is used on a system with a slower processor, the target frame rate or polygon count may be set lower, and the benefits described above are still provided. However, a system with a faster processor can be set to have a higher frame rate or polygon count, and the higher processing power of the system is maximized by the present invention.
The present invention may also be used to transmit data through remote connections, as illustrated in
As shown in
Claims
1. A method for creating a three-dimensional visual representation of an object having multiple resolutions, comprising the steps of:
- retrieving coordinates of vertices for the object;
- determining, using a processing device, a collapse order for the vertices identified in the of a vertex list for the object, across all levels of detail of the object;
- reordering ordering the vertices identified in the vertex list responsive to the determined collapse order;
- creating, using the processing device, a vertex collapse list responsive to the collapse order, where wherein the vertex collapse list specifies, for a each target vertex, a neighbor vertex of the object to which the target vertex collapse to collapses, for at least one level of detail of the object, and wherein each vertex collapse operation at a respective level of detail collapses a respective target vertex to a neighbor vertex directly connected to the target vertex at the respective level of detail;
- specifying a level of detail at which the object is to be rendered;
- using the vertex collapse list and a level of detail to identify at least one display vertex of the object; and
- rendering the display vertex to produce a three-dimensional visual representation of the object at the specified level of detail using the vertex list and the vertex collapse list.
2. The method of claim 1 wherein determining the collapse order comprises the steps of:
- determining a set of collapse paths available at a level of detail;
- selecting a collapse path from the set of collapse paths;
- computing a visual distortion factor factors for the selected each collapse path in the set of collapse paths; and
- responsive to the computed visual distortion factors, determining a collapse value for the selected each collapse path in the set of collapse paths;
- repeating selecting a collapse path, computing visual distortion factors, determining a collapse value for each collapse path;
- selecting a next vertex to be collapsed as a vertex having a collapse path causing the least visual distortion to the object;
- collapsing the next vertex to be collapsed along the corresponding collapse path; and
- repeating the above steps until a minimum resolution level is attained.
3. The A method of claim 2 wherein for creating a three-dimensional visual representation of an object at a selected level of detail, comprising:
- determining, using a processing device, a collapse order for vertices of the object, comprising: determining a set of collapse paths; computing a visual distortion factors comprises the steps of factor for each collapse path in the set of collapse paths, including: computing an area change factor for the selected each collapse path; computing an angular deviation factor for the selected each collapse path; and computing a local volume change factor for the selected each collapse path; and responsive to the computed visual distortion factors, determining a collapse value for each collapse path in the set of collapse paths;
- ordering the vertices in a vertex list responsive to the determined collapse order;
- creating, using the processing device, a vertex collapse list responsive to the collapse order, where the vertex collapse list specifies, for a target vertex, a neighbor vertex of the object to which the target vertex collapses;
- specifying a level of detail at which the object is to be rendered; and
- rendering a three-dimensional visual representation of the object at the specified level of detail using the vertex collapse list.
4. The method of claim 3 wherein the computing an area change factor for each collapse path further comprises:
- computing an area of the object after collapsing the a first target vertex along the a first collapse path; and
- subtracting the computed area from an area of the object prior to the collapse.
5. The method of claim 3 wherein the computing a volume change factor for the selected each collapse path comprises:
- computing a volume of the object after collapsing the a first target vertex along the a first collapse path; and
- subtracting the computed volume from a volume of the object prior to the collapse.
6. The method of claim 5, wherein the step of computing a volume further comprises:
- selecting the first target vertex to be an apex for a pyramid;
- forming a base of the pyramid from a triangle connecting three consecutive neighbor vertices to the first target vertex;
- computing a volume of the pyramid;
- constructing a next pyramid from a next set of three consecutive neighbor vertices;
- computing a volume of the next pyramid;
- repeating the constructing a next pyramid and computing a volume steps for all unique three consecutive neighbor vertex sets; and
- summing the volumes of the pyramids to obtain a volume of the object.
7. The method of claim 2 further comprising the step of receiving an input from a user specifying a priority weight for a the visual distortion factor, and the wherein determining a collapse value step further comprises, responsive to the computed visual distortion factors and priority weights, determining a collapse value for the selected collapse path that is responsive to the priority weight.
8. The method of claim 2 wherein, responsive to collapsing the next vertex to be collapsed along the corresponding collapse path, collapse paths local to the next vertex are identified and the computing visual distortion factors for the selected collapse path and the determining a collapse value for the selected collapse path steps are repeated only for the local collapse paths.
9. The method of claim 2 wherein determining a set of collapse paths further comprises:
- selecting a first target vertex;
- receiving input specifying a maximum number of neighbor vertices for a target vertex;
- identifying a number of neighbor vertices, responsive to the a received input; and
- determining a plurality of collapse path paths responsive to coordinates of the first target vertex and an identified neighbor vertex;
- repeating the determining step for all the identified number of neighbor vertices;
- repeating the selecting a target vertex, identifying, determining, and repeating steps for a plurality of vertices.
10. The method of claim 2 further comprising the steps of:
- responsive to selecting a collapse path, displaying the object prior to collapsing the object along the selected path;
- collapsing the object along the specified path;
- displaying the object after being collapsed along the specified path;
- responsive to receiving an input selecting the collapse path, storing the collapse path and corresponding vertex on the collapse order list as the next vertex to be collapsed.
11. The method of claim 1, further comprising receiving an input specifying a set of minimum vertices, and the wherein determining the collapse order step further comprises determining a collapse order in which the specified set of minimum vertices are not collapsed.
12. The method of claim 1 wherein multiple resolution levels of the object exist, further comprising the steps of:
- ordering the resolution levels from highest to lowest resolution;
- selecting a highest resolution level for collapsing; and
- the wherein determining a collapse order step comprises determining a collapse order for vertices of the highest selected resolution level, wherein vertices in the next lowest resolution level are not collapsed; and
- repeating the selecting and determining steps for each resolution level.
13. The method of claim 1 wherein the each of the vertices of the object includes vertex coordinates are and associated with vertex attributes.
14. The method of claim 2 13 wherein each of the vertices have coordinates in a has texture map, further comprising the steps of coordinates, and the rendering comprises:
- responsive to a selected collapse path collapsing a first vertex into a second vertex to create a new vertex, and assigning the texture map coordinates of the second vertex to prior to collapsing the first vertex into the second vertex as the texture map coordinates of the second vertex after collapsing the first vertex into the new second vertex;
- responsive to the first and second vertex being on an edge of a texture discontinuity, identifying the collapse path as a collapse path not to be used.
15. The method of claim 2 13 wherein each of the vertices have coordinates in a has normal map, further comprising the steps of coordinates, and the rendering comprises:
- responsive to a selected collapse path collapsing a first vertex into a second vertex to create a new vertex, and assigning the normal map coordinates of the second vertex to prior to collapsing the first vertex into the second vertex as the normal map coordinates of the second vertex after collapsing the first vertex into the new second vertex.
16. The method of claim 2 13 wherein each of the vertices have coordinates in a has color map, further comprising the steps of coordinates, and the rendering step comprises:
- responsive to a selected collapse path collapsing a first vertex into a second vertex to create a new vertex, and assigning the color map coordinates of the second vertex to prior to collapsing the first vertex into the second vertex as the color map coordinates of the second vertex after collapsing the first vertex into the new second vertex; and
- responsive to the first and second vertex being on an edge of a color discontinuity, identifying the collapse path as a collapse path not to be used.
17. A method for displaying an object, wherein a vertex list and a neighbor list is stored for the object, and vertices in the vertex list are identified by a collapse priority and the neighbor list identifies the path of a collapse for the vertices, comprising the steps of:
- performing, using a processing device, a collapse of the object responsive to the a vertex list and a neighbor list for the object, wherein vertices in the vertex list for the object are arranged in a collapse priority, across all levels of detail of the object, wherein the neighbor list specifies, for each target vertex in the vertex list, a neighbor vertex of the object to which the target vertex collapses, for at least one level of detail of the object, and wherein each vertex collapse operation at a respective level of detail collapses a respective target vertex to a neighbor vertex directly connected to the target vertex at the respective level of detail, and wherein following the collapse the object is in a first collapse level;
- storing vertex, in memory associated with the processing device, information for each collapse level relating to the collapse, wherein the vertex information indicates which vertices exist in of the object exist in the a second collapse level immediately higher and lower having at least one more vertex than the current first collapse level and in a third collapse level having at least one fewer vertex than the first collapse level;
- receiving input requesting a collapse level for the object;
- responsive to the requested a request for a collapse level requiring a higher resolution more vertices than a current the first collapse level, automatically adding vertices to a vertex from the vertex list for the object responsive to the vertex list and the stored vertex information;
- responsive to the requested a request for a collapse level requiring a lower resolution fewer vertices than a current the first collapse level, automatically collapsing vertices a vertex in the vertex list of for the object responsive to the vertex list and the stored vertex information; and
- automatically rendering the vertices in the vertex list for each requested collapse level to produce a three-dimensional visual representation of the object.
18. The method of claim 17 further comprising the step of wherein storing information regarding the collapse includes:
- storing extended collapse information, wherein the extended collapse information includes triangle connectivity information for the at least some of the vertices.
19. A method for displaying an object, wherein a vertex list and a neighbor list is stored for the object, and vertices in the vertex list are identified by a collapse priority, and the neighbor list identifies the path of a collapse for the vertices, comprising the steps of:
- performing a collapse of the object responsive to the vertex list and neighbor list;
- storing vertex in memory information for each collapse level, wherein the vertex information regarding a collapse of the object, wherein the object includes a vertex list and a neighbor list, wherein vertices in the vertex list are arranged in a collapse priority, across all resolutions of the object, wherein the neighbor list specifies, for each target vertex in the vertex list, a neighbor vertex of the object to which the target vertex collapses, for at least one resolution of the object, and wherein each vertex collapse operation at a respective resolution of the object collapses a respective target vertex to a neighbor vertex directly connected to the target vertex at the respective resolution of the object, and wherein the information indicates which vertices of the vertex list exist in the object in the at a collapse level immediately higher and lower than the a current collapse level of the object;
- analyzing the object using a processing device to determine a the current collapse level of the object; and responsive to the determined collapse level a determination requiring the object to be rendered at a resolution higher than a resolution of the current collapse level, adding vertices to a vertex from the vertex list for the object responsive to the vertex list and stored vertex information; and responsive to the determined collapse level a determination requiring the object to be rendered at a resolution lower than the resolution of the current collapse level, collapsing vertices a vertex in the vertex list for the object responsive to the vertex list and stored vertex information; and
- automatically rendering the vertices in the vertex list for the required resolution to produce a three-dimensional visual representation of the object.
20. The method of claim 19 wherein the step of analyzing the object further comprises:
- determining a velocity of the object; and
- determining a projected area of the object.
21. The method of claim 20 19 wherein the step of analyzing the object further comprises:
- determining the number of polygons currently being displayed;
- comparing the determined number of polygons to a predefined target number of polygons; and
- responsive to a determination that the number of polygons currently being displayed being is less than the predefined target number, adding polygons to the object a vertex from the vertex list for the object.
22. The method of claim 19 wherein the step of analyzing the object further comprises:
- determining a current frame rate;
- comparing the current frame rate to a predefined frame rate; and
- responsive to a determination that the current frame rate being is less than the predefined frame rate, collapsing vertices in the object a vertex in the vertex list for the object.
23. A method for transferring data across a remote connection, in a system in which a minimal resolution of an object is stored and separate packets of information comprising data for creating higher resolutions of the object are stored, comprising the steps of:
- receiving as input to a processing device a request for a transmission of an the object to be displayed at a target resolution version of the object;
- transmitting, using the processing device, via a remote connection, a minimal resolution version of the object responsive in response to receiving the received request; and
- selectively transmitting, using the processing device, via the remote connection, a separate, successive packet of information comprising data for creating a comprising the vertices required to increase a collapse level of the object to a respective, predetermined, next higher resolution version of the object in response to a respective determination that the target resolution version of the object has not been met;
- determining whether a target resolution of the object has been met; and
- responsive to a target resolution of the object not being met, repeating the transmitting a packet of information comprising data for creating a next higher resolution version of the object step.
24. The method of claim 2, wherein computing a visual distortion factor comprises:
- computing an area change factor for each collapse path;
- computing an angular deviation factor for each collapse path; and
- computing a local volume change factor for each collapse path.
25. The method of claim 24, wherein computing an area change factor for each collapse path further comprises:
- computing an area of the object after collapsing a first target vertex along a first collapse path; and
- subtracting the computed area from an area of the object prior to the collapse.
26. The method of claim 24, wherein computing a volume change factor for each collapse path comprises:
- computing a volume of the object after collapsing a first target vertex along a first collapse path; and
- subtracting the computed volume from a volume of the object prior to the collapse.
27. The method of claim 26, wherein computing a volume further comprises:
- selecting the first target vertex to be an apex for a pyramid;
- forming a base of the pyramid from a triangle connecting three consecutive neighbor vertices to the first target vertex;
- computing a volume of the pyramid;
- constructing a next pyramid from a next set of three consecutive neighbor vertices;
- computing a volume of the next pyramid;
- repeating the constructing a next pyramid and computing a volume for all unique three consecutive neighbor vertex sets; and
- summing the volumes of the pyramids to obtain a volume of the object.
28. The method of claim 23, further comprising:
- storing the minimal resolution version of the object and the separate packets of information in memory.
29. The method of claim 23, wherein the target resolution version of the object is intermediate of the minimal resolution version of the object and a maximum resolution version of the object.
30. A method for creating a three-dimensional visual representation of an object, comprising:
- determining, using a processing device, a collapse order for vertices of the object, wherein said determining the collapse order comprises: determining a set of collapse paths available at a level of detail, including: selecting a first target vertex; identifying a number of neighbor vertices, responsive to a received input; and determining a plurality of collapse paths responsive to coordinates of the first target vertex and the identified number of neighbor vertices; computing a visual distortion factor for each collapse path in the set of collapse paths; and responsive to the computed visual distortion factors, determining a collapse value for each collapse path in the set of collapse paths;
- ordering the vertices of the object in a vertex list responsive to the determined collapse order;
- creating, using the processing device, a vertex collapse list responsive to the collapse order, wherein the vertex collapse list specifies, for each target vertex, a neighbor vertex of the object to which the target vertex collapses, for at least one level of detail of the object, and wherein each vertex collapse operation at a respective level of detail collapses a respective target vertex to a neighbor vertex directly connected to the target vertex at the respective level of detail;
- specifying a level of detail at which the object is to be rendered; and
- automatically rendering a three-dimensional visual representation of the object at the specified level of detail using the vertex list and the vertex collapse list.
31. An apparatus for creating a three-dimensional visual representation of an object, comprising:
- a processing device configured to: determine a collapse order for vertices of a vertex list for the object, across all levels of detail of the object; order the vertices in the vertex list responsive to the determined collapse order; create a vertex collapse list responsive to the collapse order, wherein the vertex collapse list specifies, for each target vertex, a neighbor vertex of the object to which the target vertex collapses, for at least one level of detail of the object, and wherein each vertex collapse operation at a respective level of detail collapses a respective target vertex to a neighbor vertex directly connected to the target vertex at the respective level of detail; receive input specifying a level of detail at which the object is to be rendered; and responsive to the received input, render a three-dimensional visual representation of the object at the specified level of detail using the vertex list and the vertex collapse list.
32. A non-transient computer-readable storage medium having stored thereon computer executable instructions, execution of which by a processing device causes the processing device to perform operations for creating a three-dimensional visual representation of an object, the operations comprising:
- determining a collapse order for vertices of a vertex list for the object, across all levels of detail of the object;
- ordering the vertices in the vertex list responsive to the determined collapse order;
- creating a vertex collapse list responsive to the collapse order, wherein the vertex collapse list specifies, for each target vertex, a neighbor vertex of the object to which the target vertex collapses for at least one level of detail of the object, and wherein each vertex collapse operation at a respective level of detail collapses a respective target vertex to a neighbor vertex directly connected to the target vertex at the respective level of detail;
- specifying a level of detail at which the object is to be rendered; and
- rendering a three-dimensional visual representation of the object at the specified level of detail using the vertex list and the vertex collapse list.
33. An apparatus for creating a three-dimensional visual representation of an object, comprising:
- a processing device configured to: determine a collapse order for vertices of the object, including: determining a set of collapse paths available at a level of detail, including: selecting a first target vertex; identifying a number of neighbor vertices, responsive to a received input; and determining a plurality of collapse paths responsive to coordinates of the first target vertex and the identified number of neighbor vertices; computing a visual distortion factor for each collapse path in the set of collapse paths; and responsive to the computed visual distortion factors, determining a collapse value for each collapse path in the set of collapse paths; order the vertices of the object in a vertex list responsive to the determined collapse order; create a vertex collapse list responsive to the collapse order, wherein the vertex collapse list specifies, for each target vertex, a neighbor vertex of the object to which the target vertex collapses, for at least one level of detail of the object, and wherein each vertex collapse operation at a respective level of detail collapses a respective target vertex to a neighbor vertex directly connected to the target vertex at the respective level of detail; receive input specifying a level of detail at which the object is to be rendered; and in response to the received input, automatically render a three-dimensional visual representation of the object at the specified level of detail using the vertex list and the vertex collapse list.
34. A non-transitory computer-readable storage medium having stored thereon computer executable instructions, execution of which by a processing device causes the processing device to perform operations for creating a three-dimensional visual representation of an object, the operations comprising:
- determining a collapse order for vertices of the object, wherein said determining the collapse order comprises: determining a set of collapse paths available at a level of detail, including: selecting a first target vertex; identifying a number of neighbor vertices, responsive to a received input; and determining a plurality of collapse paths responsive to coordinates of the first target vertex and the identified number of neighbor vertices; computing a visual distortion factor for each collapse path in the set of collapse paths; and responsive to the computed visual distortion factors, determining a collapse value for each collapse path in the set of collapse paths;
- ordering the vertices of the object in a vertex list responsive to the determined collapse order;
- creating a vertex collapse list responsive to the collapse order, wherein the vertex collapse list specifies, for each target vertex, a neighbor vertex of the object to which the target vertex collapses, for at least one level of detail of the object, and wherein each vertex collapse operation at a respective level of detail collapses a respective target vertex to a neighbor vertex directly connected to the target vertex at the respective level of detail;
- specifying a level of detail at which the object is to be rendered; and
- automatically rendering a three-dimensional visual representation of the object at the specified level of detail using the vertex list and the vertex collapse list.
35. The method of claim 1, wherein, in said determining a collapse order, each vertex of the object has a fixed coordinate offset relative to each other vertex of the object across all levels of detail of the object.
5428717 | June 27, 1995 | Glassner |
5715384 | February 3, 1998 | Ohshima et al. |
5870307 | February 9, 1999 | Hull et al. |
5886702 | March 23, 1999 | Migdal et al. |
5903272 | May 11, 1999 | Otto |
5929860 | July 27, 1999 | Hoppe |
5963209 | October 5, 1999 | Hoppe |
5966133 | October 12, 1999 | Hoppe |
5966140 | October 12, 1999 | Popovic et al. |
6009435 | December 28, 1999 | Taubin et al. |
6018347 | January 25, 2000 | Willis |
6031548 | February 29, 2000 | Gueziec et al. |
6046744 | April 4, 2000 | Hoppe |
6108006 | August 22, 2000 | Hoppe |
6130673 | October 10, 2000 | Pulli et al. |
6137492 | October 24, 2000 | Hoppe |
6139433 | October 31, 2000 | Miyamoto et al. |
6169549 | January 2, 2001 | Burr |
6175365 | January 16, 2001 | Gueziec |
6184897 | February 6, 2001 | Gueziec et al. |
6198486 | March 6, 2001 | Junkins et al. |
6256041 | July 3, 2001 | Deering |
6262737 | July 17, 2001 | Li et al. |
6285372 | September 4, 2001 | Cowsar et al. |
6307551 | October 23, 2001 | Gueziec et al. |
6362833 | March 26, 2002 | Trika |
6396490 | May 28, 2002 | Gorman |
6414683 | July 2, 2002 | Gueziec |
6421051 | July 16, 2002 | Kato |
6426750 | July 30, 2002 | Hoppe |
6529207 | March 4, 2003 | Landau et al. |
6538652 | March 25, 2003 | Kato |
6611267 | August 26, 2003 | Migdal et al. |
6750864 | June 15, 2004 | Anwar |
6771261 | August 3, 2004 | MacPherson |
6825839 | November 30, 2004 | Huang et al. |
6879324 | April 12, 2005 | Hoppe |
6940505 | September 6, 2005 | Savine et al. |
6982715 | January 3, 2006 | Isenburg |
20020130867 | September 19, 2002 | Yang et al. |
20040012587 | January 22, 2004 | Mech |
20040249617 | December 9, 2004 | Lau et al. |
0 784 295 | July 1997 | EP |
99111741 | December 1999 | EP |
05-290145 | November 1993 | JP |
09-231401 | September 1997 | JP |
10-198823 | July 1998 | JP |
11-086032 | March 1999 | JP |
11-144089 | May 1999 | JP |
11-209685 | August 1999 | JP |
- Hoppe. Progressive Meshes. Proceedings of the 23rd Annual Conference on Computer Graphics and Interactive Techniques. 1996. pp. 99-108.
- Funkhouser et al. Adaptive Display Algorithm for Interactive Frame Rates During Visualization of Complex Virtual Environments. Proceedings of the 20th Annual Conference on Computer Graphics and Interactive Techniques. 1993. pp. 247-254.
- Hoppe et al. Surface Reconstruction from Unorganized Points. Proceedings of the 19th Annual Conference on Computer Graphics and Interactive Techniques. 1992. pp. 71-78.
- Hoppe et al. Mesh Optimization. Proceedings of the 20th Annual Conference on Computer Graphics and Interactive Techniques. 1993. pp. 19-26.
- Lindstrom et al. Real-Time, Continuous Level of Detail Rendering of Height Fields. Computer Graphics Proceedings. Annual Conference Series. Aug. 4, 1996. pp. 109-118.
- Schroeder et al. Decimation of Triangle Meshes. Computer Graphics. 1992. pp. 65-70.
- Turk. Re—Tiling Polygonal Surfaces. Computer Graphics. Jul. 1992. pp. 55-64.
- Garland et al. Surface Simplification Using Quadric Error Metrics. Computer Graphics Proceedings. Annual Conference Series. Aug. 1997. pp. 209-216.
- Wang et al. Shape Simplification of Free-Form Surface Objects for Multi-Scale Representation. Oct. 1996. pp. 1623-1628.
- Klein, Reinhard, “Multiresolution representations for surfaces meshes,” Wilhelm-Schickard-Institut, GRIS, Universität Tübingen, Germany, http://www.gris.uni-tuebingen.de, document generated Sep. 30, 1998, translation initiated Jul. 23, 1997, 21 pages.
- Bremer, P.-T et al., “A Multi-resolution Data Structure for Two-dimensional Morse-Smale Functions”, U.S. Department of Energy, University of California, Lawrence Livermore National Laboratory, Aug. 1, 2003, 11 pages.
- Schmalstieg, Dieter et al., “Smooth Levels of Detail,” vrais, 1997 Virtual Reality Annual International Symposium (VRAIS '97), 1997. http://doi.ieeecomputersociety.org/10.1109/VRAIS.1997.583039, pp. 12-19.
- Erikson, Carl, “Polygonal Simplification: An Overview,” Department of Computer Science, CB#3175, Sitterson Hall, UNC-Chapel Hill, Chapel Hill, NC 27599-3175, pp. 1-22, 1996.
- Kato, Saul S., U.S. Appl. No. 60/089,794, filed Jun. 18, 1998.
- Paulo Cignoni, Claudio Montani, Enrico Puppo, and Roberto Scopigno, “Multiresolution Representation and Visualization of Volume Data,” IEEE Transactions on Visualization and Computer Graphics, vol. 3, No. 4, Oct.-Dec. 1997, pp. 352-369.
- Kwang Man Oh and Kyu Ho Park, “A Vertex Merging Algorithm for Extracting a Variable-Resolution Isosurface from Volume Data,” 1995 IEEE International Conference on Systems, Man and Cybernetics, US, New York, Oct. 22, 1995, pp. 3543-3548.
- European Search Report, dated Jan. 21, 2002, from European Patent Appln. No. 99111741.7-2218, 2 pages.
- Japanese Office Action, dated Jun. 23, 2009, from Japanese Patent Appln. No. 11-209685, 3 pages.
- European Search Report, Jan. 21, 2002, 2 pages.
- S. Wang, R. Takamatsu, M. Sato, H. Kawarada, “Shape Simplification of Free-Form Surface Objects for Multi-Scale Representation,” Oct. 14, 1996, pp. 1623-1628.
- Peter Lindstrom, David Koller, William Ribarsky, Larry F. Hodges, Nick Faust, and Gregory A. Turner, “Real-Time, Continuous Level of Detail Rendering of Height Fields,” Computer Graphics Proceedings, Annual Conference Series, 1996, Aug. 4, 1996, pp. 109-118.
- H. Hoppe, T. DeRose, T. Duchamp, J. McDonald, W. Stuetzle, “Mesh Optimization”, Computer Graphics Proceedings, Annual Conference Series, 1993, Aug. 1-6, 1993, pp. 19-26.
- M. Garland, P. Heckbert, “Surface Simplification Using Quadratic Error Metrics”, Computer Graphics Proceedings, Annual Conference Series, 1997, Aug. 3-8, 1997, pp. 209-216.
- W. Schroeder, J. Zarge, W. Lorensen, “Decimation of To angle Meshes,” Computer Graphics, Jul. 26-31, 1992, pp. 65-70.
- G. Turk, “Re—Tiling Polygonal Surfaces,” Computer Graphics, Jul. 26-31, 1992, pp. 55-64.
- H. Hoppe, “Progressive Meshes”, (printed from http://www.research.microsoft.com/research/graphics/hoppe).
Type: Grant
Filed: Mar 25, 2005
Date of Patent: May 31, 2011
Assignee: Sugarloaf Acquisitions, LLC (Los Altos, CA)
Inventor: Saul S. Kato (San Francisco, CA)
Primary Examiner: Daniel F Hajnik
Attorney: Sterne, Kessler, Goldstein & Fox P.L.L.C.
Application Number: 11/091,003
International Classification: G06T 17/20 (20060101); G06T 17/00 (20060101);